/* Cores: Verde Principal (#035730), Amarelo Destaque (#ffd700), Fundo (#ecafaf) */
/* Configurações globais e reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,      /* Cores: Verde Principal (#035730), Amarelo Destaque (#ffd700), Fundo (#ecafaf) */
  /* Configurações globais e reset */
  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  background-color: #b7e7b5; /* Fundo da página */
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

/* -------------------------------------- */
/* NAV - Padrão */
/* -------------------------------------- */
#main-nav {
  background-color: #035730;
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* ... (O restante do CSS da NAV) ... */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}
.logo-text {
  font-size: 1.4em;
  font-weight: 700;
}
.nav-links {
  display: flex;
  gap: 25px;
}

.nav-item {
  color: white;
  font-weight: 600;
  padding: 5px 0;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
  color: #ffd700;
  border-bottom: 3px solid #ffd700;
}

.special-link {
  background-color: #e6b800;
  padding: 8px 15px;
  border-radius: 5px;
  border-bottom: none !important;
}

.special-link:hover {
  background-color: #ffc400;
  color: #035730;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2em;
  cursor: pointer;
  padding: 5px;
}

/* -------------------------------------- */
/* HERO PAGE (Faixa Panorâmica) - Padrão */
/* -------------------------------------- */

#hero-page {
  margin-top: 60px;
  width: 100%;
  height: 30vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
}

#hero-page h1 {
  color: white;
  font-size: 2.8em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

#hero-page p {
  color: white;
  font-size: 1.1em;
  font-weight: 300;
  max-width: 80%;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* -------------------------------------- */
/* CARDS DE DOAÇÃO */
/* -------------------------------------- */

.donation-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.donation-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
  padding-bottom: 20px;
}

.donation-card:hover {
  transform: translateY(-5px);
}

.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  color: #035730;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.card-button {
  display: inline-block;
  background-color: #ffd700;
  color: #035730;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 700;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.card-button:hover {
  background-color: #ffc400;
}

/* -------------------------------------- */
/* MODAL (Padrão) */
/* -------------------------------------- */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  overflow-y: auto;
  padding: 20px 0;
}

.modal-content {
  background-color: #b7e7b5;
  max-width: 600px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 30px;
  text-align: center;
}

.modal-content h2 {
  color: #035730;
  font-size: 2em;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 10px;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 30px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
}

.close-button:hover {
  color: #035730;
}

/* Modal Específico PIX */
#modal-pontual p {
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: center;
}

#modal-pontual strong {
  color: #035730;
  font-weight: 700;
}

#qr-code-img {
  max-width: 250px;
  height: auto;
  margin: 10px auto 20px;
  border: 1px solid #eee;
}

/* Modal Mensal */
#modal-mensal p {
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Modal Voluntario */
#modal-voluntario p {
  margin-bottom: 30px;
  line-height: 1.7;
}

#btn-assinar {
  background-color: #035730;
  color: white;
  padding: 12px 30px;
  font-size: 1.1em;
  margin: 10px;
}

#btn-assinar:hover {
  background-color: #024325;
}

/* -------------------------------------- */
/* FOOTER - Padrão (Amarelo) */
/* -------------------------------------- */
/* ... (O CSS do footer deve ser o padrão com títulos amarelos e col 1 centralizada) ... */
.site-footer {
  background-color: #035730;
  color: white;
  padding: 40px 0 10px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 30px;
  margin-bottom: 10px;
}

.footer-col {
  flex: 1 1 1;
  min-width: 250px;
}

.footer-col.logo-text {
  text-align: center;
}

.footer-col h3 {
  font-size: 1.3em;
  color: #ffd700;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 1em;
  color: #ffd700;
  margin-bottom: 15px;
  text-align: center;
}
/* ... (O restante do footer e responsividade) ... */
.footer-col.logo-text p {
  font-size: 0.7em;
  line-height: 1.6;
  align-items: center;
}

.footer-col.links ul {
  list-style: none;
}

.footer-col.links a {
  display: block;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-col.links a:hover {
  color: #ffd700;
}

.footer-col.contact p {
  margin-bottom: 10px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  text-align: center;
  font-size: 0.8em;
  opacity: 0.8;
}

/* -------------------------------------- */
/* SEÇÃO DE PARCEIROS - CORRIGIDA */
/* -------------------------------------- */
.partners-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}
.partners-title {
  color: #035730; /* Verde padrão dos títulos */
  font-size: 2.2em;
  margin-bottom: 30px;
}
.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-wrapper {
  flex-grow: 1;
  overflow-x: hidden;
  border-radius: 10px;
  position: relative;
}
.carousel-track {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  transition: transform 0.4s ease-in-out;
  /* Garante que o track não exceda o container */
  width: 100%;
  /* Opcional: se quiser limitar a largura total do track */
  /* max-width: calc(100% + 20px); */ /* Se quiser adicionar margem extra */
}
.partner-slide {
  min-width: 260px;
  max-width: 275px; /* Limita a largura máxima de cada slide */
  background: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  /* Garante que o conteúdo interno não estoure */
  overflow: hidden;
}
.partner-slide img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 15px;
}
.partner-slide h3 {
  color: #035730;
  font-size: 1.2em;
  margin-bottom: 10px;
}
.partner-slide p {
  font-size: 0.95em;
  color: #000000;
  line-height: 1.5;
}
.carousel-arrow {
  background: #ffd700; /* Amarelo de destaque do projeto */
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  color: #035730; /* Verde escuro para contraste com o amarelo */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 10;
  transition: background-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.carousel-arrow:hover {
  background: #ffc400; /* Um amarelo ligeiramente mais claro no hover */
  transform: scale(1.05);
}
.carousel-prev {
  order: -1; /* Coloca à esquerda */
}
.carousel-next {
  order: 1; /* Coloca à direita */
}

.partners-cta {
  font-size: 1.1em;
  color: #333;
  margin-top: 20px;
}
.partners-cta a {
  color: #035730;
  font-weight: 600;
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 900px) {
  .partners-title {
    font-size: 1.8em;
  }
  .partner-slide {
    min-width: 240px;
  }
  .carousel-arrow {
    display: none;
  } /* Esconde setas no mobile */
  .carousel-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 10px;
  }
  .carousel-track {
    display: flex;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 20px 0;
  }
  .partner-slide {
    scroll-snap-align: start;
  }
  .carousel-container {
    gap: 0;
  }
}

/* -------------------------------------- */
/* RESPONSIVIDADE */
/* -------------------------------------- */

@media (max-width: 900px) {
  /* NAV com fundo verde corrigido */
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #035730; /* Fundo Verde Corrigido */
    flex-direction: column;
    padding: 10px 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-item {
    width: 100%;
    padding: 10px 20px;
    border-bottom: none !important;
  }

  /* HERO */
  #hero-page h1 {
    font-size: 2.5em;
  }

  /* CARDS */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* MODAL */
  .modal-content {
    margin: 20px 10px;
    padding: 20px;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-col {
    min-width: 100%;
    text-align: center;
  }

  .footer-col.links a {
    display: inline-block;
    margin: 0 10px;
  }
}
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  background-color: #acf0a9; /* Fundo da página */
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

/* -------------------------------------- */
/* NAV - Padrão */
/* -------------------------------------- */
#main-nav {
  background-color: #035730;
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* ... (O restante do CSS da NAV) ... */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}
.logo-text {
  font-size: 1.4em;
  font-weight: 700;
}
.nav-links {
  display: flex;
  gap: 25px;
}

.nav-item {
  color: white;
  font-weight: 600;
  padding: 5px 0;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
  color: #ffd700;
  border-bottom: 3px solid #ffd700;
}

.special-link {
  background-color: #e6b800;
  padding: 8px 15px;
  border-radius: 5px;
  border-bottom: none !important;
}

.special-link:hover {
  background-color: #ffc400;
  color: #035730;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2em;
  cursor: pointer;
  padding: 5px;
}

/* -------------------------------------- */
/* HERO PAGE (Faixa Panorâmica) - Padrão */
/* -------------------------------------- */

#hero-page {
  margin-top: 60px;
  width: 100%;
  height: 30vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
}

#hero-page h1 {
  color: white;
  font-size: 2.8em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

#hero-page p {
  color: white;
  font-size: 1.1em;
  font-weight: 300;
  max-width: 80%;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* -------------------------------------- */
/* CARDS DE DOAÇÃO */
/* -------------------------------------- */

.donation-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.donation-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
  padding-bottom: 20px;
}

.donation-card:hover {
  transform: translateY(-5px);
}

.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  color: #035730;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.card-button {
  display: inline-block;
  background-color: #ffd700;
  color: #035730;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 700;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.card-button:hover {
  background-color: #ffc400;
}

/* -------------------------------------- */
/* MODAL (Padrão) */
/* -------------------------------------- */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  overflow-y: auto;
  padding: 20px 0;
}

.modal-content {
  background-color: #b7e7b5;
  max-width: 600px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 30px;
  text-align: center;
}

.modal-content h2 {
  color: #035730;
  font-size: 2em;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 10px;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 30px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
}

.close-button:hover {
  color: #035730;
}

/* Modal Específico PIX */
#modal-pontual p {
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: center;
}

#modal-pontual strong {
  color: #035730;
  font-weight: 700;
}

#qr-code-img {
  max-width: 250px;
  height: auto;
  margin: 10px auto 20px;
  border: 1px solid #eee;
}

/* Modal Mensal */
#modal-mensal p {
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Modal Voluntario */
#modal-voluntario p {
  margin-bottom: 30px;
  line-height: 1.7;
}

#btn-assinar {
  background-color: #035730;
  color: white;
  padding: 12px 30px;
  font-size: 1.1em;
  margin: 10px;
}

#btn-assinar:hover {
  background-color: #024325;
}

/* -------------------------------------- */
/* FOOTER - Padrão (Amarelo) */
/* -------------------------------------- */
/* ... (O CSS do footer deve ser o padrão com títulos amarelos e col 1 centralizada) ... */
.site-footer {
  background-color: #035730;
  color: white;
  padding: 40px 0 10px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 30px;
  margin-bottom: 10px;
}

.footer-col {
  flex: 1 1 1;
  min-width: 250px;
}

.footer-col.logo-text {
  text-align: center;
}

.footer-col h3 {
  font-size: 1.3em;
  color: #ffd700;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 1em;
  color: #ffd700;
  margin-bottom: 15px;
  text-align: center;
}
/* ... (O restante do footer e responsividade) ... */
.footer-col.logo-text p {
  font-size: 0.7em;
  line-height: 1.6;
  align-items: center;
}

.footer-col.links ul {
  list-style: none;
}

.footer-col.links a {
  display: block;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-col.links a:hover {
  color: #ffd700;
}

.footer-col.contact p {
  margin-bottom: 10px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  text-align: center;
  font-size: 0.8em;
  opacity: 0.8;
}

/* -------------------------------------- */
/* RESPONSIVIDADE */
/* -------------------------------------- */

@media (max-width: 900px) {
  /* NAV com fundo verde corrigido */
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #035730; /* Fundo Verde Corrigido */
    flex-direction: column;
    padding: 10px 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-item {
    width: 100%;
    padding: 10px 20px;
    border-bottom: none !important;
  }

  /* HERO */
  #hero-page h1 {
    font-size: 2.5em;
  }

  /* CARDS */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* MODAL */
  .modal-content {
    margin: 20px 10px;
    padding: 20px;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-col {
    min-width: 100%;
    text-align: center;
  }

  .footer-col.links a {
    display: inline-block;
    margin: 0 10px;
  }
}
