#header {
  top: 0;
  left: 0;
  width: 100%;
} 

#cabecalho {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: clamp(5px, 2vw, 30px);
    background-color: #f8ba5e;
    padding-top: 15px;
    padding-bottom: 0px;
    margin-top: 0%;
    margin-bottom: 0px;
    font-family: 'Courier New', Courier, monospace;
    
  }
  
#cabecalho1 {
    color: black;
    text-decoration: none;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 0px;
    font-size: clamp(0.4rem, 2vw, 1.2rem);
  }
  #cabecalho1:hover{
    background-color: rgb(3, 92, 15);
    color: white;
    padding: 10px;
  }

  #foto1 {
    width: 100%;
    height: 700px;
    margin-top: 40px; /* para compensar o header fixo */
    background-image: url("../imagens/inicio4.jpg");
    background-size: cover;
    background-position: top;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* centraliza verticalmente */
    text-align: center;
    padding-top: 50px; /* ou use gap no flexbox */
    margin: 0 auto;
  }

  #corpo{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  #id1{
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 50px;
  }

.OqueFazemos{
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
    text-align: center;
}

.OqueFazemos1 {
  width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 50px;
}

.OqueFazemos1 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


.estrategias{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.estrategia{
    width: 220px;
    border: hidden;
    padding: 5px;
    text-align: center;
}

#fim{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    background-color: #f8ba5e;
    color: black;
}

#fim1{
    width: 300px;
    border: hidden;
    padding: 10px;
    text-align: center;
}

@media screen and (max-width: 768px) {
  #fim {
    flex-direction: column;
    align-items: center;
  }

  #fim1 {
    width: 100%;
    max-width: 300px; /* opcional, para não ficar muito largo */
  }
}

#fim1 ul{
  padding: 0;
  margin: 0;
}

#fim1 ul li{
  padding: 0;
  margin: 0;
  text-align: center;
}

#fim2{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    color: #2c3e50;
}

#fim3{
    width: 500px;
    border: hidden;
    padding: 1px;
    text-align: center;
    color: #2c3e50;
}

h1 {
  color: white;
  text-align: center;
  font-size: clamp(2rem, 8vw, 6rem);
  text-transform: uppercase;
}

h2, h3 {
  color: #2c3e50;
  margin-bottom: 10px;
  text-transform: capitalize;
  font-size: 2rem;
  font-family: Eras Medium ITC;
}

p, li {
  margin-bottom: 15px;
  text-align: justify;
  line-height: 1.5;
  font-size: 1.2rem;
  font-family: Eras Medium ITC;
}