/*
Body
*/

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: #191B1E;
}

body::-webkit-scrollbar-thumb {
  background: #3c4146;
  border-radius: 5px;
}

body::-webkit-scrollbar-thumb:hover {
  background: #4d5155
}

/*
Header
*/

.main-header {
  z-index: 99;
}

.main-header .img-logo {
  max-width: 150px !important;
  max-height: 70px !important;
}

/*
Footer — largura total (container-fluid no markup)
*/

.main-footer {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.main-header .buttons-area .btn {
  width: 130px !important;
}

@media (max-width: 992px) {
  .main-header .main-header-wrapper {
    width: 100%;
    min-width: 0;
  }

  .main-header .buttons-area {
    display: flex !important;
    margin-left: 0.75rem !important;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.5rem;
    justify-content: flex-end;
  }

  .main-header .buttons-area .btn {
    width: auto !important;
    flex: 1 1 0;
    min-width: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .main-header .img-logo {
    width: auto !important;
    max-width: 120px !important;
  }
}

@media (min-width: 992px) {
  .main-header-wrapper {
    width: 100% !important;
  }
}

/*
Menu
*/

.menu .menu__btn-login {
  height: 50px !important;
  font-size: 14px !important;
}

/*
Owl Carousel
*/

.owl-carousel.only-one .owl-nav,
.owl-carousel.only-one:hover .owl-nav {
  display: none !important;
}

.owl-carousel .owl-item picture img {
  width: auto;
  margin: 0 auto;
}

.owl-carousel .owl-nav button.owl-prev span, 
.owl-carousel .owl-nav button.owl-next span {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.carousel__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 15;
}

.owl-carousel.owl-campus .owl-nav,
.main-course-modules-slides .owl-nav {
  height: 0;
}

/* Correção específica para iOS */
.owl-carousel .owl-item {
  position: relative;
  z-index: 1;
}

.owl-carousel .owl-item.active {
  z-index: 10;
}

.owl-carousel .owl-stage-outer {
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
}

.owl-carousel {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@supports (-webkit-touch-callout: none) {
  .owl-carousel .owl-stage {
    touch-action: pan-y pinch-zoom;
  }
  
  .owl-carousel .owl-item.active {
    pointer-events: auto !important;
  }
  
  .owl-carousel .owl-item.active * {
    pointer-events: auto !important;
  }
  
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next,
  .owl-carousel .owl-dot {
    z-index: 20;
    position: relative;
  }
}

/*
Thumb
*/

.main-course-modules .main-keep-watching img {
  margin: 0 auto !important;
}

.main-course-modules .main-keep-watching p {
  font-size: 0.85em;
  color: #6f7072;
}

/*
Courses
*/

.card.card-course {
  margin: 6px 0;
  -webit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.card.card-course:hover {
  transform: translateY(-6px);
}

.btn.btn-course {
  position: initial !important;
}

.btn.btn-trailer,
.btn.btn-trailer > [class*=ri-] {
  color: var(--green-light) !important;
}

.btn.btn-trailer {
  border-color: var(--green-light) !important;
}

.btn.btn-trailer:hover {
  background-color: var(--green-light) !important;
}

.btn.btn-trailer:hover > [class*=ri-] {
  color: #18161B !important;
}

.card.card-course .card-body {
  padding-bottom: 20px !important;
}

.card.card-course .course-cover,
.card.card-course .class-cover {
  display: block;
  width: 100%;
}

.category-course {
  width: fit-content;
  display: inline-flex;
  position: relative;
  font-size: 0.75rem;
  color: #18161b;
  font-weight: bold;
  padding: 5px 20px;
  background-color: var(--green-light);
  -webkkkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}

/*
Largura única da página (header, categorias, grid, rodapé).
Laterais = mesma escala do antigo rodapé (px-3 / px-lg-4 / px-xxl-5).
*/

.container.vitrine-page-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 992px) {
  .container.vitrine-page-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .container.vitrine-page-container {
    max-width: min(100% - 32px, 1320px);
  }
}

@media (min-width: 1400px) {
  .container.vitrine-page-container {
    max-width: min(100% - 40px, 1520px);
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/*
Course grid + carrossel (organisms/courses — garantido aqui porque o bundle nem sempre inclui o .sass)
*/

.course-cards-grid.row,
.row.course-cards-grid {
  display: grid !important;
  gap: 1.25rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .course-cards-grid.row,
  .row.course-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .course-cards-grid.row,
  .row.course-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .course-cards-grid.row,
  .row.course-cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.course-cards-grid.row > .course-grid__cell,
.row.course-cards-grid > .course-grid__cell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
}

.course-cards-grid .card.card-course,
.row.course-cards-grid .card.card-course {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.row.course-cards-grid .card.card-course .card-header > div:first-child {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #1f2225;
}

.row.course-cards-grid .card.card-course .course-cover,
.row.course-cards-grid .card.card-course .class-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.owl-courses .owl-stage-outer,
.owl-courses .owl-stage,
.owl-free-courses .owl-stage-outer,
.owl-free-courses .owl-stage,
.owl-see-more-courses .owl-stage-outer,
.owl-see-more-courses .owl-stage,
.owl-expired-courses .owl-stage-outer,
.owl-expired-courses .owl-stage,
[class*="owl-courses-home-v2-"].owl-carousel .owl-stage-outer,
[class*="owl-courses-home-v2-"].owl-carousel .owl-stage {
  margin-left: 0 !important;
}

/* stagePadding do Owl é simétrico (padding-left + padding-right no .owl-stage).
   Zerar só à esquerda: 1º card alinhado ao container; “cortado” permanece à direita. */
.owl-courses .owl-stage,
.owl-free-courses .owl-stage,
.owl-see-more-courses .owl-stage,
.owl-expired-courses .owl-stage,
[class*="owl-courses-home-v2-"].owl-carousel .owl-stage {
  padding-left: 0 !important;
}

/* Carrossel de capas de módulos (página do curso): stagePadding do Owl é simétrico;
   zerar à esquerda para alinhar o 1º card ao container; o “corte” do próximo item permanece à direita. */
.main-course-modules [class*="owl-module-items-"].owl-carousel .owl-stage-outer,
.main-course-modules [class*="owl-module-items-"].owl-carousel .owl-stage {
  margin-left: 0 !important;
}

.main-course-modules [class*="owl-module-items-"].owl-carousel .owl-stage {
  padding-left: 0 !important;
}

.owl-courses .card.card-course.courses_item,
.owl-free-courses .card.card-course.courses_item,
.owl-see-more-courses .card.card-course.courses_item,
.owl-expired-courses .card.card-course.courses_item,
[class*="owl-courses-home-v2-"].owl-carousel .card.card-course.courses_item {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/*
Trailer
*/

.trailer__video {
  display: none;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.trailer__link {
  margin: 0 auto !important;
}

@media (min-width: 576px) {
  .modal-trailer {
    width: 1000px !important;
    max-width: 90% !important;
  }
}

/*
Main Carousel + slides de módulos (borda limpa do próximo slide — paridade campus)
*/

.main-carousel .owl-carousel.owl-campus .owl-stage-outer,
.main-course-modules-slides .owl-carousel.owl-course-modules .owl-stage-outer {
  overflow: hidden;
  clip-path: inset(0 2px 0 0);
  -webkit-clip-path: inset(0 2px 0 0);
}

.main-carousel .owl-carousel.owl-campus .owl-item,
.main-course-modules-slides .owl-carousel.owl-course-modules .owl-item {
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.main-carousel .owl-carousel.owl-campus .owl-item > div,
.main-course-modules-slides .owl-carousel.owl-course-modules .owl-item > div {
  width: 100%;
}

.main-carousel .owl-carousel.owl-campus .owl-item a,
.main-carousel .owl-carousel.owl-campus .owl-item picture,
.main-carousel .owl-carousel.owl-campus .owl-item img,
.main-course-modules-slides .owl-carousel.owl-course-modules .owl-item a,
.main-course-modules-slides .owl-carousel.owl-course-modules .owl-item picture,
.main-course-modules-slides .owl-carousel.owl-course-modules .owl-item img {
  display: block;
  width: 100%;
}

.main-carousel .owl-carousel.owl-campus .owl-item picture img,
.main-course-modules-slides .owl-carousel.owl-course-modules .owl-item picture img {
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: auto;
}

.main-carousel .owl-nav,
.main-course-modules-slides .owl-nav {
  display: none !important;
}

.main-carousel:hover .owl-nav,
.main-course-modules-slides:hover .owl-nav {
  display: flex !important;
}

/*
Divisors
*/

.divisor-header {
  display: flex;
  align-items: center;
}

.divisor-title {
  width: fit-content;
  padding-left: 30px;
  height: 50px;
  display: inline-table;
  align-items: center;
  position: relative;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: #6F7072;


  border-radius: 10px;
  border: 1px solid #1F2225;
  padding: 8px 28px;
}

.line-divisor {
  height: 1px;
  flex-grow: 1;
  background-color: #1F2225;
}

.line-divisor.is-carousel {
  margin-right: 20px;
}

/*
Watching
*/

.section-watching {
  height: 0;
  overflow: hidden;
}

/*
Skill
*/

.card.card-user-profile .skill-item,
.modal-show-skill-info .skill-item {
  border: 1px solid #424547 !important;
}

/*
Login
*/

.card.card-login .card-body {
  padding: 1rem !important;
}

/* 380px */
@media (min-width: 23.75em) {
  .card.card-login .card-body {
    padding: 2rem !important;
  }
}

/* 410px */
@media (min-width: 25.625em) {
  .card.card-login .card-body {
    padding: 3rem !important;
  }
}

.btn-change-eye {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

/*
Task
*/

.main-course-task .class-title {
  max-width: 470px;
  line-height: 25px;
  margin-bottom: 10px;
}

/*
Certificate
*/

.certificates__content {
  background-color: #191b1e;
  border: 1px solid #1F2225;
}

.certificates__description {
  padding: 10px 20px;
}

/* 992px */
@media (min-width: 62em) {
  .certificate-download {
    width: 50%;
    margin: 0 auto;
  }
}

/*
Header
*/

.link-logo {
  width: 180px;
}

/*
Notify
*/

.notify-content {
  max-height: 500px;
  overflow: auto;
}

.notify-content::-webkit-scrollbar {
  width: 7px;
  background-color: #1f2225;
}

.notify-content::-webkit-scrollbar-thumb {
  background-color: transparent;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  -ms-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  -o-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  -ms-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

.main-page-notes .btn-primary, 
.main-page-notifications .btn-primary {
  width: fit-content;
  background-color: #FF3939;
}

.card.card-notifications .main-title {
  line-height: 25px;
  margin-bottom: 10px;
}

.notification-description a {
  color: var(--green-light) !important;
}

/*
Loading
*/

.btn-loading {
  display: none;
  height: 20px;
  position: absolute;
  top: calc(50% - 10);
  right: 10px;
  opacity: 0.5;
}

/*
Scroll modules
*/

.list-module-task {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

/* 992px */
@media (min-width: 62em) {
  .list-module-task {
    max-height: 613px;
    padding-right: 10px;
    overflow: auto;
  }
  
  .list-module-task::-webkit-scrollbar {
    width: 7px;
  }
  
  .list-module-task::-webkit-scrollbar-thumb {
    background-color: #1F2225;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }

  .list-module-task:hover::-webkit-scrollbar-thumb {
    background-color: var(--green-light);
  }
}

/*
Favorite
*/

@media (max-width: 28.4375em) {
  .main-favorite__buttons-header {
    margin-top: 30px !important;
  }
}

/*
Container
*/

@media (min-width: 992px) and (max-width: 1199px) {
  #button__show__modules {
    display: block !important;
  }

  #left__content__slide {
    display: none !important;
  }

  #right__content__slide {
    width: 100% !important;
  }
}

/*
Top Wrapper
*/

.top-wrapper {
  margin-bottom: 50px;
}

@media (min-width: 993px) {
  .top-wrapper {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    margin-bottom: 0;
  }
}

/*
Banner
*/

.banner {
  position: relative;
  margin-bottom: 50px;
}

.banner__container {
  height: 100%;
  position: relative;
}

.banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: self-start;
  width: 700px;
  max-width: 100%;
}

.banner__title {
  color: #cbcccd;
  font-family: Inter;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px;
}

@media (max-width: 576px) {
  .banner__title {
    font-size: 21px;
    line-height: 29px;
  }
}

.banner__time {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 15px 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  border: 1px solid #cbcccd;
}

.banner__classes,
.banner__duration {
  color: #cbcccd;
}

.banner__count {
  display: block;
  font-weight: bold;
}

@media (min-width: 580px) {
  .banner__count {
    display: initial;
  }
}

@media (min-width: 993px) {
  .banner {
    margin-bottom: 0;
  }

  .banner__content {
    min-height: 450px;
  }
}

/*
Countdown
*/

.countdown {
  width: 80%;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  margin-bottom: 30px;
}

.countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown__points {
  margin-top: 10px;
}

.countdown__time {
  font-size: 1.25rem;
  color: #cbcccd;
  font-weight: bold;
  text-align: left;
}

.countdown__legend {
  font-size: 0.7rem;
}

/*
Highlight
*/

.highlight {
  position: relative;
  z-index: 9;
}

/*
Offer
*/

.offer {
  width: 400px;
  max-width: 80%;
  margin: 0 auto;
  border-radius: 15px;
  background-color: #191b1e;
  border: 1px solid #1f2225;
  overflow: hidden;
}

.offer__header {
  position: relative;
}

.offer__cover.has-video {
  opacity: 0.7;
}

.offer__video {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  position: absolute;
  top: calc(50% - 40px);
  left: calc(50% - 40px);
}

.offer__play {
  font-size: 5em;
  color: #ffffff;
  text-shadow: 0 0 5px #979797;
  cursor: pointer;
}

.offer__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.offer__price {
  font-size: 1rem;
  color: #cbcccd;
}

.offer__strike {
  text-decoration: line-through;
}

.offer__installment {
  font-size: 1.5rem;
  color: #cbcccd;
  font-weight: bold;
  margin: 5px 0;
}

@media (min-width: 993px) {
  .offer {
    position: absolute;
    top: 50px;
    right: 0;
    margin: 0;
  }
}

/*
Course description
*/

.banner__description ul {
  list-style-type: disc;
  padding-left: 16px;
}

.banner__description p,
.banner__description ul {
  margin-bottom: 15px;
}

@media (min-width: 993px) {
  .banner__description {
    max-width: 450px;
  }
}

@media (min-width: 1200px) {
  .banner__description {
    max-width: 550px;
  }
}

/*
Reviews
*/

.reviews {
  padding: 80px 0;
}

.reviews .generic__border__card {
  padding: 8px 0;
  border: none;
}

.reviews .generic__border__card h1, 
.reviews .generic__border__card .h1 {
  font-size: 1.75rem;
  color: #cbcccd;
}

.reviews__item {
  padding: 20px;
  border-radius: 15px;
  background: #191b1e;
  border: 1px solid #1f2225;
}

.reviews__stars {
  margin-bottom: 20px;
}

.reviews__star {
  font-size: 0.875rem;
  color: var(--green-light);
}

.reviews__comment {
  height: 100px;
  font-size: 0.875rem;
  color: #6f7072;
  margin-bottom: 20px;
  overflow-y: auto;
}

.reviews__comment::-webkit-scrollbar {
  width: 7px;
}

.reviews__comment::-webkit-scrollbar-thumb {
  background-color: #1F2225;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.reviews__comment:hover::-webkit-scrollbar-thumb {
  background-color: var(--green-light);
}

.reviews__author {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #cbcccd;
  font-weight: bold;
}

.reviews__avatar {
  position: relative;
  margin-right: 20px;
}

.reviews__avatar {
  min-width: 62px; 
  min-height: 62px;
  position: relative; 
}

.reviews__thumb {
  width: 62px; 
  height: 62px; 
  object-fit:cover;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.reviews__insignia {
  min-width: 80px; 
  min-height: 80px; 
  position: absolute;
  top: 0;
  left: 0;
  -webit-transform: translate(-9px, -6px);
  -moz-transform: translate(-9px, -6px);
  transform: translate(-9px, -6px);
}

.reviews__info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews__level {
  display: inline-flex;
  font-size: 0.75em;
  color: var(--bs-body-bg);
  padding: 0 8px;
  background-color: var(--green-light);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.reviews__course {
  display: block;
  font-size: 0.875rem;
  color: #6f7072;
  font-weight: normal;
}

/*
Faq
*/

.faq {
  width: 600px;
  max-width: 100%;
}

.faq__button {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.faq__icon--button {
  position: relative;
  font-size: 1.2em;
  margin-right: 7px;
  z-index: 9;
}

.faq__item {
  margin-bottom: 18px;
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 24px;
  background-color: #191b1e;
  border: 1px solid #1f2225;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
  cursor: pointer;
}

.faq__question:hover {
  box-shadow: 0 15px 30px -15px #202020;
  transform: translateY(-2px);
}

.faq__title {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #cbcccd;
}

.faq__icon--folder,
.faq__icon--arrow,
.faq__icon--play {
  font-size: 1.5rem;
  color: #424547;
}

.faq__icon--status {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  font-size: 1.3rem;
  color: #1f2225;
  background-color: #ff3939;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.faq__icon--status.is-free {
  background-color: var(--green-light);
}

.faq__item.is-open .faq__title,
.faq__item.is-open .faq__icon--folder,
.faq__item.is-open .faq__icon--arrow {
  color: var(--green-light);
}

.faq__response {
  display: none;
  padding: 30px;
}

.faq__paragraph {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  color: #6f7072;
  cursor: default;
  margin-bottom: 20px;
}

.faq__paragraph.is-pointer:hover {
  color: var(--green-light);
  cursor: pointer;
}

.faq__wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq__time {
  margin-right: 5px;
}

/*
Modal
*/

.modal-backdrop.show {
  z-index: 1040;
}

#viewModule {
  z-index: 1050;
}

#viewTrailer {
  z-index: 1060 !important;
}

#viewTrailer .modal-backdrop {
  z-index: 1055 !important;
}


/*
Categories
*/

.categories {
  width: 100%;
}

.categories__button {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.categories__icon--button {
  position: relative;
  font-size: 1.2em;
  margin-right: 7px;
  z-index: 9;
}

.categories__header {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 14px;
  background-color: #191b1e;
  border: 1px solid #2a2f34;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
  cursor: pointer;
}

.categories__header:hover {
  box-shadow: 0 15px 30px -15px #202020;
  border-color: #3a4046;
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  transform: translateY(-2px);
}

.categories.is-open .categories__header {
  background-color: var(--green-light);
}

.categories__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6f7072;
}

.categories.is-open .categories__title {
  color: #18161b;
}

.categories__icon {
  color: #424547;
  font-size: 1rem;
}

.categories.is-open .categories__icon {
  color: #18161b;
}

.categories__response {
  padding: 30px;
}

.categories__response:not(.is-open) {
  display: none;
}

.categories__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.categories__paragraph {
  display: flex;
  align-items: center;
  cursor: default;
  margin-bottom: 0;
  cursor: pointer;
}

.categories__paragraph,
.categories__paragraph:focus {
  color: #6f7072;
}

.categories__paragraph:hover {
  color: var(--green-light);
}

.categories__paragraph--option {
  gap: 10px;
}

.categories__checkbox {
  -webkit-appearance: none;
  appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  flex-shrink: 0;
  border: 2px solid #424547;
  border-radius: 5px;
  background-color: #191b1e;
  cursor: pointer;
  -webkit-transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  -moz-transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.categories__checkbox:hover {
  border-color: color-mix(in srgb, var(--green-light) 55%, #424547);
}

.categories__checkbox:checked {
  background-color: var(--green-light);
  border-color: var(--green-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2 6.4 11.1 12.5 4.5' stroke='%2318161b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.categories__checkbox:focus {
  outline: none;
}

.categories__checkbox:focus-visible {
  box-shadow: 0 0 0 2px #191b1e, 0 0 0 4px color-mix(in srgb, var(--green-light) 50%, transparent);
}

.categories__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}

.categories__apply {
  padding: 6px 12px;
  font-size: 0.78rem;
  border-radius: 8px;
}

.categories__clear {
  color: #6f7072;
  text-decoration: none;
  font-size: 0.85rem;
}

.categories__clear:hover {
  color: var(--green-light);
}

/*
Filter category
*/

.filter-category-list {
  position: relative;
}

.filter-category {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  font-size: 0.65rem;
  color: #18161b;
  font-weight: bold;
  padding: 5px 8px 5px 12px;
  background-color: var(--green-light);
  -webkkkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}

.filter-category__label {
  line-height: 1.25;
}

.filter-category__remove {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0 -4px 0 0;
  align-self: center;
  border-radius: 50%;
  color: inherit;
  opacity: 0.8;
  flex-shrink: 0;
  text-decoration: none;
  -webkit-transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  -moz-transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.filter-category__remove i {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  line-height: 1;
  font-size: 0.75rem;
}

.filter-category__remove:hover,
.filter-category__remove:focus {
  opacity: 1;
  color: #191b1e;
  background-color: rgba(25, 27, 30, 0.12);
}

.filter-category__delete {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  background-color: #191b1e;
  border: 1px solid #424547;
  -webkkkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.filter-category__delete,
.filter-category__delete:focus {
  color: #6f7072;
}

.filter-category__delete:hover {
  color: var(--green-light);
  border-color: var(--green-light);
}

/*
Module (capas na página do curso — um único elemento com border + scale no hover)
*/

.main-course-modules article.module-item {
  position: relative;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  border: 1px solid #1f2225;
  overflow: hidden;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.2s ease;
  -moz-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.main-course-modules article.module-item:hover {
  -webkit-transform: scale(0.97);
  -moz-transform: scale(0.97);
  transform: scale(0.97);
}

/*
Sheen effect
*/

.sheen-effect {
  position: relative;
  overflow: hidden;
  transition: .3s all;
}

.sheen-effect::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -200%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: rotate(25deg);
  transition: all 0.4s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.sheen-effect:hover {
  filter: brightness(1.3);
}

.sheen-effect:hover::before {
  left: 100%;
  top: 0%;
}

/* sheen usa `transition: all`, o que sobrescrevia o scale do card; combinar só transform + filtro */
.main-course-modules article.module-item.sheen-effect {
  -webkit-transition: -webkit-transform 0.2s ease, -webkit-filter 0.3s ease;
  transition: transform 0.2s ease, filter 0.3s ease;
}

/*
Clamp
*/

.card.card-course .card-body {
  padding: 20px 25px !important;
}

.card.card-course .card-body .main-title .main-title-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card.card-course .card-body .main-title .main-title-clamp:hover {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.card.card-course .card-body .description-course {
  line-height: 16px;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  max-height: 16px;
  /* 1 linha */
  transition: max-height 0.35s ease;
}

.card.card-course .card-body .description-course:hover {
  -webkit-line-clamp: unset;
  max-height: 160px;
  /* 10 linhas x 16px */
}