/*
 * LP Curso — layout centralizado (fundo padrão do LiveClass, topbar amarela, destaque magenta, vídeo + CTA)
 */

:root {
  --lp-curso-bg: #18161b;
  --lp-curso-gold: #ffd954;
  --lp-curso-accent: #ff006e;
  --lp-curso-media-max: 800px;
}

/* Honeypot (anti-bot): fora da tela, humanos não veem */
.lp-honeypot-wrap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body:has(.lp-curso-page) {
  background-color: var(--lp-curso-bg) !important;
  background-image: none !important;
}

.lp-curso-page {
  color: #fff;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.lp-curso-topbar {
  width: 100%;
  background-color: var(--green-light);
  color: #18161b;
  text-align: center;
  font-size: clamp(0.95rem, 2.2vw, 1.125rem);
  font-weight: 700;
  line-height: 1.4;
  padding: 0.85rem 1.25rem;
  letter-spacing: 0.02em;
}

.lp-curso-landing {
  margin-top: 0 !important;
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.lp-curso-landing .lp-curso-inner {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-curso-landing .landing-page__title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2rem, 5.8vw, 3.35rem);
  line-height: 1.12;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.lp-curso-accent {
  color: var(--green-light);
}

.lp-curso-landing .landing-page__description {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  line-height: 1.55;
  margin: 0 0 1.75rem;
  text-wrap: balance;
}

.lp-curso-arrow {
  color: var(--green-light);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  animation: lp-curso-bob 2s ease-in-out infinite;
}

@keyframes lp-curso-bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-curso-arrow {
    animation: none;
  }
}

.lp-curso-media {
  width: 100%;
  max-width: var(--lp-curso-media-max);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
}

/* Sobrescreve vitrine: card à direita / absolute */
.lp-curso-page .offer,
.lp-curso-page .offer.lp-curso-offer {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: none;
  background: transparent;
  border-radius: 12px;
  overflow: visible;
}

.lp-curso-page .offer__header {
  position: relative;
  border: 4px solid var(--green-light);
  border-radius: 12px;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

.lp-curso-page .offer__cover {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.lp-curso-page .offer__cover.has-video {
  opacity: 1;
}

/* Cobre só a área da thumb e centraliza o play (evita offset do cálculo 50% + caixa fixa) */
.lp-curso-page .offer__video {
  position: absolute !important;
  inset: 0;
  width: auto !important;
  height: auto !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  transform: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lp-curso-page .offer__video .offer__play {
  pointer-events: auto;
  cursor: pointer;
}

.lp-curso-page .offer__play {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  line-height: 1;
  color: var(--green-light);
  padding-left: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
  filter: drop-shadow(0 4px 18px var(--green-light));
  transition: transform 0.2s ease, filter 0.2s ease;
  border-radius: 50%;
}

.lp-curso-page .offer__play:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 6px 26px rgba(255, 0, 51, 0.32));
}

.lp-curso-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding: 0 30px;
  background-color: var(--green-light);
  color: #18161b !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  text-transform: uppercase;
  border-radius: 10px;
  border: none;
  box-sizing: border-box;
  transition: 0.3s ease;
  transition-property: transform, box-shadow, opacity;
}

.lp-curso-cta:hover {
  color: #18161b !important;
  box-shadow: 0 15px 30px -15px #424547;
  transform: translateY(-2px);
}

.lp-curso-cta:focus-visible {
  box-shadow: 0 15px 30px -15px #424547;
  transform: translateY(-2px);
  outline: none;
}

.lp-curso-cta:active {
  transform: translateY(0);
}

.lp-curso-cta > [class*="ri-"] {
  margin-right: 9px;
  font-size: 20px;
}

/* 768px em rem */
@media (min-width: 48rem) {
  .lp-curso-page .offer__play {
    width: 180px;
    height: 180px;
    font-size: 7rem;
    padding-left: 17px;
  }
}

/* Footer legível sobre fundo escuro da página */
body:has(.lp-curso-page) .main-footer {
  margin-top: 2rem !important;
}

/*
Body — scrollbar (mantido)
*/

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

/*
Continue assistindo (sem thumbnail)
*/

.main-course-modules .main-keep-watching.main-keep-watching--text {
  height: 100%;
}

.main-course-modules .main-keep-watching__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  min-height: 168px;
  padding: 1rem 1.1rem;
  border-radius: 15px;
  border: 1px solid var(--dark-cards, #1f2225);
  background: var(--dark-primary, #18161b);
  text-decoration: none;
  color: var(--gray-font-light, #e8e8e8);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.main-course-modules .main-keep-watching__card:hover {
  border-color: var(--green-light, #09e3a6);
  color: var(--gray-font-light, #e8e8e8);
  transform: translateY(-2px);
}

.main-course-modules .main-keep-watching__module {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.main-course-modules .main-keep-watching__module-icon {
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-top: 0.04em;
  opacity: 0.88;
}

.main-course-modules .main-keep-watching__module-text {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.main-course-modules .main-keep-watching__title {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.75rem 0;
  color: var(--gray-font-light, #f0f0f0);
  flex: 1 1 auto;
}

.main-course-modules .main-keep-watching__title-play {
  flex-shrink: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  margin-top: 0.22em;
  opacity: 0.42;
  color: var(--gray-font-regular, #9a9c9e);
}

.main-course-modules .main-keep-watching__title-text {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.main-course-modules .main-keep-watching__footer {
  margin-top: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.main-course-modules .main-keep-watching__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--green-light, #09e3a6);
  color: var(--dark-primary, #18161b);
}

.main-course-modules .main-keep-watching__cta-icon {
  font-size: 1.1rem;
}

.main-course-modules .main-keep-watching__progress-slot {
  flex-shrink: 0;
  min-height: 1.125rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.main-course-modules .main-keep-watching__progress-slot--empty {
  pointer-events: none;
}

.main-course-modules .main-keep-watching__progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.main-course-modules .main-keep-watching__progress-track {
  flex: 1 1 auto;
  height: 4px;
  margin: 0;
  background: var(--dark-cards, #2a2d31);
  border-radius: 4px;
  overflow: hidden;
}

.main-course-modules .main-keep-watching__progress-bar {
  background: var(--green-light, #09e3a6);
  border-radius: 4px;
}

.main-course-modules .main-keep-watching__meta {
  flex: 0 0 auto;
  font-size: 0.72rem;
  color: var(--gray-font-regular, #9a9c9e);
  white-space: nowrap;
}

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

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

.main-course-modules .owl-keep-watching .owl-item {
  display: flex;
}

.main-course-modules .owl-keep-watching .owl-item > .main-keep-watching {
  width: 100%;
}

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

  .modal-unlock-access.modal-trailer {
    width: 480px !important;
    max-width: 92% !important;
  }
}

.modal-unlock-access .btn.btn-course {
  position: static !important;
  bottom: auto !important;
  width: 100% !important;
}

.modal-unlock-access .modal-unlock-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding: 0 30px;
  background-color: var(--green-light);
  color: #18161b !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  text-transform: uppercase;
  border-radius: 10px;
  border: none;
  box-sizing: border-box;
  transition: 0.3s ease;
  transition-property: transform, box-shadow, opacity;
  margin-top: 1rem;
}

.modal-unlock-access .modal-unlock-button:hover {
  color: #18161b !important;
  box-shadow: 0 15px 30px -15px #424547;
  transform: translateY(-2px);
}

.modal-unlock-access .modal-unlock-button:focus-visible {
  box-shadow: 0 15px 30px -15px #424547;
  transform: translateY(-2px);
  outline: none;
}

.modal-unlock-access .modal-unlock-button:active {
  transform: translateY(0);
}

.modal-unlock-access .modal-unlock-button > [class*="ri-"] {
  margin-right: 9px;
  font-size: 20px;
}

/* Se a modal estiver "scrollable", o Bootstrap corta o shadow via overflow:hidden */
.modal-unlock-access .modal-content {
  overflow: visible;
  border-color: var(--bs-border-color-translucent) !important;
}

.modal-unlock-access .modal-body {
  overflow: visible;
}

.modal-unlock-access .modal-header {
  border-color: var(--bs-border-color-translucent) !important;
}

.modal-unlock-access .phone-input-container {
  margin-bottom: 0;
}

.modal-unlock-access .phone-field-wrapper {
  width: 100%;
}

.modal-unlock-access .country-dropdown {
  z-index: 1070;
}

/*
Modal
*/

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

#viewModule {
  z-index: 1050;
}

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

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

/*
 * Alertas (mesmo padrão do admin — trigger_notify + barra de tempo)
 */
:root {
  --wc-notify-green: #46ceac;
  --wc-notify-blue: #4fc0e8;
  --wc-notify-yellow: #fdcd56;
  --wc-notify-red: #eb5463;
}

.trigger_notify_box {
  position: fixed;
  top: 15px;
  right: 0;
  width: 380px;
  max-width: 90%;
  padding-top: 5px;
  padding-right: 15px;
  z-index: 9999999;
  pointer-events: none;
}

.trigger_notify_box .trigger_notify {
  pointer-events: auto;
}

.trigger_notify_timer {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: rgba(0, 0, 0, 0.35);
}

.trigger_notify {
  position: relative;
  padding: 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
  overflow: hidden;
  margin-bottom: 15px;
}

.trigger_notify p {
  margin: 0;
  line-height: 1.45;
}

.trigger_notify p i {
  vertical-align: -0.15em;
  margin-right: 6px;
}

.trigger_notify_blue {
  background-color: var(--wc-notify-blue);
  color: #fff;
}

.trigger_notify_red {
  background-color: var(--wc-notify-red);
  color: #fff;
}

.trigger_notify_green {
  background-color: var(--wc-notify-green);
  color: #fff;
}

.trigger_notify_yellow {
  background-color: var(--wc-notify-yellow);
  color: #18161b;
}