/* Estilos gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #2d3436;
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  color: #00b894;
  margin-bottom: 1rem;
}

section {
  padding: 80px 0;
}

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

ul {
  list-style: none;
}

/* Header e navegação */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00b894;
  margin: 0;
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: #2d3436;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00b894;
}

.btn-apoie {
  background-color: #00b894;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 30px;
  transition: background-color 0.3s;
}

.btn-apoie:hover {
  background-color: #00a185;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.3s;
}

/* Hero section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("img/bannerinicio.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-principal {
  display: inline-block;
  background-color: #00b894;
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s, background-color 0.3s;
}

.btn-principal:hover {
  background-color: #00a185;
  transform: translateY(-3px);
}

/* Seção História */
.historia {
  background-color: #f8f9fa;
}

.historia h2,
.basquete h2,
.sonho h2,
.apoie h2,
.galeria h2,
.depoimentos h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.historia-content,
.basquete-content,
.sonho-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.historia-img,
.basquete-img,
.sonho-img {
  flex: 1;
}

.historia-texto,
.basquete-texto,
.sonho-texto {
  flex: 1;
}

.historia-texto p,
.basquete-texto p,
.sonho-texto p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Seção Basquete */
.conquistas {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  text-align: center;
}

.conquista-item {
  flex: 1;
  background-color: #e3f2fd;
  padding: 30px 20px;
  border-radius: 10px;
  margin: 0 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.conquista-item:hover {
  transform: translateY(-10px);
}

.numero {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: #00b894;
  margin-bottom: 0.5rem;
}

.texto {
  font-size: 1.1rem;
}

/* Seção Sonho */
.mapa {
  margin-top: 50px;
  text-align: center;
}

.mapa h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.mapa-responsivo {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* Proporção 16:9 para o mapa */
  max-width: 900px; /* Largura máxima */
  margin: 0 auto;
}

.mapa-responsivo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

/* Seção Apoie */
.apoie {
  background: linear-gradient(135deg, #00b894 0%, #067a75 100%);
  color: #fff;
}

.apoie h2 {
  color: #fff;
}

.apoie-texto {
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

.apoie-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: #333;
}

.qrcode-container {
  text-align: center;
}

.qrcode-container img {
  max-width: 200px;
  margin-bottom: 15px;
  border: 8px solid #f0f4ff;
  border-radius: 10px;
}

.apoie-info {
  flex: 1;
}

.barra-progresso {
  height: 20px;
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progresso-atual {
  height: 100%;
  background-color: #0066ff;
  border-radius: 10px;
}

.progresso-valores {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.formas-apoio {
  margin-top: 20px;
}

.formas-apoio h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.formas-apoio ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.formas-apoio i {
  margin-right: 10px;
  color: #0984e3;
}

/* Botão de copiar PIX */
.btn-copiar-pix {
  background-color: #00b894; /*cor do botao*/
  color: #fff; /*cor do texto do botao*/
  border: none; /*retira a borda preta do botão*/
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
}

.btn-copiar-pix i {
  margin-right: 8px;
  color: #fff !important;
}

.btn-copiar-pix:hover {
  background-color: #00a085;
  transform: translateY(-2px);
}

.btn-copiar-pix:active {
  transform: translateY(0);
}

/* Seção Galeria */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.galeria-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.galeria-item:hover {
  transform: scale(1.03);
}

.galeria-item img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s;
}

.galeria-item:hover img {
  transform: scale(1.1);
}

/* Seção Depoimentos */
.depoimentos {
  background-color: #f8f9fa;
}

.depoimentos-slider {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.depoimento {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 10px;
}

.depoimento p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
}

.autor {
  display: flex;
  align-items: center;
}

.autor img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.autor span {
  font-weight: 600;
}

.dots {
  text-align: center;
  margin-top: 30px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #ddd;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.dot.active {
  background-color: #0984e3;
}

/* Footer */
footer {
  background-color: #2d3436;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo h2 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-logo p {
  color: #aaa;
}

.footer-social h3,
.footer-contato h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.social-icons a {
  display: inline-block;
  margin-right: 15px;
  font-size: 1.5rem;
  color: #fff;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #00b894;
}

.footer-contato p {
  color: #aaa;
  margin-bottom: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #777;
  font-size: 0.9rem;
}

/*ajustes fotos*/

.fotominhahist {
  border-radius: 10px;
}

.adilsonbasquete {
  border-radius: 10px;
}

.triciclo {
  border-radius: 10px;
}

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

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeIn 1s ease-out;
}

/* Responsividade */
@media (max-width: 992px) {
  .historia-content,
  .basquete-content,
  .sonho-content {
    flex-direction: column;
  }

  .basquete-content {
    flex-direction: column-reverse;
  }

  .historia-img,
  .basquete-img,
  .sonho-img,
  .historia-texto,
  .basquete-texto,
  .sonho-texto {
    width: 100%;
  }

  .conquistas {
    flex-direction: column;
  }

  .conquista-item {
    margin-bottom: 20px;
  }

  .apoie-content {
    flex-direction: column;
    gap: 30px;
  }

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

  .footer-content > div {
    margin-bottom: 30px;
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    background-position: top center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #000;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url("img/bannermobile.png");
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

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

  section {
    padding: 60px 0;
  }
}

/* Menu Móvel */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 1010;
  padding: 80px 20px;
  text-align: center;
}

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

.mobile-menu ul {
  margin-top: 30px;
}

.mobile-menu li {
  margin-bottom: 20px;
}

.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 600;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #00b894;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 990;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* Estilos para os popups */
.popup {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup.active {
  display: block;
  opacity: 1;
}

.popup-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-30px);
  transition: transform 0.3s ease;
}

.popup.active .popup-content {
  transform: translateY(0);
}

.popup-content h3 {
  color: #00b894;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.popup-content img {
  display: block;
  max-width: 100%;
  max-height: 400px;
  margin: 0 auto 20px;
  border-radius: 8px;
}

.popup-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: color 0.3s;
}

.close-popup:hover {
  color: #00b894;
}

@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    padding: 20px;
    margin: 10% auto;
  }

  .popup-content h3 {
    font-size: 1.5rem;
  }

  .popup-content p {
    font-size: 1rem;
  }
}

/* Estilos para as novas seções */

/* Seção Etapas do Sonho */
.etapas-sonho {
  background-color: #f8f9fa;
}

.etapas-sonho h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 4px;
  background-color: #00b894;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 15px 30px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  position: absolute;
  background-color: #00b894;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-icon {
  right: -25px;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -25px;
}

.timeline-content {
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
  border-radius: 10px 0 10px 10px;
}

.timeline-item:nth-child(even) .timeline-content {
  border-radius: 0 10px 10px 10px;
}

.timeline-content h3 {
  margin-top: 0;
  color: #00b894;
}

/* Seção Detalhes do Triciclo */
.triciclo-detalhes h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.triciclo-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.triciclo-info {
  flex: 1;
}

.triciclo-info h3 {
  margin-bottom: 20px;
  color: #00b894;
}

.triciclo-info ul {
  list-style: disc inside;
  margin-bottom: 20px;
}

.triciclo-info li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.triciclo-img {
  flex: 1;
  text-align: center;
}

.legenda {
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 10px;
  color: #666;
  text-align: center;
}

/* Seção Perguntas Frequentes */
.perguntas-frequentes {
  background-color: #f8f9fa;
}

.perguntas-frequentes h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.faq-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
}

.faq-question {
  padding: 20px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  flex: 1;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  color: #00b894;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.3s ease;
}

.faq-answer p {
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .faq-container {
    grid-template-columns: 1fr;
  }

  .faq-question h3 {
    font-size: 1.1rem;
  }
}

/* Seção Benefícios para Apoiadores */
.beneficios-apoio h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.beneficio-item {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.beneficio-item:hover {
  transform: translateY(-10px);
}

.beneficio-icon {
  width: 70px;
  height: 70px;
  background-color: #e3f2fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #00b894;
  font-size: 1.8rem;
}

.beneficio-item h3 {
  margin-bottom: 15px;
  color: #00b894;
}

/* Responsividade para as novas seções */
@media (max-width: 992px) {
  .triciclo-content {
    flex-direction: column;
    gap: 30px;
  }

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

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-icon,
  .timeline-item:nth-child(even) .timeline-icon {
    left: 5px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    border-radius: 10px;
  }

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