:root {
  --primary: #0ca9c5;
  --secondary: #bad8d8;
  --bg: #c2c2c2;
  --text: #222;
  --white: #fff;
}

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

body { 
  font-family:'Poppins',sans-serif; 
  color:var(--text); 
  background:#e6f2ff;
   
}


/* Garante que a página inteira ocupa 100% da altura da tela */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Wrapper principal que empurra o footer para o fim */
.wrapper {
  min-height: calc(100vh - 150px); /* 150px é a altura aproximada do footer */
}



/*ABRIR A SECTION SUAVEMENTE */

/* Estado inicial oculto */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Quando visível na tela */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Sticky header fixo */
.top-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* background: linear-gradient(135deg, #7dbde2, var(--primary)); */
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Menu padrão */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 265px;
  max-width: 1200px;
  margin: auto;
}

.menu-doar {
  background-color: #e0e6e1; /* ou outro tom de destaque */
  color: #333 !important;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 30px;
  transition: background 0.3s ease;
}

.menu-doar:hover {
  background-color: #eece18;
  color: white;
}


.logo img {
  height: 70px;
  
  /* filter: drop-shadow(0 0 6px white); sombra branca ao redor */
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.nav-links a.active {
  color: rgb(255, 210, 7);
  font-weight: bold;
  border-bottom: 1.5px solid rgb(211, 210, 206);
}

@media (max-width: 695px) {
  .nav-links a.active {
    background-color: rgba(2, 15, 26, 0);
    border-left: 2px solid var(--primary);
    padding-left: 12px;
  }
}


/* Botão de menu hamburguer */
.menu-toggle {
  display: none;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Estilo padrão dos links */
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 300;
  transition: opacity 0.2s ease;
}
.nav-links a:hover {
  opacity: 0.9;
}


/* Botão */
.btn-primary {
  display: inline-block;
  background-color: white;
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background-color: #e0f4ff;
}

/* Modal de vídeo */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

.fechar-modal {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 10001;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


.btn-primary {
  display: inline-block;
  background-color: white;
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #e0f4ff;
}


main { width:100%; margin:auto; }

.hero {
  position: relative;
  color: white;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.2); /* escurece o vídeo para legibilidade */
}

@media (max-width: 1130px) {
  .header-content {
    padding: 15px 20px;
  }

  /* Reduz espaçamentos */
  section {
    padding: 30px 16px !important;
  }

  .hero {
    height: 650px !important;
  }

  .hero-content {
    padding: 0 20px;
    text-align: center;
    
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 1.8rem;
  }

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

  /* Ajusta a seção doação */
  .doacao {
    padding: 30px 20px;
    margin: 40px 10px;
  }

  /* Reduz tamanho de input e texto */
  .form-contato input,
  .form-contato textarea {
    font-size: 1rem;
  }

  .form-contato button {
    font-size: 1rem;
  }

  /* Banner de vídeo ou imagem */
  .hero video,
  .hero img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

/*===========================================================*/

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px;
}

.hero-content img{
  height: 350px;
  width: 350px;
}


.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  margin-top: 20px;
}


/* BANNER DOAR */
.hero-doar {
  background: url('../IMG/textura_contato.avif') center/cover no-repeat;
  height: 500px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-doar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2); /* nível de escurecimento */
  z-index: 1;
}

.hero-doar > * {
  position: relative;
  z-index: 2;
}

.hero-content-doar {
  display: flex;
  width: 100%;
}


.texto-doar {
  flex: 1;
  padding: 60px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.texto-doar h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.texto-doar p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.imagem-doar {
  flex: 1;
  overflow: hidden;
}

.imagem-doar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: inline;
}

.btn-doar {
  background: #fff;
  color: var(--primary);
  text-align: center;
  padding: 15px;
  width: 38%;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-doar:hover {
  background: #e6f2ff;
}
/* FECHANDO BANNER DOAR */



.hero_contato {
    position: relative;
  background: url('../IMG/textura_contato.avif') center/cover no-repeat;
  color: white;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 12px; */
  /* margin-top: 40px; */
  overflow: hidden;
}

.hero_contato::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.2); /* escurece a imagem */
  z-index: 0;
}

.hero_projetos {
    position: relative;
  background: url('../IMG/projeto3.jpg') center/cover no-repeat;
  color: white;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 12px; */
  /* margin-top: 40px; */
  overflow: hidden;
}

.hero_projetos::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8); /* escurece a imagem */
  z-index: 0;
}

.hero_sobre {
    position: relative;
  background: url('../IMG/textura_contato.avif') center/cover no-repeat;
  color: white;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 12px; */
  /* margin-top: 40px; */
  overflow: hidden;
}

.hero_sobre::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.2); /* escurece a imagem */
  z-index: 0;
}

.btn-video {
  display:inline-block; 
  margin-top:15px;
  background:rgba(255,255,255,0.8); 
  color:var(--primary);
  padding:10px 20px; 
  border-radius:0;
  text-decoration:none; 
  font-weight:500;
}
.btn-video:hover { background:#fff; }

/*=============== CONTATOS ================*/

.contato {
  background: linear-gradient(135deg, #f4faff, #e1f3ff);
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contato h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 40px;
  text-align: center;
}

.form-contato {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-contato input,
.form-contato textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.8rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-family: 'Poppins', sans-serif;
}

.form-contato input:focus,
.form-contato textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 5px rgba(0, 194, 255, 0.3);
}

.form-contato button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 14px;
  /* width: 50%; */
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
}

.form-contato button:hover {
  background-color: var(--primary);
  transform: scale(1.02);
}

@media (max-width: 600px) {
  .form-contato {
    padding: 30px 20px;
  }

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

/* ============== PÁGINA DOAÇÃO =============== */
.doacao {
  background: linear-gradient(135deg, #e8f4ff, #fefeff);
  padding: 60px 30px;
  border-radius: 16px;
  max-width: 550px;
  margin: 40px auto;
  box-shadow: 0 10px 30px rgba(0, 119, 204, 0.1);
  text-align: center;
  position: relative;
}

.doacao h2 {
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 30px;
}

.doacao img {
  max-width: 240px;
  width: 100%;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.doacao img:hover {
  transform: scale(1.03);
}

.doacao p {
  margin-top: 20px;
  font-size: 1rem;
  color: #333;
}

.doacao strong {
  color: var(--primary);
  font-weight: bold;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .doacao {
    padding: 40px 20px;
  }

  .doacao h2 {
    font-size: 1rem;
  }

  .doacao p {
    font-size: 0.8rem;
  }

  .doacao strong {
    font-size: 0.8rem;
  }

  .doacao img {
    max-width: 180px;
  }

}

.btn-copiar {
  margin-top: 15px;
  background-color: var(--primary);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-copiar:hover {
  background-color: #20afb4;
  transform: scale(1.03);
}

.copiado-msg {
  display: none;
  margin-top: 10px;
  font-size: 0.95rem;
  color: #28a745;
  font-weight: 600;
}

/* Animação suave ao entrar na tela */
.doacao {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.doacao.aparecer {
  opacity: 1;
  transform: translateY(0);
}




/* ============== AÇÕES ==============*/

.acoes {
  padding: 60px 20px;
  background-color: #e6f2ff;
  text-align: center;
}

.acoes h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--primary);
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
}

.card {
  min-width: 300px;
  max-width: 300px;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  flex: 0 0 auto;
}

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

.card-body {
  padding: 20px;
}

.card-body h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 16px;
}

.card-body p {
  margin-bottom: 15px;
  font-size: 13px;
}

.btn-saiba {
  background-color: var(--primary);
  color: white;
  padding: 10px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
}

.btn-carousel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* background: rgba(11, 163, 201, 0.8); */
  color: rgb(3, 31, 56);
  border: none;
  font-size: 1rem;
  padding: 7px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.btn-carousel.left {
  left: 10px;
}

.btn-carousel.right {
  right: 10px;
}

@media (max-width: 768px) {
  .acoes h2{
    font-size: 1.5rem;
  }
  
  .card {
    min-width: 250px;
  }

}


/* =============== RODAPÉ ================ */
.footer {
  background-color: #0d1b2a;
  color: #f1f1f1;
  padding: 40px 20px 40px;
  font-size: 0.85rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h3 {
  margin-bottom: 15px;
  color: #ffffff;
  font-size: 1.2rem;
}

.footer-col p,
.footer-col li {
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #00c2ff;
}

.social-links a {
  display: inline-block;
  margin-right: 12px;
  transition: transform 0.3s;
}

.social-links img {
  width: 24px;
  height: 24px;
  /* filter: brightness(0) invert(1); */
}

.social-links a:hover {
  transform: scale(1.1);
}

.footer-bottom {
  /* background: linear-gradient(135deg, var(--secondary), var(--primary)); */
  background: var(--primary);
  color: #f4f6f8;
  text-align: center;
  padding: 15px;
  font-size: 0.80rem;
  /* opacity: 0.7; */
}

/* =============== FIM RODAPÉ ================ */



/* RESPONSIVO */
@media (max-width: 695px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 90px; /* altura do header */
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    z-index: 999;
    padding: 0;
    gap: 0;
  }

  .nav-links a {
    padding: 25px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
  }

  .nav-links.show {
    display: flex;
    max-height: 410px; /* ou use 'fit-content' com cuidado */
    opacity: 1;
    padding: 10px 0;
  }

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


  .contato { width: 100%; }

  .doacao { width: 100%; }

  .hero-content img {
    height: 280px;
    width: 280px;
  }

  .hero-content h2 {
  font-size: 2rem;
  
  
}

  .hero-content p {
    font-size: 14px;
    margin-top: 20px;
  }

  .menu-doar {
    margin: 10px 0 10px 0;
    
}

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


  .hero-content-doar {
    flex-direction: column;
    text-align: center;
    /* align-items: center; */
  }

  .texto-doar, .imagem-doar {
    text-align: center;
  }

  .imagem-doar img {
    max-height: 280px;
    max-width: 500px;
  }

  .footer-bottom {
  font-size: 0.70rem;
  
}

  /* BANNER DOAR */
  .hero-doar {
    height: auto;
    padding: 0;
  }

  .hero-content-doar {
    flex-direction: column;
  }

  .texto-doar {
    padding: 30px 20px;
    text-align: center;
  }

  .texto-doar h2 {
    font-size: 1.8rem;
  }

  .texto-doar p {
    font-size: 0.8rem;
  }

  .btn-doar {
    padding: 10px 20px;
    font-size: 1rem;
    /* align-items: center;*/
    width: 50%;
    margin: 5px auto;
  }

  .imagem-doar {
    height: 250px;
  }

  .imagem-doar img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

}

/* ================ PÁGINA SOBRE ===================*/

.sobre-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  
  /* width: 100%;   */
}

.sobre-bloco {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  gap: 40px;
  /* background: url(../IMG/textura_contato.avif); */
}

.sobre-img img {
  width: 100%;
  max-width: 500px;
  /* border-radius: 12px; */
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.sobre-texto {
  flex: 1;
}

.sobre-texto h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--primary, #0077cc);
}

.sobre-texto p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Inverter layout */
.sobre-bloco.inverso {
  flex-direction: row-reverse;
}

/* NOSSO TIME */
.time {
  padding: 60px 20px 5px;
  /* background-color: #f5faff; */
  text-align: center;
}

.time h2 {
  font-size: 1.6rem;
  margin-bottom: 30px;
  color: var(--primary, #0077cc);
}

.carrossel-time {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.time-cards {
  display: flex;
  flex-wrap: nowrap; /* <--- ESSENCIAL */
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  scrollbar-width: none; /* Firefox */
}

.time-cards::-webkit-scrollbar {
  display: none; /* Chrome e Safari */
}


.card-membro {
  flex: 0 0 260px; /* largura fixa para horizontal */
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  padding: 15px;
  text-align: center;
}


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

.card-membro h3 {
  margin: 15px 0 5px;
  font-size: 1rem;
}

.card-membro p {
  color: #666;
  font-size: 0.85rem;
}

.redes-sociais {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.redes-sociais a {
  text-decoration: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary, #0077cc);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}

.redes-sociais a:hover {
  transform: scale(1.1);
  background: var(--secondary, #00c2ff);
}

.seta-time {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 1.5rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.3s;
}

.seta-time:hover {
  background: #e0e0e0;
}

.seta-time.esquerda {
  left: 10px;
}

.seta-time.direita {
  right: 10px;
}


/* Responsivo */
@media (max-width: 900px) {
  .sobre-bloco,
  .sobre-bloco.inverso {
    flex-direction: column;
    text-align: center;
    background: white;
    border-radius: 12px;
    gap: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .sobre-img img {
    max-width: 100%;
  }

  .sobre-texto p {
    font-size: 0.8rem;
  }

  .sobre-texto h2 {
    font-size: 1.4rem;
  }

  .time-cards {
    /* flex-direction: column; */
    align-items: center;
  }

  .time h2 {
  font-size: 1.6rem;
  }

  .card-membro h3 {
  font-size: 1rem;
  
}

  .card-membro p {
  font-size: 0.85rem;
  
}
}

/*=================== PÁGINA PROJETOS =====================*/

.projetos {
  width: 100%;
}

.projeto {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 60px 40px;
}

.projeto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.projeto-content {
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.9);
  color: #222;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
}

.projeto-content.right {
  margin-left: auto;
}

.projeto-content h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.projeto-content p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.btn-projeto {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-projeto:hover {
  background-color: #42adfa;
}