body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #005A5F;
}

main {
  flex: 1;
}

.imagem-hero {
  animation: entrarDaDireita 1.8s ease-out forwards;
}

@keyframes entrarDaDireita {
  from {
    transform: translateX(300px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

h1, h2, h3, h4, h5 {
  font-family: "Bai Jamjuree", sans-serif;
}

h1.display-5 {
  font-weight: 300!important;
  font-style: normal;
  line-height: 0.9;
}

h1.intertitulo, h1.intertitulo-branco, h1.intertitulo-verde {
  margin: 30px 0;
}

h1.intertitulo {
  font-weight: 200;
  font-size: 3rem;
  text-align: center;
  color: #005A5F;

}

h1.intertitulo-branco {
  font-weight: 200;
  font-size: 4rem;
  text-align: center;
  color: #ffffff;
}

h1.intertitulo-branco span {
  color: #46d7d7;
}

h1.intertitulo-verde {
  font-weight: 200;
  font-size: 4rem;
  text-align: center;
  color: #999999;
}

h1.intertitulo-verde span {
  color: #005A5F;
}

h1.card-title {
  text-align: center;
  font-weight: 800;
  font-size: 2rem;
  color: #005A5F;
}

h1.card-title span {
  font-size: 4rem;
}

.numeros {
  padding-bottom: 30px;
}

p  {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

p.card-text {
  font-size: 1.5rem;
}

.me-2 {
  width: 250px;
  height: auto;
  padding-top: 30px;
}

.navbar .btn.active {
  background-color: #996633;
  color: #212529;
  border-color: #ffffff;
}

.navbar .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.bg-verde.py-5.px-4.mb-4 {
  margin-bottom: 0!important;
}

.bg-verde, .navbar-verde {
  background-color: #005A5F;
}

.bg-cinza {
  background-color: #eeeeee;
}

.bg-branco {
  background-color: #ffffff;
}

h1.display-5 {
  font-size: clamp(1.8rem, 4vw + 2rem, 7.0rem);
  color: #ffffff;
}

p.lead.mb-4 {
    font-size: clamp(1rem, 1.5vw + 1rem, 1.8rem);
    color: #ffffff;
    padding-top: 20px;
}

h2.titulo-carrossel {
  font-size: 3rem;
  color: #ffffff;
  font-weight: 200;
}

p.texto-carrossel {
  font-size: 1.2rem;
  color: #ffffff;
}

.carousel-texto p.nome {
  font-size: 1rem;
  font-weight: 600;
  color: #46d7d7;
}

.carousel-texto span {
  font-size: 0.8rem;
  font-weight: 400;
  color: #ffffff;
}

.destaque-titulo {
  color: #46d7d7;
}

.texto-tarja, .icones-tarja {
  font-size: 1.2rem;
  padding-top: 30px;
  padding-bottom: 30px;
}

.texto-tarja p {
  margin-bottom: 0;
}

.icones-tarja {
  text-align: center;
}

.icones-tarja img {
  height: 50px;
  width: auto;
  margin: 0 30px;
  filter: invert(24%) sepia(14%) saturate(5271%) hue-rotate(148deg) brightness(103%) contrast(101%);
}

.carousel-texto {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 300px;
}

.titulo-carrossel {
  font-weight: 700;
  margin-bottom: 1rem;
}

.texto-carrossel {
  max-width: 700px;
}

.texto-quem-somos {
  width: 70%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.texto-quem-somos p {
  font-size: 1.3rem;
  font-weight: 200;
}

.texto-quem-somos span {
  color: #005A5F;
    font-weight: 600;
}

/* Grade principal: 4 colunas no desktop */
.grade-logos {
  display: grid;
  grid-template-columns: repeat(6, 2fr);
}

.celula-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20%;
}

.celula-logo img {
  width: 100%;
}

.equipe {
  padding: 30px 0;
}

.plain {
  text-align: center;
  margin-bottom: 30px;
}

.topo-foto-card {
  display: flex;
  background-color: #dedede;
  border-radius: 4px 4px 0 0;
}

.topo-foto-card img {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.equipe .card h4, .equipe .card h5 {
  text-align: center;
}

.equipe .card h4 {
  color: #005A5F;
}

.equipe .card h5 {
  color: #38bdbd;
}

.equipe .card p {
  font-size: 1rem;
}

.equipe .card p span {
  font-weight: 600;
  color: #46d7d7;
}

.card-img-top {
  height: 220px;
  object-fit: cover;
}

.rodape {
  padding-bottom: 60px;
}

.texto-rodape p {
  color: #ffffff;
  font-size: 1.5rem;
}

.botao {
  background-color: #38bdbd;
  border: none;
  box-shadow: none;
  color: #ffffff;
  padding: 10px;
  border-radius: 5px;
}

.texto-botao a {
  color: #212529;
  font-size: 1.2rem;
  text-decoration: none;
  text-align: center;
}

.botao:hover,
.botao:focus {
  background-color: #46d7d7;
  border: none;
  box-shadow: none;
}

/* Tablet: 3 colunas */
@media (max-width: 991px) {
  .grade-logos {
    grid-template-columns: repeat(3, 1fr);
  }
  .carousel-control-prev, .carousel-control-next {
    display: none;
  }
  .icones-tarja img {
    margin-bottom: 10px;
  }
}

/* Celular: 2 colunas */
@media (max-width: 575px) {
  .grade-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}