#home-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  /* fundo branco */
  z-index: 9999;
  /* garantir que fique acima de tudo */
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-category-item {
  max-width: 264px;
  width: 250px;
  height: 258px;
  background: #772583;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* align-items: center; */
}

#category-carousel .owl-stage-outer {
  height: 280px;
}

#depoimentosCarousel .owl-stage-outer {
  height: 380px;
}

@media only screen and (max-width: 1080px) {
  .card-category-item {
    width: 23vw;
  }
}

.carousel-section .card-category-item p {
  color: #eff5ff;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.456px;
  margin-left: 24px;
  margin-bottom: 53px;
}

.owl-carousel .card-category-item .category-img {
  width: 46px;
  height: 46px;
  margin-top: 24px;
  margin-left: 24px;
}

.owl-theme .owl-controls .owl-pagination {
  text-align: center;
  margin-top: 20px;
  display: flex;
  margin-left: 150px;
}

.custom-nav-testimony,
.custom-nav-category,
.custom-nav-courses {
  width: 100dvw;
  align-items: center;
}

.custom-nav-testimony,
.custom-nav-category {
  justify-content: space-around;
}

.custom-nav-courses {
  justify-content: center;
}

.custom-nav {
  display: flex;
  gap: 12px;
}

.custom-nav-category {
  padding: 20px 0;
}

.custom-nav-testimony .owl-dot,
.custom-nav-category .owl-dot,
.custom-nav-courses .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 3px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s ease, width 0.3s ease;
  border: none;
}

.custom-nav-testimony .owl-dot.active,
.custom-nav-category .owl-dot.active,
.custom-nav-courses .owl-dot.active {
  background-color: #7b288c;
  width: 48px;
  border-radius: 10px;
}

.owl-theme .owl-controls .owl-pagination .owl-page span {
  display: none;
}

.custom-controls {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  padding: 20px 150px 0;
}

.custom-nav-category,
.custom-nav-testimony,
.custom-nav-courses {
  display: flex;
  gap: 15px;
}

.custom-nav-courses {
  margin: 20px 0;
}

/* Personalização dos botões prev e next */
.custom-nav-category .owl-prev,
.custom-nav-category .owl-next,
.custom-nav-testimony .owl-prev,
.custom-nav-testimony .owl-next,
.custom-nav-courses .owl-prev,
.custom-nav-courses .owl-next {
  background-color: white;
  border: 1px solid #dbe8fe;
  color: #7b288c;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-nav-category .owl-prev:hover,
.custom-nav-category .owl-next:hover,
.custom-nav-testimony .owl-prev:hover,
.custom-nav-testimony .owl-next:hover,
.custom-nav-courses .owl-prev:hover,
.custom-nav-courses .owl-next:hover {
  background-color: #dbe8fe;
  color: #7b288c;
}

.owl-carousel .owl-item {
  max-width: 300px;
}

/* Regras consolidadas para .course-time */
.course-time {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  border-radius: 999px;
  border: 1px solid #e4e7ec;
  padding: 2px 6px;
  width: fit-content;
}

.course-time img {
  width: 14px;
  height: 14px;
}

.course-time span {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.icon-type-content {
  width: 24.588px;
}

.course-info-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-info a .card-course-title {
  overflow: hidden;
  color: #333;
  text-overflow: ellipsis;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  text-transform: capitalize;
}

/* Regras consolidadas para tópicos de informação */
.information-topics {
  display: flex;
  gap: 20px;
  /* valor substituído de "auto" por um gap válido */
  margin: 20px 0;
}

.information-topic {
  display: flex;
  flex-direction: column;
}

.information-topic img {
  width: 16px;
  height: 16px;
}

.owl-carousel .owl-item .information-topic img,
.owl-carousel .owl-item .course-info-container .course-time img {
  width: 16px;
}

.course-info-container div {
  display: flex;
  gap: 10px;
}

.owl-carousel .owl-item .course-info-container img {
  width: 25px;
}

#courses-carousel-mobile .owl-stage-outer,
#depoimentosCarousel .owl-stage-outer,
.custom-nav-testimony {
  margin-left: 2rem;
}

.information-topic span {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

/* Botão de "Ver mais" corrigido */
.see-more-button {
  width: 216px;
  height: 48px;
  max-width: 288px;
  padding: 8px 16px;
  gap: 8px;
  border-radius: 8px;
  background: #772583;
  color: #fff;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.019em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.see-more-button:hover {
  background: #581f66;
  color: #fff;
}

.carousel-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f8dbfe40;
  padding: 20px 0;
}

.carousel-section h2,
.titleCourseSection {
  color: #561264;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.684px;
}

.titleCourseSection {
  margin-bottom: 16px;
  text-transform: none;
}

.carousel-section p,
.subtitleCourseSection {
  color: #6f7580;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.304px;
}

.subtitleCourseSection {
  margin-bottom: 50px;
}

/* Lista de cursos */
#listCourses #contentListCourses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, auto);
  /* 3 linhas ajustáveis automaticamente */
  gap: 28px;
}

@media only screen and (max-width: 1250px) {
  #listCourses #contentListCourses {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card de curso */
.course-card {
  width: 264px;
  max-width: 264px;
  border-radius: 17px;
  overflow: hidden;
  border: 2px solid #d9d9d9;
  display: block;
}

.course-card .photo {
  height: 140px;
  overflow: hidden;
  border-radius: 17px 17px 0 0;
}

.course-card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card .info {
  padding: 0 24px;
  margin-top: 20px;
}

.course-card .card-course-title {
  overflow: hidden;
  color: #333;
  text-overflow: ellipsis;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  text-transform: capitalize;
  margin-top: 7px;
  height: 46px;
}

.separator {
  margin-bottom: 24px;
}

.titleSections,
.titleCourseSection {
  color: #561264;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -0.684px;
}

.subtitleSections {
  color: #6f7580;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.304px;
}

.CtaHomeButton {
  margin: 0 auto;
  max-width: 400px;
  border-radius: 8px;
  background: #24b445;
  box-shadow: inset 0px 1px 0px 0px rgba(29, 100, 216, 0.2);
  color: #fff;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 8px;
  text-decoration: none;
}

.CtaHomeButton:hover,
.certificate-container button:hover {
  color: #fff;
  background: #109c30;
  box-shadow: 0px 8px 24px 0px rgba(61, 205, 127, 0.25);
}

.partners-container {
  display: flex;
  width: 100%;
  background: #f5f9ff;
  justify-content: space-around;
  padding: 24px 0;
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.partner img {
  width: 122.791px;
}

.partner p {
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: -0.019em;
  text-align: left;
}

.certificate-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #812a8e 0%, #772583 100%);
  color: #fff;
  padding: 60px 0;
}

.certificate-container span,
.testimony-container span {
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  margin-top: 5rem;
}

.testimony-container span {
  color: #772583;
  margin-top: 8rem;
}

.certificate-container h2,
.testimony-container h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: -0.019em;
  text-align: center;
}

.certificate-container p {
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
  width: 80%;
  max-width: 672px;
  margin: 25px 0;
}

.certificate-container button {
  min-width: 300px;
  max-width: 400px;
  height: 48px;
  padding: 0 16px;
  gap: 10px;
  border-radius: 8px;
  border: none;
  background: #24b445;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  width: 40vw;
  margin-bottom: 50px;
  transition: all 0.3s ease;
}

.bg-certificate {
  width: 45vw;
  height: 350px;
  max-width: 600px;
  max-height: 400px;
  position: absolute;
  border-radius: 20px;
  background: #c89de0;
  z-index: 1;
  top: 130px;
  left: 40px;
  transition: transform 0.3s ease-in-out;
}

.bg-certificate:hover {
  transform: rotate(5deg);
}

.certificate-container img {
  max-width: 672px;
  z-index: 2;
  position: relative;
  transition: transform 0.3s ease-in-out;
}

.certificate-container img:hover {
  transform: rotate(-3deg);
}

.certificate-container img:hover ~ .bg-certificate {
  transform: rotate(3deg);
}

.data-home-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  align-items: center;
  margin-bottom: 70px;
}

.data-home-container span {
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
  color: #772583;
}

.data-home-container h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 46.8px;
  letter-spacing: -0.019em;
  text-align: center;
  color: #183b56;
}

.data-home-itens {
  display: flex;
  gap: 24px;
  margin-top: 50px;
}

.data-home-itens .item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  border: 1px solid #e5e7eb;
  max-width: 384px;
}

.data-home-itens .item h3 {
  font-size: 48px;
  font-weight: 600;
  line-height: 60px;
  letter-spacing: -0.019em;
  text-align: left;
  color: #772583;
}

.data-home-itens .item span {
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  text-align: left;
  color: #183b56;
}

.data-home-itens .item p {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #5a7184;
}

.container-carousel {
  margin-bottom: 3rem;
  max-width: 100%;
}

#depoimentosCarousel .owl-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  margin-left: 20px;
}

#depoimentosCarousel .owl-slide > div {
  max-width: 300px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #dce0e9;
  border-radius: 4px;
  box-shadow: 0px 3px 1px 0px rgba(17, 24, 36, 0),
    0px 2px 1px 0px rgba(17, 24, 36, 0.01),
    0px 1.5px 0.5px 0px rgba(17, 24, 36, 0.03),
    0px 0.75px 0.5px 0px rgba(17, 24, 36, 0.04),
    0px 0px 0.5px 0px rgba(17, 24, 36, 0.05);
  padding: 0.5rem 2rem;
  text-align: left;
}

#depoimentosCarousel .statement {
  padding: 4rem 0 0;
  color: #1e1e1e;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.25px;
}

#depoimentosCarousel .img-container .img-content {
  position: absolute;
  transform: translateY(-10%);
  width: 75px;
  height: 75px;
  border-radius: 100%;
  border: 2px solid #772583;
  background-image: url("https://media.istockphoto.com/id/1327592506/vector/default-avatar-photo-placeholder-icon-grey-profile-picture-business-man.jpg?s=612x612&w=0&k=20&c=BpR0FVaEa5F24GIw7K8nMWiiGmbb8qmhfkpXcp1dhQg=");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#depoimentosCarousel .owl-slide .student .img-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#depoimentosCarousel .owl-slide .student div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#depoimentosCarousel .owl-slide .data-student {
  width: 100%;
}

#depoimentosCarousel .name-student {
  color: #772583;
  font-size: 16px;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.32px;
}

#depoimentosCarousel .address-student {
  color: #b3b3b3;
  font-size: 12px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -0.24px;
}

#depoimentosCarousel .prev-slide,
#depoimentosCarousel .next-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid #e4e7ec;
  background: none;
}

.home-main {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  background: #fcfdff;
}

.home-main-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 50%;
}

.home-main-text .info-topic {
  border-radius: 9999px;
  background: rgba(225, 0, 255, 0.08);
  backdrop-filter: blur(15px);
  padding: 5px 16px;
  color: #772583;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  list-style: circle;
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-main-text h1 {
  color: #561264;
  font-size: 40px;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -0.76px;
  text-transform: none;
}

.home-main-text h1 span {
  color: #912ba5;
  font-size: 40px;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.76px;
}

.home-main-text p {
  color: #777;
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.342px;
  max-width: 427px;
  display: none;
}

.home-main-text button {
  border-radius: 8px;
  background: #5bb619;
  box-shadow: inset 0px 1px 0px 0px rgba(29, 100, 216, 0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  max-width: 300px;
  max-height: 50px;
  padding: 16px 80px;
  border: none;
}

.home-main-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-main-img img {
  max-width: 580px;
}

.placeholder {
  margin-top: 100px;
  min-height: 300px;
}

@media only screen and (max-width: 1200px) {
  .home-main-img img {
    max-width: 100%;
  }

  .home-main-text h1 {
    font-size: 2.776vw;
  }

  .home-main-text h1 span {
    font-size: 2.776vw;
  }

  .home-main-text p {
    font-size: 15px;
  }

  .home-main-text .info-topic {
    font-size: 12px;
  }

  .home-main-text button {
    padding: 16px 40px;
  }
}

.header-title .titleCourseSection {
  color: #561264;
  font-size: 36px;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -0.684px;
}

.owl-stage .owl-item {
  width: fit-content !important;
}

@media only screen and (max-width: 1024px) {
  .home-main-text {
    flex-direction: column;
    align-items: center;
    max-width: 50%;
    max-width: 90%;
  }

  .info-topic {
    max-width: 300px;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
  }

  .home-main-text h1 {
    color: #561264;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    /* 46.8px */
    letter-spacing: -0.684px;
  }

  .home-main-text h1 span {
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    /* 46.8px */
    letter-spacing: -0.684px;
  }

  .home-main-text button,
  .home-main-text a {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 15px;
  }

  .partners-container {
    flex-direction: column;
    background: rgba(248, 219, 254, 0.25);
    gap: 40px;
  }

  .partner p {
    margin-bottom: 25px;
  }

  .certificate-container {
    padding: 40px 0;
  }

  .certificate-container span {
    margin-top: 0;
  }

  .certificate-container h2 {
    font-weight: 500;
    font-size: 24px;
    line-height: 31.2px;
    letter-spacing: -1.9%;
    text-align: center;
    max-width: 90%;
  }

  .certificate-container p {
    font-size: 15px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 30px;
  }

  .certificate-container img {
    max-width: 340px;
  }

  .bg-certificate {
    width: 80vw;
    height: 200px;
    top: 50px;
    left: 30px;
    max-width: 300px;
  }

  .data-home-itens .item h3 {
    font-size: 35px;
    font-weight: 600;
    line-height: 60px;
    letter-spacing: -0.02em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }

  .data-home-itens {
    flex-direction: column;
    gap: 25px;
  }

  .testimony-container span {
    text-align: left;
    margin-left: 2rem;
  }

  .testimony-container h2 {
    color: #561264;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    /* 31.2px */
    letter-spacing: -0.456px;
    text-align: left;
    margin-left: 2rem;
  }

  .data-home-container span {
    color: #772583;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .data-home-container h2 {
    color: #183b56;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    /* 31.2px */
    letter-spacing: -0.456px;
  }

  .data-home-itens .item span {
    color: #183b56;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
    /* 150% */
    text-transform: none;
    letter-spacing: 0;
  }

  .mobile-category-card-item {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    margin: 0 15px;
  }

  #mobile-category-carousel .owl-item {
    width: 100dvw !important;
    max-width: 100dvw;
  }

  #mobile-category-carousel .card-container-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #mobile-category-carousel .card-container-mobile .card-img-mobile {
    width: 28vw;
    height: 28vw;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 200px;
    max-height: 200px;
  }

  #mobile-category-carousel .card-container-mobile .card-img-mobile img {
    width: 46px;
    height: 46px;
  }

  #mobile-category-carousel .card-container-mobile .card-title-mobile {
    color: #4d5159;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.228px;
    text-align: center;
    width: 98px;
    margin-top: 8px;
  }
}
