* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-color: #2d7a3e;
  --secondary-color: #4caf50;
  --accent-color: #ff9800;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f5f5f5;
  --white: #ffffff;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header e Menu */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}
nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 50px; /* ajuste conforme o tamanho do seu header */
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--primary-color);
}
.dropdown {
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* já encosta logo abaixo do botão */
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 10; /* garante que o menu fica por cima de outros elementos */
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-content a {
  display: block;
  padding: 0.7rem 1.5rem;
  color: var(--text-dark);
}
.dropdown-content a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}
.btn-donate {
  background: var(--accent-color);
  color: var(--white);
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s;
}
.btn-donate:hover {
  transform: scale(1.05);
}
.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Banner */
#home {
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.carousel {
  position: relative;
  height: 100vh; /* ocupa toda a tela */
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-img {
  width: 100%;
  height: 100%;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));  <-- repensando ele, talvez em algumas situações funcione*/
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.carousel-content {
  max-width: 800px;
  padding: 20px;
}

.carousel-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.carousel-content p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: #0d9b3c;
  color: #fff;
  padding: 16px 36px; /* aumenta altura e largura */
  font-size: 1.1rem; /* texto maior */
  font-weight: 600; /* texto mais forte */
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(13, 155, 60, 0.4); /* leve brilho */
}

.btn-primary:hover {
  background: #32d362;
  transform: translateY(-3px); /* efeito de destaque */
  box-shadow: 0 6px 18px rgba(13, 155, 60, 0.6);
}

.carousel-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(39, 165, 22, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: #1cd803;
}

@media (max-width: 768px) {
  .carousel {
    height: 70vh; /* menor altura no mobile */
  }

  .carousel-content h1 {
    font-size: 1.8rem;
  }

  .carousel-content p {
    font-size: 1rem;
  }
  .btn-primary {
    padding: 12px 28px;
    font-size: 1rem;
  }
}

/* Seções Gerais */
section {
  padding: 5rem 2rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  margin: 1rem auto;
  border-radius: 2px;
}

/* Sobre Nós */
#sobre {
  background: var(--bg-light);
}
.sobre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.sobre-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Resultados Sociais */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.stat-card:hover {
  transform: translateY(-10px);
}
.stat-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Serviços */
#servicos {
  background: var(--bg-light);
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.servico-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.servico-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.servico-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.servico-titulo {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.servico-desc {
  display: none;
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}
.servico-card.active .servico-desc {
  display: block;
}
.btn-inscrever {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background-color: #057530; /* azul institucional */
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  transition: 0.3s;
}
.btn-inscrever:hover {
  background-color: #18ac50; /* tom mais escuro no hover */
  transform: scale(1.05);
}

/* Quer Ajudar */
.ajudar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}
.ajudar-card {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
  color: var(--white);
  cursor: pointer;
  transition: transform 0.3s;
}
.ajudar-card:hover {
  transform: scale(1.05);
}
.ajudar-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}
.ajudar-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.ajudar-card p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Depoimentos */
#depoimentos {
  background: var(--bg-light);
}
.depoimentos-carousel {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}
.depoimento-slide {
  display: none;
  text-align: center;
  padding: 2rem;
}
.depoimento-slide.active {
  display: block;
  animation: fadeIn 0.5s;
}
.depoimento-foto {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
}
.depoimento-texto {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.depoimento-autor {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.depoimento-situacao {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Parceiros */
.parceiros-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.parceiros-track {
  display: flex;
  gap: 3rem;
  width: max-content; /* garante que o flex se ajuste ao tamanho total */
  animation: scroll 60s linear infinite;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.parceiro-logo {
  min-width: 180px; /* aumentei um pouco o tamanho */
  height: 100px; /* aumentei a altura */
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Imagens das logos */
.parceiro-logo img {
  max-width: 100%;
  max-height: 100px; /* aumenta proporcionalmente ao card */
  object-fit: contain;
  filter: none; /* remove o cinza */
  transition: transform 0.3s ease;
}
.parceiro-logo img:hover {
  transform: scale(1.05); /* efeito sutil de destaque ao passar o mouse */
}

/* Contato */
#contato {
  background: var(--bg-light);
}
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-submit:hover {
  background: var(--secondary-color);
}
.mapa-container {
  height: 100%;
  min-height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.social-icon {
  font-size: 2rem;
  color: var(--primary-color);
  transition: transform 0.3s;
}
.social-icon:hover {
  transform: scale(1.2);
  color: var(--accent-color);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 2rem 1rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}
.footer-links {
  list-style: none;
}
.footer-links a {
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--accent-color);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
.modal.active {
  display: flex;
}
.modal-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  max-width: 600px; /* aumentamos um pouco */
  width: 90%;
  max-height: 90vh; /* limita a altura para não ultrapassar a tela */
  position: relative;
  animation: slideDown 0.3s;
  overflow-y: auto; /* evita cortar conteúdo */
}
.modal-content h2 {
  text-align: center;
  margin-bottom: 20px; /* opcional, dá um espaçamento embaixo */
}

/* Estilizando a barra de rolagem do modal */
.modal-content::-webkit-scrollbar {
  width: 10px; /* largura da barra */
  border-radius: 15px; /* arredonda as bordas da barra */
}
.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1; /* fundo da barra */
  border-radius: 15px;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #ccc; /* cor do “polegar” da barra */
  border-radius: 15px;
  border: 2px solid #fff; /* cria um efeito de borda arredondada */
}

/* Para Firefox */
.modal-content {
  scrollbar-width: thin;
  scrollbar-color: #ccc #f1f1f1;
}

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

/* Layout em duas colunas */
.donation-container {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap; /* garante que no celular ele empilhe */
}

/* Cada coluna ocupa 50% no desktop */
.donation-column {
  flex: 1;
  min-width: 300px; /* impede quebra feia em telas pequenas */
}

/* Blocos individuais */
.donation-option {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  text-align: center;
}
.donation-option h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* PIX container com layout em colunas */
.pix-conteudo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 20px;
  border: 2px solid #00bfa5; /* Verde PIX */
  border-radius: 12px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Efeito hover */
.pix-conteudo:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(0, 191, 165, 0.3);
}

/* Imagem do QR Code */
.pix-logo img {
  width: 120px;
  height: auto;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

/* Texto ao lado */
.pix-info {
  flex: 1;
  text-align: left;
}
.pix-info h3 {
  color: #00bfa5;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.pix-key {
  background: #f1fffc;
  color: #00bfa5;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 5px;
}
.pix-legenda {
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
}

/* Espaçamento geral */
.pix-area {
  margin-bottom: 20px;
}

/* Fechar modal */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
}
.modal-close:hover {
  color: var(--text-dark);
}

/* Responsividade para celular */
@media (max-width: 700px) {
  .donation-container {
    flex-direction: column;
  }
}

/* Layout geral */
.banco-conteudo {
  display: flex;
  align-items: center;
  gap: 5px; /* diminuiu entre conteudo e foto */
  padding: 15px;
  border-radius: 12px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Efeito ao passar o mouse */
.banco-conteudo:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

/* Logo */
.banco-logo {
  flex: 0 0 auto; /* não cresce nem encolhe, ocupa só o necessário */
  display: flex;
  align-items: center; /* centraliza verticalmente a imagem */
  justify-content: center; /* centraliza horizontalmente */
  margin: 0; /* remove margens extras */
  padding: 0; /* remove padding */
}
.banco-logo img {
  width: 130px; /* aumentou de 80px para 100px */
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
}

/* Informações */
.banco-info {
  flex: 1;
}
.banco-info h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #333;
}
.banco-info p {
  margin: 3px 0;
  font-size: 0.95rem;
}

/* Cores e bordas específicas de cada banco */
.banco-itau .banco-conteudo {
  border: 2px solid #ff6600;
}
.banco-itau span {
  color: #ff6600;
  font-weight: bold;
}
.banco-santander .banco-conteudo {
  border: 2px solid #e60000;
}
.banco-santander span {
  color: #e60000;
  font-weight: bold;
}

/* Espaçamento entre os bancos */
.donation-option {
  margin-bottom: 1px;
}

/* ======= Layout vertical ======= */
.donation-container-vertical {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ======= PIX com fundo degradê ======= */
.pix-conteudo {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00bfa5, #7fffd4);
  box-shadow: 0 4px 10px rgba(0, 191, 165, 0.2);
  transition: all 0.3s ease;
  color: #fff;
}
.pix-conteudo:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 191, 165, 0.4);
}

/* QR Code */
.pix-logo img {
  width: 130px;
  height: auto;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

/* Informações do PIX */
.pix-info {
  flex: 1;
  text-align: left;
}
.pix-info h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #fff;
}
.pix-key {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 5px;
}
.pix-legenda {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 8px;
}

/* Responsividade */
@media (max-width: 700px) {
  .pix-conteudo {
    flex-direction: column;
    text-align: center;
  }
  .pix-logo img {
    width: 160px;
  }
}

/* WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s;
  z-index: 999;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Responsivo */
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .carousel-content h1 {
    font-size: 2rem;
  }
  .sobre-content,
  .contato-grid,
  .ajudar-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid,
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .stats-grid,
  .servicos-grid {
    grid-template-columns: 1fr;
  }
}
