.certifications {
  padding: 2vw 5vw;
  background-color: #157762;
}

/* Título principal das seções */
.certifications h2 {
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  text-align: left;
  display: inline-block;
  margin: 30px 0;
  font-size: 50px;
  font-family: "Proxima Nova ", sans-serif;
  line-height: 1.2;
}

.font-pf {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
}

/* Caixa com fundo de imagem */
.together-box {
  margin: 50px 50px;
  background: linear-gradient(rgba(32, 80, 69, 0.75), rgba(23, 71, 61, 0.75)),
    url("../images/img-solutions-4.png") no-repeat center center / cover;
  border-radius: 15px;
  display: flex;
  flex-direction: column;

  /* 1) Define uma altura mínima para poder centrar verticalmente */
  min-height: 300px; /* ajuste conforme sua necessidade */
  /* ou height: 50vh; se quiser baseado em viewport */

  /* 2) Centraliza no eixo principal (vertical) */
  justify-content: center;

  /* 3) Centraliza no eixo cruzado (horizontal) */

  /* 4) Espaçamento interno para o texto não “encostar” */
  padding: 2rem;

  font-size: 28px;
}

.title-box {
  font-size: 2em;
}

.together-box-title {
  color: white;
  font-family: "Proxima Nova Extrabold", sans-serif;
  font-size: 1.3rem;
  font-weight: bolder;
}

.together-box p {
  padding-top: 10px;
  color: white;
  font-family: "Proxima Nova Regular", sans-serif;
  line-height: 1.5;
}
.together-box h2 {
  font-size: 40px;
  font-weight: bold;
  margin: 0; /* remove margem superior e inferior */
  padding: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

/* Estilização para a MSW e MSA */
.certifications .MSW,
.MSA {
  padding: 25px;
  display: flex;
  justify-content: center;
}

.certifications .boxes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Estilo das caixas */
.box {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centraliza verticalmente */
  align-items: center; /* centraliza horizontalmente */

  background-color: white;
  color: #006b5f;
  padding: 15px 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  text-align: center;

  width: clamp(19rem, 50%, 25rem);
  height: clamp(12rem, 20vw, 10rem);
  font-size: 1.6em;
  font-family: "Proxima Nova", sans-serif;
}

.types {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.types p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 23px;
  font-family: "Proxima Nova", sans-serif;
  margin-bottom: 10px;
}

.types p span {
  color: #fff;
  font-family: "Proxima Nova Extrabold", sans-serif;
  font-size: 1em;
  font-weight: bolder;
}

.text-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 520px) {
  .together-box h2 {
    font-size: 34px;
  }
}

@media (max-width: 330px) {
  .together-box h2 {
    font-size: 34px;
  }
}