/* ===========================
   ESTILOS GERAIS
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* ===========================
   CABEÇALHO FIXO
=========================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #133b67;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
}

.brand-icon {
  width: 30px;
  height: 30px;
}

/* ===========================
   MENU HAMBURGUER
=========================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  margin-left: auto; 
}


.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}


/* ===========================
   MENU PRINCIPAL
=========================== */
.nav-list {
  display: flex;
  gap: 25px;
}

.nav-list li a {
  font-weight: 500;
  color: #fff;
  transition: 0.3s;
}

.nav-list li a:hover,
.nav-list li a.active {
  color: #b4d445;
}

/* ===========================
   RESPONSIVO
=========================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 15px;
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    background: #133b67;
    width: 220px;
    padding: 20px;
    border-radius: 0 0 0 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .nav-list.open {
    display: flex;
  }
}

/* ===========================
   SEÇÕES
=========================== */
.section {
  padding: 120px 20px 80px;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.section p {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 30px;
}

/* ===========================
   BANNER IMAGEM FULLSCREEN
=========================== */
.banner-top {
  width: 100%;
  height: 100%;        
  padding-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.banner-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;  
  object-position: center;
}

/* ===========================
   BANNER RESPONSIVO MOBILE
=========================== */
@media (max-width: 768px) {
  .banner-top {
    height: auto;       
    padding-top: 40px;
  }

  .banner-top img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}

/* ===========================
   Home
=========================== */

/* ===========================
   TEXTO HERO
=========================== */
.hero-text-section {
  text-align: center;
  padding: 80px 20px 120px; 
}

.hero-text-section p {
  font-size: 1.2rem;
  margin-bottom: 50px; 
}
.hero-text-section h2 {
  font-size: 2rem;
  margin-bottom: 50px; 
  color: #0598b4; 
}

.hero-text-section .btn {
  display: inline-block;
  margin-top: 0;
  margin-bottom: 40px; 
  padding: 12px 28px;
  background: #133b67;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.hero-text-section .btn:hover {
  background: #133b67;
}


.container .btn {
  display: inline-block;
  margin-top: 0;
  margin-bottom: 100px; 
  padding: 10px 25px;
  background: #133b67;
  color: #fff;
  border-radius: 6px;
  transition: 0.3s;
}



/* ===========================
   CARDS (HOME, MATERIAL, NOTÍCIAS)
=========================== */
.cards-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.card,
.news-card {
  background: #f4f4f4;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
}

.card img,
.news-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card h3,
.news-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card a,
.news-card a {
  display: inline-block;
  margin-top: 10px;
  background: #133b67;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  transition: 0.3s;
}

.card a:hover,
.news-card a:hover {
  background: #133b67;
}
/* ===========================
   SEÇÃO DE NOTÍCIAS
=========================== */
.noticias-section h2 {
  font-size: 2rem;
  color: #133b67;
  margin-bottom: 40px;
  text-align: center;
}

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

.news-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  height: 100%; 
}

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

.news-card h3 {
  font-size: 1.2rem;
  margin: 15px 20px 10px;
  flex-shrink: 0;
}

.news-card .date {
  margin: 0 20px 15px;
  font-size: 0.9rem;
  color: #666;
  flex-shrink: 0;
}

.news-card .btn {
  margin: 0 0 20px;  
  align-self: center; 
}

/* ===========================
   O Projeto
=========================== */

/* ===========================
   HERO
=========================== */
.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.hero-title {
  font-size: 2.8rem;
  color: #133b67;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-icon {
  font-size: 2.5rem;
  color: #133b67;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.hero-mission {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #333;
}

.hero-media {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero-media img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  border-bottom: 5px solid #133b67;
  object-fit: cover;
}

.hero-grid .btn {
  display: inline-block;
  margin-top: 20px;
  align-self: center; 
}

/* ===========================
   RESPONSIVO
=========================== */
@media (max-width: 768px) {
  .hero-grid {
    flex-direction: column;
    text-align: left;
  }

  .hero-text {
    order: 1;
    align-items: center;
  }

  .hero-media {
    order: 2;
    justify-content: center;
    margin-top: 20px;
  }

  .hero-title {
    justify-content: center;
  }

  .hero-description,
  .hero-mission {
    text-align: left;
  }
}
/* ===========================
   OBJETIVOS
=========================== */
.objetivos-section h2 {
  color: #133b67;
}

.objetivo-card .icon img {
  width: 100%;       
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* ===========================
   SEÇÃO OBJETIVOS RESPONSIVA
=========================== */
.objetivos {
  padding: 80px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.objetivos h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--blue-600);
}

.objetivos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.objetivo-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  width: 300px;
  max-width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objetivo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.objetivo-card h3 {
  font-size: 1.3rem;
  color: var(--blue-600);
  margin-bottom: 15px;
}

.objetivo-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .objetivos-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .objetivos-grid {
    flex-direction: column;
    align-items: center;
  }

  .objetivo-card {
    width: 90%;
  }
}

/* ===========================
   RESULTADOS
=========================== */
.resultados-section {
  padding: 40px 0;
  background-color: #fff;
}

.resultados-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #133b67;
}

/* grid */
.resultados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* CARD */
.resultado-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative; /
}

.resultado-card::after {
  display: none !important;
  content: none !important;
}

.resultado-media {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.resultado-content {
  padding: 18px 16px;
}

.resultado-content h3 {
  font-size: 1.2rem;
  color: #133b67;
  margin-bottom: 8px;
}

.resultado-content p {
  font-size: 0.95rem;
  color: #444;
}

.resultado-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.resultados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  justify-items: center;
}

@media (max-width: 1024px) {
  .resultados-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .resultados-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   MUNICÍPIOS
=========================== */
.municipios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  justify-items: center;
  padding: 20px 0;
}

.municipios-section h2 {
  color: #133b67;
}

.municipios-grid h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
}

.mun-card {
  background-color: #133b67;
  border-radius: 12px;
  padding: 25px 15px;
  width: 100%;
  max-width: 250px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.mun-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

@media screen and (max-width: 1024px) {
  .municipios-grid {
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media screen and (max-width: 600px) {
  .municipios-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   MAPA RESPONSIVO
=========================== */
.mapa-wrap {
  text-align: center;
}

.mapa-wrap img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
}

.mapa-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.9rem;
  margin-top: 10px;
}


/* ===========================
   Capacitação
=========================== */
/* ===========================
   CAPACITAÇÃO
=========================== */
.capacitacao-section {
  text-align: center;
  padding: 80px 20px;
}

.capacitacao-section h2 {
  font-size: 2.2rem;
  color: #133b67;
  margin-bottom: 20px;
}

.capacitacao-section h3 {
  font-size: 1.6rem;
  color: #133b67;
  margin-top: 50px;
  margin-bottom: 20px;
}

.capacitacao-section p {
  max-width: 800px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

/* ===========================
   ETAPAS DO PROJETO
=========================== */
.etapas {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.etapas h2 {
  padding: 80px 0;
  font-size: 2rem;
  color: #133b67;
  margin-bottom: 40px;
  font-weight: 700;
}

.etapas-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}
.etapa-card {
  position: relative;
  flex: 1 1 calc(33.333% - 25px); 
  max-width: 300px;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: flex-end;
}

.etapa-card:nth-child(4),
.etapa-card:nth-child(5) {
  flex: 1 1 calc(45% - 25px);
  max-width: 400px;
}

.etapa-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}

.etapa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.etapa-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 20px;
  text-align: left;
}

.etapa-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.etapa-content p {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* ===== Responsividade ===== */
@media (max-width: 768px) {
  .etapas-flex {
    flex-direction: column;
    align-items: center;
  }
  .etapa-card {
    width: 100%;
    max-width: 350px;
    height: 250px;
    flex: none;
  }
  .etapa-content {
    padding: 15px;
  }
  .etapa-content h3 {
    font-size: 1.1rem;
  }
  .etapa-content p {
    font-size: 0.85rem;
  }
}



/* ===========================
   MATERIAL EDUCATIVO
=========================== */
.material-educativo-section {
  padding: 60px 0;
  text-align: center;
}

.material-educativo-section h2 {
  font-size: 2rem;
  color: #0598b4;
  margin-bottom: 10px;
}

.material-educativo-section .lead {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #333;
}

/* GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  justify-items: center;
}

/* CARD */
.material-educativo-section .card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-educativo-section .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.material-educativo-section .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* TEXTO */
.material-educativo-section .card h3 {
  margin: 20px;
  font-size: 1.2rem;
  color: #333;
  flex-grow: 1;
}

/* BOTÃO */
.material-educativo-section .card .btn {
  margin: 0 20px 20px;
  align-self: center;
}

/* MOBILE */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   CONTATO
=========================== */
.contato-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.contato-section h2 {
  font-size: 2.2rem;
  color: #133b67;
  margin-bottom: 40px;
  font-weight: 700;
}
/* ===== MENSAGEM DE TELA ===== */
.message-box {
  background-color: #4caf50;
  color: white;
  padding: 15px 20px;
  font-size: 1.1rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.message-box.show {
  opacity: 1;
}

.hidden {
  display: none;
}
/* ===== FORMULÁRIO ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #133b67;
}

.btn.btn-primary {
  background-color: #133b67;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn.btn-primary:hover {
  background-color: #133b67;
  transform: scale(1.05);
}

/* ===== INFORMAÇÕES DE CONTATO ===== */
.contato-info {
  margin-top: 50px;
  text-align: center;
}

.contato-info h3 {
  color: #133b67;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contato-info p {
  margin: 8px 0;
  font-size: 1rem;
  color: #333;
}

.contato-info a {
  color: #133b67;
  text-decoration: none;
  font-weight: 500;
}

.contato-info a:hover {
  text-decoration: underline;
}

/* ===== REDES SOCIAIS ===== */
.redes-sociais {
  display: flex;
  justify-content: center; 
  gap: 15px;                
  margin-top: 15px;
}


.redes-sociais a:hover img {
  transform: scale(1.1);
}



/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .contact-form {
    width: 90%;
  }

  .contato-info h3 {
    font-size: 1.3rem;
  }

  .redes-sociais a {
    font-size: 1.6rem;
  }
}


/* ===========================
      RODAPÉ COMPLETO (ajustado)
=========================== */

.site-footer {
  width: 100%;
  color: #fff;
  text-align: center;
  position: relative;
  padding: 30px 20px;            
  background-image: url("assets/img/rodapé.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Realizadores */
.footer-logos img {
  height: 60px;
  max-width: 150px;
  object-fit: contain;
}

.footer-logos img.ias {
  height: auto;       
  max-height: 80px; 
}


/* ===========================
      PARCEIROS (corrigido)
=========================== */
.footer-partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 20px auto 0;
}

.footer-partners .partner-box {
  width: 130px;     
  height: 70px;     
  display: flex;
  justify-content: center;
  align-items: center;
}


.footer-partners img {
  max-width: 100%;
  max-height: 70px;   
  object-fit: contain;
}

.footer-partners img.logo-cati {
  max-height: 90px;
}

.footer-partners img.logo-sindicato {
  max-height: 55px;   
}
.footer-text {
  margin-top: 25px;
  font-size: 0.6rem;
  margin-bottom: 8px;
  font-weight: 600;
}

/* MOBILE */
@media (max-width: 600px) {
  .footer-partners {
    gap: 10px;
    margin-top: 15px;
  }

  .footer-partners .partner-box {
    width: 90px;
    height: 55px;
  }

  .footer-partners img {
    max-height: 55px;
  }

  .footer-partners img.logo-cati {
    max-height: 65px;
  }
}
