:root {
  --bs-side: #8F98FD;
  --bs-side-rgb: 143, 152, 253;
  --bs-side-hover: #7b85f8;
  --bs-side-border: #8F98FD;
  --header-height: 88px;
}

/* BUSCA EMBUTIDA */
.search-form {
  width: 100%;
  padding: 0 10px 0 10px;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  height: 50px;
  padding: 0 55px 0 18px;
  border-radius: 14px;
  border: 1px solid #E5E7EB;
  background: #fff;
  font-size: 15px;
  color: #1F2559;
  box-shadow: 0 8px 24px rgba(31, 37, 89, 0.05);
  transition: all 0.25s ease;
}

.search-input::placeholder {
  color: #9CA3AF;
}

.search-input:focus {
  outline: none;
  border-color: #8F98FD;
  box-shadow: 0 10px 28px rgba(143, 152, 253, 0.25);
}

.search-btn {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #8F98FD, #1F2559);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 20px rgba(143, 152, 253, 0.4);
}

.search-btn svg {
  width: 18px;
  height: 18px;
}

/* HEADER */
.vs-header.header-layout1 {
  background: #fff;
}

.vs-header .sticky-active {
  padding-top: 12px;
  padding-bottom: 12px;
}

.vs-header .container-fluid {
  padding-left: 20px;
  padding-right: 20px;
}

.vs-logo img {
  width: 160px !important;
  height: auto !important;
  max-height: none !important;
  max-width: none !important;
  display: block;
}

/* BOTÃO PADRÃO DA MARCA */
.btn-side {
  color: #fff !important;
  background-color: #8F98FD !important;
  border-color: #8F98FD !important;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(143, 152, 253, 0.22);
  transition: all 0.3s ease;
}

.btn-side:hover {
  color: #fff !important;
  background-color: #7b85f8 !important;
  border-color: #7b85f8 !important;
  box-shadow: 0 8px 22px rgba(143, 152, 253, 0.28);
  transform: translateY(-1px);
}

.btn-side:active {
  background-color: #6c75f5 !important;
  border-color: #6c75f5 !important;
  transform: scale(0.98);
}

.btn-side:focus {
  box-shadow: 0 0 0 0.2rem rgba(143, 152, 253, 0.4) !important;
}

.btn-side:disabled {
  background-color: #8F98FD !important;
  border-color: #8F98FD !important;
  opacity: 0.6;
}

.btn-side.btn-sm,
.btn-side.btn-lg {
  font-weight: 600;
}

/* BOTÃO PADRÃO ESCURO */
.btn-side-dark {
  color: #fff !important;
  background: linear-gradient(135deg, #1F2559, #2c3270) !important;
  border: none !important;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 18px rgba(31, 37, 89, 0.35);
  transition: all 0.3s ease;
}

.btn-side-dark:hover {
  background: linear-gradient(135deg, #2c3270, #3a4090) !important;
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(31, 37, 89, 0.45);
  transform: translateY(-2px);
}

.btn-side-dark:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(31, 37, 89, 0.35);
}

.btn-side-dark:focus {
  box-shadow: 0 0 0 0.2rem rgba(31, 37, 89, 0.4) !important;
}

.btn-side-dark:disabled {
  opacity: 0.6;
  background: #1F2559 !important;
}

.btn-side-dark.btn-sm,
.btn-side-dark.btn-lg {
  font-weight: 600;
}

/* BUSCA DESKTOP */
.form-busca {
  width: 100%;
  margin-bottom: 15px;
}

.form-busca .input-group-search {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.form-busca .search-field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.form-busca .search-field .input-icon-addon {
  position: absolute;
  top: 50%;
  left: 7px;
  transform: translateY(-50%);
  color: var(--bs-side);
  font-size: 16px;
  z-index: 3;
}

.form-busca .form-control.buscar {
  height: 46px;
  border: 1px solid #dfe3f0;
  border-right: 0;
  border-radius: 12px 0 0 12px;
  padding-left: 44px;
  padding-right: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  font-size: 14px;
}

.form-busca .form-control.buscar:focus {
  border-color: var(--bs-side);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-side-rgb), 0.18);
  position: relative;
  z-index: 2;
}

.form-busca .btn-search {
  height: 54px;
  border-radius: 0 12px 12px 0;
  padding: 0 22px;
  white-space: nowrap;
  margin-left: 0;
}

/* AÇÕES DIREITA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* MENU */
.main-menu.menu-style1 > ul {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1px;
  flex-wrap: wrap;
}

.main-menu.menu-style1 > ul > li > a {
  display: inline-flex;
  align-items: center;
  padding: 10px 10px;
  border-radius: 8px;
  color: #374151;
  font-weight: 500;
  transition: all 0.2s ease;
}

.main-menu.menu-style1 > ul > li > a:hover {
  background: rgba(var(--bs-side-rgb), 0.10);
  color: var(--bs-side-hover);
}

/* MOBILE SEARCH FORM ANTIGO */
.mobile-search-form .input-group-search {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.mobile-search-form .search-field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-search-form .input-icon-addon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--bs-side);
  z-index: 3;
}

.mobile-search-form .form-control.buscar {
  height: 46px;
  border: 1px solid #dfe3f0;
  border-right: 0;
  border-radius: 12px 0 0 12px;
  padding-left: 42px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.mobile-search-form .btn-search-icon {
  width: 52px;
  min-width: 52px;
  height: 53px;
  border-radius: 0 12px 12px 0;
  padding: 0;
}

/* HEADER NOVO */
.nv-header {
  position: relative;
  overflow: visible;
  background: linear-gradient(135deg, #EAECFF 0%, #DDE1FF 50%, #D6D9FC 100%);
  border-bottom: 3px solid #D6D9FC !important;
  box-shadow: 0 8px 20px rgba(31, 37, 89, 0.06);
  border-radius: 0 0 28px 28px;
  z-index: 2;
}

.nv-header > * {
  position: relative;
  z-index: 2;
}

.nv-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 100%;
  height: 36px;
  background: linear-gradient(135deg, #EAECFF 0%, #DDE1FF 50%, #D6D9FC 100%);
  border-radius: 0 0 60% 60%;
  z-index: -1;
  pointer-events: none;
}

.nv-header::before {
  content: "";
  position: absolute;
  left: 10%;
  bottom: -20px;
  width: 80%;
  height: 20px;
  background: rgba(31, 37, 89, 0.08);
  filter: blur(10px);
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
}

/* RESPONSIVO */
@media (max-width: 1199.98px) {
  .form-busca {
    max-width: 100%;
    margin-left: 1rem;
  }
}

@media (max-width: 991.98px) {
  .vs-header .container-fluid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .vs-logo img {
    width: 160px !important;
    max-height: 52px;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .nv-header {
    border-radius: 0 0 20px 20px;
  }

  .nv-header::after {
    bottom: -12px;
    height: 24px;
    border-radius: 0 0 50% 50%;
  }
}

@media (max-width: 575.98px) {
  .sticky-active {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .search-form {
    width: 100%;
    padding: 0 3px 0 5px;
  }

  .search-input {
    height: 46px;
    font-size: 14px;
  }

  .search-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
}


#elemento-rodape {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -110px;
  z-index: 1030;
  background: rgba(31, 37, 89, .96);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 -12px 30px rgba(31, 37, 89, .18);
  transition: bottom .25s ease;
}

#elemento-rodape img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px !important;
}

.fixed-bottom.btn-side {
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  line-height: 1;
  text-align: center;
}

@media (max-width: 575.98px) {
  .fixed-bottom.btn-side {
    display: flex !important;
  }
}

.modal {
  background: url('https://sidecursos.com.br/assets/img/layout/bg-modal.png') center center / cover no-repeat fixed;
  background-color: #fff;
}

.modal-content {
  background: none;
}

.carrinho .table-borderless {
    border: 0;
}
.carrinho .table-borderless th{
  padding-bottom: 5px;
  font-weight: bold;
}
.carrinho .table-borderless thead, tr{
  border-bottom: 1px solid #CCCCCC;
}
.carrinho .table-borderless th,
.table-borderless td {
    border: 0;
}
.carrinho .form-select{
  font-weight: bold;
}
.carrinho .form-switch .form-check-input {
  height: 24px;
  width: 30px;
}
.carrinho .form-switch .form-check-input:focus {
  border-color: rgba(0, 0, 0, 0.25);
  outline: 0;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(0,0,0,0.25)'/></svg>");
}
.carrinho .form-switch .form-check-input:checked {
  background-color: #f59f00;
  border-color: #f59f00;
  border: none;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1.0)'/></svg>");
}

.carrinho .cursor-pointer {
  cursor: pointer;
  border-bottom: 1px solid #EFEFEF;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Proporção 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wrap_ae00{
  z-index:10!important;
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  .btn-whatsapp {
    align-items: center;
    border: none;
    background-color: #61D466;
    background-image: linear-gradient(to bottom, #61D466 0%, #52B43E 100%);
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    position: relative;
    height: 60px;
    width: 60px;
    z-index: 1;
    span {
      font-size: 2rem;
    }
  }
}

@media(max-width:768px){
	.whatsapp{bottom:60px; right: 10px;}

}

/* RESET */
/*ul.categorias,
ul.categorias ul {
    list-style: none;
    margin: 0;
    padding: 0;
}*/

/* ITEM PRINCIPAL */
/*ul.categorias > li {
    margin-bottom: 6px;
    background-color: #f9f9f9;
    padding: 10px 12px;
    border-radius: 6px;
    transition: 0.2s ease;
    font-size: 15px;
}*/

/* TOPO (AQUI SIM FLEX) */
/*.categoria-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}*/

/* LINK */
/*.categoria-topo a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    flex: 1;
    min-width: 0;
}*/

/* BADGE */
/*.categoria-topo span {
    background-color: var(--theme-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
}*/

/* SUBCATEGORIAS (AGORA FICA EMBAIXO) */
/*ul.categorias ul.subcategorias {
    display: none;
    margin-top: 10px;
    padding-left: 12px;
    border-left: 2px solid #ddd;
}*/

/* ITEM SUB */
/*ul.categorias ul.subcategorias li {
    margin-bottom: 5px;
    background-color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    transition: 0.2s ease;
}
*/
/* LINK SUB */
/*ul.categorias ul.subcategorias li a {
    text-decoration: none;
    color: #777;
    font-size: 14px;
    display: block;
}*/

/* HOVER */
/*ul.categorias > li:hover {
    background-color: #ececec;
}*/

/*ul.categorias ul.subcategorias li:hover {
    background-color: #e7e7e7;
}*/

/* ATIVO SUB */
/*ul.categorias ul.subcategorias li.active {
    background-color: var(--theme-color3) !important;
}*/

/*ul.categorias ul.subcategorias li.active a {
    color: var(--theme-color) !important;
}*/

/* Player Curso */

#player {
  width: 100%;
  margin-top: 10px;
  padding: 0 0 16px;
  border-bottom: 1px solid #dfe4f3;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
}

/* BOTÕES */
#player #play-button,
#player #pause-button {
  min-width: 110px;
  height: 48px;
  border: 0 !important;
  border-radius: 16px !important;
  font-weight: 800;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .22s ease;
  box-shadow: none !important;
}

#player #play-button {
  background: linear-gradient(135deg, #8F98FD 0%, #6F7DFF 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(111, 125, 255, 0.24) !important;
}

#player #pause-button {
  background: #1F2559 !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(31, 37, 89, 0.18) !important;
}

#player #pause-button:disabled {
  opacity: .65;
}

#player #play-button:hover,
#player #pause-button:hover {
  transform: translateY(-1px);
}

/* PROGRESSO */
#player #progress-container {
  width: 100%;
  min-width: 0;
  height: 48px;
  display: flex;
  align-items: center;
  background: #f5f7ff;
  border: 1px solid #e8ecf5;
  border-radius: 16px;
  padding: 0 16px;
}

#player #progress {
  width: 100%;
  height: 8px;
  margin: 0;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  background: #dfe4f3;
  accent-color: #8F98FD;
}

#player #progress::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: #dfe4f3;
}

#player #progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -5px;
  border-radius: 50%;
  background: #8F98FD;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(111, 125, 255, 0.35);
  cursor: pointer;
}

#player #progress::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #dfe4f3;
}

#player #progress::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #8F98FD;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(111, 125, 255, 0.35);
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 575px) {

  #player {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-bottom: 14px;
  }

  #player #play-button,
  #player #pause-button {
    width: 100%;
    min-width: 0;
    height: 44px;
    border-radius: 14px !important;
    font-size: .84rem;
  }

  #player #progress-container {
    grid-column: 1 / -1;
    height: 44px;
    padding: 0 12px;
    border-radius: 14px;
  }
}


/* Menu Pagina Cursos */

.menu-curso {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: rgba(51, 51, 51, 0.3); /* Cor escura semi-transparente */
    padding: 0px;
    width: 50px;
    border-radius: 0 5px 5px 0;
    transition: width 0.3s, background-color 0.3s, opacity 0.3s; /* Transição suave */
    overflow: hidden;
    z-index: 1000;
    opacity: 0.5; /* Tornar semi-transparente quando fechado */
}

.menu-curso:hover, .menu-curso.active {
    width: 200px;
    background-color: #333; /* Cor visível ao abrir */
    opacity: 1; /* Totalmente visível ao abrir */
}

.menu-curso ul {
    list-style: none;
    padding: 4px;
}

.menu-curso ul li {
    display: flex;
    align-items: center;
    padding: 10px;
}

.menu-curso ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    width: 100%;
}

.menu-curso ul li .icon {
    margin-right: 10px;
}

.menu-curso ul li .text {
    display: none;
    white-space: nowrap;
}

.menu-curso:hover .text, .menu-curso.active .text {
    display: inline;
}



/* Pagina Duvidas */

.faq-compact .accordion-item {
   background: #fff;
   border: 1px solid #e9edf5;
}

.faq-compact .faq-btn {
   padding: 18px 50px 18px 20px;
   font-size: 20px;
   font-weight: 600;
   color: #1f2a60;
   background: #fff;
   box-shadow: none;
   position: relative;
}

.faq-compact .faq-btn:not(.collapsed) {
   color: #1f2a60;
   background: #fff;
   box-shadow: none;
}

.faq-compact .faq-btn:focus {
   box-shadow: none;
   border-color: transparent;
}

.faq-compact .faq-body {
   padding: 0 20px 20px 20px;
   font-size: 16px;
   line-height: 1.7;
   color: #4a5678;
}

.faq-compact .accordion-button::after {
   content: "+";
   background-image: none !important;
   width: 24px;
   height: 24px;
   font-size: 20px;
   font-weight: 500;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #1f2a60;
   transform: none !important;
   position: absolute;
   right: 18px;
}

.faq-compact .accordion-button:not(.collapsed)::after {
   content: "-";
   font-size: 20px;
}

@media (max-width: 991.98px) {
   .faq-compact .faq-btn {
      font-size: 17px;
      padding: 16px 44px 16px 16px;
   }

   .faq-compact .faq-body {
      padding: 0 16px 16px 16px;
      font-size: 15px;
   }

   .faq-compact .accordion-button::after {
      right: 14px;
      width: 20px;
      height: 20px;
      font-size: 18px;
   }
}


/* Carrinho */

.cert-page {
  padding: 32px 0 56px;
}

.cert-header {

  margin-bottom: 24px;
}

.cert-title {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  font-weight: 800;
  color: #1F2559;
  margin-bottom: 8px;
}

.cert-subtitle {
  color: #5f6782;
  margin-bottom: 0;
}

.cert-alert {
  margin-top: 16px;
  background: #fff8e6;
  border: 1px solid #ffe7a3;
  border-radius: 16px;
  padding: 16px 18px;
}

.cert-alert ul {
  margin: 0;
  padding-left: 18px;
}

.cert-alert li {
  color: #7a5b00;
  margin-bottom: 6px;
}

.cert-alert li:last-child {
  margin-bottom: 0;
}

.cert-steps {
  margin-top: 20px;
}

.cert-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.cert-card {
  background: #fff;
  border: 1px solid #e9ecf5;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(31, 37, 89, 0.06);
  overflow: hidden;
}

.cert-card-body {
  padding: 20px;
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course-select-box .form-select {
  height: 60px;
  border-radius: 16px;
  border: 1px solid #cfd7ff;
  color: #1F2559;
  font-weight: 600;
  padding-top: 1.65rem;
  padding-bottom: .45rem;
}

.course-select-box label {
  color: #1F2559;
  font-weight: 700;
  font-size: .85rem;
  padding-top: .75rem;
}

.course-select-box .form-select:focus {
  border-color: #8F98FD;
  box-shadow: 0 0 0 .25rem rgba(143, 152, 253, .18);
}

.course-item {
  border: 1px solid #e8ecf5;
  border-radius: 20px;
  padding: 16px;
  transition: all 0.2s ease;
  background: #fff;
}

.course-item:hover {
  border-color: #cfd7ff;
  box-shadow: 0 8px 24px rgba(143, 152, 253, 0.10);
}

.course-item.active {
  border-color: #8F98FD;
  box-shadow: 0 8px 24px rgba(143, 152, 253, 0.18);
  transform: scale(1.01);
  background: #f8f9ff;
}

.course-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.course-switch {
  padding-top: 10px;
}

.course-thumb {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  border: 1px solid #edf0f7;
}

.course-content {
  flex: 1;
  min-width: 0;
}

.course-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1F2559;
  margin-bottom: 8px;
  line-height: 1.4;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.course-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 14px;
  align-items: end;
}

.course-price {
  text-align: right;
}

.course-price-label {
  display: block;
  font-size: 0.75rem;
  color: #7a829c;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.course-price-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1F2559;
  line-height: 1;
}

.summary-card {
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid #e9ecf5;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(31, 37, 89, 0.08);
}

.summary-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1F2559;
  margin-bottom: 18px;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #edf0f7;
  color: #4d5675;
}

.summary-line.total {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1F2559;
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-help {
  font-size: 0.92rem;
  color: #6f7894;
  margin: 16px 0 18px;
}

.btn-checkout {
  background: linear-gradient(135deg, #8F98FD 0%, #6F7DFF 100%);
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 16px;
  min-height: 52px;
  box-shadow: 0 12px 24px rgba(111, 125, 255, 0.25);
}

.btn-checkout:hover {
  color: #fff;
   box-shadow: 0 16px 28px rgba(111, 125, 255, 0.35);
}

.form-check-input.indigo {
  width: 3rem;
  height: 1.6rem;
  cursor: pointer;
}

.form-check-input.indigo:checked {
  background-color: #8F98FD;
  border-color: #8F98FD;
}

.empty-cart {
  text-align: center;
  padding: 40px 20px;
  color: #6f7894;
}

@media (max-width: 991.98px) {
  .cert-main {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }
}

@media (max-width: 767.98px) {

  .course-top {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 10px;
    align-items: center;
  }

  .course-switch {
    grid-column: 1;
    grid-row: 1;
    width: auto;
  }

  .course-thumb {
    width: 45px;
    height: 45px;
    grid-column: 1;
    grid-row: 2;
  }

  .course-content {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .course-title {
    font-size: 0.95rem;
  }

  /* SELECT + VALOR lado a lado */
  .course-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
  }

  .course-select-box .form-select {
    height: 52px;
    font-size: 0.9rem;
  }

  .course-price {
    text-align: right;
  }

  .course-price-value {
    font-size: 1rem;
  }
}

/* Revisar Dados */

.review-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 24px;
  align-items: start;
}

.review-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-right {
  position: sticky;
  top: 24px;
}

.review-summary {
  position: static;
}

#revisar-dados .form-control,
#revisar-dados .form-select {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #dfe4f3;
}

#revisar-dados .form-control:focus,
#revisar-dados .form-select:focus {
  border-color: #8F98FD;
  box-shadow: 0 0 0 .25rem rgba(143, 152, 253, .16);
}

#revisar-dados .form-label {
  font-weight: 700;
  color: #1F2559;
  margin-bottom: 6px;
}

@media (max-width: 991.98px) {
  .review-main {
    grid-template-columns: 1fr;
  }

  .review-right {
    position: static;
  }
}

/* Pagamento */

.payment-card {
  overflow: visible;
}

.payment-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option {
  border: 1px solid #e3e7f5;
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all .2s ease;
}

.payment-option:hover,
.payment-option.active {
  border-color: #8F98FD;
  background: #f8f9ff;
  box-shadow: 0 8px 22px rgba(143, 152, 253, .14);
}

.payment-option div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1F2559;
}

.payment-option img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.payment-list {
  color: #5f6782;
  padding-left: 18px;
  margin-bottom: 18px;
}

.payment-list li {
  margin-bottom: 6px;
}

.coupon-box .form-control {
  min-height: 48px;
  border-radius: 14px 0 0 14px;
  border: 1px solid #dfe4f3;
}

.coupon-box .btn {
  border-radius: 0 14px 14px 0;
  min-height: 48px;
}

.payment-card .form-control,
.payment-card .form-select {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #dfe4f3;
}

.payment-card .form-control:focus,
.payment-card .form-select:focus {
  border-color: #8F98FD;
  box-shadow: 0 0 0 .25rem rgba(143, 152, 253, .16);
}

.payment-card .form-label {
  font-weight: 700;
  color: #1F2559;
  margin-bottom: 6px;
}

@media (max-width: 767.98px) {
  .payment-option {
    align-items: flex-start;
    flex-direction: column;
  }

  .coupon-box .input-group {
    flex-wrap: nowrap;
  }
}

/* Coluna Cursos */

.popular-courses-section {
  padding: 36px 0 48px;
}

.popular-header {
  text-align: center;
  margin-bottom: 26px;
}

.popular-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f0f2ff;
  color: #8F98FD;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.popular-header h2 {
  color: #1F2559;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 900;
  margin-bottom: 6px;
}

.popular-header p {
  color: #68708d;
  margin-bottom: 0;
}

.popular-course-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8ecf5;
  border-radius: 22px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(31, 37, 89, 0.06);
  transition: all .2s ease;
  overflow: hidden;
}

.popular-course-card:hover {
  transform: translateY(-4px);
  border-color: #8F98FD;
  box-shadow: 0 16px 34px rgba(143, 152, 253, 0.18);
}

.popular-free-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  background: #8F98FD;
  color: #fff;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: .72rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(143, 152, 253, .28);
}

.popular-course-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #f4f6ff;
}

.popular-course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.popular-course-card:hover .popular-course-img img {
  transform: scale(1.05);
}

.popular-course-content {
  padding: 12px 4px 8px;
}

.popular-rating {
  min-height: 22px;
  margin-bottom: 6px;
  color: #F6B800;
}

.texto-duracao {
  color: #6D6D6D;

}


.popular-course-title {
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.35;
  color: #1F2559;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-course-footer {
  margin-top: auto;
  padding: 4px;
}

.popular-duration {
  display: block;
  font-size: .78rem;
  color: #5f6782;
  margin-bottom: 10px;
}

.popular-btn {
  border-radius: 999px;
  min-height: 42px;
  font-size: .88rem;
}

@media (max-width: 767.98px) {
  .popular-courses-section {
    padding: 28px 0 38px;
  }

  .popular-course-card {
    border-radius: 18px;
    padding: 8px;
  }

  .popular-course-img {
    border-radius: 14px;
  }

  .popular-free-badge {
    top: 14px;
    right: 14px;
    font-size: .68rem;
    padding: 4px 9px;
  }

  .popular-course-title {
    font-size: .86rem;
  }

  .popular-duration {
    font-size: .72rem;
  }

  .popular-btn {
    min-height: 38px;
    font-size: .8rem;
  }
}

/* Mostrar Cursos */

.courses-page-section {
  padding: 32px 0 56px;
}

.mobile-category-filter {
  margin-bottom: 18px;
}

.mobile-category-filter .form-select {
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid #dfe4f3;
  color: #1F2559;
  font-weight: 700;
}

.mobile-category-filter .form-select:focus {
  border-color: #8F98FD;
  box-shadow: 0 0 0 .25rem rgba(143, 152, 253, .16);
}

.mobile-category-filter label {
  color: #68708d;
  font-weight: 700;
}

.course-sidebar {
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid #e8ecf5;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(31, 37, 89, 0.06);
}

.course-sidebar-header {
  margin-bottom: 16px;
}

.course-sidebar-header h3 {
  color: #1F2559;
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 2px;
}

.course-sidebar-header span {
  color: #68708d;
  font-size: .85rem;
}

.categorias {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categoria {
  border: 1px solid #eef1f8;
  border-radius: 18px;
  padding: 10px;
  margin-bottom: 10px;
  transition: all .2s ease;
  background: #fff;
}

.categoria:hover,
.categoria.active {
  border-color: #8F98FD;
  background: #f8f9ff;
  box-shadow: 0 8px 20px rgba(143, 152, 253, .12);
}

.categoria-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.categoria-topo a {
  color: #1F2559;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.3;
}

.categoria-topo .badge {
  background: #eef0ff;
  color: #8F98FD;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  padding: 5px 8px;
  white-space: nowrap;
}

.subcategorias {
  list-style: none;
  margin: 10px 0 0;
  padding: 8px 0 0 10px;
  border-top: 1px solid #eef1f8;
}

.subcategoria {
  margin-bottom: 6px;
}

.subcategoria:last-child {
  margin-bottom: 0;
}

.subcategoria a {
  display: block;
  color: #68708d;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 12px;
}

.subcategoria a:hover,
.subcategoria.active a {
  background: #eef0ff;
  color: #1F2559;
}

.courses-list-header {
  padding: 18px 20px;
  margin-bottom: 10px;
}

.courses-eyebrow {
  display: block;
  color: #8F98FD;
  font-weight: 900;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.courses-list-header h2 {
  color: #1F2559;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 900;
  margin: 0;
}

.load-more-box {
  text-align: center;
  margin-top: 24px;
}

.load-more-box .btn {
  border-radius: 18px;
  padding-left: 28px;
  padding-right: 28px;
}

@media (max-width: 767.98px) {
  .courses-page-section {
    padding: 18px 0 42px;
  }

  .courses-list-header {
    padding: 16px;
    border-radius: 20px;
  }

  .load-more-box .btn {
    width: 100%;
  }
}

.category-mobile-trigger {
  width: 100%;
  min-height: 62px;
  border: 1px solid #dfe4f3;
  background: #fff;
  border-radius: 18px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: #1F2559;
  box-shadow: 0 10px 26px rgba(31, 37, 89, .06);
}

.category-mobile-trigger small {
  display: block;
  color: #68708d;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.category-mobile-trigger b {
  font-size: .98rem;
  font-weight: 900;
}

.category-mobile-trigger i {
  color: #8F98FD;
  font-size: 1.2rem;
}

.category-offcanvas {
  height: 88vh !important;
  border-radius: 24px 24px 0 0;
  border: 0;
}

.category-offcanvas .offcanvas-header {
  border-bottom: 1px solid #eef1f8;
  padding: 18px 18px 14px;
}

.category-offcanvas .offcanvas-title {
  color: #1F2559;
  font-weight: 900;
}

.category-offcanvas .offcanvas-body {
  padding: 12px;
  overflow-y: auto;
}

.category-filter-item {
  min-height: 58px;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
  color: #1F2559;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-filter-item.active {
  background: #eef0ff;
  color: #2f49ff;
}

.category-filter-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-filter-img,
.category-filter-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.category-filter-icon {
  background: #eef0ff;
  color: #2f49ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-filter-info strong {
  display: block;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.2;
}

.category-filter-info span {
  display: block;
  color: #7580a0;
  font-size: .75rem;
  font-weight: 600;
  margin-top: 2px;
}

.category-filter-item > i {
  color: #5f6782;
}

.category-filter-sub {
  padding: 0 0 8px 54px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-filter-sub a {
  color: #68708d;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 10px;
}

.category-filter-sub a.active,
.category-filter-sub a:hover {
  background: #f0f2ff;
  color: #1F2559;
}

/* Cursos */

.course-seo-page {
  background: #f5f7ff;
  color: #1F2559;
}

.course-seo-page {
  margin-top: -36px;
  position: relative;
  z-index: 1;
}

.course-seo-hero {
  position: relative;
  padding: 42px 0;
  overflow: hidden;
}

.course-seo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.04);
}

.course-seo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(31, 37, 89, .92), rgba(31, 37, 89, .72)),
    radial-gradient(circle at center, rgba(0,0,0,.20), rgba(0,0,0,.55));
}

/* TABLET */
@media (max-width: 991.98px) {
  .course-seo-page {
    margin-top: -35px;
  }
}

/* MOBILE */
@media (max-width: 767.98px) {
  .course-seo-page {
    margin-top: -10; /* ?? remove o overlap */
  }

}

.course-seo-bg {
  filter: blur(5px) brightness(.55);
  transform: scale(1.06);
}

.course-seo-hero .container {
  position: relative;
  z-index: 2;
}

.course-seo-hero-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: center;
}

.course-seo-cover {
  position: relative;
  height: 430px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

.course-seo-cover img {
  width: 100%!important;
  height: 100%!important;
  object-fit: cover!important;
}

.course-share-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 14px 16px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
}

.course-share-card span {
  font-weight: 900;
  font-size: 12px;
}

.course-share-buttons {
  display: flex;
  gap: 8px;
}

.course-share-buttons a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.course-share-buttons a:hover {
  background: #8F98FD;
  color: #fff;
}

.course-seo-badge,
.course-seo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
  padding-top: 10px;
}

.course-seo-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: #fff;
  color: #1F2559;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .78rem;
}

.course-seo-eyebrow {
  color: #8F98FD;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .82rem;
  margin-bottom: 14px;
}

.course-seo-hero-content h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 950;
  line-height: 1.08;
  margin-bottom: 18px;
}

.course-seo-hero-content p {
  color: rgba(255,255,255,.86);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 860px;
  margin-bottom: 20px;
}

.course-seo-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.course-seo-rating a {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: #F6B800;
  border-radius: 14px;
  padding: 9px 13px;
  text-decoration: none;
}

.course-seo-rating a:hover {
  color: #FFDD75;
}

/* remove o estilo de botão apenas do (5.00) */
.course-seo-rating a .texto-duracao {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin-left: 6px;
  color: #fff !important;
  font-weight: 600;
}

/* mantém o botão das estrelas normal */
.course-seo-rating a {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* opcional - melhora alinhamento */
.course-review {
  display: flex;
  align-items: center;
}

.course-seo-rating span {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  border-radius: 14px;
  padding: 9px 13px;
  text-decoration: none;
}

.course-seo-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.course-seo-info-item {
  position: relative;
  display: flex;
  align-items: center;

  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;

  padding: 18px 56px 18px 18px;
}

.info-icon {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: #fff;
}

.info-icon i {
  filter: drop-shadow(0 6px 12px rgba(143,152,253,.4));
}

@media (max-width: 991.98px) {
  .info-icon {
    font-size: 24px;
    right: 14px;
  }
}

@media (max-width: 767.98px) {
  .course-seo-info-item {
    padding-right: 50px;
  }

  .info-icon {
    font-size: 30px;
    right: 30px;
  }
}

.info-content small {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.info-content strong {
  display: block;
  color: #fff;
  font-size: .95rem;
  font-weight: 900;
  line-height: 1.35;
}

@media (max-width: 991.98px) {
  .course-seo-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .course-seo-info-grid {
    grid-template-columns: 1fr;
  }
}

.course-seo-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

/* ?? botão principal cresce */
.btn-primary-fluid {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* botão secundário tamanho automático */
.course-outline-btn {
  white-space: nowrap;
}

.course-outline-btn {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: rgba(255,255,255,.08);
  font-weight: 900;
}

.course-outline-btn:hover {
  background: #fff;
  color: #1F2559;
}

.course-seo-main {
  padding: 36px 0 80px;
}

.course-seo-tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e8ecf5;
  border-radius: 22px;
  padding: 10px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(31, 37, 89, .05);
}

@media (max-width: 767.98px) {
  .course-seo-tabs {
    margin-left: -12px;
    margin-right: -12px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 8px 12px;
    margin-bottom: 18px;
  }

  .course-seo-tabs button {
    border-radius: 12px;
  }
}


.course-seo-tabs button {
  border: 0;
  background: transparent;
  color: #5f6782;
  font-weight: 900;
  border-radius: 14px;
  padding: 10px 14px;
  white-space: nowrap;
}

.course-seo-tabs button.active,
.course-seo-tabs button:hover {
  background: #eef0ff;
  color: #1F2559;
}

.course-seo-card,
.course-side-card {
  background: #fff;
  border: 1px solid #e8ecf5;
  border-radius: 26px;
  padding: 26px;
  margin-bottom: 22px;
  box-shadow: 0 12px 34px rgba(31, 37, 89, .06);
}

.course-seo-card h2,
.course-side-card h2 {
  color: #111827;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 950;
  margin-bottom: 18px;
}

.course-seo-card h2::after,
.course-side-card h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  background: #6F7DFF;
  border-radius: 99px;
  margin-top: 10px;
}

.course-seo-card h3 {
  color: #1F2559;
  font-size: 1.08rem;
  font-weight: 900;
  margin-top: 20px;
  margin-bottom: 8px;
}

.course-seo-card p,
.course-seo-card li {
  color: #3d465f;
  font-size: 1rem;
  line-height: 1.85;
}

.course-modules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-module-item {
  background: #f8f9ff;
  border: 1px solid #e8ecf5;
  border-radius: 18px;
  padding: 16px 18px;
  transition: all .2s ease;
}

.course-module-item:hover {
  transform: translateY(-2px);
  border-color: #8F98FD;
  box-shadow: 0 8px 20px rgba(143,152,253,.15);
}

.module-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.module-number {
  width: 36px;
  height: 36px;
  min-width: 36px;

  border-radius: 10px;
  background: linear-gradient(135deg, #8F98FD, #6F7DFF);

  color: #fff;
  font-weight: 900;
  font-size: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.module-title h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #1F2559;
  margin: 0;
}

/* ITEM */
.course-seo-accordion .accordion-item {
  border-radius: 12px !important;
  overflow: hidden !important;
  margin-bottom: 5px;
  border-top: 1px solid #e8ecf5!important;
}

/* HEADER */
.course-seo-accordion .accordion-header {
  margin: 0 !important;
  padding: 0 !important;
}

/* BOTÃO (resolve TUDO) */
.course-seo-accordion .accordion-button {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;

  padding: 16px 40px 16px 14px !important; /* ?? menor */
  min-height: 36px !important; /* ?? reduz altura */

  font-size: 13.5px !important;
  font-weight: 700 !important;

  background: #fff !important;
  color: #1f2a60 !important;

  border: 0 !important;
  box-shadow: none !important;
}

/* HOVER AGORA PEGA 100% */
.course-seo-accordion .accordion-button:hover {
  background: #f4f5ff !important;
}

/* ATIVO (ROXO TOTAL) */
.course-seo-accordion .accordion-button:not(.collapsed) {
  background: #8F98FD !important;
  color: #fff !important;
}

/* SETA */
.course-seo-accordion .accordion-button::after {
  margin-left: auto !important;
  width: 12px !important;
  height: 12px !important;
  background-size: 12px !important;
}

.course-seo-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.course-cert-preview {
  display: block;
}

.course-cert-preview img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid #e8ecf5;
  box-shadow: 0 10px 24px rgba(31, 37, 89, .08);
}

.course-review-card {
  height: 100%;
  background: #f8f9ff;
  border: 1px solid #e8ecf5;
  border-radius: 20px;
  padding: 18px;
}

.course-review-card h3 {
  margin-top: 0;
}

.course-review-stars {
  color: #f5a400;
  margin-bottom: 8px;
}

.course-seo-sidebar {
  position: sticky;
  top: 24px;
}

.course-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-side-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef1f8;
}

.course-side-list span {
  color: #68708d;
  font-weight: 700;
}

.course-side-list strong {
  color: #1F2559;
  text-align: right;
}

.course-side-card .form-control {
  min-height: 52px;
  border-radius: 16px 0 0 16px;
  border: 1px solid #dfe4f3;
}

.course-side-card .btn {
  border-radius: 0 16px 16px 0;
}

.course-share-buttons {
  display: flex;
  gap: 8px;
}

.course-share-buttons a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eef0ff;
  color: #6F7DFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.course-share-buttons a:hover {
  background: #6F7DFF;
  color: #fff;
}

@media (max-width: 991.98px) {
  .course-seo-hero-grid {
    grid-template-columns: 1fr;
  }

  .course-seo-cover {
    height: 320px;
  }

  .course-seo-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-seo-sidebar {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .course-seo-hero {
    padding: 22px 0;
  }

  .course-seo-cover {
    height: 240px;
    border-radius: 22px;
  }

  .course-seo-hero-content h1 {
    font-size: 1.9rem;
  }

  .course-seo-info-grid {
    grid-template-columns: 1fr;
  }

  .course-seo-actions .btn {
    width: 100%;
  }

  .course-seo-card,
  .course-side-card {
    padding: 20px;
    border-radius: 22px;
  }

  .course-seo-tabs {
    scrollbar-width: none;
  }

  .course-seo-tabs::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 576px) {
  .course-seo-actions {
    flex-direction: column;
  }

  .btn-primary-fluid {
    width: 100%;
  }
}



/* Modulos Cursos */

.pagina-conteudo-curso {
  padding: 0px;
}

/* SIDEBAR */
.barra-modulos {
  background: #fff;
  border: 1px solid #e8ecf5;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(31, 37, 89, 0.06);
}

.topo-modulos {
  padding: 20px;
  border-bottom: 1px solid #eef2fa;
}

.titulo-modulos {
  margin: 0;
  color: #1F2559;
  font-size: 1.15rem;
  font-weight: 900;
}

/* LISTA */
.lista-modulos-curso {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item-modulo-curso {
  list-style: none;
}

.link-modulo-curso {
  width: 100%;
  min-height: 62px;
  border-radius: 18px;
  border: 1px solid #e8ecf5;
  background: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1F2559;
  text-decoration: none;
  font-weight: 800;
  transition: .22s ease;
  box-shadow: 0 6px 18px rgba(31, 37, 89, 0.04);
}

.link-modulo-curso:hover,
.link-modulo-curso.active {
  color: #fff !important;
  background: linear-gradient(135deg, #8F98FD 0%, #6F7DFF 100%) !important;
  border-color: #8F98FD !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(111, 125, 255, 0.24);
}

.link-modulo-curso i {
  width: 18px;
  text-align: center;
  color: #8F98FD;
  font-size: 1rem;
  transition: .22s ease;
}

.link-modulo-curso:hover i,
.link-modulo-curso.active i {
  color: #fff !important;
}

.item-modulo-curso.ativo-modulo .link-modulo-curso {
  background: linear-gradient(135deg, #8F98FD 0%, #6F7DFF 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 28px rgba(111, 125, 255, 0.28);
}

.item-modulo-curso.ativo-modulo .link-modulo-curso i {
  color: #fff;
}

.item-modulo-curso.modulo-concluido .link-modulo-curso {
  border-color: rgba(82, 196, 26, 0.28);
  background: rgba(82, 196, 26, 0.06);
}

.item-modulo-curso.active .link-modulo-curso {
  background: linear-gradient(135deg, #8F98FD 0%, #6F7DFF 100%) !important;
  border-color: #8F98FD !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(111, 125, 255, 0.24);
}

.item-modulo-curso.active .link-modulo-curso i {
  color: #fff !important;
}

/* ÍCONE DE CHECK */
.item-modulo-curso.active .link-modulo-curso::after {
  content: "\f00c";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  color: #fff;
  margin-left: auto;
  font-size: .9rem;
}

.offcanvas-modulos-curso.offcanvas-bottom {
  height: 92vh !important;
  max-height: 92vh !important;
  border: 0;
  border-radius: 26px 26px 0 0;
  background: #f5f7ff;
  box-shadow: 0 -10px 40px rgba(31, 37, 89, 0.12);
}

.offcanvas-modulos-curso .offcanvas-body {
  padding: 16px;
  overflow-y: auto;
}

/* CONTEÚDO */
.card-conteudo-curso {
  background: #fff;
  border: 1px solid #e8ecf5;
  border-radius: 28px;
  min-height: 500px;
  box-shadow: 0 10px 30px rgba(31, 37, 89, 0.06);
  overflow: hidden;
}

.corpo-conteudo-curso {
  padding: 24px;
}

/* BOTÃO MOBILE */
.botao-modulos-mobile {
  width: 100%;
  min-height: 78px;
  border: 1px solid #dfe4f3;
  background: #fff;
  border-radius: 22px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 10px 30px rgba(31, 37, 89, 0.06);
}

.botao-modulos-mobile-info {
  display: flex;
  flex-direction: column;
}

.botao-modulos-mobile-info small {
  font-size: .76rem;
  font-weight: 700;
  color: #7f89b7;
  margin-bottom: 6px;
}

.botao-modulos-mobile-info strong {
  font-size: 1.05rem;
  font-weight: 900;
  color: #1F2559;
  line-height: 1.2;
}

.botao-modulos-mobile-icone {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(143, 152, 253, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8F98FD;
  font-size: 1.1rem;
}

/* OFFCANVAS */
.offcanvas-modulos-curso.offcanvas-bottom {
  height: auto;
  max-height: 88vh;
  border: 0;
  border-radius: 26px 26px 0 0;
  background: #f5f7ff;
  box-shadow: 0 -10px 40px rgba(31, 37, 89, 0.12);
}

.offcanvas-modulos-curso .offcanvas-header {
  padding: 18px 18px 10px;
  border-bottom: 1px solid #e8ecf5;
  position: relative;
}

.offcanvas-modulos-curso .offcanvas-header::before {
  content: "";
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: #d6dcf3;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.offcanvas-modulos-curso .offcanvas-title {
  color: #1F2559;
  font-size: 1.15rem;
  font-weight: 900;
  margin-top: 10px;
}

.offcanvas-modulos-curso .offcanvas-body {
  padding: 16px;
}

@media (max-width: 767px) {

  .pagina-conteudo-curso {
    padding-top: 14px;
  }

  .card-conteudo-curso {
    border-radius: 22px;
    min-height: auto;
  }

}

@media (max-width: 767px) {

  .corpo-conteudo-curso {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 15px;
  }

  .corpo-conteudo-curso table,
  .corpo-conteudo-curso iframe,
  .corpo-conteudo-curso video,
  .corpo-conteudo-curso pre,
  .corpo-conteudo-curso code {
    max-width: none !important;
  }

  .corpo-conteudo-curso img {
    max-width: 100%;
    height: auto;
  }
}