@import url(banner-contato.css);
@import url(carousel.css);
@import url(especialidades.css);
/* @import url(nossos-servicos.css); */
@import url(cards.css);
@import url(more-articles.css);

/* Banner abaixo main */
.second-section {
  background-color: #009999;
  background-repeat: no-repeat;
  padding: 3rem 0;
  display: flex;
  align-items: center;
  background-image: url(../images/fundo-cta.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.second-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.second-section__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.second-section__card img {
  width: 64px;
  height: 64px;
}

.second-section__card h3 {
  color: #f7f7f7;
  font-size: 1.5rem;
  letter-spacing: 0.12px;
  font-weight: bold;
}

.especialidades {
  padding: 0 40px;
}

.especialidades .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.especialidades__description {
  display: grid;
  grid-template-columns: 1fr 0.2fr;
  align-items: center;
  margin-bottom: 36px;
  height: 55%;
}
.especialidades__title {
  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
  max-width: 85%;
}

.especialidades__title .third-title {
  margin-bottom: 11px;
}

.especialidades__title .second-title {
  margin-bottom: 16px;
}

.swiper-especialidades {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.swiper-buttons {
  display: flex;
  justify-content: space-evenly;
}

.especialidades-button-prev,
.especialidades-button-next {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  font-weight: bold;
  width: 55px;
  height: 55px;
  padding: 10px;
  border: none;
  box-shadow: 0 0 2px #00000013;
  font-size: 1.5rem;
  background: rgb(7, 1, 68);
  background: linear-gradient(180deg, rgb(90, 22, 200) 0%, rgb(49, 15, 123) 100%);
  color: #062f57;
}

.especialidades-button-prev:hover,
.especialidades-button-next:hover {
  background: linear-gradient(180deg, #df9240 0%, #6f3d07 100%);
  fill: #c34e0e;
  transition: .3s ease-in-out;
}

@media only screen and (max-width: 992px) {
  .especialidades__description {
    grid-template-columns: 1fr 0.3fr;
  }
  .first-column {
    grid-template-columns: repeat(2, 1fr);
  }
  .second-column {
    grid-template-columns: repeat(2, 1fr);
  }

  .especialidades {
    padding: 0 20px;
  }

}
@media only screen and (max-width: 768px) {
  .second-section .container {
    grid-template-columns: 1fr;
  }
  .second-section__card {
    align-items: center;
  }
  .especialidades__description {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .especialidades__title {
    max-width: 100%;
  }
  .especialidades__cards {
    grid-template-columns: 1fr;
  }

  .swiper-buttons {
    width: 45%;
    margin: 0 auto;
  }

}
@media only screen and (max-width: 425px) {
  .first-column {
    grid-template-columns: repeat(1, 1fr);
  }
  .second-column {
    grid-template-columns: repeat(1, 1fr);
  }
}
