/* =============================================
   Páginas: Agendar Curso / Video Curso
   ============================================= */

/* Oculta elementos do tema que não fazem sentido nessas páginas */
.page-template-page-agendar-curso #Top_bar .column .top_bar_row,
.page-template-page-video-curso #Top_bar .column .top_bar_row {
  justify-content: center;
}
.page-template-page-agendar-curso #Top_bar .column .top_bar_row .top_bar_right,
.page-template-page-video-curso #Top_bar .column .top_bar_row .top_bar_right {
  display: none;
}
.page-template-page-agendar-curso
  #Top_bar
  .column
  .top_bar_row.top_bar_row_second,
.page-template-page-video-curso
  #Top_bar
  .column
  .top_bar_row.top_bar_row_second {
  display: none;
}
.page-template-page-agendar-curso #Subheader,
.page-template-page-video-curso #Subheader {
  padding: 40px 20px !important;
}
.page-template-page-video-curso #Subheader {
  display: none !important;
}
.page-template-page-agendar-curso #Subheader .breadcrumbs,
.page-template-page-video-curso #Subheader .breadcrumbs {
  display: none;
}
/* .page-template-page-agendar-curso footer,
.page-template-page-video-curso footer {
  display: none !important;
} */
.Title_module_headers__13cf4be8 {
  display: none;
}

/* =============================================
   Wrap principal
   ============================================= */

#pm-agendar-wrap {
  background: #818286;
  min-height: 100vh;
  padding: 140px 20px 60px;
}

/* =============================================
   Container de etapa
   ============================================= */

.pm-etapa-container {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

/* .page-template-page-agendar-curso header {
  display: none;
} */

.pm-myaccount-logo {
  display: flex;
  justify-content: center;
}

/* =============================================
   Tipografia
   ============================================= */

.pm-titulo {
  color: #ffffff;
  font-size: 38px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px;
}

.pm-subtitulo {
  color: #ffffff;
  font-size: 16px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 400;
  margin: 0 0 30px;
  line-height: 1.6;
}

.pm-subtitulo strong {
  font-weight: 700;
}

.pm-login-msg {
  color: #ffffff;
  font-size: 20px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  padding-top: 40px;
  text-align: center;
}

.pm-login-msg a {
  color: #ca8f65;
  text-decoration: underline;
}

/* =============================================
   Feedback: loading e erro
   ============================================= */

.pm-loading {
  color: #ca8f65;
  font-size: 16px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 500;
  padding: 20px 0;
  text-align: center;
}

.pm-erro {
  color: #fff;
  font-size: 15px;
  font-family: Montserrat, Arial, sans-serif;
  background: rgba(180, 50, 50, 0.5);
  border-radius: 8px;
  padding: 12px 20px;
  margin: 10px auto 20px;
  max-width: 500px;
  text-align: center;
}

/* =============================================
   Etapa 0: Cards de cursos
   ============================================= */

#cursos-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.pm-curso-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    background 0.2s,
    border-color 0.2s;
  text-align: left;
}

.pm-curso-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ca8f65;
}

.pm-curso-nome {
  color: #ffffff;
  font-size: 17px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
}

.pm-curso-badge {
  background: #9f622f;
  color: #fff;
  font-size: 12px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  margin-left: 12px;
}

/* =============================================
   Etapa 1: Calendário
   ============================================= */

#pm-calendario {
  margin: 0 auto;
  max-width: 540px;
}

.pm-cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  margin-top: 50px;
}

.pm-cal-mes-ano {
  color: #ffffff;
  font-size: 22px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  min-width: 180px;
  text-align: center;
}

.pm-cal-prev,
.pm-cal-next {
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff;
  border-radius: 6px;
  background: transparent;
  color: #ffffff !important;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
  background-color: transparent !important;
  border-color: #ffffff !important;
}

.pm-cal-prev:hover,
.pm-cal-next:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

.pm-cal-grid {
  border-top: 1px solid #e7eaee;
  padding-top: 10px;
  grid-template-columns: repeat(1, 1fr) !important;
}

#pm-agendar-wrap .pm-cal-cabecalho {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
  margin-bottom: 6px;
}

#pm-agendar-wrap .pm-cal-cabecalho span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  font-family: Manrope, Montserrat, Arial, sans-serif;
  font-weight: 300;
  text-align: center;
  padding: 8px 4px;
  min-height: 40px;
  width: auto;
  float: none;
  box-sizing: border-box;
}

#pm-agendar-wrap .pm-cal-dias {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
  gap: 1px;
}

#pm-agendar-wrap .pm-cal-dia {
  /* aspect-ratio: 1; */
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-size: 15px;
  font-family: Manrope, Montserrat, Arial, sans-serif;
  font-weight: 300;
  color: #ffffff;
  transition: background 0.15s;
  float: none;
  width: auto;
  box-sizing: border-box;
}

.pm-cal-vazio {
  background: transparent;
}

.pm-cal-dia--desabilitado {
  color: rgba(255, 255, 255, 0.25);
  cursor: default;
}

.pm-cal-dia--disponivel {
  cursor: pointer;
  font-weight: 300;
  background: #fde8d7;
  color: #9f622f !important;
}

.pm-cal-dia--disponivel:hover {
  background: #f5d4bb;
}

.pm-cal-dia--selecionado {
  background: #9f622f !important;
  color: #ffffff !important;
  font-weight: 700;
}

/* =============================================
   Etapa 2: Pills de horário
   ============================================= */

.pm-data-selecionada {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-family: Montserrat, Arial, sans-serif;
  margin: -20px 0 20px;
  display: none;
}

#horarios-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  margin-top: 40px;
}

.pm-horario-pill {
  padding: 10px 20px;
  border-radius: 93px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 15px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.pm-horario-pill:hover {
  background: rgba(255, 255, 255, 0.15);
}

.pm-horario-pill--selecionado {
  background: #9f622f !important;
  border-color: #9f622f !important;
  color: #ffffff !important;
}

/* =============================================
   Etapa 3: Resumo
   ============================================= */

.pm-resumo {
  background: transparent;
  border: transparent;
  border-radius: 14px;
  padding: 4px 32px 0px 32px;
  max-width: 400px;
  margin: 10px auto 30px;
  text-align: center;
}

.pm-resumo p {
  color: #ffffff !important;
  font-size: 16px !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  margin: 6px 0 !important;
  text-align: center;
}

.pm-resumo-label {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.pm-resumo strong {
  color: #ffffff;
  font-weight: 700;
}

/* =============================================
   Botões
   ============================================= */

.pm-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pm-btn-voltar {
  flex: 1;
  max-width: 200px;
  padding: 10px 18px;
  background: #ffffff !important;
  color: #344054 !important;
  font-size: 16px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  border-radius: 58px;
  border: 1px solid #d0d5dd !important;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}

.pm-btn-voltar:hover {
  background: #f2f2f2 !important;
}

.pm-btn-continuar,
a.pm-btn-continuar {
  flex: 1;
  max-width: 260px;
  padding: 10px 18px;
  background: #9f622f !important;
  color: #ffffff !important;
  font-size: 16px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  border-radius: 58px;
  border: 1px solid #9f622f !important;
  cursor: pointer;
  transition:
    background 0.2s,
    opacity 0.2s;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-btn-continuar:hover,
a.pm-btn-continuar:hover {
  background: #7d4d24 !important;
  border-color: #7d4d24 !important;
}

.pm-btn-continuar:disabled {
  opacity: 0.45;
  cursor: default;
}

/* =============================================
   Mensagem final
   ============================================= */

#mensagem-final .pm-titulo {
  font-size: 30px;
  margin-bottom: 20px;
}

/* =============================================
   Modal: Agendamento confirmado
   ============================================= */

#pm-modal-confirmacao {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.pm-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.pm-modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 26px;
  width: 620px;
  max-width: calc(100vw - 40px);
  padding: 46px 40px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pm-modal-fechar {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 22px;
  color: #575757;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.pm-modal-icone {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-modal-icone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pm-modal-titulo {
  color: #9f622f;
  font-size: 28px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.pm-modal-texto {
  color: #414141;
  font-size: 16px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 400;
  max-width: 421px;
  margin: 0;
  line-height: 1.6;
}

.pm-modal-btn {
  flex: none !important;
  max-width: 252px !important;
  margin-top: 8px;
}

/* =============================================
   Página: Vídeo Curso
   ============================================= */

#pm-video-wrap {
  background: #818286;
  padding: 140px 20px 60px;
}

@media (min-width: 992px) {
  #pm-video-wrap {
    min-height: 100vh;
  }
}

/* Título e header do curso */
.pm-video-header {
  max-width: 900px;
  margin: 0 auto 16px;
}

.pm-video-titulo {
  color: #ffffff;
  font-size: 32px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px;
  text-align: center;
}

/* Player */
.mainDash {
  max-width: 95%;
  margin: 0 auto;
}

.boxVideo {
  width: 100%;
}

.videoMain {
  width: 100%;
  /* padding: 56.25% 0 0; */
  position: relative;
  background: #0b0b0b;
  border-radius: 0px;
  overflow: hidden;
}

.videoMain iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Info extra (dias restantes) */
.pm-video-info-extra {
  margin-top: 16px;
}

.pm-video-dias-restantes {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 400;
  margin: 0;
}

/* Mensagem final após assistir */
.alertaObrigado {
  text-align: center;
  padding-top: 60px;
}

.alertaObrigado h1 {
  color: #ffffff;
  font-size: 38px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
}

/* Alertas de acesso */
.pm-video-alerta {
  max-width: 620px;
  margin: 40px auto;
  text-align: center;
  color: #ffffff;
  font-size: 18px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

.pm-video-alerta a {
  color: #ca8f65;
  text-decoration: underline;
}

/* Responsivo */
@media (max-width: 640px) {
  .pm-video-titulo {
    font-size: 22px;
  }
}

/* =============================================
   Video Curso: boxVideo
   ============================================= */

.page-template-page-agendar-curso .boxVideo,
.page-template-page-video-curso .boxVideo {
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
}

.page-template-page-agendar-curso .boxVideo .videoMain,
.page-template-page-video-curso .boxVideo .videoMain {
  width: 100%;
  height: auto;
}

.page-template-page-agendar-curso .boxVideo .videoMain video,
.page-template-page-video-curso .boxVideo .videoMain video {
  width: 100%;
}

.page-template-page-agendar-curso .boxVideo .videoMain iframe,
.page-template-page-video-curso .boxVideo .videoMain iframe {
  width: 100%;
  height: 100%;
}

.page-template-page-agendar-curso .boxVideo .infoCurso,
.page-template-page-video-curso .boxVideo .infoCurso h1 {
  font-size: 28px !important;
}

.page-template-page-video-curso .boxVideo .infoCurso {
  width: 75%;
}

.page-template-page-video-curso .boxVideo .infoCurso h1 {
  font-size: 38px;
}

/* =============================================
   Listagem de produtos (geral)
   ============================================= */

.tax-product_cat .image_frame .image_wrapper img,
.woocommerce-shop .image_frame .image_wrapper img {
  width: 100px;
}

.woocommerce ul.products li.product a img {
  height: 300px;
  object-fit: cover;
  object-position: center;
}

/* =============================================
   Responsivo
   ============================================= */

@media (max-width: 640px) {
  .pm-titulo {
    font-size: 26px;
  }

  .pm-cal-mes-ano {
    font-size: 18px;
    min-width: 140px;
  }

  .pm-cal-dia {
    font-size: 13px;
  }

  .pm-resumo {
    padding: 18px 20px;
  }

  .pm-btns {
    flex-direction: column;
    align-items: center;
  }

  .pm-btn-voltar,
  .pm-btn-continuar,
  a.pm-btn-continuar {
    max-width: 100%;
    width: 100%;
  }

  .page-template-page-agendar-curso .boxVideo,
  .page-template-page-video-curso .boxVideo {
    flex-wrap: wrap;
    padding: 4px;
  }

  .page-template-page-video-curso .boxVideo .infoCurso {
    width: 100%;
  }
}

.page-template-page-video-curso header {
  display: none;
}
.page-template-page-video-curso .pm-myaccount-logo img {
  width: 105px !important;
  height: 105px !important;
  opacity: 1 !important;
}
