/* ══════════════════════════════════════════════════════════════════════════════════════════════
   A PÁGINA DO CURSO (/curso/:slug) — o CSS do mock aprovado (design-lab/curso-lab.html), copiado
   verbatim, MENOS o que a home já tem (02/11/2026). Carregado SÓ na página do curso, DEPOIS do
   `/css/public.css` (o da home, que vale para as duas): a home não baixa o que não usa.
   Onde o mock repetia uma peça da home com outro valor — menu, rodapé, botões, JilsonAI, depoimentos,
   autor, preço, perguntas —, vale a da home ("EXATO DA HOME" no próprio mock): 39 regras ficaram de
   fora. Ficaram de fora também as 19 que mexiam no desenho dessas mesmas peças.
   Compilado para `client/public/css/curso.css` por `npm run css:publico` — nunca edite o compilado.
   ══════════════════════════════════════════════════════════════════════════════════════════════ */

/* ─── Tokens que só a página do curso usa (os da home já estão no :root lá em cima) ─── */

:root {
  /* Linhas e Bordas */
  --input: #D4D4D8;
  --muted-foreground: #737373;
  /* Semânticos e Quadro "Nosso método" (design.md §3 / index.css) */
  --warning: #B8740A;
  --assinar-tint-blue: #F0F6FE;
  --assinar-tint-warm: #FDF3EE;
  --assinar-muted: #52525B;
  --metodo-tint-indigo: #EEF2FF;
  --metodo-tint-blue: #EFF6FF;
  --metodo-blue: #2563EB;
  --metodo-indigo: #4F46E5;
  /* Sombras Apple */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.05);
  --shadow-cert: 0 24px 60px rgba(35, 143, 232, 0.12), 0 12px 24px rgba(0, 0, 0, 0.06);
}

html {
  scroll-behavior: smooth;
}

/* ─── BREADCRUMBS ─── */

.breadcrumb-nav {
  padding: 0;
  margin-bottom: -10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--brand-blue);
}

/* ─── HERO COM FOCO NO CURSO E PLAYER ─── */

.course-hero {
  padding: 24px 24px 40px;
}

.hero-container-inner {
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta-top .course-badges {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
}

.hero-container-inner h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero-container-inner p.hero-lead {
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 1100px;
}

/* Grid do Player + Card "Este curso inclui:" (2 Colunas) */

.hero-player-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 36px;
  align-items: start;
  margin-top: 4px;
}

.hero-player-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Video Player Mockup em Grande Destaque (Retangular sem arredondamento) */

.video-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

/* Card "Este curso inclui:" (Conforme Imagem 2 oficial) */

.course-includes-card {
  background: var(--bg-content);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.course-includes-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-black);
  letter-spacing: -0.02em;
  margin: 0;
}

.course-includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-includes-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.35;
}

.course-includes-list li strong {
  color: var(--brand-black);
}

.inc-icon-box {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-blue);
}

.inc-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-includes-footer {
  border-top: 1px solid var(--border-fine);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.course-includes-guarantee {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.video-frame-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.92;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.video-frame-wrap:hover .video-frame-img {
  transform: scale(1.02);
  opacity: 0.98;
}

.video-overlay-gradient {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.video-badge-preview {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.775rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
}

.video-play-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.play-circle-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(35, 143, 232, 0.7);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-frame-wrap:hover .play-circle-btn {
  transform: scale(1.12);
  box-shadow: 0 0 55px rgba(35, 143, 232, 0.95);
}

.play-circle-btn svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
  fill: currentColor;
}

.play-label {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ─── MODAL DE PRÉVIA SUSPENSA (ALINHADO COM A ÁREA LOGADA / PAINEL DO ALUNO) ─── */

.preview-modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(10, 10, 11, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.preview-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.preview-modal-container {
  width: 100%;
  max-width: 820px;
  /* Largura exata do player para experiência borderless sem sobras laterais */
  background: var(--bg-content);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border-color);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 94vh;
  animation: modalFadeUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.preview-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-content);
  border-bottom: 1px solid var(--border-fine);
  gap: 16px;
  flex-shrink: 0;
}

.preview-modal-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.preview-modal-kicker {
  font-size: 0.775rem;
  color: var(--brand-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono, monospace);
}

.preview-modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-black);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.preview-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.preview-modal-close:hover {
  background: var(--brand-black);
  color: #fff;
  border-color: var(--brand-black);
}

/* Player da Prévia 100% Sem Borda (Borderless / Edge-to-Edge sem tarjas pretas) */

.preview-modal-player-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: none;
  border-bottom: 1px solid var(--border-fine);
  flex-shrink: 0;
}

.preview-modal-player-box video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* Preenchimento total do player sem tarjas pretas laterais */
  display: block;
  border-radius: 0;
  background: #000;
}

/* Fallback 16:9 para navegadores/dispositivos antigos (iOS < 15 / WebViews antigos) */

@supports not (aspect-ratio: 16 / 9) {
  .video-frame-wrap,
      .preview-modal-player-box {
    height: 0;
    padding-top: 56.25%;
  }

  .video-frame-wrap>img,
      .video-frame-wrap>video,
      .preview-modal-player-box>video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.preview-modal-scroll-area {
  overflow-y: auto;
  flex: 1;
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface-alt);
}

/* Lista de Aulas Estilo Painel do Aluno (CourseContentsNav) */

.preview-lessons-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-lessons-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-black);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-lessons-card {
  background: var(--bg-content);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.preview-module-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid var(--border-fine);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-black);
}

.preview-module-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-aluno-lesson-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
  cursor: pointer;
  border-top: 1px solid var(--border-fine);
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  background: var(--bg-content);
}

.preview-aluno-lesson-item:first-child {
  border-top: none;
}

.preview-aluno-lesson-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.preview-aluno-lesson-item.active {
  border-left: 3px solid var(--brand-blue);
  background: rgba(35, 143, 232, 0.06);
}

.preview-aluno-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

/* Ícone Circular Conforme Painel do Aluno (Screenshot 1) */

.preview-aluno-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--surface-alt);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.preview-aluno-lesson-item.active .preview-aluno-icon {
  border-color: var(--brand-blue);
  background: rgba(35, 143, 232, 0.12);
  color: var(--brand-blue);
}

.preview-aluno-title-block {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.preview-aluno-title {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-aluno-lesson-item.active .preview-aluno-title {
  font-weight: 700;
  color: var(--brand-black);
}

.preview-aluno-duration {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  white-space: nowrap;
}

.preview-aluno-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.preview-playing-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(35, 143, 232, 0.1);
  padding: 4px 10px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.preview-aluno-right .lesson-free-tag {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: #059669;
  background: #ECFDF5;
  padding: 4px 12px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.preview-aluno-lesson-item:hover .preview-aluno-right .lesson-free-tag {
  background: #D1FAE5;
  color: #047857;
}

/* ─── SEÇÃO 2: SOBRE O CURSO, COMPETÊNCIAS, DIFERENCIAIS E MÉTODO (Espelho de CourseDetails.tsx) ─── */

.course-details-wrap {
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* 1. O que você vai aprender (learnTags — padrão unificado com CourseDetails.tsx) */

.learn-tags-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.learn-tags-block h2,
    .about-course-header h2,
    .pr-list-card h3,
    .method-layers-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--brand-black);
}

.learn-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.learn-tag-pill {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  background: var(--bg-content);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--brand-black);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  cursor: default;
}

.learn-tag-pill::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(35, 143, 232, 0.09) 50%, transparent 80%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.learn-tag-pill:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--bg-content) 0%, var(--assinar-tint-blue) 100%);
  box-shadow: 0 6px 20px -4px rgba(35, 143, 232, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.learn-tag-pill:hover::before {
  transform: translateX(100%);
}

/* 2. Diferenciais do Curso (CourseHighlights — 1:1 com CoursePremiumFeatures.tsx e ConteudoDaParte.tsx) */

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* As colunas seguem o número de destaques, como no componente React (pedido do operador, 07/11/2026):
       4 ou mais = 4 lado a lado (2 por linha na tela média), 2 = 2, 1 = 1; 3 fica no padrão acima. No celular
       (até 860px) continua 1 por linha: a regra da tela estreita vem depois neste arquivo e vence. */

.highlights-grid--1 {
  grid-template-columns: 1fr;
}

.highlights-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.highlights-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1023px) {
  .highlights-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-content);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.highlight-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(35, 143, 232, 0.1);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon-box svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.highlight-card > div:last-child {
  min-width: 0;
}

.highlight-card h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 4px;
}

.highlight-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin: 0;
  overflow-wrap: break-word;
}

/* 3. Grid Principal: Sobre o Curso + Personas/Requisitos (Esq) | Nosso Método em 3 Camadas (Dir) */

.about-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.about-col-left {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.about-course-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.about-course-header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-black);
}

.about-course-meta {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.about-markdown-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
}

.about-markdown-body p {
  margin: 0;
}

.about-markdown-body strong {
  color: var(--brand-black);
  font-weight: 600;
}

/* Pra quem é & Pré-requisitos (Idêntico a Lista em CourseDetails.tsx) */

.personas-reqs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 32px;
}

.pr-list-card {
  display: flex;
  flex-direction: column;
}

.pr-list-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(35, 143, 232, 0.06);
  border: 1px solid rgba(35, 143, 232, 0.14);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pr-list-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
}

.pr-list-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-black);
  margin-bottom: 20px;
}

.pr-list-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pr-list-items li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
}

.pr-bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  margin-top: 9px;
  flex-shrink: 0;
}

/* Card "Nosso método." (Idêntico a CourseLayers em CoursePremiumFeatures.tsx) */

.method-layers-card {
  background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--metodo-tint-indigo) 45%, var(--bg-content)) 0%,
        var(--bg-content) 55%,
        color-mix(in srgb, var(--metodo-tint-blue) 35%, var(--bg-content)) 100%
      );
  border: 1px solid rgba(35, 143, 232, 0.16);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.method-layers-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-black);
  margin: 0;
}

.method-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.method-step {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.method-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 42px;
  bottom: -32px;
  left: 19px;
  width: 2px;
  background: var(--border-color);
  z-index: 1;
}

.method-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #FFFFFF;
}

.method-step-icon.accent {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(35, 143, 232, 0.3), 0 0 0 4px #FFFFFF;
}

.method-step-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

.method-step-body {
  padding-top: 2px;
}

.method-step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 4px;
}

.method-step-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ─── GRADE CURRICULAR / EMENTA (modules & lessons no padrão CourseContentsNav) ─── */

.curriculum-accordion {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.curriculum-toolbar {
  max-width: 1000px;
  margin: 0 auto 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.curriculum-expand-btn {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.925rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
}

.curriculum-expand-btn:hover {
  text-decoration: underline;
}

.curriculum-module {
  background: var(--bg-content);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 0;
  overflow: hidden;
  transition: all 0.2s;
}

.curriculum-module[open] {
  background: #fff;
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.curriculum-module summary {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  background: rgba(0, 0, 0, 0.015);
}

.curriculum-module[open] summary {
  background: #fff;
}

.curriculum-module summary::-webkit-details-marker {
  display: none;
}

.curriculum-module summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-blue);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.curriculum-module[open] summary::after {
  content: '−';
}

.module-summary-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.module-summary-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: auto;
  margin-right: 18px;
  white-space: nowrap;
}

.module-idx {
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: rgba(35, 143, 232, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

.curriculum-module-content {
  padding: 0;
  border-top: 1px solid var(--border-fine);
  display: flex;
  flex-direction: column;
}

.lesson-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  border-top: 1px solid var(--border-fine);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: background 0.15s;
}

.lesson-item:first-child {
  border-top: none;
}

.lesson-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.lesson-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.lesson-circle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--surface-alt);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lesson-item.is-free .lesson-circle-icon {
  border-color: rgba(35, 143, 232, 0.35);
  color: var(--brand-blue);
  background: rgba(35, 143, 232, 0.06);
}

.lesson-title-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}

.lesson-title-text {
  font-weight: 500;
  color: var(--text-main);
}

.lesson-dur-inline {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lesson-free-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
  background: #ECFDF5;
  padding: 4px 12px;
  border-radius: 99px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.lesson-item.is-free:hover .lesson-free-tag {
  background: #D1FAE5;
  color: #047857;
}

/* ─── SEÇÃO DO CERTIFICADO OFICIAL (SUPER DESTAQUE) ─── */

.cert-section {
  position: relative;
}

.cert-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(460px, 1.25fr);
  gap: 64px;
  align-items: center;
}

.cert-text-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cert-text-col h2 {
  font-size: clamp(2.1rem, 3.5vw, 2.85rem);
  line-height: 1.12;
}

.cert-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.cert-point-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cert-point-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(35, 143, 232, 0.1);
  border: 1px solid rgba(35, 143, 232, 0.2);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cert-point-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.cert-point-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 2px;
}

.cert-point-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* O CERTIFICADO (o diploma) mora em `certificado-input.css` desde 04/11/2026 (Fase 6.5): a página do curso, a
       página do certificado e a impressora carregam o mesmo arquivo. */

/* ─── O EXEMPLO DO JILSONAI (J1.6 — decisão do operador (168), 19/11/2026) ───
       Com a pergunta e a resposta do curso preenchidas, o quadro do JilsonAI mostra a conversa do curso e, no alto
       dela (entre o cabeçalho do chat e as bolhas), a marca "Exemplo de conversa". Só a página do curso usa: a home
       nunca tem a marca. Acabamento fino (item 52): faixa de vidro discreta separando o cabeçalho, rolagem contida
       com barra escura legível (WCAG 1.4.11) e bolhas ajustadas para 120/300 caracteres sem aumentar o quadro de 480 px. */

.chat-exemplo-marca {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.chat-exemplo-marca + .chat-messages {
  --scrollbar-thumb: rgba(255, 255, 255, 0.42);
  --scrollbar-track: transparent;
  padding: 18px 20px;
  gap: 14px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

@supports not (scrollbar-color: auto) {
  .chat-exemplo-marca + .chat-messages {
    scrollbar-width: auto;
  }

  .chat-exemplo-marca + .chat-messages::-webkit-scrollbar {
    width: 6px;
  }

  .chat-exemplo-marca + .chat-messages::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 99px;
  }

  .chat-exemplo-marca + .chat-messages::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
  }
}

.chat-exemplo-marca + .chat-messages .chat-bubble {
  max-width: 88%;
  padding: 11px 15px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.chat-exemplo-marca + .chat-messages .chat-bubble.user {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-exemplo-marca + .chat-messages .chat-bubble.ai {
  background: rgba(35, 143, 232, 0.12);
  border-color: rgba(35, 143, 232, 0.26);
}

/* ─── PROVA SOCIAL / DEPOIMENTOS (EXATAMENTE DA HOME - Tabela Testimonial) ─── */

.chat-avatar-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #fff;
}

/* ─── 🌟 SESSÃO FINAL COMBINADA: JILSON SANTANA (ESQ) + ASSINAR (DIR) ─── */

.authority-subscribe-section {
  padding-top: 130px;
  padding-bottom: 130px;
  background: var(--surface-alt);
}

.authority-subscribe-grid {
  display: flex;
  gap: clamp(32px, 3.2vw, 56px);
  align-items: center;
  justify-content: center;
  max-width: 1380px;
  margin: 0 auto;
  width: 100%;
}

/* Bloco do Jilson Santana adaptado para caber lado a lado a partir de 1.280px */

.author-col {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  max-width: 860px;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.author-header-tag {
  margin-bottom: 28px;
  display: flex;
  justify-content: flex-start;
}

/* Área do Texto: flexível e proporcional */

.author-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.author-quote {
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 32px;
  font-style: italic;
}

/* ─── COLUNA DA DIREITA: CARD DE ASSINATURA ─── */

.subscribe-col-final {
  flex: 0 0 clamp(380px, 28vw, 440px);
  max-width: 440px;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ─── SEÇÃO TRILHA DE APRENDIZADO ─── */

.trilha-header {
  margin-bottom: 24px;
  max-width: 820px;
}

.trilha-section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
  color: var(--brand-black);
}

.trilha-section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Controles do Carrossel (Visíveis por padrão para teste/ajuste) */

.trilha-carousel-nav {
  display: inline-flex;
  /* Visível conforme solicitado */
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  height: 38px;
}

.trilha-carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 0;
}

.trilha-carousel-btn:not(:disabled):hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(35, 143, 232, 0.16);
  transform: translateY(-1px);
}

.trilha-carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--brand-gray);
  box-shadow: none;
}

/* Pill Meta de Informações (Foto: • 2 cursos · 28h de formação) */

.trilha-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 99px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin-bottom: 24px;
}

.trilha-meta-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-blue);
  display: inline-block;
  flex-shrink: 0;
}

/* Carrossel e Colunas dos Cursos */

.trilha-carousel-wrapper {
  position: relative;
  width: 100%;
}

.trilha-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 24px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.trilha-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Coluna individual do Curso: inclui a barra de progresso no topo acompanhando a imagem */

.trilha-course-item {
  flex: 0 0 310px;
  width: 310px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
}

/* Linha de progresso com nó horizontal posicionado em cima da imagem */

.trilha-item-step {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 38px;
  margin-bottom: 14px;
}

.trilha-step-line {
  position: absolute;
  top: 50%;
  height: 2px;
  background: #E2E8F0;
  transform: translateY(-50%);
  z-index: 1;
}

.trilha-step-line.before {
  left: -12px;
  right: 50%;
}

.trilha-step-line.after {
  left: 50%;
  right: -12px;
}

.trilha-step-line.filled {
  background: var(--brand-blue);
}

.trilha-course-item:first-child .trilha-step-line.before {
  display: none;
}

.trilha-course-item:last-child .trilha-step-line.after {
  display: none;
}

.trilha-node {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--brand-blue);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trilha-node.completed .node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.trilha-node.current {
  box-shadow: 0 0 0 4px rgba(35, 143, 232, 0.18), 0 2px 8px rgba(35, 143, 232, 0.25);
}

.trilha-node.current .node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.trilha-node.cert {
  border-color: #94A3B8;
  color: #64748B;
  background: #FFFFFF;
}

/* Card Oficial do Catálogo da Home */

.course-card.is-current {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 8px 24px rgba(35, 143, 232, 0.12);
}

.course-card-badge-current {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--brand-blue);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  z-index: 3;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.35);
}

.course-card-stage {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-gray);
  margin-bottom: 6px;
}

.course-card-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  transition: opacity 0.2s;
}

.course-card-link:hover {
  opacity: 0.7;
}

.course-card-link-current {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.course-card-link-cert {
  color: #059669;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

/* Course Badges da Home */

.course-card-duration {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.025em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
}

/* Card de Certificação com formato idêntico ao course-card e foto/banner sem cantos arredondados */

.course-card-img-wrap-cert {
  padding: 20px 20px 16px 20px;
}

.cert-art-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  background: linear-gradient(135deg, #09090B 0%, #18181B 65%, #0F172A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.cert-art-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(35, 143, 232, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cert-art-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(35, 143, 232, 0.15);
  border: 1.5px solid var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 16px rgba(35, 143, 232, 0.3);
}

.cert-art-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 2;
}

.cert-art-sub {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 4px;
  position: relative;
  z-index: 2;
  line-height: 1.2;
}

/* ─── STICKY BOTTOM BAR NO MOBILE ─── */

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  padding: 12px 24px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  justify-content: space-between;
  align-items: center;
}

.mobile-bar-info {
  display: flex;
  flex-direction: column;
}

.mobile-bar-title {
  font-size: 0.775rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.mobile-bar-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-black);
}

/* ─── RESPONSIVIDADE ─── */

@media (max-width: 1279px) {
  .authority-subscribe-grid {
    flex-direction: column;
    align-items: center;
    gap: 64px;
  }

  .author-col {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
  }

  .subscribe-col-final {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 1100px) {
  .hero-player-grid {
    grid-template-columns: 1fr;
  }

  .course-includes-card {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .layers-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .ai-callout-card {
    grid-template-columns: 1fr;
  }

  .pr-split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .trilha-course-item {
    flex: 0 0 290px;
    width: 290px;
  }
}

@media (max-width: 860px) {
  .author-header-tag {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .video-overlay-gradient {
    padding: 8px 12px;
  }

  .video-badge-preview {
    font-size: 0.625rem;
    padding: 3px 9px;
    line-height: 1.2;
    gap: 5px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    border-radius: 99px;
  }

  .video-badge-preview .pulse-dot {
    width: 5px;
    height: 5px;
  }

  .video-play-center {
    top: calc(50% + 10px);
    gap: 6px;
  }

  .play-circle-btn {
    width: 48px;
    height: 48px;
    box-shadow: 0 0 22px rgba(35, 143, 232, 0.6);
  }

  .play-circle-btn svg {
    width: 20px;
    height: 20px;
    margin-left: 2px;
  }

  .play-label {
    font-size: 0.775rem;
    line-height: 1.25;
  }

  .about-method-grid {
    grid-template-columns: 1fr;
  }

  .trilha-course-item {
    flex: 0 0 270px;
    width: 270px;
  }

  .authority-subscribe-section {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .mobile-sticky-bar {
    display: flex;
  }

  body {
    padding-bottom: 74px;
  }
}

/* A DESCRIÇÃO em Markdown (02/11/2026): listas com marcador e recuo no padrão editorial da escola */

.about-markdown-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 4px 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-markdown-body ul li::marker {
  color: var(--brand-blue);
}

.about-markdown-body ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 4px 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-markdown-body ol li::marker {
  color: var(--brand-blue);
  font-family: var(--font-mono);
  font-weight: 600;
}

.about-markdown-body li {
  padding-left: 4px;
  line-height: 1.6;
}

/* ─── PRÉ-LANÇAMENTO NA PÁGINA DO CURSO (02/11/2026) ─── */

.course-hero .pre-lancamento-previsao {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 99px;
  background: rgba(35, 143, 232, 0.08);
  border: 1px solid rgba(35, 143, 232, 0.22);
  color: var(--brand-blue);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 4px;
  margin-bottom: 8px;
  width: -moz-fit-content;
  width: fit-content;
}

.course-hero .pre-lancamento-barra {
  max-width: 440px;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 8px;
  padding: 14px 18px;
  background: var(--bg-content);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.course-hero .pre-lancamento-trilha {
  height: 8px;
  border-radius: 999px;
  background: rgba(35, 143, 232, 0.15);
  overflow: hidden;
}

.course-hero .pre-lancamento-progresso {
  height: 100%;
  border-radius: 999px;
  background: var(--brand-blue);
  transition: width 0.4s ease;
}

.course-hero .pre-lancamento-rotulo {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ─── AULA E MÓDULO EM RASCUNHO ("EM BREVE") NA GRADE (02/11/2026) ─── */

.lesson-item.lesson-em-breve {
  cursor: default;
  background: rgba(0, 0, 0, 0.015);
  opacity: 0.85;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.lesson-item.lesson-em-breve:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.025);
}

.lesson-item.lesson-em-breve .lesson-circle-icon {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-muted);
  border: 1px dashed var(--border-color);
}

.lesson-item.lesson-em-breve .lesson-title-text {
  color: var(--text-muted);
  font-weight: 500;
}

.lesson-item.lesson-em-breve .tag.tag-box {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  text-transform: uppercase;
  flex-shrink: 0;
}

.module-summary-left .tag.tag-box {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
  display: inline-block;
}

/* ─── "OLÁ, SOU O JILSON" AO LADO DO PREÇO (02/11/2026) ───
       A foto, o texto e o cartão de preço são as peças da home; lado a lado, o mock dá a elas outras medidas.
       As regras do mock para essas peças valem SÓ dentro desta seção (.authority-subscribe-section), na ordem
       dele: a home continua com as dela. */

.authority-subscribe-section .author-section {
  display: flex;
  gap: clamp(32px, 3.2vw, 56px);
  align-items: center;
  width: 100%;
  margin: 0;
}

.authority-subscribe-section .author-img-box {
  flex: 0 0 clamp(280px, 22vw, 360px);
  max-width: 360px;
  width: clamp(280px, 22vw, 360px);
  height: clamp(280px, 22vw, 360px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.authority-subscribe-section .author-img-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
}

.authority-subscribe-section .author-content {
  flex: 1 1 420px;
  width: 100%;
  max-width: 440px;
  min-width: 0;
}

.authority-subscribe-section .author-content h2 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.authority-subscribe-section .author-credentials {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.authority-subscribe-section .stat-row {
  display: flex;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
}

.authority-subscribe-section .stat-item strong {
  display: block;
  font-size: 2.5rem;
  font-family: var(--font-display);
  color: var(--brand-black);
  line-height: 1;
  margin-bottom: 8px;
}

.authority-subscribe-section .stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.authority-subscribe-section .price-card {
  background: var(--bg-content);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.authority-subscribe-section .price-card.featured {
  border: 2px solid var(--brand-blue);
  box-shadow: var(--shadow-glow);
}

.authority-subscribe-section .price-card h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.authority-subscribe-section .price-value {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  white-space: nowrap;
  color: var(--brand-black);
}

.authority-subscribe-section .price-value span {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.authority-subscribe-section .price-desc {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.authority-subscribe-section .price-list {
  text-align: left;
  margin: 40px 0 0;
  border-top: 1px solid var(--border-fine);
  padding-top: 40px;
  flex-grow: 1;
  list-style: none;
}

.authority-subscribe-section .price-list li {
  margin-bottom: 18px;
  display: flex;
  gap: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.authority-subscribe-section .price-list li::before {
  content: '—';
  color: var(--brand-blue);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 1279px) {
  .authority-subscribe-section .author-section {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .authority-subscribe-section .author-section {
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }

  .authority-subscribe-section .author-img-box {
    max-width: 260px;
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }

  .authority-subscribe-section .author-content {
    flex: 1 1 auto;
    width: 100%;
    max-width: 472px;
  }

  .authority-subscribe-section .author-credentials {
    align-items: center;
  }

  .authority-subscribe-section .stat-row {
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
  }
}

/* ─── OS CARTÕES DE CURSO DENTRO DA TRILHA (02/11/2026) ───
       O cartão é o da home; dentro da trilha o mock dá a ele outras medidas (e o selo "Você está aqui" no canto
       da imagem). As regras do mock para ele valem SÓ dentro do carrossel da trilha, na ordem dele. */

.trilha-carousel-track .course-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.trilha-carousel-track .badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-content);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  color: var(--text-main);
}

.trilha-carousel-track .course-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-content);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 450px;
  width: 100%;
  flex-grow: 1;
  position: relative;
  box-sizing: border-box;
}

.trilha-carousel-track .course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
  border-color: rgba(35, 143, 232, 0.3);
}

.trilha-carousel-track .course-card.is-current {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 8px 24px rgba(35, 143, 232, 0.12);
}

.trilha-carousel-track .course-card>a {
  order: 1;
  display: block;
  padding: 20px 20px 16px 20px;
}

.trilha-carousel-track .course-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.trilha-carousel-track .course-card-content {
  order: 2;
  padding: 0 20px 24px 20px;
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-grow: 1;
}

.trilha-carousel-track .course-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--brand-black);
}

.trilha-carousel-track .course-card-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

.trilha-carousel-track .course-card-content p:empty {
  display: none;
}

.trilha-carousel-track .course-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.trilha-carousel-track .badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-content);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: var(--text-main);
  flex-shrink: 0;
}

.trilha-carousel-track .badge-icon svg {
  width: 14px;
  height: 14px;
}

.trilha-carousel-track .course-card-img-wrap-cert {
  padding: 20px 20px 16px 20px;
}

/* ─── O CELULAR E A TELA ESTREITA (pedido do operador, 02/11/2026, vendo a página no ar) ───
       O mock não tinha regra de tela estreita para estas duas partes: os destaques e as listas ficavam espremidos em
       colunas. (O caminho do topo, que quebrava o título num bloco ao lado, passou a ir só até "Cursos".) */

@media (max-width: 860px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 680px) {
  .personas-reqs-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── "NOSSO MÉTODO" ANTES DAS LISTAS NO CELULAR (pedido do operador, 02/11/2026 — como na página da aula) ───
       Três peças na grade, na ordem da página no celular: a descrição, o método e as listas ("Pra quem é" e
       "Pré-requisitos"). No computador: a descrição e as listas à esquerda, o método à direita nas duas linhas (a
       segunda linha é `1fr` para a sobra do método ir para ela, e não abrir espaço embaixo da descrição). */

.about-method-grid {
  grid-template-rows: auto 1fr;
}

.about-method-grid > .about-col-left {
  grid-column: 1;
  grid-row: 1;
}

.about-method-grid > .method-layers-card {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.about-method-grid > .personas-reqs-grid {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

@media (max-width: 768px) {
  .about-method-grid {
    grid-template-rows: none;
  }

  .about-method-grid > .about-col-left,
      .about-method-grid > .method-layers-card,
      .about-method-grid > .personas-reqs-grid {
    grid-column: auto;
    grid-row: auto;
  }
}

