/* ### HERO ### */
.hero {
  margin-top: -95px;
}

.slick-initialized .slider__hero.slick-slide {
  height: 690px;
  display: flex;
  align-items: center;
  padding: 0 150px;
}

.slider__hero {
  position: relative;
  background: rgba(0, 0, 0, 0.4);
}

.banner__title {
  font-family: var(--theme-font);
  font-weight: 700;
  font-size: 64px;
  color: #fff;
  line-height: 76px;
  margin-bottom: 16px;
  max-width: 637px;
}

.banner__text {
  font-family: var(--theme-font);
  font-size: 24px;
  line-height: 36px;
  font-weight: 400;
  color: #fff;
  max-width: 520px;
}

.banner__button {
  margin-top: 32px;
}

.banner__image {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  right: 0;
  z-index: -1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 768px) {
  .slick-initialized .slider__hero.slick-slide {
    padding: 0 20px;
    height: 690px;
  }

  .banner__title {
    font-size: 48px;
    line-height: 57px;
  }

  .banner__text {
    font-size: 20px;
    line-height: 30px;
  }

  button.slick-arrow {
    display: none !important;
  }
}

/* ### Curso em destaque ### */
.highlight {
  margin-top: 70px;
}

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

.highlight__head a {
  display: block;
  text-decoration: none;
}


.highlight__courses {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: 24px;
  width: 100%;
}

@media (max-width: 1197px) {
  .highlight__courses {
    overflow: hidden;
    overflow-x: scroll;
  }
}

@media (max-width: 768px) {
  .highlight {
    margin-top: 51px;
  }

  .highlight__head {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
}

/* ### Curso Card ### */
.card__course {
  background-color: gray;
  max-width: 318px;
  height: 444px;
  display: block;
  border-radius: 24px;

  display: flex;
  align-items: end;
  padding: 24px 38px;

  text-decoration: none;
}

.card__course h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;

  max-width: 260px;
}

@media (max-width: 1197px) {
  .card__course {
    min-width: 318px;
  }
}

/* ### BOXs ### */
.box {
  margin-top: 64px;
}

.box__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.box__focus {
  grid-column: 1 / 3;
  grid-row: span 2;

  background-color: #E7F6FC;
  padding: 50px;
  border-radius: 24px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.box__focus h3 {
  font-family: var(--theme-font);
  font-size: 50px;
  font-weight: 700;
  color: #6b3a8e;
  margin-bottom: 24px;
}

.box__focus div p {
  font-family: var(--theme-font);
  font-size: 20px;
  color: #474758;
  margin-bottom: 20px;
}

.box__item {
  width: 100%;
  border: 2px solid #C9CAE8;
  padding: 50px;
  border-radius: 24px;
  padding: 45px 35px;
  display: flex;
  gap: 20px;
}

.box__item .box__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.box__item .box__content h3 {
  font-family: var(--theme-font);
  font-size: 24px;
  font-weight: 600;
  color: #111344;
  margin-bottom: 8px;
  line-height: 31px;
}

.box__item .box__content p {
  font-family: var(--theme-font);
  font-size: 18px;
  color: #474758;
  margin-bottom: 26px;
}

.box__item .box__content a {
  text-decoration: none;
  color: #6b3a8e;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--theme-font);

  display: flex;
  align-items: center;
  gap: 8px;
  max-width: fit-content;
}

@media (max-width: 992px) {
  .box {
    margin: 51px 0;
  }

  .box__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .box__focus {
    grid-column: 1 / 2;
    grid-row: span 1;
  }

  .box__focus h3 {
    font-size: 32px;
  }
}

/* ### EBOOKS ### */
.ebooks {
  margin: 64px 0;
}

.ebooks__title {
  margin-bottom: 24px;
}

.ebooks__cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 26px;
  width: 100%;
}

.ebooks__card {
  text-decoration: none;
  max-width: 270px;
}

.ebooks__card__content h3 {
  font-family: var(--theme-font);
  font-size: 22px;
  font-weight: 600;
  color: #111344;
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 1360px) {
  .ebooks__cards {
    overflow: hidden;
    overflow-x: scroll;
    gap: 85px;
  }
}

@media (max-width: 767px) {
  .ebooks {
    margin: 51px 0;
  }
}

/* ### DIFERENCIAIS ### */
.differentials__title {
  margin: 48px 0 24px;
}

.differentials__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 24px;
}

.differentials__card {
  background-color: #F5F5F8;
  padding: 26px 46px;
  border-radius: 18px;
  display: flex;
  gap: 44px;
  align-items: center;
}

.differentials__card__content h3 {
  font-family: var(--theme-font);
  font-size: 22px;
  font-weight: 600;
  color: #111344;
  margin-bottom: 8px;
}

.differentials__card__content p {
  font-family: var(--theme-font);
  font-size: 20px;
  color: #474758;
  line-height: 27px;
}

@media (max-width: 768px) {
  .differentials__cards {
    grid-template-columns: 1fr;
  }

  .differentials__card {
    gap: 31px;
  }
}

/* ### CTA ### */
.call {
  margin: 64px 0;
}

.call__body {
  background-color: #E7F6FC;
  padding: 45px 80px;
  border-radius: 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
}

.call__title {
  display: flex;
  align-items: center;
  gap: 36px;
}

.call__title img {
  object-fit: contain;
}

.call__title h2 {
  font-size: var(--font-size-kappa);
  color: #6b3a8e;
  font-weight: 700;
}

.call__text {
  max-width: 360px;
}

.call__text p {
  font-size: 22px;
  color: #474758;
  line-height: 33px;
  font-weight: 400;
}

.call__text .digbutton-purple {
  margin-top: 20px;
}

@media (max-width: 992px) {
  .call {
    margin: 51px 0;
  }

  .call__body {
    flex-wrap: wrap;
    gap: 20px;
    padding: 45px 31px;
  }

  .call__title {
    flex-direction: column;
    gap: 20px;
  }

  .call__title h2 {
    font-size: 36px;
  }
}

/* Slick */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  padding: 10px;
  border: 2px solid #38BEEF;
  background: none;
  border-radius: 8px;
}

.slick-prev {
  left: 30px;
  z-index: 1;
}

.slick-next {
  right: 30px;
  z-index: 1;
}

.slick-dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slick-dots li button {
  display: inline-block;
  width: 12px;
  height: 5px;
  background-color: #fff;
  border-radius: 20px;
  border: none;
  font-size: 0;
  line-height: 0;
}

.slick-dots li.slick-active button {
  background-color: #38BEEF;
  width: 22px;
}

.logged-in .box__item .box__content p {
  color: #717179;
}

.logged-in .box__item .box__content h3 {
  color: #fff;
}

.logged-in .ebooks__card__content h3 {
  color: #fff;
}

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

.ebooks__card__image img {
  max-width: -webkit-fill-available;
  height: 354px;
  object-fit: cover;
  border-radius: 24px;
}