/* ### HERO ### */
.hero {
  margin-top: -95px;
  position: relative;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.banner {
  height: 690px;
  display: flex;
  align-items: center;
}

.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;
}

@media (max-width: 768px) {
  .banner__title {
    font-size: 48px;
    line-height: 57px;
  }

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

/* ### PLATFORM ### */
.platform {
  margin: 72px 0;
}

.platform__head {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}

.platform__head h2 {
  font-size: 38px;
  font-weight: 700;
  color: #6b3a8e;
  line-height: 45px;
  text-align: center;

  max-width: 642px;
  display: block;
  margin: 0 auto;
}

.platform__head p {
  text-align: center;
  font-size: 18px;
  line-height: 27px;
  color: #474758;
}

.platform__cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.platform__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 30px;
  border: 2px solid #C9CAE8;
  border-radius: 18px;
}

.platform__card h3 {
  font-family: var(--theme-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: #111344;
}

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

/* ### INFO ### */
.info {
  margin: 88px 0;
}

.info__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 100px;
}

.info__content {
  max-width: 550px;
}

.info__content p {
  font-family: var(--theme-font);
  font-weight: 400;
  font-size: 22px;
  line-height: 33px;
  color: #474758;
  margin: 24px 0;
}

.info__image {
  display: flex;
  justify-content: center;
}

.info__image img {
  max-width: 585px;
  min-width: 430px;
  width: 100%;
  object-fit: cover;
}

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

  .info__wrapper {
    gap: 50px;
    flex-direction: column-reverse;
  }

  .info__content {
    max-width: 100%;
  }

  .info__image img {
    min-width: auto;
  }
}

/* ### 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;
}

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

.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__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

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

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

/* ### 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;
  }
}

/* ### 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;
  }
}

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

.logged-in .platform__card h3 {
  color: #717179;
}

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

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

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