/* ===== Course Page Layout ===== */
.course-page { background: #f8f9fa; min-height: 100vh; }

/* Hero */
.course-hero {
  background: linear-gradient(135deg, #244175 0%, #1a365d 50%, #0a1628 100%);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
.course-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.course-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 1140px;
  margin: 0 auto;
}
.course-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.875rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.75rem;
  backdrop-filter: blur(10px);
}
.course-hero-badge img { height: 14px; width: auto; vertical-align: middle; flex-shrink: 0; }
.course-hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.course-hero h1 span { color: #60a5fa; }
.course-hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

/* Etapa 0  -  Esclarecimento (antes do checklist) */
.prep-intro {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.prep-intro .prep-intro-phase::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1em;
  background: #244175;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.prep-intro-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.prep-intro-text { flex: 1; min-width: 0; }
.prep-intro-phase {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #244175;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.prep-intro-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #244175;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.prep-intro-text p {
  font-size: 0.95rem;
  color: #495057;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}
.prep-intro-text p:last-of-type { margin-bottom: 1.25rem; }
.prep-intro-illus {
  flex: 0 0 320px;
  text-align: center;
}
.prep-intro-illus img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.prep-intro .btn-start-checklist {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #244175 0%, #1a365d 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.prep-intro .btn-start-checklist:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(36,65,117,0.35);
}
@media (max-width: 768px) {
  .prep-intro-inner { flex-direction: column; }
  .prep-intro-illus { flex: none; max-width: 240px; }
}
/* Primeira etapa  -  passo informativo (processo Meta + prazos), duas colunas */
.step-0-informative {
  margin-bottom: 0;
  column-count: 2;
  column-gap: 1.75rem;
  column-fill: balance;
}
@media (max-width: 767px) {
  .step-0-informative { column-count: 1; }
}
.step-0-informative .step-0-para {
  font-size: 0.95rem;
  color: #495057;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  break-inside: avoid;
}
.step-0-informative .step-0-para:last-of-type { margin-bottom: 1rem; }
/* Comece aqui: checkboxes obrigatórios empilhados (item YAML + prazo Meta) */
.step-0-checkboxes-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1.25rem;
}
.step-0-checkboxes-stack .step-checklist.step-intro-checklist {
  margin-bottom: 0;
}
.step-0-checkboxes-stack .step-0-consent {
  margin-bottom: 0;
}

/* Ciência prazos Meta: mesmo “cartão” e checkbox dos .checklist-item da etapa */
.step-0-consent.consent-required-block {
  margin-bottom: 0;
  padding: 0.875rem 1rem;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.step-0-consent.consent-required-block:hover {
  border-color: #adb5bd;
}
.step-0-consent.consent-required-block:has(#consent-meta-prazo:checked) {
  background: #f0f7ff;
  border-color: #0d6efd;
}
.step-0-consent .consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  cursor: pointer;
  user-select: none;
  margin: 0;
}
.step-0-consent .consent-item input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 0.125rem 0.875rem 0 0;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid #adb5bd;
  border-radius: 6px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  box-sizing: border-box;
  vertical-align: middle;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.step-0-consent .consent-item input[type="checkbox"]:hover {
  border-color: #0d6efd;
  background-color: #f0f7ff;
}
.step-0-consent .consent-item input[type="checkbox"]:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}
.step-0-consent .consent-item input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0d6efd;
}
.step-0-consent .consent-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #212529;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
}
.step-0-consent.consent-required-block:has(#consent-meta-prazo:checked) .consent-item span {
  color: #6c757d;
}
.step-0-consent.consent-required-block .consent-item span::before {
  content: '*';
  color: #0d6efd;
  font-weight: 700;
  margin-right: 0.25rem;
  font-size: 0.875rem;
}
.step-0-actions {
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-right: 0;
}
.step-0-actions .step-btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  justify-content: center;
}
.btn-start-checklist {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #244175 0%, #1a365d 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-start-checklist:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(36,65,117,0.35);
}
.course-hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.course-hero-stat {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}
.course-hero-stat i { color: #34d399; }
.course-hero-videos-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.course-hero-videos-link:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
}

/* Step Navigation  -  alinhado à área de conteúdo (1140px) */
.course-steps-nav {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  max-width: 100%;
}
.steps-nav-inner {
  display: flex;
  overflow-x: auto;
  gap: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}
.steps-nav-inner::-webkit-scrollbar { display: none; }
.step-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6c757d;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.step-nav-item:hover { color: #0d6efd; background: #f8f9fa; }
.step-nav-item.active {
  color: #0d6efd;
  border-bottom-color: #0d6efd;
  font-weight: 600;
}
.step-nav-item.completed { color: #198754; }
.step-nav-item.completed .step-num-progress { stroke: #198754; }
.step-nav-item.completed .step-num-text { color: #198754; }
.step-nav-item.completed .step-num .step-num-check { display: inline; color: #198754; }
.step-nav-item.completed .step-num .step-num-text { display: none; }
.step-num {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-num-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.step-num-bg {
  fill: none;
  stroke: #e9ecef;
  stroke-width: 2;
}
.step-num-progress {
  fill: none;
  stroke: #0d6efd;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 62.83;
  transition: stroke-dashoffset 0.3s ease;
}
.step-num-text, .step-num-check {
  position: relative;
  z-index: 1;
  font-size: 0.65rem;
  font-weight: 700;
  color: #6c757d;
}
.step-num-check { display: none; font-size: 0.7rem; }
.step-nav-item.active .step-num-progress { stroke: #0d6efd; }
.step-nav-item.active .step-num-text { color: #0d6efd; }
.step-nav-item.active .step-num-bg { stroke: #cfe2ff; }

/* Main Content Area — sem overflow-x nos ancestrais da .step-row: senão position:sticky da coluna vídeo não gruda no viewport */
.course-body { padding: 2rem 0 3rem; }
.course-content { max-width: 1140px; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; box-sizing: border-box; }

/* Step Content */
.step-panel {
  display: none;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.step-panel.active { display: block; }

/* Two-column layout  -  flex 1 1 0 + gap evita overflow (50%+50%+gap estourava) */
.step-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.step-col-video {
  flex: 1 1 0;
  min-width: 0;
  align-self: flex-start;
  overflow: visible;
  z-index: 90;
}
/* Desktop: vídeo fica colado abaixo da barra de etapas (sticky) ao rolar o checklist */
@media (min-width: 992px) {
  .step-col-video {
    position: sticky;
    top: var(--precall-sticky-under-steps, 68px);
  }
}
.step-col-checklist {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Coluna direita: cartão único + fluxo */
.step-work-surface {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: 0 2px 14px rgba(36, 65, 117, 0.06);
  min-width: 0;
  box-sizing: border-box;
}
.step-work-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 1.1rem 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.step-work-hint i {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: #244175;
  font-size: 1rem;
}
.step-work-hint--review {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #14532d;
}
.step-work-hint--review i { color: #15803d; }
.step-work-hint--unified i { color: #2563eb; }

.step-checklist-title-meta {
  color: #64748b;
  font-weight: 500;
}

.step-video-nudge--with-doc-tool {
  margin-bottom: 1rem;
}

/* Documento Meta: instruções na coluna esquerda + ferramenta na direita */
.precall-documento-meta-block {
  padding: 0;
  margin-bottom: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.precall-doc-meta-card {
  padding: 1rem 1.125rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-sizing: border-box;
}
.precall-doc-meta-card--upload {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.precall-doc-meta-instructions {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.precall-doc-meta-instructions-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.35rem;
}
.precall-doc-meta-instructions-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.55rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.precall-doc-meta-instructions-lead {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 0.6rem;
}
.precall-doc-meta-instructions-lead:last-child {
  margin-bottom: 0;
}

.precall-doc-meta-instructions--simplified {
  padding: 0.85rem 1rem;
}
.precall-doc-meta-instructions-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #475569;
}
.precall-doc-meta-instructions-list li {
  margin-bottom: 0.45rem;
}
.precall-doc-meta-instructions-list li:last-child {
  margin-bottom: 0;
}

/* Destaque: frente e verso na mesma imagem (etapa Documento Meta) */
.precall-doc-meta-requirement-callout {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(180, 83, 9, 0.08);
}
.precall-doc-meta-requirement-callout--compact {
  margin-bottom: 0;
  padding: 0.75rem 0.9rem;
}
.precall-doc-meta-requirement-callout-title {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #92400e;
  margin: 0 0 0.4rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.precall-doc-meta-requirement-callout-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #78350f;
  margin: 0;
}

.precall-doc-meta-tool {
  margin-top: 0;
  margin-bottom: 0;
}
/* Ferramenta embutida: alinhar alerta OAB e specs com o estilo do step */
.precall-doc-meta-tool .rdim-doc-alert--below {
  margin-top: 1.25rem;
  margin-bottom: 1rem;
}
.precall-doc-meta-tool .rdim-spec-card--collapsed {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.precall-doc-meta-frente-verso {
  line-height: 1.45;
}

.precall-doc-meta-confirm .form-check-label {
  line-height: 1.35;
}

.precall-doc-meta-foot {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.8125rem;
}
.precall-doc-meta-foot-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}
.precall-doc-meta-foot-link:hover {
  text-decoration: underline;
}

/* Separar checklist dos blocos de ação (direto ou dentro do wrap BM) */
.step-work-surface > .step-checklist,
.step-work-surface .bm-section-checklist-wrap {
  margin-top: 0.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid #e8ecf1;
}
.step-checklist--after-doc-tool {
  margin-top: 0.5rem;
}

/* Formulários curtos (CNPJ, URLs): mesmo bloco visual */
.step-action-block {
  padding: 1rem 1.125rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-sizing: border-box;
}
.step-work-surface .step-action-block,
.step-work-surface .precall-documento-meta-block { margin-bottom: 1rem; }
.step-work-surface .step-action-block + .step-checklist,
.step-work-surface .precall-documento-meta-block + .step-checklist { margin-top: 0.25rem; }

/* Etapa Revisão: resumo automático + CTA (cabeçalho em cartão próprio; linhas soltas abaixo) */
.precall-revisao-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 1.25rem;
  box-shadow: none;
}
.precall-revisao-card-head {
  margin-bottom: 0.75rem;
  padding: 1rem 1.15rem 1.05rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}
.precall-revisao-card-step {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}
.precall-revisao-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}
.precall-revisao-card-title .bi {
  color: #2563eb;
  font-size: 1.1rem;
}
.precall-revisao-card-lead {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}
.step-checklist--revisao {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}
.step-checklist--revisao .checklist-item {
  margin-bottom: 0;
}
.step-checklist--revisao .checklist-item.synced-item .ci-desc {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
}
/* Revisão: conferência → texto “Tudo pronto?” → formulário → envio (botão colado ao form) */
.precall-revisao-card + .precall-final-cta {
  margin-top: 0.5rem;
}
.precall-final-cta + .precall-impl-compat {
  margin-top: 0.35rem;
}
.precall-final-cta--before-form .precall-final-cta-desc {
  margin-bottom: 0.65rem;
}

/* Final CTA (etapa "Solicitar implantação") */
.precall-final-cta {
  padding: 1.75rem 1.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}
.precall-final-cta-headline {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.precall-final-cta-desc {
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.precall-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.precall-final-cta-primary {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.precall-final-cta-primary:hover {
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

/* Step Header */
.step-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e8ecf1;
}
.step-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0d6efd;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #244175;
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
}
.step-desc {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

/* Video Area */
.step-video-area {
  margin-bottom: 0;
  min-width: 0;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  box-sizing: border-box;
}
.step-col-video > .step-video-area { margin-bottom: 0; }
.step-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.step-video-wrapper iframe,
.step-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.step-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #6c757d;
  background: #e9ecef;
}
.step-video-placeholder i {
  font-size: 2.5rem;
  color: #ced4da;
}
.step-video-placeholder .vid-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
  text-align: center;
  padding: 0 1rem;
}
.step-video-placeholder .vid-duration {
  font-size: 0.7rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.step-video-placeholder .vid-duration i,
.step-video-info .svi-duration i {
  font-size: 0.65rem;
}
.step-video-placeholder .vid-em-breve {
  font-size: 0.75rem;
  color: #868e96;
  font-weight: 500;
  margin-top: 0.25rem;
}
.step-illus-wrapper .step-icon-checklist {
  display: block;
}
.step-illus-wrapper {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  box-sizing: border-box;
}
.step-illus-img {
  display: block;
  max-width: 100%;
  height: auto;
}
.step-cnpj-mockup .step-illus-img {
  max-height: 340px;
  width: auto;
  object-fit: contain;
}
.step-intro-illus .step-illus-img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
}
.step-illus-wrapper--doc-meta {
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
  min-height: 180px;
}
.step-illus-wrapper--doc-meta .step-illus-img--doc-meta-mock {
  max-width: min(480px, 100%);
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.1);
}
.step-icon-notion {
  width: 140px;
  height: 140px;
  display: block;
  opacity: 0.85;
}
.cnpj-lookup-block input::placeholder {
  color: rgba(0, 0, 0, 0.32);
  opacity: 1;
}
.cnpj-verificacao {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}
.cnpj-verificacao .cnpj-verificacao-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.75rem;
}
.cnpj-verificacao .cnpj-verif-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  cursor: pointer;
  user-select: none;
}
.cnpj-verificacao .cnpj-verif-item:last-child { margin-bottom: 0; }
.cnpj-verificacao .cnpj-verif-item input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-right: 0.75rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid #adb5bd;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.cnpj-verificacao .cnpj-verif-item input[type="checkbox"]:hover {
  border-color: #0d6efd;
  background: #f0f7ff;
}
.cnpj-verificacao .cnpj-verif-item input[type="checkbox"]:checked {
  background: #0d6efd;
  border-color: #0d6efd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.cnpj-verificacao .cnpj-verif-item input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0d6efd;
}
.cnpj-verificacao .cnpj-verif-item span {
  font-size: 0.875rem;
  color: #212529;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
}
.step-video-info {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
}
.step-video-info .svi-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #adb5bd;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step-video-info .svi-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #244175;
  margin-bottom: 0.25rem;
}
.step-video-info .svi-duration {
  font-size: 0.75rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Nudge: assistir ao vídeo no momento certo (etapas com vídeo) */
.step-video-nudge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #e7f1ff 0%, #d6e8ff 100%);
  border: 1px solid #b3d4fc;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #0c4a6e;
}
.step-video-nudge i.step-video-nudge-icon {
  font-size: 1.25rem;
  color: #0d6efd;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.step-video-nudge .step-video-nudge-text {
  flex: 1;
  min-width: 0;
}
.step-video-nudge--compact {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* Checklist Items */
.step-checklist { margin-bottom: 1.5rem; }
.step-work-surface .step-checklist { margin-bottom: 0; }
.step-checklist-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e8ecf1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.step-checklist-title i { color: #244175; }

.checklist-item {
  display: flex;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  margin-bottom: 0.5rem;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease;
  min-width: 0;
  max-width: 100%;
}
.checklist-item:hover { border-color: #adb5bd; }
.checklist-item.completed {
  background: #f0f7ff;
  border-color: #0d6efd;
}
.checklist-item.completed .ci-text { color: #6c757d; }
.checklist-item:not(.synced-item) .ci-content { cursor: pointer; }
.checklist-item.synced-item { cursor: default; opacity: 0.85; }
.checklist-item.synced-item .ci-content { cursor: default; }
.checklist-item.synced-item:hover { border-color: #dee2e6; }
.checklist-item.synced-item.completed { opacity: 1; }
.checklist-item.warning-item {
  background: #fffdf0;
  border-color: #ffc107;
  border-width: 2px;
}
.checklist-item.warning-item:hover { border-color: #e0a800; }
.checklist-item.warning-item.completed {
  background: #f0f7ff;
  border-color: #0d6efd;
}

/* Checklist checkbox - custom design (apenas dentro de .checklist-item da etapa) */
.checklist-item input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin-right: 0.875rem;
  margin-top: 0.125rem;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid #adb5bd;
  border-radius: 6px;
  background-color: #fff;
  background-image: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  vertical-align: middle;
  box-sizing: border-box;
}
.checklist-item input[type="checkbox"]:hover:not(:disabled) {
  border-color: #0d6efd;
  background-color: #f0f7ff;
}
.checklist-item input[type="checkbox"]:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}
.checklist-item input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0d6efd;
}
.checklist-item input[type="checkbox"]:disabled {
  opacity: 0.85;
  cursor: default;
}
/* Synced-item: quando desabilitado e marcado, manter check visível */
.checklist-item.synced-item input[type="checkbox"]:disabled {
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.checklist-item.synced-item input[type="checkbox"]:disabled:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}
.checklist-item.warning-item input[type="checkbox"]:hover:not(:disabled) {
  border-color: #ffc107;
  background-color: #fffdf0;
}
.checklist-item.warning-item input[type="checkbox"]:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}
.ci-content { flex: 1; min-width: 0; cursor: pointer; overflow-wrap: break-word; word-break: break-word; }
.ci-text {
  font-weight: 500;
  color: #212529;
  font-size: 0.875rem;
  line-height: 1.4;
  margin-bottom: 0.2rem;
  overflow-wrap: break-word;
  word-break: break-word;
}
.ci-desc {
  font-size: 0.8rem;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.ci-desc img { display: inline-block; vertical-align: middle; }
.ci-link {
  font-size: 0.75rem;
  color: #0d6efd;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.375rem;
}
.ci-link:hover { text-decoration: underline; }
.ci-help-btn {
  background: transparent;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  color: #495057;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  transition: all 0.2s;
}
.ci-help-btn:hover { background: #f8f9fa; border-color: #0d6efd; color: #0d6efd; }
.ci-help-text {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #495057;
  line-height: 1.5;
  animation: fadeSlide 0.2s ease-out;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}
.ci-help-text a { color: #0d6efd; }
.ci-warning-text {
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255,193,7,0.15);
  border-radius: 4px;
  font-size: 0.75rem;
  color: #856404;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
}
.ci-warning-text i { color: #856404; margin-top: 0.125rem; flex-shrink: 0; }

/* Required asterisk */
.checklist-item.required-item .ci-text::before {
  content: '*';
  color: #0d6efd;
  font-weight: 700;
  margin-right: 0.25rem;
  font-size: 0.9rem;
}

/* Recommended item card */
.checklist-item.recommended-item {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  border: 1.5px solid #b3d4fc;
  border-radius: 10px;
  position: relative;
  padding: 1rem 1rem 1rem 0.875rem;
}
.checklist-item.recommended-item:hover {
  border-color: #7ab8f5;
  box-shadow: 0 2px 12px rgba(13, 110, 253, 0.1);
}
.checklist-item.recommended-item.completed {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  border-color: #0d6efd;
}
.recommended-item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}
.ci-item-logo {
  height: 22px;
  width: auto;
  flex-shrink: 0;
}
.prep-recommended-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
  line-height: 1;
}
.prep-recommended-badge i {
  font-size: 0.55rem;
}
.checklist-item.recommended-item .ci-link {
  background: #fff;
  border: 1px solid #b3d4fc;
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-weight: 600;
  transition: all 0.2s;
}
.checklist-item.recommended-item .ci-link:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  text-decoration: none;
}

/* Optional item (e.g. AnyDesk na revisão final) */
.checklist-item.optional-item {
  border-style: dashed;
  background: #fafafa;
}
.checklist-item.optional-item .ci-text::after {
  content: 'Opcional';
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  color: #6c757d;
  margin-left: 0.5rem;
  padding: 0.15rem 0.4rem;
  background: #e9ecef;
  border-radius: 4px;
  vertical-align: middle;
}

/* Texto de apoio da etapa (não intro): tom informativo, alinhado ao restante da página */
.step-section-desc:not(.step-intro-desc) {
  background: #f0f7ff;
  border: 1px solid #cfe2ff;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: #1e4a7a;
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}
.step-section-desc:not(.step-intro-desc) strong { color: #0f3460; }

/* Etapa 0  -  Introdução: layout neutro (sem amarelo) */
.step-section-desc.step-intro-desc {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.65;
  max-width: 36em;
}
.step-section-desc.step-intro-desc p { margin: 0 0 0.75rem 0; }
.step-section-desc.step-intro-desc p:last-child { margin-bottom: 0; }
/* Com checkboxes após os parágrafos, o último <p> não é :last-child  -  espaço fica no stack */
.step-section-desc.step-intro-desc > .step-0-checkboxes-stack {
  margin-top: 1rem;
  margin-bottom: 0;
}
.step-section-desc.step-intro-desc > .step-0-checkboxes-stack:first-child {
  margin-top: 0;
}
.step-section-desc.step-intro-desc strong { color: #1e293b; }
.step-section-desc.step-intro-desc { overflow-wrap: break-word; word-break: break-word; max-width: 100%; }

/* Texto abaixo da imagem (ex.: Etapa 5)  -  tom neutro, sem amarelo */
.step-desc-below-illus {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* WhatsApp Status Check */
.whatsapp-status-check {
  margin-top: 0.75rem;
  padding: 0.875rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}
.status-check-question {
  font-size: 0.8rem;
  color: #495057;
  margin-bottom: 0.625rem;
  font-weight: 500;
}
.status-check-select-wrap { margin-bottom: 0.5rem; }
.status-check-select {
  width: 100%;
  max-width: 320px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: #fff;
  color: #212529;
  cursor: pointer;
}
.status-check-select:focus { border-color: #0d6efd; outline: 0; box-shadow: 0 0 0 3px rgba(13,110,253,0.15); }
.status-check-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.status-check-btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: #fff;
  color: #212529;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.status-check-btn:hover { border-color: #0d6efd; background: #cfe2ff; color: #0d6efd; }
.status-check-btn.selected { background: #0d6efd; border-color: #0d6efd; color: #fff; font-weight: 600; }
.status-check-btn i { font-size: 0.875rem; }
.status-explanation {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
  display: none;
}
.status-explanation.show { display: block; animation: fadeSlide 0.3s ease; }
.status-explanation.ok { background: #d1e7dd; border: 1px solid #a3cfbb; color: #0f5132; }
.status-explanation.info { background: #cff4fc; border: 1px solid #9eeaf9; color: #055160; }
.status-explanation strong { display: block; margin-bottom: 0.375rem; }
.status-explanation ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.status-explanation li { margin-bottom: 0.25rem; }
.status-stats {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(0,0,0,0.1);
  font-size: 0.7rem;
  opacity: 0.8;
}
.status-stat { display: flex; align-items: center; gap: 0.25rem; }
.status-stat i { font-size: 0.75rem; }

/* BM Verified Check (Etapa 4) */
.bm-verified-check {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, #f1f6ff 0%, #f8fafc 100%);
  border-radius: 14px;
  border: 1px solid #c7dcff;
  border-left: 4px solid #0d6efd;
  box-shadow: 0 1px 2px rgba(13, 110, 253, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.bm-verified-check > * { margin: 0; }
.bm-verified-header { display: flex; flex-direction: column; gap: 0.35rem; }
.bm-verified-check .status-check-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1b2a4e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.bm-verified-check .status-check-question::before {
  content: "\F503";
  font-family: "bootstrap-icons";
  font-size: 1.15rem;
  color: #0d6efd;
  font-weight: 400;
}
.bm-verified-clarify { font-size: 0.85rem; line-height: 1.5; }
.bm-verified-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0d6efd;
  text-decoration: none;
}
.bm-verified-link:hover { color: #0a58ca; text-decoration: underline; }

/* Destaque para os botões Sim/Não na etapa BM */
.bm-verified-check .status-check-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}
.bm-verified-check .status-check-btn {
  flex: 1 1 140px;
  min-height: 52px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-width: 2px;
  border-radius: 10px;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.bm-verified-check .status-check-btn i { font-size: 1.15rem; }
.bm-verified-check .status-check-btn[data-bm-verified="yes"] { border-color: #a3cfbb; color: #0f5132; }
.bm-verified-check .status-check-btn[data-bm-verified="yes"]:hover { background: #d1e7dd; border-color: #198754; color: #0f5132; }
.bm-verified-check .status-check-btn[data-bm-verified="yes"].selected { background: #198754; border-color: #198754; color: #fff; box-shadow: 0 2px 6px rgba(25, 135, 84, 0.25); }
.bm-verified-check .status-check-btn[data-bm-verified="no"] { border-color: #f1aeb5; color: #842029; }
.bm-verified-check .status-check-btn[data-bm-verified="no"]:hover { background: #f8d7da; border-color: #dc3545; color: #842029; }
.bm-verified-check .status-check-btn[data-bm-verified="no"].selected { background: #dc3545; border-color: #dc3545; color: #fff; box-shadow: 0 2px 6px rgba(220, 53, 69, 0.25); }

.bm-verified-filled {
  margin: 0;
  padding: 0.65rem 0.875rem;
  background: #d1e7dd;
  border: 1px solid #a3cfbb;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #0f5132;
  font-weight: 500;
  display: none;
}
.bm-verified-filled.show { display: flex; align-items: center; gap: 0.5rem; }

.bm-verified-invite {
  margin-top: 0.65rem;
  padding: 0.65rem 0.875rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  color: #1e3a5f;
}
.bm-verified-invite-text { line-height: 1.45; }
.bm-verified-invite-icon {
  color: #2563eb;
  margin-right: 0.35rem;
  vertical-align: -0.1em;
}
.bm-verified-invite-mail {
  font-weight: 600;
  word-break: break-all;
}

@media (max-width: 480px) {
  .bm-verified-check .status-check-btn { flex: 1 1 100%; min-height: 48px; }
}

.bm-verified-check--minimal {
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
  background: #f8fafc;
  box-shadow: none;
}
.bm-verified-check--minimal .status-check-question {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}
.bm-verified-check--minimal .status-check-question::before {
  display: none;
}
.bm-verified-sub {
  font-weight: 400;
  color: #6c757d;
}
.bm-verified-check--minimal .bm-verified-clarify {
  font-size: 0.8125rem;
  line-height: 1.35;
}
.bm-verified-check--minimal .status-check-options {
  gap: 0.5rem;
}
.bm-verified-check--minimal .status-check-btn {
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
}
.bm-verified-check--minimal .bm-verified-filled {
  padding: 0.45rem 0.65rem;
  font-size: 0.8125rem;
}

.bm-section-checklist-wrap { transition: opacity 0.2s ease; }
.bm-section-checklist-wrap.bm-hidden { display: none; }

/* Importar documento (ferramenta redimensionar, embed)  -  etapa Documento Meta */
.precall-meta-doc-panel {
  margin: 0;
  padding: 0.875rem 1rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 10px;
}
.precall-meta-doc-panel-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #244175;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.precall-meta-doc-panel .precall-meta-doc-lead {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #495057;
  margin-bottom: 0.5rem;
}
.precall-meta-doc-tool {
  margin-top: 0.35rem;
  border-radius: 8px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}
.precall-meta-doc-tool > summary {
  cursor: pointer;
  list-style-position: outside;
  padding: 0.65rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0d6efd;
  user-select: none;
}
.precall-meta-doc-tool > summary::-webkit-details-marker { margin-right: 0.35rem; }
.precall-meta-doc-tool[open] > summary { border-bottom: 1px solid #e9ecef; }
.precall-meta-doc-iframe-wrap {
  padding: 0.5rem;
  background: #e9ecef;
}
.precall-meta-doc-tool iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  border: 0;
  border-radius: 8px;
  background: #fff;
}
.precall-meta-doc-tool-foot {
  padding: 0.35rem 0.75rem 0.65rem;
  font-size: 0.75rem;
  color: #6c757d;
}

/* Step Navigation Buttons */
.step-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(36, 65, 117, 0.05);
}
.step-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.step-btn-prev {
  background: #f8f9fa;
  color: #495057;
  border: 1px solid #dee2e6;
}
.step-btn-prev:hover { background: #e9ecef; color: #212529; }
.step-btn-next {
  background: #0d6efd;
  color: #fff;
}
.step-btn-next:hover { background: #0b5ed7; }
.step-btn-next:disabled {
  background: #adb5bd;
  cursor: not-allowed;
}
.step-progress-indicator {
  font-size: 0.75rem;
  color: #adb5bd;
  font-weight: 500;
}

/* CTA agendamento: abaixo do conteúdo da Revisão final (largura total da etapa) */
.step-cta-sticky {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
/* Imediatamente após o formulário de implantação: mesmo alinhamento, menos respiro */
.step-cta-sticky.step-cta-sticky--revisao-envio {
  margin-top: 0.5rem;
  max-width: 100%;
  padding: 0.75rem 0.85rem 0.85rem;
  border-color: #cfe2ff;
  background: linear-gradient(180deg, #f5f9ff 0%, #f8fafc 100%);
}
.step-cta-sticky.step-cta-sticky--revisao-envio .rpg-button.rpg-button-lg {
  gap: 0.65rem;
  padding: 1.15rem 1.35rem;
  font-size: 1.125rem;
  line-height: 1.25;
}
.step-cta-sticky.step-cta-sticky--revisao-envio .rpg-button .rpg-button-text {
  font-weight: 700;
}
.step-cta-sticky.step-cta-sticky--revisao-envio .rpg-button .rpg-button-progress {
  font-size: 1rem;
}
.step-cta-sticky.step-cta-sticky--revisao-envio .cta-message {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.step-cta-sticky .cta-message {
  font-size: 0.75rem;
  text-align: center;
}

/* CTA - Final Step */
.step-cta-area {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  text-align: center;
}
.step-cta-area h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #244175;
  margin-bottom: 0.5rem;
}
.step-cta-area p {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 1rem;
}
.cta-message {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
}
.cta-message.info { background: #e7f3ff; color: #004085; border: 1px solid #b3d9ff; }
.cta-message.success { background: #d1e7dd; color: #0f5132; border: 1px solid #a3cfbb; }
.cta-message.warning { background: #f8f9fa; color: #495057; border: 1px solid #dee2e6; }
.cta-message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.cta-message a.alert-link { color: #721c24; font-weight: 600; text-decoration: underline; }
.cta-message a.alert-link:hover { color: #491217; }

/* Confirmação na mesma página (após envio do checklist) */
.precall-inline-success {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid #c3e6cb;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(22, 163, 74, 0.12);
  text-align: center;
}
.precall-inline-success-inner { max-width: 520px; margin: 0 auto; }
.precall-inline-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
}
.precall-inline-success-title {
  font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  font-weight: 700;
  color: #244175;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}
.precall-inline-success .precall-inline-success-lead {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.precall-inline-success .precall-inline-success-note {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.precall-inline-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
}
.precall-inline-success .precall-inline-success-wa-hint {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 1rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.precall-inline-success .precall-btn-whatsapp {
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border: none;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}
.precall-inline-success .precall-btn-whatsapp:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}
.precall-inline-success-actions-secondary {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

/* Bloco compatível com formulário de implantação (revisão final) */
.precall-impl-compat {
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 48%);
  border: 1px solid #cfe2ff;
  border-radius: 14px;
  padding: 1.15rem 1.25rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.06);
}
.precall-impl-compat-head {
  margin-bottom: 0.9rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed #cfe2ff;
}

/* Resumo do checklist (site/IG/CNPJ/BM) acima dos campos novos */
.precall-impl-resumo-prev {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.precall-impl-resumo-prev-head {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.precall-impl-resumo-prev-head .bi {
  color: #2563eb;
  font-size: 1rem;
}
.precall-impl-resumo-prev-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.precall-impl-resumo-prev-item {
  display: grid;
  grid-template-columns: minmax(7.5rem, 32%) 1fr;
  gap: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  align-items: start;
}
@media (max-width: 520px) {
  .precall-impl-resumo-prev-item {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}
.precall-impl-resumo-k {
  color: #64748b;
  font-weight: 600;
}
.precall-impl-resumo-v {
  color: #0f172a;
  word-break: break-word;
}
.precall-impl-resumo-link {
  color: #0d6efd;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.precall-impl-resumo-link:hover {
  color: #0a58ca;
}
.precall-impl-compat-step {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1e3a5f;
  background: #dbeafe;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}
.precall-impl-compat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}
.precall-impl-compat-title .bi {
  font-size: 1.1rem;
}
.precall-impl-compat .precall-impl-compat-lead {
  font-size: 0.875rem;
  color: #475569;
  margin-bottom: 0;
  line-height: 1.55;
}
.precall-impl-compat .form-label { font-size: 0.8125rem; }
.precall-impl-compat textarea.precall-ic-observacoes-field {
  min-height: 7.5rem;
  resize: vertical;
}
.precall-impl-compat .phone-input-group-precall {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.precall-impl-compat .phone-input-group-precall select { max-width: 130px; min-width: 110px; }
.precall-impl-compat .phone-input-group-precall input { flex: 1; min-width: 160px; max-width: 280px; }

/* Destaque ao tentar enviar com campo obrigatório vazio */
.precall-field-invalid {
  position: relative;
  z-index: 1;
  border-radius: 0.5rem;
  outline: 2px solid rgba(220, 53, 69, 0.95);
  outline-offset: 2px;
  animation: precall-field-invalid-pulse 1.1s ease-in-out 2;
  transition: outline-color 0.2s ease;
}
.checklist-item.precall-field-invalid {
  border-radius: 0.65rem;
}
.step-0-consent.precall-field-invalid {
  padding: 0.35rem 0.5rem;
  margin: 0 -0.25rem;
}
@keyframes precall-field-invalid-pulse {
  0%, 100% { outline-color: rgba(220, 53, 69, 0.95); }
  50% { outline-color: rgba(220, 53, 69, 0.35); }
}

/* Spinner no botão Agendar */
.precall-spinner {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: precall-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}
@keyframes precall-spin {
  to { transform: rotate(360deg); }
}

/* Resumo payload (última etapa) */
.precall-resumo-payload {
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.precall-resumo-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.precall-resumo-json {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 1rem;
  margin: 0;
  overflow-x: auto;
  max-height: 320px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Overall Progress */
.course-progress-bar {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 0.75rem 0 0.5rem;
  overflow: visible;
}
.course-progress-bar .container {
  overflow: visible;
}
.progress-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 1140px;
  margin: 0 auto;
  overflow: visible;
}
.progress-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6c757d;
  white-space: nowrap;
  flex-shrink: 0;
}
.progress-track {
  flex: 1;
  min-width: 0;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  overflow: visible;
  position: relative;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #198754, #20c997);
  border-radius: 3px;
  transition: width 0.3s ease;
  width: 0%;
}
.progress-threshold {
  position: absolute;
  left: 70%;
  top: -3px;
  width: 2px;
  height: 12px;
  background: #0d6efd;
  border-radius: 1px;
  opacity: 0.5;
}
.progress-threshold-label {
  position: absolute;
  left: 70%;
  top: -18px;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: #6c757d;
  white-space: nowrap;
  font-weight: 600;
  pointer-events: none;
}
.progress-pct {
  font-size: 0.7rem;
  font-weight: 700;
  color: #0d6efd;
  min-width: 32px;
  text-align: right;
  flex-shrink: 0;
}

/* References (on final step) */
.step-references { margin-top: 2rem; }
.step-references-container {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background: #f8f9fa;
}
.step-references-tip {
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}
.step-references-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #adb5bd;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step-ref-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #244175;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.step-ref-title i { color: #6c757d; }
.step-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.step-ref-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0.875rem;
  text-decoration: none;
  transition: border-color 0.2s;
}
.step-ref-card:hover { border-color: #0d6efd; text-decoration: none; }
.step-ref-card .ref-title { font-size: 0.8rem; font-weight: 600; color: #212529; margin-bottom: 0.25rem; }
.step-ref-card:hover .ref-title { color: #0d6efd; }
.step-ref-card .ref-desc { font-size: 0.75rem; color: #6c757d; margin: 0; line-height: 1.4; }

.step-tool-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-tool-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(36,65,117,0.3); text-decoration: none; }
.step-tool-card .tool-title { font-size: 0.9rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 0.5rem; }
.step-tool-card .tool-title i { color: #60a5fa; }
.step-tool-card .tool-desc { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin: 0; }
.step-tool-card .tool-arrow { color: #fff; font-size: 1.1rem; opacity: 0.6; transition: transform 0.2s, opacity 0.2s; }
.step-tool-card:hover .tool-arrow { transform: translateX(3px); opacity: 1; }

.step-ext-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.step-ext-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #495057;
  text-decoration: none;
  transition: all 0.2s;
}
.step-ext-link:hover { background: #e9ecef; color: #212529; text-decoration: none; border-color: #adb5bd; }
.step-ext-link i.tool-icon { color: #0d6efd; font-size: 1.25rem; flex-shrink: 0; }
.step-ext-link .tool-info { display: flex; flex-direction: column; }
.step-ext-link .tool-name { font-size: 0.8rem; font-weight: 600; color: #1a1a1a; }
.step-ext-link .tool-desc { font-size: 0.7rem; color: #6c757d; margin-top: 0.125rem; }
@media (max-width: 575px) {
  .step-ext-links { grid-template-columns: 1fr; }
}

/* Animations */
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Back link */
.course-back {
  padding: 1.5rem 0;
  text-align: center;
  background: #f8f9fa;
}

/* Responsive */
@media (max-width: 991px) {
  .step-row { flex-direction: column; gap: 1.25rem; }
  .step-col-video,
  .step-col-checklist {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .step-col-video {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .course-hero { padding: 1.5rem 0; }
  .course-hero h1 { font-size: 1.375rem; }
  .course-hero-sub { font-size: 0.85rem; }
  .course-hero-stats { gap: 0.75rem; }
  .step-nav-item { padding: 0.75rem 0.875rem; font-size: 0.75rem; }
  .step-nav-item .step-nav-label { display: none; }
  .step-title { font-size: 1.25rem; }
  .course-content { padding-left: 0.75rem; padding-right: 0.75rem; }
  .step-nav-buttons { flex-direction: column; gap: 0.75rem; }
  .step-btn { width: 100%; justify-content: center; max-width: 100%; box-sizing: border-box; }
  .step-progress-indicator { order: -1; }
  .cnpj-lookup-block .form-control,
  .website-instagram-block .form-control { max-width: 100% !important; width: 100%; box-sizing: border-box; }
  .step-row { gap: 1rem; }
  .step-0-actions { text-align: center; }
  .step-0-actions .step-btn { width: 100%; }
}

@media (max-width: 480px) {
  .course-hero h1 { font-size: 1.2rem; }
  .step-nav-item { padding: 0.625rem 0.5rem; }
  .step-num { width: 22px; height: 22px; }
  .step-num-text { font-size: 0.6rem; }
  .course-content { padding-left: 0.5rem; padding-right: 0.5rem; }
  .checklist-item { padding: 0.75rem 0.875rem; }
  .step-section-desc,
  .step-section-desc.step-intro-desc { padding: 1rem; }
  .step-work-surface { padding: 1rem 1rem 1.15rem; }
  .step-work-hint { font-size: 0.78rem; padding: 0.55rem 0.7rem; }
}

/* Barra fixa só em dev (localhost / ?dev=1): ver precallMountDevToolbar em preparacao-call.html */
.precall-dev-toolbar {
  position: fixed;
  z-index: 1080;
  right: 12px;
  bottom: 12px;
  max-width: min(100vw - 24px, 340px);
  font-size: 0.75rem;
  pointer-events: auto;
}
.precall-dev-toolbar-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: #212529;
  color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.precall-dev-toolbar-title {
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.precall-dev-toolbar-api {
  display: block;
  word-break: break-all;
  opacity: 0.85;
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  line-height: 1.35;
}
.precall-dev-toolbar .btn {
  align-self: flex-start;
}

/* Toasts: ver assets/css/site-toast.css (include _includes/toast/site-toast-bundle.html na página) */
