/* Resetando o estilo do navegador */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corpo da página */
body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #eaf6ff; /* azul quase branco */
  color: #333;
  margin: 0;
  font-size: 1rem; /* Base para unidades rem */
}


/* Header com logo à esquerda e navegação à direita */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #1e90ff, #4682b4);
  padding: 0.75rem 2.5rem; /* 12px 40px */
}


nav li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}


.logo-container {
  margin-left: 150px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.logo-container:hover {
  transform: scale(1.1);
}

.logo {
  width: 70px;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #4682b4;
}

/* Estilo para o conteúdo principal */
main {
  padding: 20px;
}

section {
  margin-bottom: 40px;
}

h2 {
  color: #1e90ff;
}

button {
  background-color: #1e90ff;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #4682b4;
}

footer {
  background-color: #ddd;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
}

/* Estilos para os ícones das redes sociais */
.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.social-icon {
  font-size: 40px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icon:hover {
  color: #1e90ff;
}

.social-icon i {
  transition: transform 0.3s ease;
}

.social-icon:hover i {
  transform: scale(1.1);
}

/* Seção Sobre Nós */
#sobre-nos {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#sobre-nos h2 {
  color: #1e90ff;
  margin-bottom: 20px;
}

#sobre-nos h3 {
  margin-top: 20px;
  color: #1e90ff;
}

#sobre-nos ul {
  padding-left: 20px;
  margin-top: 10px;
}

#sobre-nos li {
  margin-bottom: 8px;
}

/* Estilo para a div de boas-vindas */
.welcome-container {
  background-color: #ffffff;
  padding: 40px;
  margin: 20px auto;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333;
  position: relative;
  width: 30vw;
  margin-left: 5vw;
}

.welcome-container h2 {
  color: #1e90ff;
  font-size: 32px;
  margin-bottom: 20px;
}

.welcome-container button {
  background-color: #1e90ff;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.welcome-container button:hover {
  background-color: #4682b4;
}

.welcome-container button:focus {
  outline: none;
}

/* Doação */
.doacao-container {
  background-color: #fff0f5;
  border: 2px solid #f08080;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: 30px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.doacao-container h3 {
  color: #d62828;
  margin-bottom: 15px;
  font-size: 24px;
}

.doacao-container p {
  font-size: 16px;
  margin-bottom: 20px;
}

.doacao-container button {
  background-color: #d62828;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.doacao-container button:hover {
  background-color: #a61c1c;
}

.icon-doacao {
  font-size: 40px;
  color: #d62828;
  margin-bottom: 10px;
}

/* Notícias */
#noticias {
  padding: 40px 20px;
  background-color: #f0f8ff;
  text-align: center;
}

#noticias h2 {
  color: #311eff;
  font-size: 26px;
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
  padding-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#noticias h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 4px;
  background-color: #1e90ff;
  border-radius: 2px;
}

#noticias h2 i {
  margin-right: 10px;
  color: #1e90ff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 30px auto;
  padding: 0 10px;
}

.news-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 16px;
  text-align: center;
}

.see-more-container {
  margin-top: 10px;
}

.see-more-container button {
  background-color: #1e90ff;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.see-more-container button:hover {
  background-color: #4682b4;
}

/* Responsividade para telas menores */
@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Contato */
.contato {
  background-color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.formulario-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 30px;
}

.formulario {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.formulario label {
  margin-top: 10px;
  font-weight: bold;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.formulario button {
  margin-top: 20px;
  padding: 10px;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.formulario button:hover {
  background-color: #34495e;
}

.info-contato {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  text-align: left;
}

.info-contato h3 {
  margin-top: 20px;
  color: #2c3e50;
}

.info-contato p {
  margin-bottom: 15px;
}

.doacao {
  text-align: center;
  padding: 50px 20px;
}

.qr-container img {
  max-width: 300px;
  margin: 20px 0;
}

.chave-pix {
  font-size: 1.2em;
  color: #333;
}

/* ——————————————— */
/* Flexbox para colocar depoimentos ao lado da welcome-container */
#inicio {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}

.depoimentos-container {
  flex: 1 1 300px;
  max-width: 45%;
}

/* Responsividade adicional */
@media (max-width: 900px) {
  #inicio {
    flex-direction: column;
    align-items: center;
  }

  .depoimentos-container {
    max-width: 90%;
  }
}

.depoimentos-container {
  position: absolute;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  bottom: 30px;
  right: 30px;
  text-align: center;
  color: #333;
  width: 30vw;
  margin-right: 5vw;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.depoimentos-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.depoimentos-container h3 {
  color: #ffa11e;
  margin-bottom: 20px;
  font-size: 24px;
}

.depoimentos-container p {
  font-style: italic;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
}

.icon-depoimento {
  font-size: 40px;
  color: #1e90ff;
  margin-bottom: 15px;
}


/* ——— Seção Transparência ——— */
#transparencia {
  background: linear-gradient(135deg, #eaf4ff 0%, #ffffff 100%);
  padding: 60px 0;
}
/* Ajuste para deixar a div de transparência menor */
#transparencia .container {
  width: 90%;
  max-width: 800px;    /* reduzido de 1200px para 800px */
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  padding: 40px;
  transition: transform 0.3s ease;
}


/* Título e subtítulo */
#transparencia h2 {
  font-size: 2.5rem;
  color: #1e90ff;
  text-align: center;
  position: relative;
  margin-bottom: 10px;
}
#transparencia h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #4682b4;
  margin: 12px auto 0;
  border-radius: 2px;
}
#transparencia .subtitulo {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
}

/* Select estilizado e responsivo */
.select-wrapper {
  max-width: 300px;
  margin: 0 auto 40px;
  position: relative;
}
.select-wrapper::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #999;
}
#year-select {
  width: 100%;
  padding: 14px 48px 14px 16px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  appearance: none;
  background-color: #f9f9f9;
  transition: border-color 0.3s, background-color 0.3s;
}
#year-select:focus {
  border-color: #1e90ff;
  background-color: #fff;
  outline: none;
}

/* Grid de arquivos */
.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.files-grid li {
  list-style: none;
}
.files-grid a {
  display: block;
  background: #f0f8ff;
  padding: 20px 16px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: #1e90ff;
  font-weight: 600;
  position: relative;
  transition: background-color 0.3s, transform 0.2s;
}
.files-grid a::before {
  content: "\f15b";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}
.files-grid a:hover {
  background-color: #e0f0ff;
  transform: translateY(-4px);
}

/* Ajuste de texto para não colidir com o ícone */
.files-grid a span {
  margin-left: 32px;
}

/* Responsividade */
@media (max-width: 768px) {
  #transparencia .container {
    padding: 30px 20px;
  }
  .files-grid {
    gap: 16px;
  }
}

#sobre-nos h3 {
  text-align: center;
  margin-bottom: 0.3em;
}

#sobre-nos p, #sobre-nos ul {
  background: #ffffffcc;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.file-explorer {
  margin-top: 30px;
}

.year-folder {
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
  font-size: 1.1rem;
  transition: background 0.3s;
  padding: 8px;
  border-radius: 6px;
}

.year-folder:hover {
  background-color: #f0f8ff;
}

.file-list {
  display: none;
  margin-left: 20px;
  margin-top: 5px;
}

.file-list a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 4px 0;
  transition: color 0.2s;
}

.file-list a:hover {
  color: #1e90ff;
}

.transparencia-box {
  background: #fff;
  max-width: 700px;
  margin: 50px auto;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  text-align: center;
}

.transparencia-box h2 {
  color: #1e90ff;
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.transparencia-box p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #555;
}

.documentos {
  list-style: none;
  padding: 0;
}

.documentos li {
  margin-bottom: 15px;
}

.documentos a {
  color: #1e90ff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.documentos a:hover {
  color: #104e8b;
}

/* Animação suave ao aparecer */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ===== Estilo da Seção de Transparência ===== */
#transparencia {
  background-color: #f5f7fa;
  padding: 60px 20px;
  font-family: 'Arial', sans-serif;
}



#transparencia h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #2c3e50;
}

/* Lista de anos (tipo accordion) */
.ano-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background-color: #f9fbfc;
}

.ano-header {
  background-color: #3498db;
  color: #fff;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s;
}

.ano-header:hover {
  background-color: #2980b9;
}

.ano-conteudo {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: #ecf6fc;
  padding: 0 20px;
}

.ano-conteudo ul {
  list-style: none;
  padding: 15px 0;
  margin: 0;
}

.ano-conteudo ul li {
  margin-bottom: 10px;
}

.ano-conteudo ul li a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 6px;
  background-color: #e3f1fb;
  transition: background-color 0.3s ease;
}

.ano-conteudo ul li a:hover {
  background-color: #d0e6f7;
  color: #1a5276;
}

/* Classe ativa para expandir conteúdo */
.ano-item.ativo .ano-conteudo {
  max-height: 500px; /* Ajustável conforme conteúdo */
}

/* Responsivo */
@media (max-width: 600px) {
  #transparencia h2 {
    font-size: 1.6rem;
  }

  .ano-header {
    font-size: 1rem;
    padding: 12px 15px;
  }
}

/* ===== Rodapé ===== */
#footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 40px 20px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-info,
.footer-social {
  flex: 1 1 300px;
  margin-bottom: 20px;
}

.footer-info h3,
.footer-social h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #bdc3c7;
}

.social-icons a {
  color: #ecf0f1;
  margin-right: 15px;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #f1c40f;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #34495e;
  font-size: 0.9rem;
  color: #bdc3c7;
}

/* Responsivo */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-icons a {
    margin: 0 10px;
  }
}

body {
  font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, nav a, .news-title, .footer-info h3 {
  font-family: 'Poppins', sans-serif;
}

.handwriting {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
}

.doacao h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.5rem;
  text-align: center;
  color: #2c3e50;
}

.doacao p {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  color: #34495e;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.doacao p,
.chave-pix {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  color: #34495e;
  text-align: center;
  margin: 10px auto;
}

.chave-pix strong {
  font-size: 1.3rem;
  font-weight: bold;
}



nav ul {
  list-style: none;
  display: flex;
  gap: 15px; /* espaçamento entre os itens */
  padding: 0;
  margin: 0;
}

nav ul li {
  display: flex;
  align-items: center;
}

nav ul li:not(:first-child) {
  border-left: 1px solid #ccc; /* separador minimalista */
  padding-left: 15px;
}

#noticias h2 {
  font-family: 'Arial Black', sans-serif;
  font-size: 1.8em;
  color: #222;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.parallax-foto {
  position: relative;
  overflow: hidden;
  height: 400px;
  width: 100%;
  margin-bottom: 40px;
}

.parallax-foto img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(0);
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.sobre-nos {
  padding: 80px 20px;
  background: linear-gradient(to right, #f7f9fc, #e3f2fd);
  font-family: 'Segoe UI', sans-serif;
}

.sobre-nos .container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  gap: 40px;
}

.sobre-nos .texto {
  flex: 1;
  min-width: 280px;
}

.sobre-nos .texto h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #004d80;
}

.sobre-nos .texto p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}

.sobre-nos .valores {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.sobre-nos .valor {
  text-align: center;
  color: #004d80;
}

.sobre-nos .valor i {
  font-size: 2rem;
  background-color: #e1f5fe;
  padding: 15px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.sobre-nos .valor span {
  display: block;
  font-weight: bold;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .sobre-nos .container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .sobre-nos .valores {
    justify-content: center;
  }
}

.sobre-nos {
  margin-top: -5px;  /* diminua esse valor para ficar mais perto da foto */
  padding-top: 0;
}

#noticias {
  opacity: 0;
  transform: translateX(-100px); /* Começa deslocado para a esquerda */
  transition: all 0.8s ease-in-out;
}

#noticias.show {
  opacity: 1;
  transform: translateX(0); /* Move para a posição original */
}

/* Seção de notícias */
#area-noticias {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.conteudo-noticias h2 {
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* Grid de notícias */
.layout-noticias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cada cartão de notícia */
.caixa-noticia {
  display: block;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.caixa-noticia:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
/* Imagem da notícia */
.caixa-noticia img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Título da notícia */
.texto-noticia {
  font-size: 1.1em;
  padding: 15px;
  color: #222;
  font-weight: 500;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

/* Galeria minimalista */
.galeria-carousel {
  position: relative;
  width: 95%;
  max-width: 600px;
  height: 340px;
  margin: 100px auto 60px auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background-color: #ffffffcc;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease;
}

.galeria-carousel:hover {
  transform: scale(1.01);
}

.galeria-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease-in-out;
  border-radius: 20px;
}

/* Título flutuante minimalista */
.galeria-titulo {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  color: #1e90ff;
  padding: 6px 18px;
  font-size: 1.6em;
  font-weight: 600;
  border-radius: 12px;
  font-family: 'Dancing Script', cursive;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
