* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --azul: #1b2b5e;
  --medio: #2e4388;
  --verde: #3f6b34;
  --bg-grad: linear-gradient(180deg, #f9fbfc 0%, #eef4f0 100%);
  --card: #fff;
  --texto: #333;
  --sombra: 0 6px 18px rgba(0, 0, 0, 0.08);
  --sombra-2: 0 10px 30px rgba(0, 0, 0, 0.12);
  --borda: #e8ecef;
  --azul-cl: #2c3f82;
  --verde-cl: #4c8a40;
}
html,
body {
  height: 100%;
}
body {
  font-family: "Poppins", Arial, sans-serif;
  color: var(--texto);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: 44px;
  height: 44px;
  background-color: #1b2b5e;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
}

.social a:hover {
  transform: scale(1.1);
  background-color: #009688; /* turquesa Sicoob */
}

.social img {
  width: 22px;
  height: 22px;
}
/* ===== HEADER FIXO ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(90deg, #1b2b5e, #3f6b34);
  height: 95px;
  display: flex;
  align-items: center;
}

/* evita que o conteúdo fique escondido atrás do cabeçalho */
body {
  padding-top: 95px;
}

/* ===== CENTRALIZAR O CONTEÚDO DO HEADER ===== */
.topbar {
  max-width: 1400px; /* largura máxima centralizada */
  width: 100%;
  margin: 0 auto; /* centraliza tudo */
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* ===== AJUSTAR LOGO ===== */
.logo img {
  height: 55px;
  display: block;
}
section#home,
.quem-somos-container,
.proposito,
.cards {
  max-width: 1100px;
  margin: 0 auto; /* centraliza tudo */
  padding-left: 20px;
  padding-right: 20px;
}

h3.nosso-proposito,
.quem-somos-bloco h2 {
  text-align: left;
  margin-left: 0;
}

/* ===== MENU DESKTOP ALINHADO ===== */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nosso-proposito {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1.2;
}

/* cada palavra animada */
.nosso-proposito span {
  opacity: 0;
  transform: translateY(18px);
  display: inline-block;
  animation: palavraTexto 0.45s ease forwards;
}

/* animação */
@keyframes palavraTexto {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Delays progressivos automáticos */
.nosso-proposito span:nth-child(1) {
  animation-delay: 0.9s;
}
.nosso-proposito span:nth-child(2) {
  animation-delay: 1.1s;
}
.nosso-proposito span:nth-child(3) {
  animation-delay: 1.3s;
}
.nosso-proposito span:nth-child(4) {
  animation-delay: 1.5s;
}
.nosso-proposito span:nth-child(5) {
  animation-delay: 1.7s;
}
.nosso-proposito span:nth-child(6) {
  animation-delay: 1.9;
}
.nosso-proposito span:nth-child(7) {
  animation-delay: 2.1s;
}
.nosso-proposito span:nth-child(8) {
  animation-delay: 2.3s;
}
.nosso-proposito span:nth-child(9) {
  animation-delay: 2.5s;
}
.nosso-proposito span:nth-child(10) {
  animation-delay: 2.7s;
}

.nav-desktop a {
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  transition: 0.2s;
}

.nav-desktop a:hover {
  opacity: 0.8;
}

/* DROPDOWN */
.dropdown-menu {
  margin-top: 10px;
}

/* ===== PARA NÃO QUEBRAR NO ZOOM ===== */
header,
.topbar,
.nav-desktop {
  flex-wrap: nowrap;
}
/* ===== VOLUNTARIADO ===== */
.vol-menu {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.vol-menu a {
  background: linear-gradient(90deg, var(--azul), var(--verde));
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.25s;
}
.vol-menu a:hover {
  opacity: 0.9;
}

.grid-vols {
  display: grid;
  gap: 6.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  line-height: 1.4;
  margin: 0;
  font-size: 1rem;
}

.vol {
  background: #fff;
  border-radius: 40px;
  padding: 22px;
  text-align: center;
  transition: 0.25s;
  width: 23.75rem;
  font-family: "MADE";
  border: 5px solid #021148;

  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 10rem;
  & p {
    color: #021148;
    font-weight: 600;
    margin: 0;
  }
}

.vol:nth-child(odd) {
  box-shadow: -10px 10px 0px #021148;
}

.vol:nth-child(even) {
  box-shadow: -10px 10px 0px #607d25, -15px 15px 0px #021148;
}

.vol:hover {
  transform: translateY(-4px);
}

.vol .foto {
  width: 6.25rem;
  height: 6.25rem;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #e8eef2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.vol h4 {
  color: var(--verde);
  margin-bottom: 6px;
}

.vol h5 {
  color: var(--medio);
  font-weight: 600;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap; /* impede qualquer descida */
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 120px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 46px;
  left: 0;
  display: none;
  opacity: 0;
  transform: translateY(8px);
  min-width: 230px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--sombra-2);
  overflow: hidden;
  z-index: 1100;
  transition: 0.2s ease;
}
.dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  color: var(--azul);
  font-weight: 600;
  border-bottom: 1px solid #f1f3f5;
}
.dropdown-menu a:last-child {
  border-bottom: none;
}
.dropdown-menu a:hover {
  background: #e9f5ee;
}

nav > a,
.dropdown > a.dropdown-toggle {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 8px;
  transition: 0.25s ease;
  border: 1px solid transparent;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

nav > a:hover,
.dropdown > a.dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.dropdown.active .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ======= MAIN ======= */
main {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}
section {
  display: none;
  animation: fadeIn 0.5s ease;
}
section.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
h2 {
  font-size: 1.8rem;
  color: #607d25;
  border-left: 6px solid var(--azul);
  padding-left: 12px;
  margin: 0 0 18px;
  font-family: "MADE";
}
p {
  line-height: 1.8;
  text-align: justify;
}

.grid-2 {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.card {
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--sombra);
  padding: 24px;
  transition: 0.25s ease;
  border: 1px solid var(--borda);
}
.card:hover {
  transform: translateY(-4px);
}

/* ======= LISTAS DE PESSOAS / BLOCOS ======= */
.grid-cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.foto {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #e8eef2;
  color: #76808c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.pessoa h4 {
  color: var(--azul);
  margin-bottom: 6px;
}

/* === AJUSTE VISUAL DAS POLÍTICAS DE VOLUNTARIADO === */
.pdf-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch;
}

.pdf {
  background: #fff;
  border: 1px solid var(--borda);
  border-left: 6px solid var(--verde);
  border-radius: 10px;
  box-shadow: var(--sombra);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.25s;
  min-height: 70px;
}

.pdf span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--texto);
}

.pdf a {
  font-weight: 700;
  color: var(--azul);
  text-decoration: none;
}

.pdf a:hover {
  text-decoration: underline;
}

.pdf:hover {
  background: #f9fbf9;
  transform: translateY(-3px);
}

/* ======== NOTÍCIAS — NOVO CARD COM ACORDEON ======== */

.grid-news {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.news-card {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 12px;
  box-shadow: var(--sombra);
  padding: 16px;
  transition: 0.25s;
}

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

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.news-card h5 {
  font-size: 18px;
  margin: 10px 0 14px 0;
  color: var(--azul);
}

/* BOTÃO VER MAIS */
.toggle-news {
  width: 100%;
  background: #e8eef3;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--azul);
  transition: 0.25s;
}

.toggle-news:hover {
  background: #dbe4ec;
}

.toggle-news .arrow {
  transition: 0.25s;
}

.toggle-news.open .arrow {
  transform: rotate(180deg);
}

/* ÁREA ESCONDIDA */
.news-hidden {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
  padding-left: 2px;
}

.news-hidden.open {
  max-height: 500px;
  opacity: 1;
  margin-top: 14px;
}

/* TEXTO */
.news-text {
  margin-bottom: 12px;
  line-height: 1.55;
  color: #333;
}

/* BOTÃO SAIBA MAIS */
.btn-card-news {
  display: inline-block;
  background: linear-gradient(90deg, var(--azul), var(--verde));
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
}

.btn-card-news:hover {
  opacity: 0.9;
}

/* ======= CONTATO ======= */
.contato-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
}
.form {
  background: #fff;
  border: 1px solid #021148;
  /* border: 1px solid ; */
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--sombra);
}
.form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.form label {
  display: block;
  margin: 6px 0 6px;
  font-weight: 600;
  color: var(--azul);
}
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d9dee3;
  border-radius: 10px;
  font: inherit;
  outline: none;
  transition: 0.2s;
  border-top: 1px solid #cfd6dc;
  background: #fdfefe;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--verde);
}
.form button {
  margin-top: 14px;
  background: linear-gradient(90deg, var(--azul), var(--verde));
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}
.form button:hover {
  opacity: 0.92;
}

.contato-side h4 {
  color: var(--verde);
  margin-bottom: 8px;
  text-align: center;
  font-family: "MADE";
  font-size: 2rem;
  margin-bottom: 10px;
}

.contato-side p {
  margin-bottom: 8px;
}

.seja-parceiro {
  font-family: "MADE";

  & input {
    border-color: 3px #021148;
  }
}

/* ======= FOOTER ======= */
footer {
  margin-top: 60px;
  background: linear-gradient(90deg, var(--azul), var(--verde));
  color: #fff;
  box-shadow: var(--sombra);
}
.footer-wrap {
  max-width: 1200px;
  margin: auto;
  padding: 42px 20px 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}
.logo-footer img {
  width: 120px;
  background: transparent;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
footer h4 {
  margin-bottom: 10px;
}
footer ul {
  list-style: none;
}
footer li {
  margin: 8px 0;
}
footer a {
  color: #bfe6c2;
}
footer a:hover {
  color: #fff;
}
.social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #bfe6c2;
  color: var(--azul);
  font-weight: 800;
}
.copy {
  grid-column: 1/-1;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 12px;
  margin-top: 6px;
  color: #eaf7ee;
}
/* ===== FILTROS ===== */
.transp-filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 14px;
}

.transp-filtros-categorias {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.transp-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, #1b2b5e, #3f6b34);
  color: #fff;
  font-weight: 600;
  transition: 0.25s ease;
}

.transp-btn:hover {
  opacity: 0.9;
}

.transp-btn.ativo {
  background: #009688; /* turquesa Sicoob */
}

.transp-filtros-anos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.transp-filtros-anos label {
  font-weight: 600;
  color: #1b2b5e;
}

.transp-filtros-anos select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* ===== GRID ===== */
.transp-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ===== CARD ===== */
.transp-card {
  background: #fff;
  border: 1px solid #e8ecef;
  border-left: 6px solid #3f6b34;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.25s;
  min-height: 70px;
}
.transp-card h4 {
  color: #000;
}

.transp-card:hover {
  background: #f9fbf9;
  transform: translateY(-3px);
}

.transp-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #333;
}

.transp-card a {
  font-weight: 700;
  color: #1b2b5e;
  text-decoration: none;
}

.transp-card a:hover {
  text-decoration: underline;
}

/* ======= REVEAL ANIMATION ======= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: 0.5s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.conteudo-home {
  font-size: clamp(2rem, 5vw, 3rem);
  font-family: "MADE";

  color: #607d25;
  padding: 0;
  border-left: none;
}

.tamanho-letra {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  max-width: 100%;
  line-height: 1.4;
  margin: 0;
  font-family: "MADE";
}

.container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#linha-roxa {
  background-color: purple;
  width: 50%;
  max-width: 300px;
  height: 0.2rem;
  margin-bottom: 2rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
}

.dropdown.active .dropdown-menu {
  display: block;
}

#linha-verde {
  background-color: #3f6b34;
  width: 40%;
  max-width: 200px;
  height: 0.2rem;
}

@font-face {
  font-family: "MADE";
  src: url("fonts/MADE\ Evolve\ Sans\ Thin\ \(PERSONAL\ USE\).otf");
}

@font-face {
  font-family: "NEGRITO";
  src: url("fonts/MADE\ Evolve\ Sans\ Medium\ \(PERSONAL\ USE\).otf");
}

.logo img {
  display: block;
  width: 120px;
}

/* CARDS GERAIS */
.cards {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  font-family: "MADE";
  font-size: 1.2rem;
  color: #021148;
}

/* TODOS OS CARDS */
.card {
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  width: 28%;
  min-width: 260px;
  max-width: 330px;
  border: 4px solid #021148;
  box-sizing: border-box;

  line-height: 1.45;
  text-wrap: pretty;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: 0.2px;
}

/* 🔥 CARD DO MEIO (centralizado) */
.card:nth-child(2) {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 🔥 CARDS 1 e 3 (justificados) */
.card:nth-child(1),
.card:nth-child(3) {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* SOMBRAS */
.card:nth-child(odd) {
  box-shadow: 0px 11px 0px #021148;
}

.card:nth-child(even) {
  box-shadow: 0px 11px 0px #607d25, 0px 15px 0px #021148;
}
.proposito {
  text-align: center;
  padding: 2rem 0;
}

.nosso-proposito {
  display: inline-block;
  text-align: left;
  font-size: 2rem;
  font-family: "MADE";
  color: #021148;
  line-height: 1.2;
  max-width: 800px;
}

.proposito-verde {
  color: #607d25;
}

.texto-grande {
  font-size: 2.8rem;
  font-family: "NEGRITO";
}

.imagem-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagem-card img {
  max-width: 120px;
  height: auto;
}

.menu-mobile {
  display: none;
}

.nav-mobile {
  display: none;
}

.contato-side {
  background: #fff;
  border: 1px solid #021148;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--sombra);
  width: 50%;
  margin: 0 auto;
  text-align: center;
}

.fale-conosco {
  font-family: "MADE";
  color: #021148;

  border-left: none;
}

#institucional {
  & h2 {
    font-family: "MADE";
  }

  & h4 {
    font-family: "MADE";
    color: #021148;
    font-size: 1.5rem;
  }
}

.pessoa {
  max-width: 20rem;
  padding: 2rem;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 40px;
  box-shadow: var(--sombra);
  padding: 1.375rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: 0.25s;
  height: 15.625rem;

  border: 5px solid #021148;
}
/* REMOVE O QUADRO BRANCO DO VOLUNTARIADO */
#voluntariado .box-banner {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  overflow: visible !important;
}
.pessoa p {
  text-align: center;
  text-align-last: center;
  text-justify: inter-word;

  color: #021148;
  font-size: 1rem;
  line-height: 1.45;

  margin: 0 auto;
  padding: 0.5rem 1.6rem 1.6rem;

  max-width: 260px; /* ajuste fundamental — coluna bonitinha */
  font-weight: 300;
  letter-spacing: 0.1px;

  /* hifenização suave */
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;

  /* evita exageros nas quebras */
  overflow-wrap: normal;
  word-break: normal;
}

.fotos-institucional {
  width: 6.25rem;
  height: 6.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fotos-creditos {
  width: 6.25rem;
  height: 6.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fotos-creditos img {
  width: 6rem;
  height: 6.5rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.pessoa img[src="logos/imagem-mundo.png"] {
  width: 60%;
  height: auto;
  max-width: 6.25rem;
}

.fotos-institucional img {
  padding-top: 20px;
  width: 6.25rem;
  height: 6.25rem;
  object-fit: contain;
}

.pessoa:hover {
  transform: translateY(-4px);
}

.grid-cards {
  gap: 6.25rem;
}

.titulo-projetos {
  font-family: "MADE";
  font-size: 3rem;
  margin-bottom: 3rem;
}

.fale-conosco-image {
  display: flex;
  gap: 10px;
  justify-content: center;

  & img {
    height: 1.5rem;
    width: 2rem;
    position: relative;
    top: 5px;
  }
}

main {
  position: relative;
  background-image: url("logos/plantinha-instituto.png");
  background-size: contain;
  background-position: right bottom;
  background-repeat: no-repeat;
  color: #021148;
  z-index: 1;
}

main * {
  position: relative;
  z-index: 1;
}

main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.info-fale-conosco {
  font-size: 1.6rem;
}

.fale-conosco {
  font-size: 1rem;
}

#linha-tempo {
  position: relative;
  padding: 2rem 1rem;

  & h2 {
    margin-bottom: 1rem;
  }
}

#linha-tempo .linha-tracejada {
  position: relative;
  width: 100%;
  height: 2px;
  border-top: 2px dashed #021148;
  margin: 2rem 0;
  z-index: 1;
}

#linha-tempo .linha-tracejada::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #021148;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

#linha-tempo .marco {
  position: absolute;
  top: calc(50% - 120px);
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translate(-50%, 0);
  z-index: 3;
}

#linha-tempo .marco.ativo {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: all;
}

#linha-tempo .retangulo {
  padding: 0.5rem 1rem;
  height: 6rem;
  width: 13rem;
  transform: translateY(-70px);
}

#linha-tempo .retangulo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 105%;
  height: 105%;
  object-fit: cover;
  transform: translate(-50%, -20%);
  border-radius: 8px;
}

#linha-tempo .marco .ano {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "NEGRITO";
  color: #607d25;
}

#linha-tempo .marco .descricao {
  font-size: 1rem;
  color: #607d25;
  font-family: "MADE";
  max-width: 200px;
  text-align: center;
}

#linha-tempo .icone-proximo {
  position: absolute;
  top: calc(-50% - 2rem);
  right: 0;
  transform: translateY(-150%);
  width: 2.5rem;
  cursor: pointer;
}

#linha-tempo .icone-voltar {
  position: absolute;
  top: calc(-50% - 2rem);
  left: 0; /* muda de right: 0 para left: 0 */
  transform: translateY(-150%);
  width: 2.5rem;
  cursor: pointer;
  display: block;
}

.btn-proximo {
  position: absolute;
  top: calc(50% - 10px);
  right: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 100;
}

.btn-proximo:hover {
  transform: translateY(-50%) scale(1.1);
}

.btn-voltar-linha-tempo {
  position: absolute;
  top: calc(10% - 10px);
  left: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 100;
}

.btn-voltar-linha-tempo:hover {
  transform: translateY(-50%) scale(1.1);
}

.icone-proximo {
  width: 2.5rem;
  display: block;
}

.creditos-voluntarios {
  background: #fff;
  border-radius: 40px;
  padding: 22px;
  text-align: center;
  transition: 0.25s;
  width: 15rem;
  font-family: "MADE";
  border: 5px solid #021148;

  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 10rem;
  & p {
    color: #021148;
    font-weight: 600;
    margin: 0;
  }
}

#proj-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

#proj-detail-title {
  text-align: center;
  margin-bottom: 2rem;
  color: #021148;
  font-size: 1.7rem;
}

#proj-detail-body {
  background: #fff;
  border: 4px solid #021148;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0px 10px 0px #607d25, 0px 15px 0px #021148;
  max-width: 650px;
  margin: 0 auto;
}

#proj-detail-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1.8rem auto;
  border-radius: 10px;
}

#proj-detail-body p {
  text-align: justify;
  line-height: 1.6;
  color: #021148;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  text-wrap: pretty;
}

/* BOTÃO VOLTAR — EXATO DO MODELO */
#proj-detail .btn-voltar-projeto {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: linear-gradient(90deg, #0c1f52, #3c742d);
  color: #ffffff !important;

  padding: 10px 22px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none !important;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, opacity 0.2s ease;

  border: none;
}

#proj-detail .btn-voltar-projeto:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

#proj-detail .btn-voltar-projeto .arrow {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff !important;
}

.creditos-voluntarios:nth-child(odd) {
  box-shadow: -10px 10px 0px #021148;
}

.creditos-voluntarios:nth-child(even) {
  box-shadow: -10px 10px 0px #607d25, -15px 15px 0px #021148;
}

.creditos-voluntarios:hover {
  transform: translateY(-4px);
}

.creditos-voluntarios .foto {
  width: 6.25rem;
  height: 6.25rem;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #e8eef2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.creditos-voluntarios h4 {
  color: var(--verde);
  margin-bottom: 8px;
}

.creditos-voluntarios p {
  color: var(--medio);
  margin-bottom: 5px;
}

.grid-cards-voluntarios {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Ajustes para telas pequenas */
@media (max-width: 768px) {
  .grid-cards-voluntarios {
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  #linha-tempo {
    padding: 1rem 0.5rem;
  }

  #linha-tempo .icone-proximo {
    transform: translateY(-50%);
  }

  #linha-tempo .icone-voltar {
    transform: translateY(-50%);
  }

  #linha-tempo .linha-tracejada {
    height: 1.5px;
    margin: 1.5rem 0;
    margin-top: 2rem;
  }

  #linha-tempo .linha-tracejada::before {
    width: 14px;
    height: 14px;
    border-width: 2px;
  }

  #linha-tempo .marco {
    top: calc(50% - 70px);
  }

  #linha-tempo .marco .retangulo {
    width: 20rem;
    height: 4rem;

    transform: translateY(-60px);
  }

  #linha-tempo .marco .ano {
    font-size: 2rem;
  }

  #linha-tempo .marco .descricao {
    font-size: 1rem;
  }

  #linha-tempo .btn-proximo,
  #linha-tempo .btn-voltar-linha-tempo {
    width: 80px !important;
    height: 80px !important;
    top: 40% !important;
    transform: translateY(40%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* tamanho da imagem da seta */
  #linha-tempo .btn-proximo img,
  #linha-tempo .btn-voltar-linha-tempo img {
    width: 35px !important;
    height: 35px !important;
  }

  #voltar-bottom {
    margin-top: 15rem;
  }

  .grid-cats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cat {
    width: 90%;
    max-width: 300px;
  }

  .cat img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  .nosso-proposito {
    font-size: 1.5rem;
    max-width: 100%;
    line-height: 1.3;
  }

  .texto-grande {
    font-size: 2rem;
  }

  #home {
    background-size: 300px;
    background-position: right top;
    padding: 2rem 1rem;
  }
  .vol {
    width: 22rem;
  }

  .form {
    width: 90%;
  }

  .contato-side {
    width: 90%;
    padding: 1rem;
    font-size: 0.9rem;
    margin: 1rem auto;

    & fale-conosco {
      font-size: 1rem;
    }
  }

  .card {
    flex: 1 1 100%;
  }
  .conteudo-home {
    font-size: 2rem;
    margin-top: 3vh;
  }
  #linha-roxa,
  #linha-verde {
    display: none;
  }

  .logo {
    margin-left: auto;
    margin-right: 1rem;
    width: 100px;
  }

  .imagem-card {
    display: none;
  }

  .menu-mobile {
    display: block;
    position: absolute;
    top: 35px;
    left: 10px;
    width: 50px;
    cursor: pointer;
    z-index: 999;
  }

  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    position: fixed;
    top: -1.8rem;
    left: 0;
    height: 100%;
    width: 70%;
    background: #003b45;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;

    box-sizing: border-box;
    z-index: 1000;
    padding-top: 0;

    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-mobile-links {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0rem;
    padding-right: 0.5rem;
    overflow-y: auto;
  }

  .nav-mobile-links a {
    display: block;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
  }
  .nav-mobile.ativo {
    transform: translateX(0);
  }

  .nav-mobile.show {
    transform: translateX(0);
  }

  /* Links */
  .nav-mobile a,
  .nav-mobile button {
    text-align: left;
    color: #fff;
    font-size: 1.15rem;
    text-decoration: none;
    padding: 0.6rem 0;
    font-weight: 500;
  }

  main {
    background-position: center center;
    background-size: 100%;
    background-attachment: scroll;
  }

  .nav-mobile .logo-mobile {
    font-size: 1.6rem;
    font-weight: 800;

    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 900;
  }

  .mobile-overlay.ativo {
    opacity: 1;
    visibility: visible;
  }

  .logo-instituto-mobile {
    width: 70%;
  }
}

/*Ajustes para telas extremamente grandes */
@media (max-width: 1200px) {
}

.transp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.transp-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecef;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: 0.3s ease;
  cursor: pointer;
}

.transp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.transp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  color: #000;
  font-weight: 600;
  font-family: "MADE";
}

.transp-header img {
  width: 23px;
  height: 32px;
}

.pdf-grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.pdf {
  background: #fff;
  border: 1px solid #e8ecef;
  border-left: 6px solid #3f6b34;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.25s;
}

.pdf a {
  font-weight: 700;
  color: #1b2b5e;
  text-decoration: none;
}

.pdf a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}
.vol-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-family: "MADE";
}

.btn-voluntario {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--azul), var(--verde));
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-voluntario:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
html {
  scroll-behavior: smooth;
}

@media (max-width: 640px) {
  .btn-voluntario {
    width: 100%;
    text-align: center;
  }
}

/* rolagem suave para âncoras */
html {
  scroll-behavior: smooth;
}
/* ===== BANNER DE COOKIES ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--azul);
  color: #fff;
  text-align: center;
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  font-family: "Poppins", sans-serif;
  animation: slideUp 0.8s ease;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner a {
  color: var(--verde-cl);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner button {
  background: var(--verde);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}

.cookie-banner button:hover {
  background: var(--verde-cl);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ==== DESENVOLVEDORES DO SITE ==== */
.dev-site {
  margin-top: 4rem;
  text-align: center;
  font-family: "MADE";
}

.dev-site h2 {
  font-size: 1.8rem;
  color: #607d25; /* verde Sarom */
  border-left: 6px solid #021148; /* linha azul escura */
  padding-left: 12px;
  margin: 0 0 18px;
  font-family: "MADE";
  text-align: left; /* alinhamento à esquerda */
}

.texto-dev {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: #021148;
  font-size: 1rem;
  line-height: 1.6;
}

.grid-devs {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-items: center;
  align-items: start;
}

.dev-card {
  background: #fff;
  border-radius: 20px;
  border: 5px solid #021148;
  box-shadow: -10px 10px 0px #607d25, -15px 15px 0px #021148;
  width: 220px;
  padding: 1.5rem;
  text-align: center;
  transition: 0.3s;
}

.dev-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.dev-card h4 {
  color: #021148;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.dev-card p {
  text-align: center;
}

.dev-site p.texto-dev {
  text-align: justify;
  max-width: 900px;
  margin-left: 0;
  color: #021148;
  font-size: 1rem;
  line-height: 1.6;
}

.dev-card:hover {
  transform: translateY(-6px);
}

/* Responsivo */
@media (max-width: 768px) {
  .grid-devs {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
  }

  .dev-card {
    width: 100%;
    max-width: 200px;
  }
}
.slider {
  width: 100%;
  max-width: 1000px;
  height: 260px;
  overflow: hidden;
  margin: 20px auto;
  border-radius: 12px;
  position: relative;
}

.slider {
  width: 100%;
  max-width: 1000px;
  height: 260px;
  overflow: hidden;
  margin: 20px auto;
  border-radius: 12px;
  position: relative;
}

.slides {
  display: flex;
  width: 300%; /* 3 slides */
  animation: slide 15s infinite;
}

.slide {
  width: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 1000px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

/* === ANIMAÇÃO SUAVE SEM FLASH === */
@keyframes slide {
  0% {
    transform: translateX(0%);
  }
  33% {
    transform: translateX(0%);
  }

  36% {
    transform: translateX(-100%);
  }
  66% {
    transform: translateX(-100%);
  }

  69% {
    transform: translateX(-200%);
  }
  96% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(0%);
  } /* volta sem flash */
}

/* SETAS DO SLIDER */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
  color: white;
  padding: 8px 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  user-select: none;
  transition: 0.25s ease;
  z-index: 20;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.left {
  left: 12px;
}

.slider-arrow.right {
  right: 12px;
}

/*===== Banner Voluntariado (corrigido e testado) =====*/

.box-banner {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
  animation: fadeInUp 1s ease;
}

.banner-voluntariado {
  display: block;
  width: 89%; /* ← era 8%, agora ocupa a largura total */
  height: auto;
  border-radius: 18px;
  transform: none;
}

/* ===== Botões visíveis ===== */
.botoes-vol {
  position: absolute;
  bottom: 25px;
  left: 10%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  opacity: 1; /* ← força visível */
  z-index: 10;
}

.btn-vol {
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.btn-verde {
  background-color: #3f6b34;
}

.btn-azul {
  background-color: #1b2b5e;
}

.btn-vol:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .banner-voluntariado {
    width: 100%;
  }

  .botoes-vol {
    bottom: 15px;
    left: 60%;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 8px;
  }

  .btn-vol {
    font-size: 0.9rem;
    padding: 10px 22px;
  }
}
/* ===== Ajuste de alinhamento da seção Voluntariado ===== */
#voluntariado {
  max-width: 1100px; /* controla a largura total */
  margin: 0 auto 2rem; /* centraliza e dá respiro inferior */
  padding-left: 40px; /* aproxima o texto da borda esquerda */
  padding-right: 20px;
}

#voluntariado h2 {
  font-size: 2rem;
  color: #607d25;
  border-left: 6px solid #1b2b5e;
  padding-left: 12px;
  margin-bottom: 10px;
}

#voluntariado p {
  text-align: justify;
  font-size: 1rem;
  color: #021148;
  margin-bottom: 25px;
  max-width: 900px; /* ===== Ajuste de alinhamento e espaçamento da seção Voluntariado ===== */
  #voluntariado {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
  }

  #voluntariado h2 {
    font-size: 2rem;
    color: #607d25;
    border-left: 6px solid #1b2b5e;
    padding-left: 12px;
    margin-bottom: 8px;
    font-family: "MADE";
  }

  #voluntariado p {
    text-align: justify;
    font-size: 1rem;
    color: #021148;
    margin-bottom: 8px; /* ← antes 25px */
    max-width: 900px;
    line-height: 1.6;
  }

  .box-banner {
    margin-top: -40px !important; /* força o banner colar no texto */
    padding-top: 0;
  }

  /* elimina espaços verticais extras */
  section#voluntariado,
  #voluntariado .sec-voluntariado {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  main section#voluntariado {
    margin-top: -30px !important; /* encosta o bloco ainda mais */
  }
}
/* ===== Seção de Políticas ===== */

.politicas-section {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.titulo-politicas {
  font-size: 2rem;
  color: var(--azul);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.card-politicas {
  background: var(--card);
  padding: 28px 30px;
  border-radius: 14px;
  box-shadow: var(--sombra-2);
  border: 1px solid var(--borda);
  animation: fadeInUp 0.5s ease forwards;
}

.descricao-politicas {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--texto);
}

.lista-politicas {
  list-style: none;
  margin-top: 20px;
  padding-left: 0;
}

.lista-politicas li {
  margin-bottom: 18px;
  padding-left: 0;
  border-left: 4px solid var(--verde-cl);
  padding-left: 14px;
}

.papel {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--azul-cl);
}

.papel-desc {
  margin-top: 4px;
  color: #444;
  line-height: 1.5;
}

.documento-link {
  margin-top: 20px;
  font-size: 1.1rem;
}

.doc-a {
  color: var(--verde-cl);
  font-weight: 600;
}

.doc-a:hover {
  text-decoration: underline;
}

/* Botão voltar */
.btn-voltar {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  background: var(--azul);
  color: #fff;
  border-radius: 10px;
  box-shadow: var(--sombra);
  transition: 0.3s;
}

.btn-voltar:hover {
  background: var(--azul-cl);
}

/* Animação */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==== CARDS TIPO PRIMEIRO MODELO ==== */

/* IMAGEM */
.card-imagem img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .card-linha,
  .card-linha.invertido {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .card-texto {
    order: 2 !important;
  }

  .card-imagem {
    order: 1 !important;
  }

  .btn-card {
    margin: auto;
  }
}
/* ===== DIV GERAL ===== */
.div-banner-projetos {
  width: 100%;
  margin: 0 auto 50px auto;
}

/* ===== Descrição ===== */
.descricao-projetos {
  max-width: 750px;
  margin: 0 auto 40px auto;
  text-align: center;
  padding: 0 20px;
}

.descricao-projetos h2 {
  font-size: 2.2rem;
  font-family: "MADE";
  color: #1b2b5e;
  margin-bottom: 14px;
}

.descricao-projetos p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #021148;
}

/* ===== Banner ===== */
.banner-projetos {
  position: relative;
  width: 100%;
  height: 300px;
  background: url("banner-provisorio.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: bannerZoom 8s ease-in-out infinite alternate;
}

/* Subtítulo animado */
.subtitulo-banner {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
}

/* Animações */
.animar {
  animation: fadeUp 0.9s ease forwards;
}
.animar:nth-child(1) {
  animation-delay: 0.2s;
}
.animar:nth-child(2) {
  animation-delay: 0.5s;
}

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

@keyframes bannerZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .banner-projetos {
    height: 240px;
  }
  .titulo-banner {
    font-size: 2.3rem;
  }
  .subtitulo-banner {
    font-size: 1rem;
  }
}
/* ===== BANNER ===== */
.banner-agendas {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.banner-agendas img {
  width: 90%;
  max-width: 1100px;
  display: block;
  margin: 0 auto;
  border-radius: 25px;
  animation: bannerZoom 8s ease-in-out infinite alternate;
}

/* =======================
   TÍTULO LATERAL
======================= */
.titulo-lista h3 {
  margin-left: 40px;
  margin-top: 20px;
  border-left: 4px solid #4f772d;
  padding-left: 12px;
  font-size: 1.8rem;
  font-family: "MADE", sans-serif;
  font-weight: 700;
  color: #0a1c47;
}

/* =======================
   GRID DE AGENDAS 2x2
======================= */
.agendas-grid {
  width: 90%;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

/* =======================
   CARD INDIVIDUAL
======================= */
.agenda-card {
  display: flex;
  align-items: center;
  gap: 25px;
  border: 5px solid transparent;
  border-radius: 20px;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #1b2b5e, #3f6b34) border-box;

  padding: 25px 30px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  transition: 0.25s;
}

.agenda-card:hover {
  transform: translateY(-5px);
}

/* =======================
   BOLINHA DO NÚMERO
======================= */
.agenda-num {
  width: 70px;
  height: 70px;
  min-width: 70px; /* impede de esticar */
  min-height: 70px;
  background: #4f772d;
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  font-family: "MADE", sans-serif;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* impede deformação ao lado de textos */
}

/* =======================
   INFORMAÇÕES DO EVENTO
======================= */
.agenda-info {
  display: flex;
  flex-direction: column;
}

.agenda-mes {
  font-size: 1.5rem;
  color: #0a1c47;
  font-family: "MADE", sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
}

.agenda-info p {
  margin-top: 5px;
  color: #0a1c47;
  font-size: 1rem;
}

@font-face {
  font-family: "MADE";
  src: url("fonts/MADE Evolve Sans Thin (PERSONAL USE).otf");
}

@font-face {
  font-family: "NEGRITO";
  src: url("fonts/MADE Evolve Sans Medium (PERSONAL USE).otf");
}

/*===== QUEM SOMOS — versão minimalista ===== */

.quem-somos-container {
  width: 100%;
  padding: 60px 40px; /* espaçamento para não colar no slider */
}

/* bloco apenas para organizar, sem fundo */
.quem-somos-bloco {
  width: 100%;
  max-width: 1300px; /* texto mais comprido */
  margin: 0 auto;
  padding: 0;
}

/* Título */
.titulo-qs {
  font-family: "MADE";
  font-size: 2.3rem;
  color: #1b2b5e; /* azul Sarom */
  margin-bottom: 18px;
  text-align: left;
}

/* Texto — full width */
.texto-qs {
  font-size: 1.2rem;
  line-height: 1.9;
  color: #021148;
  font-weight: 400;
  text-align: left;
  width: 100%;
}

/* remove qualquer reveal para evitar subir colado */
.reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Mobile */
@media (max-width: 800px) {
  .quem-somos-container {
    padding: 40px 20px;
  }

  .titulo-qs {
    font-size: 1.9rem;
  }

  .texto-qs {
    font-size: 1.1rem;
  }

  .quem-somos-bloco::before {
    width: 50px;
  }
}
.btn-card-news {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background: #3f6b34; /* verde Sarom */
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}
/* =============================
      NOTÍCIAS (VISUAL IGUAL PROJETOS)
=============================*/

#news-list {
  padding: 40px 0;
}

.grid-news {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.news-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sombra);
  border: 1px solid var(--borda);
  overflow: hidden;
  padding: 0;
  transition: 0.25s;
}

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

.news-card img,
.news-card video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eaeaea;
}

.news-card video {
  height: 200px;
  object-fit: contain;
  background: #000;
}

.news-card h5 {
  font-size: 18px;
  margin: 16px;
  color: var(--azul);
}

/* BOTÃO VER MAIS */
.toggle-news {
  margin: 0 16px 16px 16px;
  width: calc(100% - 32px);
  background: #e8eef3;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--azul);
  transition: 0.25s;
}

.toggle-news:hover {
  background: #dce6ed;
}

.toggle-news .arrow {
  transition: 0.25s;
}

.toggle-news.open .arrow {
  transform: rotate(180deg);
}

/* ÁREA ESCONDIDA */
.news-hidden {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
  padding: 0 16px;
}

.news-hidden.open {
  max-height: 1000px;
  opacity: 1;
  padding-bottom: 18px;
}

/* TEXTO */
.news-text {
  margin: 12px 0 16px 0;
  line-height: 1.6;
  color: #333;
}

/* BOTÃO SAIBA MAIS */
.btn-card-news {
  display: inline-block;
  background: linear-gradient(90deg, var(--azul), var(--verde));
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
}

.btn-card-news:hover {
  opacity: 0.9;
}

/* BOTÃO VOLTAR (AGORA VOLTOU A FICAR COMO PROJETOS!) */
.btn-voltar-noticias {
  display: inline-block;
  background: linear-gradient(90deg, var(--azul), var(--verde));
  padding: 10px 16px;
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  margin-top: 12px;
  text-decoration: none;
  transition: 0.25s;
}

.btn-voltar-noticias:hover {
  opacity: 0.85;
}
/* === LAYOUT DE NOTÍCIAS NO ESTILO DE PROJETOS === */

.noticias-cards-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.noticia-card-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--borda);
  border-radius: 18px;
  padding: 35px;
  box-shadow: var(--sombra-2);
  transition: 0.25s ease;
}

.noticia-card-linha:hover {
  transform: translateY(-6px);
}

.noticia-card-linha.invertido {
  flex-direction: row-reverse;
}

.noticia-card-texto {
  flex: 1;
  padding-right: 30px;
}

.noticia-card-texto h3 {
  margin-bottom: 12px;
  font-size: 28px;
  text-transform: uppercase;
}

.noticia-card-texto p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 18px;
  color: var(--texto);
}

.noticia-card-imagem {
  flex: 1;
}

.noticia-card-imagem img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--sombra);
}

/* Botão igual ao dos projetos */
.btn-card {
  background: var(--azul);
  color: #fff;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-card:hover {
  background: var(--medio);
}

/* MOBILE */
@media (max-width: 850px) {
  .noticia-card-linha,
  .noticia-card-linha.invertido {
    flex-direction: column;
    text-align: center;
  }

  .noticia-card-texto {
    padding-right: 0;
    margin-bottom: 20px;
  }
}
.noticia-card-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--borda);
  border-radius: 18px;
  padding: 35px;
  box-shadow: var(--sombra-2);
  transition: 0.25s ease;
}

.noticia-card-linha:hover {
  transform: translateY(-6px);
}

/* Quando invertido continua espaçado */
.noticia-card-linha.invertido {
  flex-direction: row-reverse;
  gap: 40px;
}

.banner-projetos-fixo {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.banner-projetos-fixo img {
  width: 90%;
  max-width: 1200px;
  border-radius: 22px;
  display: block;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}
.noticia-card-linha {
  margin-bottom: 60px !important;
}
.inline-actions .voltar {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 14px;
  background: linear-gradient(90deg, #1b2b5e, #3f6b34); /* azul → verde Sarom */
  color: #fff;
  font-weight: 600;
  font-family: "MADE";
  text-decoration: none;
  transition: 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.inline-actions .voltar:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.btn-parceiro {
  background: #fff;
  color: #1b2b5e;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  border: 2px solid #fff;
  white-space: nowrap; /* não quebra linha */
  transition: 0.25s ease;
}

.btn-parceiro:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.banner-titulo-noticias {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.banner-titulo-noticias img {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
}
.div-banner-noticias {
  position: relative;
  width: 100%;
  height: 260px; /* mesmo tamanho dos outros banners */
  overflow: hidden;
}

.banner-noticias {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-noticias-fixo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  display: flex;
  justify-content: center;
}

.banner-noticias-fixo img {
  width: 90%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: bannerZoom 8s ease-in-out infinite alternate;
}
/* BOTÃO VOLTAR — estilo com degradê azul → verde */
.btn-voltar-projeto {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: linear-gradient(90deg, #0c1f52, #3c742d);
  color: #ffffff !important;

  padding: 10px 26px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none !important;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, opacity 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-voltar-projeto:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn-voltar-projeto .arrow {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff !important;
}
/* === CORREÇÃO DO ESPAÇO EXAGERADO NO TÍTULO DO DETALHE DO PROJETO === */

#proj-detail {
  margin-top: 0 !important;
  padding-top: 10px !important;
}

#proj-detail h2#proj-detail-title {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#proj-detail .detail {
  margin-top: 20px !important;
}
/* ==============================
   CORREÇÕES GERAIS MOBILE
==============================*/
@media (max-width: 768px) {
  /* ===== HEADER ===== */
  header {
    height: 75px;
  }

  body {
    padding-top: 75px; /* evita conteúdo sumir atrás do header */
  }

  .logo img {
    width: 95px !important;
  }

  nav.nav-desktop {
    display: none !important;
  }

  /* Ícone menu */
  .menu-mobile {
    width: 32px !important;
    top: 22px !important;
    left: 16px !important;
  }

  /* NAV MOBILE */
  .nav-mobile {
    width: 78% !important;
    padding: 20px !important;
  }

  .nav-mobile-links a {
    font-size: 1.1rem !important;
    padding: 12px 0 !important;
  }

  /* ===== SLIDER ===== */
  .slider {
    height: 180px !important;
  }

  .slide img {
    height: 180px !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  /* ===== TÍTULOS ===== */
  h2,
  .conteudo-home {
    font-size: 1.7rem !important;
    margin-top: 10px !important;
  }

  h3 {
    font-size: 1.3rem !important;
  }

  /* ===== TEXTO ===== */
  p,
  .texto-qs,
  .nosso-proposito {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  /* ===== PADDING GERAL ===== */
  section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .quem-somos-container {
    padding: 20px 12px !important;
  }

  /* ===== CARDS HOME ===== */
  .cards {
    flex-direction: column !important;
    gap: 20px !important;
    padding: 0 !important;
  }

  .card {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ===== PROPOSTO - CARDS LINHA ===== */
  .card-linha {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    text-align: center !important;
    padding: 16px !important;
  }

  .card-imagem img {
    border-radius: 12px;
  }

  .btn-card {
    margin: auto;
  }

  /* ===== BANNER PROJETOS ===== */
  .banner-projetos-fixo img {
    width: 100% !important;
    max-height: 220px !important;
    object-fit: cover !important;
  }

  .div-banner-projetos {
    margin-bottom: 10px !important;
  }

  /* ===== VOLUNTARIADO ===== */
  .box-banner {
    margin-top: 0 !important;
    width: 100% !important;
  }

  .banner-voluntariado {
    width: 100% !important;
    border-radius: 10px !important;
  }

  .botoes-vol {
    left: 50% !important;
    transform: translateX(-50%);
    bottom: 12px !important;
    gap: 6px !important;
    flex-direction: column !important;
  }

  .btn-vol {
    width: 85% !important;
    text-align: center !important;
  }

  /* ===== VOLUNTÁRIOS LISTA ===== */
  .grid-vols {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .vol {
    width: 90% !important;
    margin: auto !important;
  }

  /* ===== PROJETOS — LISTA ===== */
  #proj-cards .news-card {
    width: 100% !important;
  }

  /* ===== PROJ DETAIL ===== */
  #proj-detail-body {
    width: 95% !important;
    padding: 18px !important;
  }

  #proj-detail-title {
    font-size: 1.5rem !important;
  }

  /* ===== NOTÍCIAS — CARDS ===== */
  .noticia-card-linha,
  .noticia-card-linha.invertido {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
    padding: 18px !important;
  }

  .noticia-card-imagem img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
  }

  .btn-card {
    margin: auto !important;
    display: block !important;
  }

  /* ===== TRANSPARÊNCIA ===== */
  .transp-card {
    padding: 14px !important;
  }

  .transp-header h3 {
    font-size: 1.1rem !important;
  }

  /* ===== CONTATO ===== */
  .contato-side {
    width: 90% !important;
    margin: auto !important;
    padding: 16px !important;
  }

  /* ===== FOOTER ===== */
  footer {
    text-align: center !important;
    padding: 20px !important;
  }

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

  .social {
    justify-content: center !important;
  }
}

/* ===== VOLUNTARIADO — AJUSTES MOBILE ===== */
@media (max-width: 768px) {
  /* Remove o banner no mobile */
  .box-banner img.banner-voluntariado {
    display: none !important;
  }

  /* Remove o fundo branco e sombra para não parecer card vazio */
  .box-banner {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  /* Contêiner dos botões */
  .botoes-vol {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 0 20px;
    margin-top: 10px;
  }

  /* Botões ocupando toda a largura */
  .botoes-vol .btn-vol {
    width: 100% !important;
    text-align: center;
    font-size: 16px;
    padding: 14px;
    border-radius: 10px;
  }

  /* Remove qualquer posição absoluta herdada do desktop */
  .botoes-vol a {
    position: relative !important;
    transform: none !important;
    left: 0 !important;
    top: 0 !important;
  }
}
/* Remove interferência da imagem de fundo no mobile */
@media (max-width: 768px) {
  #voluntariado .box-banner {
    background: none !important;
  }

  #voluntariado .banner-voluntariado {
    display: none; /* remove a imagem da mulher para não quebrar o layout */
  }
}
/* Ajusta os botões para ficarem 100% visíveis em mobile */
@media (max-width: 768px) {
  #voluntariado .botoes-vol {
    position: relative;
    z-index: 20;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  #voluntariado .btn-vol {
    width: 100%;
    text-align: center;
  }
}
/* ===== AGENDA MOBILE ===== */
@media (max-width: 768px) {
  .agendas-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
  }

  .agenda-card {
    width: 100% !important;
    max-width: 100%;
    flex-direction: column; /* card vira coluna */
    justify-content: flex-start;
    align-items: center; /* CENTRALIZA O CÍRCULO NO MEIO */
    text-align: center; /* centraliza textos */
  }

  .agenda-num {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0; /* garante que nada empurre pra esquerda */
  }

  .agenda-info {
    text-align: center;
  }
}

/* ===== CORREÇÃO GERAL DA LINHA DO TEMPO ===== */

#linha-tempo {
  position: relative;
  overflow: visible;
}

/* container para organizar z-index */
#linha-tempo .marcos-container {
  position: relative;
  z-index: 5;
}

/* imagens maiores e sem distorcer */
#linha-tempo .retangulo {
  width: 200px;
  height: 120px;
  position: relative;
  margin: 0 auto;
}

#linha-tempo .retangulo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* texto */
#linha-tempo .ano {
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 10px;
}

#linha-tempo .descricao {
  max-width: 240px;
  font-size: 1rem;
  display: block;
  margin: 6px auto 0 auto;
  line-height: 1.4;
}

/* ===== SETAS CORRIGIDAS ===== */

#linha-tempo .btn-voltar-linha-tempo,
#linha-tempo .btn-proximo {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 50;
  background: none;
  border: none;
  cursor: pointer;
}

#linha-tempo .btn-voltar-linha-tempo {
  left: 5px;
}
#linha-tempo .btn-proximo {
  right: 5px;
}

/* ============================================
   MOBILE — Remover banner + melhorar textos
============================================ */

/* CARD BASE — sem bordas, sem cortar imagem */
.card-projeto {
  position: relative;
  width: 100%;
  max-width: 1150px;
  margin: 40px auto;
  border-radius: 40px;
  overflow: hidden;
  padding: 0;
  background: transparent;
  min-height: 260px;
}

/* IMAGEM AGORA É EXATAMENTE COMO O ARQUIVO */
.card-projeto img.card-projeto-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill; /* ← mostra 100% SEM cortar NADA */
  z-index: 1;
}

.card-projeto-mobile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 1;
  display: none;
}

.card-projeto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 25%,
    rgba(255, 255, 255, 0) 60%
  );
  z-index: 2;
}

.card-projeto-texto {
  position: relative;
  z-index: 3;
  padding: 40px 50px;
  width: 55%;
}

.card-projeto-texto h3 {
  margin: 0 0 10px 0;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
}

.btn-card {
  background: #0d1c44;
  padding: 8px 20px;
  display: inline-block;
  color: #fff;
  margin-top: 12px;
  border-radius: 6px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .card-projeto {
    min-height: 300px;
  }

  .card-projeto img.card-projeto-bg {
    display: none;
  }

  .card-projeto-mobile {
    display: block;
  }

  /* REMOVE O GRADIENTE LATERAL */
  .card-projeto::before {
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.7) 50%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  /* TEXTO CENTRALIZADO E RESPONSIVO */
  .card-projeto-texto {
    width: 100%;
    padding: 20px;
    text-align: center;
  }

  #noticias .card-projeto-texto h3.texto-noticias {
    font-size: 28px !important;
    line-height: 1.1;
    top: -40px;
    margin-bottom: 50px;
  }

  .paragrafo-projetos {
    margin-bottom: 20px !important;
  }

  #projetos .card-projeto-texto h3.texto-noticias {
    font-size: 28px !important;
    line-height: 1.1;
    top: 10px;
    margin-bottom: 30px;
  }

  .btn-card {
    font-size: 13px;
    padding: 8px 16px;
  }

  /* ===== REMOVER BANNER ===== */
  #home-slider,
  #home-slider .slide img,
  #home-slider .slides {
    display: none !important;
  }

  /* ===== AJUSTE "QUEM SOMOS" ==== */
  .quem-somos-container {
    padding: 10px 20px;
    margin-top: 0 !important;
  }

  .conteudo-home {
    font-size: 1.4rem !important;
    margin-bottom: 10px;
  }

  .texto-qs {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
    text-align: left !important;
  }

  /* ===== AJUSTE “NOSSO PROPÓSITO” ===== */
  .nosso-proposito {
    font-size: 1.7rem !important;
    line-height: 2rem !important;
    padding: 0 20px;
  }

  .texto-grande {
    font-size: 1.8rem !important;
  }

  .proposito {
    margin-top: 10px !important;
  }

  /* ===== CARDS DO PROPÓSITO ===== */
  section.cards {
    padding: 0 15px;
  }

  .card {
    font-size: 0.95rem !important;
    padding: 15px !important;
    line-height: 1.4rem !important;
    margin-bottom: 20px;
  }

  /* ==== Remover espaçamentos gigantes ==== */
  #home {
    padding-top: 10px !important;
  }

  section {
    padding-top: 15px !important;
  }
}

/* MOBILE */
@media (max-width: 840px) {
  .card-projeto {
    min-height: 260px;
  }

  .card-projeto img.card-projeto-bg {
    object-fit: cover; /* fica bom no celular */
    opacity: 0.35;
  }

  .card-projeto::before {
    background: rgba(255, 255, 255, 0.8);
  }
}
/* FADE QUE NÃO COBRE A BORDA DA IMAGEM */
.card-projeto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0px,
    /* sem fade — borda aparece */ rgba(255, 255, 255, 0) 80px,

    /* manter 80px sem alterar */ rgba(255, 255, 255, 0) 70%
      /* desaparece novamente */
  );
  z-index: 2;
  pointer-events: none;
}
/* Ajuste fino nos textos das NOTÍCIAS (somente aba Notícias) */
#noticias .card-projeto-texto {
  padding-top: 90px; /* desce o texto um pouco */
  padding-left: 35px; /* mantém alinhamento igual aos projetos */
}

#noticias .card-projeto-texto h3 {
  margin-bottom: 10px; /* espaço padrão */
}

/* Fundo com movimento suave */
@keyframes bgFloat {
  0% {
    background-position: 0% 100%;
  }
  50% {
    background-position: 150% 100%;
  }
  100% {
    background-position: 0% 100%;
  }
}
.card-projeto::before,
.noticia-card-linha::before {
  animation: bgFloat 12s ease-in-out infinite;
}
/* Letra sobe e ganha leve brilho */
@keyframes titleReveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
    text-shadow: none;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
}

.btn-card {
  position: relative;
  overflow: hidden;
}

.btn-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: 0.5s;
}

.btn-card:hover::before {
  left: 120%;
}
@keyframes homeFadeUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-anim {
  opacity: 0;
  animation: homeFadeUp 0.8s ease forwards;
}
@keyframes titleRevealHome {
  0% {
    opacity: 0;
    letter-spacing: -4px;
  }
  100% {
    opacity: 1;
    letter-spacing: 0px;
  }
}

.conteudo-home {
  animation: titleRevealHome 1s ease forwards;
}
.tamanho-letra {
  animation: homeFadeUp 1s ease forwards;
  animation-delay: 0.25s;
}
@keyframes cardPop {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* hover moderno */
.cards .card:hover {
  transform: translateY(-6px) scale(1.02);
  transition: 0.35s ease;
}
@keyframes homeBgFloat {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#home {
  background-size: 220%;
  animation: homeBgFloat 18s ease-in-out infinite;
}
/* brilho suave passando nas palavras */
@keyframes brilhoSuave {
  0% {
    background-position: -200%;
  }
  100% {
    background-position: 200%;
  }
}
/* Mantém a animação de entrada sem alterar as cores originais */
.nosso-proposito span {
  opacity: 0;
  transform: translateY(18px);
  display: inline-block;
  animation: palavraTexto 0.45s ease forwards;
}

/* animação já existente */
@keyframes palavraTexto {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cards .card {
  opacity: 0;
  animation: cardPop 0.9s ease forwards, flutuarLeve 5s ease-in-out infinite;
}

.cards .card:nth-child(1) {
  animation-delay: 0.2s, 0.2s;
}
.cards .card:nth-child(2) {
  animation-delay: 0.35s, 0.35s;
}
.cards .card:nth-child(3) {
  animation-delay: 0.5s, 0.5s;
}

@keyframes cardPop {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flutuarLeve {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}

/* === TÍTULOS DO PROJETOS E NOTÍCIAS — ESTILO IGUAL “CULTURA” === */

.card-projeto-texto h3,
.noticia-card-texto h3,
.verde,
.azul,
.roxo {
  font-family: "Gadugi", sans-serif !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  font-size: 2.5rem !important; /* AUMENTO DA FONTE */
  line-height: 1.05 !important; /* mantém igual ao da imagem CULTURA */
  /* COR INTERNA BRANCA */
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  /* CONTORNO VERDE EXATO DA IMAGEM */
  -webkit-text-stroke: 2px #3f6b34 !important;

  /* MICRO SOMBRA AZUL IGUAL A IMAGEM “CULTURA” */
  text-shadow: 3px 3px 0px #021148, 3px 3px 3px rgba(2, 17, 72, 0.22) !important;

  /* REMOVE QUALQUER BRILHO / GRADIENTE ANTIGO */
  background: none !important;
  -webkit-background-clip: initial !important;
}

/* remove qualquer animação de brilho que estava estragando a cor */
@keyframes shineTitulo {
}

/* === ANIMAÇÃO CHIQUE E MINIMALISTA === */
/* micro-glow na sombra azul, super discreto */

.card-projeto-texto h3,
.noticia-card-texto h3,
.verde,
.azul,
.roxo {
  animation: glowChique 4s ease-in-out infinite;
}

@keyframes glowChique {
  0% {
    text-shadow: 1px 1px 0px #021148, 2px 2px 2px rgba(2, 17, 72, 0.2);
  }
  50% {
    text-shadow: 1px 1px 0px #021148, 2px 2px 4px rgba(2, 17, 72, 0.32); /* só um pouquinho mais de brilho */
  }
  100% {
    text-shadow: 1px 1px 0px #021148, 2px 2px 2px rgba(2, 17, 72, 0.2);
  }
}
/* MOBILE → botão aparece SOMENTE nessas telas */
@media (max-width: 768px) {
  #transparencia .btn-voltar-global,
  #proj-list .btn-voltar-global,
  #proj-detail .btn-voltar-global,
  #news-list .btn-voltar-global,
  #news-detail .btn-voltar-global {
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #0c1f52, #3c742d);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    width: fit-content;
    margin: 20px auto 10px auto;
    text-decoration: none;
  }
}
@media (max-width: 768px) {
  .cards {
    gap: 16px !important;
    padding: 0 12px !important;
  }

  .cards .card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px !important;
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
    border-width: 3px !important;
  }

  .cards .card:nth-child(odd),
  .cards .card:nth-child(even) {
    box-shadow: 0px 8px 0px #021148 !important;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  #linha-tempo .btn-voltar-linha-tempo,
  #linha-tempo .btn-proximo {
    top: 55%;
    width: 34px;
    height: 34px;
  }

  #linha-tempo .btn-voltar-linha-tempo img,
  #linha-tempo .btn-proximo img {
    width: 18px;
    height: 18px;
  }
}
/* ===== AJUSTE DO BOTÃO DO MENU MOBILE ===== */
@media (max-width: 768px) {
  .menu-mobile {
    left: 40px !important; /* ← aumenta distância da borda */
    top: 22px !important; /* ← mantém alinhado com o header */
    width: 35px !important; /* deixa proporcional ao header */
  }
}

.btn-vol {
  padding: 10px 22px;
  font-size: 0.95rem;
  border-radius: 10px;
  font-weight: 700;
  white-space: nowrap;
}

/* ----- MOBILE ----- */
@media (max-width: 768px) {
  /* esconde o banner para não quebrar */
  .banner-voluntariado {
    display: none !important;
  }
}
/* botão de voltar para o home da linha do tempo */
#voltar-home {
  position: static !important; /* tira do absoluto das setas */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 40px auto 0;
  padding: 10px 22px;
  border-radius: 28px;
  background: linear-gradient(90deg, #0c1f52, #3c742d);
  color: #fff;
  font-family: "MADE";
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 600px) {
  .contato-forms-box {
    padding: 35px 25px;
  }
}
/* ===== LAYOUT LADO A LADO ===== */
.contato-duas-colunas {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ===== CAIXA PADRÃO (IGUAL PARA AS DUAS) ===== */
.contato-card {
  flex: 1;
  min-width: 350px;
  max-width: 500px;
  background: #fff;
  padding: 40px 40px;
  border-radius: 18px;
  border: 2px solid #1b2b5e40; /* azul bem suave */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* TÍTULO COM ÍCONE (igual da caixa 1) */
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.card-header img {
  width: 30px;
  height: 30px;
}

.card-header h4 {
  font-size: 1.5rem;
  color: #3f6b34; /* verde Sarom */
  font-weight: 600;
}

/* TEXTOS */
.contato-card p {
  font-size: 19px;
  color: #4c8a40;
  margin: 12px 0;
  line-height: 1.55;
}

.contato-card strong {
  color: #1b2b5e;
  font-family: MADE;
  font-size: 25px;
}

/* ===== LGPD ===== */
.subtitulo-lgpd {
  font-size: 1.2rem;
  margin-top: 15px;
  color: #1b2b5e;
}

.subinfo {
  font-size: 0.85rem;
  margin-bottom: 15px;
  color: #666;
}

/* Checkbox estilizado */
.lgpd-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 18px;
}

.lgpd-checkbox span {
  width: 20px;
  height: 20px;
  border: 2px solid #1b2b5e;
  border-radius: 4px;
  transition: 0.2s;
  position: relative;
  flex-shrink: 0; /* impede deformação */
}

.lgpd-checkbox input {
  display: none;
}

.lgpd-checkbox input:checked + span {
  background: #1b2b5e;
}

.lgpd-checkbox input:checked + span::after {
  content: "";
  position: absolute;
  top: 0px; /* desce 1px → centraliza verticalmente */
  left: 4.7px; /* aproxima 1px → centraliza horizontalmente */
  width: 6px; /* aumenta para ficar proporcional */
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ===== BOTÃO ===== */
.btn-acessar {
  display: block;
  width: 100%;
  text-align: center;
  background: #1b2b5e;
  color: #fff;
  padding: 14px 0;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 20px;
  text-decoration: none;
  transition: 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-acessar:hover:not(.disabled) {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-acessar.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* TÍTULO COM ÍCONE CENTRALIZADO */
.card-header {
  display: flex;
  align-items: center;
  justify-content: center; /* <-- deixa no centro */
  gap: 10px;
  margin-bottom: 20px;
  text-align: center;
}

/* Ícone corrigido */
.icon-envelope {
  width: 26px; /* tamanho ideal */
  height: 26px;
  object-fit: contain;
  display: block;
}

/* Título */
.card-header h4 {
  font-size: 1.7rem;
  color: #3f6b34; /* verde Sarom */
  font-weight: 600;
  margin: 0;
}

/* ======= RESPONSIVO ======= */
@media (max-width: 900px) {
  .contato-wrap {
    grid-template-columns: 1fr;
  }
}
