*,
*::before,
*::after {
  box-sizing: border-box;
}


:root {
  --cor-principal: #039147;
  --cor-secundaria: #0f7a14e0;
  --cor-fundo-claro: #FFFFFF;
  --verde-principal: #2ECC71;
  --cor-h3-noticia: #000000;
  --cor-site: #f2f8fd;
  --cor-hover-link-a: #039147;
  --cor-verde-escuro:#004d40;

  --cor-quartenaria: #fff;
}

/* Geral */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Cabeçalho */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  background-color: var(--cor-site);
}

.header-logo {
  width: 85px;
  margin-bottom: 0.8rem;
}


header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 10;
  color: var(--cor-hover-link-a);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;

}

.nav-links a {
  text-decoration: none;
  color: var(--cor-hover-link-a);
  font-weight: 500;
  transition: color 0.3s;


}

.nav-links a:hover {
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(255, 255, 255);

}

.nav-links :active {
  display: flex;
}



/* Hero */
.hero {
  height: 100vh;
  background-color: white;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

}

.hero-logo {

  background-size: contain;
  background-position: center;
  width: 100%;
  height: auto;
  margin: 0 auto;
  max-height: 300px;
  object-fit: contain;



}





.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;

}

.hero-icons {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin: 2rem 0;
  flex-wrap: wrap;

}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--cor-hover-link-a);
}

.icon-item i {
  font-size: 3.5rem;
  color: var(--cor-hover-link-a);
  margin-bottom: 0.5rem;
  transition: transform 0.3s, color 0.3s;
}

.icon-item:hover i {
  transform: scale(1.2);
  color: var(--cor-hover-link-a);
}

.icon-item span {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.3s, color 0.3s;
}

.icon-item:hover span {
  color: var(--cor-principal);
}

.icon-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--cor-hover-link-a);
  text-decoration: none;
}

.icon-item a i {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  transition: transform 0.3s, color 0.3s;
}

.icon-item a span {
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.3s, color 0.3s;
}

.icon-item a:hover i {
  transform: scale(1.2);
  color: var(--cor-hover-link-a);
}

.icon-item a:hover span {
  color: var(--cor-principal);
}


.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--cor-h3-noticia);
  margin: 1rem 0 2rem 0;
  text-align: center;
}


.hero-content .btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.55rem;
  min-width: 200px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cor-hover-link-a), var(--cor-principal));
  color: var(--cor-quartenaria);
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
  margin-top: 2rem;
  text-align: center;
}

.hero-content .btn:hover {
  background: linear-gradient(135deg, var(--cor-secundaria), var(--cor-secundaria));
  transform: scale(1.05);

}

.hero-content .seta {
  display: block;
  /* linha própria */
  font-size: 2.5rem;
  /* tamanho da seta */
  color: var(--cor-quartenaria);
  text-align: center;

  margin: 1rem auto 0;
  animation: flutuar 1.5s ease-in-out infinite;

}

/* Animação suave: sobe e desce lentamente */
@keyframes flutuar {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }


}





/* secao de noticias */
.noticias {
  padding: 0.1rem 0;
  background: var(--cor-fundo-claro);

}

.noticias h2 {
  text-align: center;
  color: var(--cor-hover-link-a);
  margin-bottom: 0.9rem;
  font-size: 2.9rem;
}

.noticias-subtitulo {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: #555;
  font-size: 1.3rem;
}

.cards-noticias {

  display: grid;
  gap: 2.5rem;

  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));


}


.news-card {
  background: var(--cor-quartenaria);
  padding: 2.5rem;
  /* mais espaço interno */
  border-radius: 16px;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 280px;
}

.news-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.news-card h3 {
  color: var(--cor-h3-noticia);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;

}

.news-card .resumo {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.4;

}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-date {
  font-size: 0.9rem;
  color: #535353;

}

.news-date i {
  margin-right: 0.4rem;
}

.news-btn {

  text-decoration: none;
  border-radius: 5px;
  padding: 0.4rem 0.5rem;
  font-size: 0.9rem;
  transition: background 0.3s, transform 0.3s;
  color: var(--cor-h3-noticia);
  font-weight: 600;

}

.news-btn:hover {
  background-color: var(--cor-secundaria);
  color: #fff;
  transform: translateY(-2px);
}

.news-card p {
  color: #555;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.0rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
  color: #fff;
}

.ver-todas {
  text-align: center;
  margin-top: 3.5rem;

}

.btn-ver-todas-noticias {
  background: var(--cor-secundaria);
  color: var(--cor-fundo-claro);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.0rem;
  font-weight: 600;
  transition: background 0.3, transform 0.3s;
  text-decoration: none;

}

.btn-ver-todas-noticias:hover {
  background-color: #4caf30;
  transform: translateY(-5px);

}

/*cores tag*/

.news-tag.saude {
  background: #4caf30;
}

.news-tag.seguranca {
  background: #4caf30;
}

.news-tag.tecnologia {
  background: #4caf30;
}

.news-tag.educacao {
  background: #4caf30;
}



/* Projetos */

.projeto-titulo {
  text-align: center;
  color: var(--cor-hover-link-a);
  margin-bottom: 2.2rem;
  font-size: 2.9rem;
}

.projeto-subtitulo {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: #555;
  font-size: 1.3rem;
}

.conhecimentos {
  padding: 5rem 0;
  background: var(--cor-fundo-claro);
}

.cards-conhecimentos {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards-conhecimentos .card {
  background: linear-gradient(135deg, var(--cor-quartenaria), var(--cor-fundo-escuro));
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cards-conhecimentos .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cards-conhecimentos .card h3 {
  color: var(--cor-principal);
  margin-bottom: 0.5rem;
  text-align: center;
}

.cards-conhecimentos .card p {
  color: #333;
}

.cards-conhecimentos .card i {
  font-size: 2.2rem;
  color: var(--cor-principal);
  margin-bottom: 0.5rem;
  display: block;
  text-align: center;
}

.cards-conhecimentos .card .detalhes {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 1rem;
  color: var(--cor-principal);
  text-align: center;
}


/* Timeline */

.timeline-titulo {
  text-align: center;
  color: var(--cor-hover-link-a);
  margin-bottom: 2.2rem;
  font-size: 2.9rem;
}

.timeline-subtitulo {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: #555;
  font-size: 1.3rem;
}

.timeline-vertical {
  position: relative;
  margin: 2rem auto;
  padding-left: 40px;
  max-width: 600px;
}

.timeline-vertical::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 0;
  width: 4px;
  height: 100%;
  background: #ccc;
}

/* Eventos */
.timeline-event {
  position: relative;
  margin-bottom: 5rem;
  padding: 1.2rem;
}

.timeline-event p {
  margin: 0.2rem 0 0 0;
  font-size: 1rem;
  color: #333;
}

/* Círculo indicador */
.timeline-event::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ccc;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #ccc;
}

/* Status */
.timeline-event.done::before {
  background: var(--cor-principal);

  box-shadow: 0 0 0 3px var(--cor-principal);
}

.timeline-event.in-progress::before {
  background: #f1c40f;

  box-shadow: 0 0 0 3px #f1c40f;
}

.timeline-event.planned::before {
  background: #ccc;

  box-shadow: 0 0 0 3px #ccc;
}


.event-date {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3rem;
  color: #555;
}






/* Equipe */
.equipe {
  padding: 0rem 0;
  background: var(--cor-fundo-claro);
}

.equipe h2 {
  text-align: center;
  color: var(--cor-hover-link-a);
  margin-bottom: 2.2rem;
  font-size: 2.9rem;
}

.equipe-span {
  color: var(--cor-h3-noticia);
}

.equipe-subtitulo {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: #555;
  font-size: 1.3rem;
}


.cards-equipe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.team-card {
  background: var(--cor-quartenaria);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: left;

  width: 100%;
  max-width: 300px;



  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Foto circular */
.team-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;

}

/* Nome, especialização e departamento */
.team-card h3 {
  font-size: 1.3rem;
  color: var(--cor-principal);
  margin-bottom: 0.2rem;
  text-align: center;
}

.team-card p {
  margin: 0.2rem 0;
  color: #555;
  text-align: center;
  font-size: 0.95rem;
}

/* Botões de contato alinhados */
.contact-icons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  margin-top: 1rem;
  align-items: center;

}

.btn-contato {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  background: var(--cor-principal);
  color: #fff;
  text-decoration: none;
  width: 100%;
  transition: transform 0.3s, background 0.3s;
  margin: 0 auto;
  max-width: 280px;
}

.btn-contato i {
  font-size: 1.2rem;
}

.btn-contato:hover {
  background: var(--cor-secundaria);
  transform: translateY(-2px);
}




/* Contato */
.contato {
  padding: 4rem 0;
  background: var(--cor-fundo-claro);
}

.contato h2 {
  text-align: center;
  color: var(--cor-hover-link-a);
  margin-bottom: 2.2rem;
  font-size: 1.9rem;
}

.contato-subtitulo {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: #555;
  font-size: 1.1rem;
}

.contato-extra {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn-contato-cidade {
  background: var(--cor-principal);
  color: #fff;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 90%;
  max-width: 250px;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.btn-contato-cidade i {
  font-size: 1.5rem;
}

.btn-contato-cidade:hover {
  background: var(--cor-secundaria);
  transform: translateY(-3px);
}

/* Rodapé */
.footer {
  background: var(--cor-site);
  color: var(--cor-hover-link-a);
  padding: 3rem 1rem 1.5rem;
  font-size: 0.95rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 80px;
  margin-bottom: 0.8rem;
}

.footer-logo p {
  max-width: 250px;
  line-height: 1.4;
}

.footer-contato h4,
.footer-redes h4 {
  margin-bottom: 0.8rem;
  color: var(--cor-hover-link-a);

}

.footer-contato-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-redes-sociais-icons {
  display: flex;
  gap: 1rem;

}

.footer-redes-sociais-icons a {
  text-decoration: none;

}

.footer-redes-sociais-icons a i {
  font-size: 1.5rem;
  color: var(--cor-hover-link-a);
  transition: color 0.3s;
  text-decoration: none;

}

.footer-redes-sociais-icons a i:hover {
  color: var(--cor-hover-link-a);
}


.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--cor-hover-link-a);
}

.footer hr {
  border: none;
  border-top: 1px solid #ccc;
}

/*responsividade*/


.menu-hamburguer {
  display: none;
  cursor: pointer;
  font-size: 2rem;
  color: var(--cor-hover-link-a);
  background: none;
  border-radius: 4rem;
  border: none;
  z-index: 1200;

}

@media (max-width: 600px) {
  .container {
    width: 95%;
    padding: 0 0.5rem;
  }

  .header-logo {

    max-height: 160px;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
    margin: 1rem 0 1.5rem 0;
  }

  .hero-content .btn {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    min-width: 150px;
  }

  .hero-icons {
    gap: 1.5rem;
  }

  .icon-item i {
    font-size: 2.5rem;
  }

  .icon-item span {
    font-size: 0.9rem;
  }

  .noticias h2,
  .projeto-titulo,
  .timeline-titulo,
  .equipe h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }

  .noticias-subtitulo,
  .projeto-subtitulo,
  .timeline-subtitulo,
  .equipe-subtitulo {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cards-noticias,
  .cards-conhecimentos,
  .cards-equipe {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .news-card {
    padding: 1.5rem;
  }

  .team-card {
    max-width: 100%;
  }

  .btn-contato {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    max-width: 250px;
  }

  .timeline-vertical {
    padding-left: 20px;
    margin: 1rem auto;
    max-width: 90%;
  }

  .timeline-vertical::before {
    left: 10px;
  }

  .timeline-event::before {
    left: -10px;
    width: 18px;
    height: 18px;
  }

  .timeline-event {
    padding: 0.8rem;
    margin-bottom: 3rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-logo,
  .footer-contato,
  .footer-redes {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--cor-principal);
    position: fixed;
    top: 90px;
    right: 0;
    width: 250px;
    padding-top: 1rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1100;
    overflow-y: auto;
    transform: translateX(100%);
    opacity: 0;
  }




  @keyframes slideInRight {
    0% {
      transform: translateX(100%);
      opacity: 0;
    }

    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes slideOutRight {
    0% {
      transform: translateX(0);
      opacity: 1;
    }

    100% {
      transform: translateX(100%);
      opacity: 0;
    }
  }

  .nav-links.show {
    animation: slideInRight 0.5s ease-out forwards;
  }

  .nav-links.hide {
    animation: slideOutRight 0.5s ease-out forwards;
  }





  .nav-links a {
    padding: 1rem 2rem;
    color: var(--cor-fundo-claro);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }




  .menu-hamburguer {
    display: block;
  }

  header .container {
    justify-content: space-between;
    padding: 0.8rem 0;
  }

  .cards-noticias,
  .cards-conhecimentos,
  .cards-equipe {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (min-width: 993px) {
  .nav-links {
    display: flex !important;
  }

  .menu-hamburguer {
    display: none !important;
  }

  .team-card {
    max-width: 350px;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-logo,
  .footer-contato,
  .footer-redes {
    width: auto;
  }
}

.problemas {
  padding: 100px 20px;
  text-align: center;
}

.problemas h2 {
  color: var(--cor-principal);
  font-size: 2rem;
}

.problemas p {
  color: #555;
  font-size: 18px;
  margin-bottom: 40px;
}

.cards-problemas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  justify-items: center;
}

.card-problema a {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--cor-fundo-claro);
  border: 2px solid var(--cor-secundaria);
  border-radius: 16px;
  padding: 30px 20px;
  text-decoration: none;
  color:var(--cor-secundaria);
  transition: 0.3s;
  width: 200px;
  height: 180px;
  justify-content: center;
}

.card-problema a:hover {
  background:var(--cor-secundaria);
  color:var(--cor-fundo-claro);
  transform: scale(1.05);
  border-color: #2e7d32;
}

.card-problema i {
  font-size: 38px;
  margin-bottom: 15px;
}

.card-problema span {
  font-weight: 600;
  font-size: 0.95rem;
}

.formulario {
  max-width: 600px;
  margin: 80px auto;
  padding: 20px;
  background:var(--cor-fundo-claro);
  border-radius: 12px;
  border: 2px solid var(--verde-principal);
}

.formulario h2 {
  color: var(--cor-principal);
  text-align: center;
  margin-bottom: 30px;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--cor-secundaria);
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid var(--cor-hover-link-a);
  background: var(--cor-fundo-claro);
}

form button {
  background-color: #388e3c;
  color: var(--cor-fundo-claro);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background-color: #2e7d32;
}
