@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

:root {
    --linear-gradient: linear-gradient(90deg, #4897D4, #1E864B, #FE7005, #5C2FCA);
    --color-blue: #4897D4;
    --color-purple: #5C2FCA;
    --color-green: #1E864B;
    --color-orange:#FE7005;
    --color-clean: #F9F9F9;
    --color-white: #fff;
    --color-black: #000;
    --font-texto: 'Inter', sans-serif;
    --font-titulo: 'Cairo', sans-serif;
}

/* banner pagina */
.page-img {
    background-image: url(../img/sustentabilidade-e-cidadania.png);
}
  
/* SESSAO DOS PROJETOS DA PAGINA */
.box-projetos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 5%;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}
  
.box-projetos.row-reverse {
    flex-direction: row-reverse;
}
  
.lado-imagem {
    flex: 1;
    text-align: center;
}
  
.img-projetos {
    width: 100%;
    max-width: 500px;
    border-radius: 8%;
}
  
.conteudo-box {
    flex: 1;
    text-align: justify;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* padding: 0 10px; */
}
  
.titulo-projeto {
    font-size: 48px;
    font-family: var(--font-titulo);
    font-weight: 900;
    color: var(--color-purple);
    text-align: center;
    position: relative;
    width: fit-content;
    margin: 0 auto 10px;
}
  
.titulo-projeto::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--linear-gradient);
    border-radius: 15px;
}
  
.img-maos {
    text-align: center;
    opacity: 25%;
    margin-top: -45px; /* Aproxima da descrição */
}
  
.maos {
    height: 130px;
}

  
/* SESSAO PROJETOS */
.container-projetos {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 0;
}

.projetos {
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  flex-wrap: wrap;
  margin-top: 28px;
  gap: 20px;
}

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

.projetos img {
  display: block;
  
}

.profissional {
  text-align: center;
  background-color: #5c2fca;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  /* margin: 0 auto; */
  /* width: 384px; */
}

.esporte {
  text-align: center;
  background-color: #4897D4;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  /* margin: 0 auto; */
  /* width: 384px; */
}

.projeto-titulo {
  color: var(--color-white);
  font-size: 28px;
  font-family: var(--font-titulo);
  font-weight: bold;
  padding: 35px 0; 
  margin-top: auto;
}

  /* SESSAO DA GALERIA */
.galeria {
  padding: 60px 5%;
  align-items: center;
  text-align: center;
}

.imagens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
  
.fotos {
  width: 100%;
  display: block;
}

  /* ----TABLET---- */
@media screen and (min-width: 1025px) and (max-width: 1300px) {

}    
 
  /* ----MOBILE---- */
@media screen and (max-width: 1024px) {
   /* PROJETOS DA SESSAO */
   .box-projetos {
    flex-direction: column;
    padding: 20px 20px;
    gap: 20px;
  }

  .img-projetos {
    order: 2;
    max-width: 80%;
    margin: 0 auto;
    margin-top: -30px;
  }

  .conteudo-box {
    order: 1;
    padding: 0;
  }

  .titulo-projeto {
    font-size: 36px;
    color: var(--color-orange);
    text-align: center;
    margin-bottom: 10px;
  }

  .titulo-projeto::after {
    height: 4px;
  }

  .img-maos {
    display: none;
  }

  /* SESSAO PROJETOS */
  .projetos {
    flex-direction: column;
    align-items: center;
  }
  
  .profissional,
  .esporte {
    /* width: 100%; */
    min-width: 300px;
    max-width: 300px;
    /* margin: auto; */
  }

  .projeto-titulo {
    font-size: 24px;
    padding: 18px 0;
  }

  /* GALERIA */
  .imagens {
    grid-template-columns: repeat(3, 1fr);
  }

}