@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');
@import url('./variables.css');

/* ==========================================================================
   Reset e Configurações Globais
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Atmosfera Sutil de Profundidade */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow-top {
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(223, 183, 88, 0.07) 0%, rgba(7, 8, 11, 0) 70%);
  filter: blur(100px);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Tipografia em Ouro Genuíno (Gradiente de Ouro Nobre)
   ========================================================================== */
.gradient-gold {
  background: linear-gradient(135deg, #fff9e6 0%, #faebba 25%, #dfb758 50%, #b88a29 75%, #faebba 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
  text-shadow: 0 0 35px rgba(223, 183, 88, 0.2);
}

.gradient-title {
  background: linear-gradient(180deg, #ffffff 40%, #9aa4b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Barra Superior - Black Friday Oficial FdLearn (1 Linha & Totalmente Clicável)
   ========================================================================== */
.top-announcement-bar {
  background: linear-gradient(90deg, #050608 0%, #11141c 25%, #181d28 50%, #11141c 75%, #050608 100%);
  border-bottom: 1px solid rgba(223, 183, 88, 0.25);
  color: var(--text-primary);
  font-size: var(--font-size-xs);
  padding: 0;
  position: relative;
  z-index: 101;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.top-announcement-bar.closed {
  display: none;
}

.top-announcement-close {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.top-announcement-close:hover {
  color: var(--gold-200);
  background: rgba(223, 183, 88, 0.12);
  transform: translateY(-50%) scale(1.08);
}

.top-announcement-bar:hover {
  background: linear-gradient(90deg, #080a0f 0%, #161a25 25%, #1f2535 50%, #161a25 75%, #080a0f 100%);
  border-bottom-color: rgba(223, 183, 88, 0.45);
}

.top-announcement-link {
  display: block;
  width: 100%;
  padding: 0.65rem 1.5rem;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.top-announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.top-announcement-tag {
  background: linear-gradient(135deg, #dfb758 0%, #b88a29 100%);
  color: #07080b;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.top-announcement-message {
  color: #e2e8f0;
}

.top-announcement-highlight {
  color: var(--gold-200);
  font-weight: 700;
}

.top-announcement-period {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.top-announcement-cta {
  color: var(--gold-300);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  border-bottom: 1px solid var(--border-gold-subtle);
  padding-bottom: 1px;
  transition: var(--transition-fast);
}

.top-announcement-bar:hover .top-announcement-cta {
  color: var(--gold-100);
  border-bottom-color: var(--gold-300);
  transform: translateX(2px);
}

/* ==========================================================================
   Header & Navegação (100% Transparente sobreposta à Hero no topo, Glassmorphism ao rolar)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.15rem 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  transition: background-color 0.35s ease, border-color 0.35s ease, padding 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.header.scrolled {
  padding: 0.65rem 0;
  background: rgba(7, 8, 11, 0.90) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  border-bottom: 1px solid rgba(223, 183, 88, 0.22) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.85) !important;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 50px;
  width: auto;
  display: block;
  transition: var(--transition-fast);
}

.brand-logo:hover img {
  opacity: 0.92;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

/* Efeito da Linha Animada no Hover (Padrão Fderivs em Ouro Nobre) */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-100);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Botões e CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

/* Botão Primário: Ouro Polido */
.btn-primary {
  background: linear-gradient(135deg, #f0ca6c 0%, #dfb758 50%, #b88a29 100%);
  color: #07080b;
  box-shadow: 0 2px 14px rgba(223, 183, 88, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

.nav-actions .btn-primary {
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #fae08f 0%, #edd285 50%, #c59a3f 100%);
  box-shadow: 0 4px 22px rgba(223, 183, 88, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Botão Secundário: Obsidian com Borda de Ouro Sutil */
.btn-secondary {
  background: rgba(13, 16, 24, 0.6);
  color: var(--text-primary);
  border: 1px solid var(--border-gold-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(223, 183, 88, 0.05);
  border-color: var(--border-gold);
  color: var(--gold-200);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--gold-200);
}

/* Botão de Login com Ícone de Usuário (Estilo Fderivs nas Cores Atuais) */
.btn-login {
  background: rgba(13, 16, 24, 0.7);
  color: var(--text-primary);
  border: 1px solid var(--border-gold-subtle);
  padding: 0.52rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-login .login-user-icon {
  color: var(--gold-400);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.btn-login:hover {
  background: rgba(223, 183, 88, 0.1);
  border-color: var(--border-gold);
  color: var(--gold-100);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(223, 183, 88, 0.16);
}

.btn-login:hover .login-user-icon {
  color: var(--gold-200);
}

/* ==========================================================================
   Hero Section (Autoral & Elegante - Alinhado à Esquerda com bg1.png Estático)
   ========================================================================== */
.hero-section {
  /* Margem negativa para o menu sobrepor 100% o topo da imagem de fundo */
  margin-top: -85px;
  padding-top: calc(85px + clamp(3.5rem, 6vw, 5.5rem));
  padding-bottom: var(--space-2xl);
  text-align: left;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* Camada da imagem de fundo fixa na janela (Efeito Parallax Fixo clássico / background-attachment: fixed) */
.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/bg1.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
}

/* Camada de iluminação equilibrada: menos escura, com cantos escurecidos elegantes */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* Redução do escurecimento geral para revelar detalhes da imagem com sofisticação */
  background-color: rgba(7, 8, 11, 0.44);
  /* Vinheta suave nos cantos e fade superior/inferior para manter contraste dos textos */
  background-image: 
    radial-gradient(ellipse 90% 80% at 50% 50%, rgba(7, 8, 11, 0.05) 0%, rgba(7, 8, 11, 0.4) 65%, rgba(7, 8, 11, 0.78) 100%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.6) 0%, transparent 18%, transparent 72%, #07080b 100%),
    linear-gradient(90deg, rgba(7, 8, 11, 0.68) 0%, transparent 16%, transparent 84%, rgba(7, 8, 11, 0.68) 100%);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Eyebrow Editorial: Tipografia refinada, alinhada à esquerda */
.hero-editorial-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 2rem;
  position: relative;
}

.hero-editorial-tag::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold-500);
  margin: 0.75rem 0 0 0;
  opacity: 0.6;
}

.hero-title {
  font-size: var(--font-size-hero);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
  max-width: 1200px;
  margin-left: 0;
  margin-right: 0;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 860px;
  margin: 0 0 3rem 0;
  line-height: 1.75;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  margin-bottom: 4.5rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Três Pilares de Valor da Hero (Paleta Dark Obsidian & Ícones Lucide Dourados)
   ========================================================================== */
.hero-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0;
  width: 100%;
}

.hero-pillar-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.hero-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold-subtle), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.hero-pillar-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  box-shadow: 0 16px 38px -10px rgba(0, 0, 0, 0.7), 0 0 28px rgba(223, 183, 88, 0.1);
}

.hero-pillar-card:hover::before {
  opacity: 1;
}

/* Ícone Lucide: Grande, Dourado Metálico e Sem Círculo ao Redor */
.pillar-lucide-icon {
  width: 48px;
  height: 48px;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  filter: drop-shadow(0 2px 10px rgba(223, 183, 88, 0.25));
}

.hero-pillar-card:hover .pillar-lucide-icon {
  transform: translateY(-3px) scale(1.08);
  color: var(--gold-200);
  filter: drop-shadow(0 4px 18px rgba(223, 183, 88, 0.45));
}

.pillar-title {
  color: var(--text-primary);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
  width: 100%;
}

.pillar-title strong {
  font-weight: 700;
  background: linear-gradient(135deg, #fff9e6 0%, #faebba 25%, #dfb758 50%, #b88a29 75%, #faebba 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.pillar-desc {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.65;
  margin: 0;
  font-weight: 400;
}

.pillar-desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   Instituições de Origem (Social Proof)
   ========================================================================== */
.proof-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(13, 15, 21, 0.5);
}

.proof-label {
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 2rem;
  font-weight: 500;
}

.proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.proof-badge {
  color: #7b889b;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: var(--transition-fast);
}

.proof-badge:hover {
  color: var(--gold-200);
}

/* ==========================================================================
   Cursos em Grade & Filtros
   ========================================================================== */
.courses-section {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  color: var(--gold-400);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  max-width: 620px;
  margin: 0.85rem auto 0;
  line-height: 1.7;
}

.filters-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(13, 16, 24, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--border-highlight);
  color: var(--text-primary);
}

.filter-btn.active {
  background: rgba(223, 183, 88, 0.08);
  border-color: var(--border-gold);
  color: var(--gold-200);
}

/* ==========================================================================
   Seções Claras vs. Escuras (Intercaladas na Landing Page)
   ========================================================================== */
.section-light {
  background: #f8fafc;
  color: #0f172a;
  position: relative;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.section-light .section-header .section-eyebrow {
  color: #9e7828;
  font-weight: 700;
}

.section-light .section-header .section-title {
  color: #090d16;
}

.section-light .section-header .section-subtitle {
  color: #475569;
}

/* Barra de Filtros na Seção Clara com Colorização Invertida (Escuros em repouso, Claros quando selecionados) */
.section-light .filter-btn {
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.15rem;
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
  border: 2px solid transparent;
  box-shadow: none;
  transform: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* 0. Todos os Cursos: Escuro em repouso, Claro quando selecionado */
.section-light .filter-btn[data-filter="all"] {
  background: #0f172a;
  border-color: #1e293b;
  color: #94a3b8;
}
.section-light .filter-btn[data-filter="all"]:hover {
  background: #1e293b;
  border-color: #334155;
  color: #ffffff;
}
.section-light .filter-btn[data-filter="all"].active {
  background: #ffffff;
  border-color: #0f172a;
  color: #0f172a;
  font-weight: 700;
}

/* 1. Produtos Estruturados (Verde): Tom escuro em repouso, Tom claro quando selecionado */
.section-light .filter-btn[data-filter="estruturados"] {
  background: #0f2918;
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}
.section-light .filter-btn[data-filter="estruturados"]:hover {
  background: #144524;
  border-color: #22c55e;
  color: #bbf7d0;
}
.section-light .filter-btn[data-filter="estruturados"].active {
  background: #ffffff;
  border-color: #16a34a;
  color: #15803d;
  font-weight: 700;
}

/* 2. Modelagem Matemática (Laranja): Tom escuro em repouso, Tom claro quando selecionado */
.section-light .filter-btn[data-filter="modelagem"] {
  background: #2e1409;
  border-color: rgba(249, 115, 22, 0.35);
  color: #fdba74;
}
.section-light .filter-btn[data-filter="modelagem"]:hover {
  background: #451d0d;
  border-color: #f97316;
  color: #fed7aa;
}
.section-light .filter-btn[data-filter="modelagem"].active {
  background: #ffffff;
  border-color: #ea580c;
  color: #c2410c;
  font-weight: 700;
}

/* 3. Matemática Estatística (Azul): Tom escuro em repouso, Tom claro quando selecionado */
.section-light .filter-btn[data-filter="matematica-estatistica"] {
  background: #0c1f3d;
  border-color: rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}
.section-light .filter-btn[data-filter="matematica-estatistica"]:hover {
  background: #133261;
  border-color: #3b82f6;
  color: #bfdbfe;
}
.section-light .filter-btn[data-filter="matematica-estatistica"].active {
  background: #ffffff;
  border-color: #2563eb;
  color: #1d4ed8;
  font-weight: 700;
}

/* 4. Renda Fixa & Curvas (Roxo): Tom escuro em repouso, Tom claro quando selecionado */
.section-light .filter-btn[data-filter="renda-fixa"] {
  background: #230d38;
  border-color: rgba(168, 85, 247, 0.35);
  color: #d8b4fe;
}
.section-light .filter-btn[data-filter="renda-fixa"]:hover {
  background: #371457;
  border-color: #a855f7;
  color: #e9d5ff;
}
.section-light .filter-btn[data-filter="renda-fixa"].active {
  background: #ffffff;
  border-color: #9333ea;
  color: #7e22ce;
  font-weight: 700;
}

/* 5. Programação (Ciano / Turquesa): Tom escuro em repouso, Ciano vivo quando selecionado */
.section-light .filter-btn[data-filter="programacao"] {
  background: #08252c;
  border-color: rgba(6, 182, 212, 0.35);
  color: #67e8f9;
}
.section-light .filter-btn[data-filter="programacao"]:hover {
  background: #0c3944;
  border-color: #06b6d4;
  color: #a5f3fc;
}
.section-light .filter-btn[data-filter="programacao"].active {
  background: #ffffff;
  border-color: #0891b2;
  color: #0e7490;
  font-weight: 700;
}

/* ==========================================================================
   Grade Curricular Imersiva (Versão Clara com Tons Escurecidos Nobres)
   ========================================================================== */
.curriculo-interactive-stage {
  display: grid;
  grid-template-columns: minmax(360px, 440px) 1fr;
  gap: 2.5rem;
  align-items: stretch;
  position: relative;
  margin-top: 1.5rem;
  overflow: visible; /* Permite que os botões laterais ultrapassem o limite sem recorte */
}

/* --- Coluna Spotlight (Esquerda: Card Escuro com Textos Claros) --- */
.curriculo-spotlight-col {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.spotlight-card {
  background: rgba(9, 12, 18, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2.75rem 2.4rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 470px; /* Fixado em 470px conforme solicitado */
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  color: #f8fafc;
}

.spotlight-tone-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.22;
  transition: background-color 0.4s ease;
}

/* Tons no Card Escuro */
.spotlight-card.tone-green {
  border-top: 3px solid #22c55e;
}
.spotlight-card.tone-green .spotlight-tone-glow {
  background-color: #16a34a;
}
.spotlight-card.tone-green .spotlight-meta-clean .clock-icon {
  color: #4ade80;
}

.spotlight-card.tone-orange {
  border-top: 3px solid #f97316;
}
.spotlight-card.tone-orange .spotlight-tone-glow {
  background-color: #ea580c;
}
.spotlight-card.tone-orange .spotlight-meta-clean .clock-icon {
  color: #fb923c;
}

.spotlight-card.tone-blue {
  border-top: 3px solid #3b82f6;
}
.spotlight-card.tone-blue .spotlight-tone-glow {
  background-color: #2563eb;
}
.spotlight-card.tone-blue .spotlight-meta-clean .clock-icon {
  color: #60a5fa;
}

.spotlight-card.tone-purple {
  border-top: 3px solid #a855f7;
}
.spotlight-card.tone-purple .spotlight-tone-glow {
  background-color: #9333ea;
}
.spotlight-card.tone-purple .spotlight-meta-clean .clock-icon {
  color: #c084fc;
}

.spotlight-card.tone-cyan {
  border-top: 3px solid #06b6d4;
}
.spotlight-card.tone-cyan .spotlight-tone-glow {
  background-color: #0891b2;
}
.spotlight-card.tone-cyan .spotlight-meta-clean .clock-icon {
  color: #22d3ee;
}

.spotlight-title {
  font-size: clamp(1.4rem, 1.3rem + 0.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.spotlight-meta-clean {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.spotlight-time-box {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #f1f5f9;
  font-weight: 700;
}

.spotlight-meta-divider {
  color: rgba(255, 255, 255, 0.2);
}

.spotlight-lessons {
  color: #cbd5e1;
}

.spotlight-desc {
  font-size: 0.98rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.spotlight-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.spotlight-counter {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #64748b;
}

.spotlight-counter #spotlightCurrentIdx {
  color: var(--gold-300);
  font-weight: 700;
}

/* --- Coluna Deck de Cards (Direita) --- */
.curriculo-deck-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible; /* Garante que os botões laterais e as sombras não sejam cortados */
  min-width: 0;
  position: relative;
  z-index: 5;
}

/* Wrapper com Controles Laterais < > */
.curriculo-deck-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: visible;
}

.curriculo-deck-scroll {
  position: relative;
  display: flex;
  gap: 1.35rem;
  overflow-x: auto;
  padding: 0.85rem 1rem 1.6rem 1rem;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Oculta a barra de rolagem para visual limpo com as setas laterais */
  width: 100%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.curriculo-deck-scroll.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.curriculo-deck-scroll::-webkit-scrollbar {
  display: none;
}

/* Botões Laterais Flutuantes Elegantes < > (Na posição original de meia-borda, sobrepostos sem corte) */
.deck-nav-side-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30; /* Acima dos cards e dos containers */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-nav-side-btn.prev {
  left: -22px; /* Posição externa original, sem invadir os textos dos cards */
}

.deck-nav-side-btn.next {
  right: -22px; /* Posição externa original, sem invadir os textos dos cards */
}

.deck-nav-side-btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

.deck-nav-side-btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
}

/* Card Vertical Proporcional (Tons Escuros Sofisticados e Levemente Translúcidos) */
.curriculo-deck-card {
  flex: 0 0 clamp(250px, 25vw, 290px);
  height: clamp(380px, 46vh, 430px);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: rgba(9, 12, 18, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.85rem 1.6rem;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  user-select: none;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.12);
}

.curriculo-deck-card .card-tone-bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

/* 1. Verde (Produtos Estruturados) */
.curriculo-deck-card.tone-green {
  border-top: 3px solid #22c55e;
}
.curriculo-deck-card.tone-green .card-tone-bg {
  background: radial-gradient(circle at 50% 10%, rgba(34, 197, 94, 0.4) 0%, rgba(20, 83, 45, 0.25) 50%, transparent 100%);
}
.curriculo-deck-card.tone-green .card-category-text {
  color: #4ade80;
}
.curriculo-deck-card.tone-green .clock-icon {
  color: #4ade80;
}
.curriculo-deck-card.tone-green .card-time-text {
  color: #4ade80;
}
.curriculo-deck-card.tone-green .indicator-bar {
  background: #22c55e;
}

/* 2. Laranja (Modelagem Matemática) */
.curriculo-deck-card.tone-orange {
  border-top: 3px solid #f97316;
}
.curriculo-deck-card.tone-orange .card-tone-bg {
  background: radial-gradient(circle at 50% 10%, rgba(249, 115, 22, 0.4) 0%, rgba(194, 65, 12, 0.25) 50%, transparent 100%);
}
.curriculo-deck-card.tone-orange .card-category-text {
  color: #fb923c;
}
.curriculo-deck-card.tone-orange .clock-icon {
  color: #fb923c;
}
.curriculo-deck-card.tone-orange .card-time-text {
  color: #fb923c;
}
.curriculo-deck-card.tone-orange .indicator-bar {
  background: #f97316;
}

/* 3. Azul (Matemática Estatística) */
.curriculo-deck-card.tone-blue {
  border-top: 3px solid #3b82f6;
}
.curriculo-deck-card.tone-blue .card-tone-bg {
  background: radial-gradient(circle at 50% 10%, rgba(59, 130, 246, 0.4) 0%, rgba(29, 78, 216, 0.25) 50%, transparent 100%);
}
.curriculo-deck-card.tone-blue .card-category-text {
  color: #60a5fa;
}
.curriculo-deck-card.tone-blue .clock-icon {
  color: #60a5fa;
}
.curriculo-deck-card.tone-blue .card-time-text {
  color: #60a5fa;
}
.curriculo-deck-card.tone-blue .indicator-bar {
  background: #3b82f6;
}

/* 4. Roxo (Renda Fixa & Curvas) */
.curriculo-deck-card.tone-purple {
  border-top: 3px solid #a855f7;
}
.curriculo-deck-card.tone-purple .card-tone-bg {
  background: radial-gradient(circle at 50% 10%, rgba(168, 85, 247, 0.4) 0%, rgba(126, 34, 206, 0.25) 50%, transparent 100%);
}
.curriculo-deck-card.tone-purple .card-category-text {
  color: #c084fc;
}
.curriculo-deck-card.tone-purple .clock-icon {
  color: #c084fc;
}
.curriculo-deck-card.tone-purple .card-time-text {
  color: #c084fc;
}
.curriculo-deck-card.tone-purple .indicator-bar {
  background: #a855f7;
}

/* 5. Ciano / Turquesa (Programação) */
.curriculo-deck-card.tone-cyan {
  border-top: 3px solid #06b6d4;
}
.curriculo-deck-card.tone-cyan .card-tone-bg {
  background: radial-gradient(circle at 50% 10%, rgba(6, 182, 212, 0.4) 0%, rgba(14, 116, 144, 0.25) 50%, transparent 100%);
}
.curriculo-deck-card.tone-cyan .card-category-text {
  color: #22d3ee;
}
.curriculo-deck-card.tone-cyan .clock-icon {
  color: #22d3ee;
}
.curriculo-deck-card.tone-cyan .card-time-text {
  color: #22d3ee;
}
.curriculo-deck-card.tone-cyan .indicator-bar {
  background: #06b6d4;
}

/* Hover e Ativo nos Cards Escuros */
.curriculo-deck-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px -3px rgba(15, 23, 42, 0.2);
}
.curriculo-deck-card:hover .card-tone-bg {
  opacity: 0.32;
}

/* Card Selecionado: Elevação suave, sem corte de sombra e com brilho elegante */
.curriculo-deck-card.active {
  border-color: rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.28), 0 0 16px rgba(223, 183, 88, 0.1) !important;
  transform: translateY(-5px);
}
.curriculo-deck-card.active .card-tone-bg {
  opacity: 0.38;
}
.curriculo-deck-card.active .indicator-bar {
  width: 100%;
}

/* Topo do Card Sem Pills */
.card-header-clean {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-code-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold-300);
  letter-spacing: 0.05em;
}

.card-category-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Centro do Card: Título Maior e Centralizado */
.card-body-centered {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.card-title-main {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rodapé do Card: Destaque Marcante para Horas e Aulas */
.card-footer-clean {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.card-time-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.03em;
}

.card-meta-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1rem;
}

.card-lessons-text {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 0.88rem;
}

.card-indicator {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.indicator-bar {
  display: block;
  width: 32px;
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
}

@media (max-width: 960px) {
  .curriculo-interactive-stage {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .curriculo-deck-card {
    flex: 0 0 250px;
    height: 360px;
  }
  .spotlight-card {
    min-height: auto;
  }
}


/* ==========================================================================
   Banner no Rodapé da Seção de Cursos: Imagem Full Height + 2 Linhas de Conteúdo
   ========================================================================== */
.certificate-box,
.courses-bottom-cta {
  margin-top: 2.75rem;
  background:
    radial-gradient(460px 210px at 70% 0%, rgba(34, 197, 94, 0.2) 0%, rgba(20, 83, 45, 0.1) 50%, transparent 100%),
    linear-gradient(180deg, #0d1320 0%, #080b12 100%);
  border: none !important; /* Sem borda na caixa */
  border-radius: 12px;
  display: flex;
  align-items: stretch; /* Imagem estica 100% da altura da barra */
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.25), 0 8px 24px -4px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.certificate-box::before,
.courses-bottom-cta::before {
  display: none !important; /* Sem borda/linha no topo */
}

/* Imagem do Certificado (Ocupa 100% da altura da barra, sem bordas) */
.cert-thumb-box {
  flex-shrink: 0;
  height: auto;
  align-self: stretch;
  aspect-ratio: 1 / 1; /* Mantém a imagem 500x500 quadrada com o fundo cinza original */
  overflow: hidden;
  position: relative;
  border: none !important; /* Sem borda na imagem */
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.35);
  background: #6f6f6f;
}

.cert-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.certificate-box:hover .cert-thumb-img, .courses-bottom-cta:hover .cert-thumb-img {
  transform: scale(1.03);
}

/* Coluna de Conteúdo com 2 Linhas */
.courses-cta-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 2.25rem 2.85rem;
  gap: 1.35rem;
  min-width: 0;
}

/* Linha 1: Certificação */
.cta-row-cert {
  display: flex;
  flex-direction: column;
}

.cert-header-row {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 0;
}

.cert-icon-badge {
  width: 48px;
  height: 48px;
  margin-top: 0.25rem;
  border-radius: 12px;
  background: rgba(223, 183, 88, 0.12);
  border: 1px solid rgba(223, 183, 88, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dfb758;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(223, 183, 88, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.certificate-box:hover .cert-icon-badge, .courses-bottom-cta:hover .cert-icon-badge {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(223, 183, 88, 0.65);
  box-shadow: 0 6px 24px rgba(223, 183, 88, 0.3);
}

.cert-icon-badge svg {
  color: #dfb758 !important;
  stroke: #dfb758 !important;
  filter: drop-shadow(0 2px 8px rgba(223, 183, 88, 0.5));
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.certificate-box:hover .cert-icon-badge svg, .certificate-box:hover .cert-icon-badge, .courses-bottom-cta:hover .cert-icon-badge svg {
  color: #faebba !important;
  stroke: #faebba !important;
  filter: drop-shadow(0 2px 12px rgba(223, 183, 88, 0.75));
}

.cert-box-title,
.cert-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.cert-desc-highlight {
  font-size: 2.1rem;
  font-weight: 300;
  color: #f1f5f9;
  line-height: 1.32;
  margin: 0;
  letter-spacing: -0.01em;
}

.cert-desc-highlight b,
.cert-desc-highlight strong {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.cert-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Divisor Horizontal entre Linha 1 e Linha 2 */
.cta-rows-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(223, 183, 88, 0.22) 35%, rgba(255, 255, 255, 0.08) 100%);
}

/* Linha 2: Chamada para Ação e Botão */
.cta-row-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-action-texts {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.courses-cta-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.courses-cta-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  margin-bottom: 0;
  line-height: 1.5;
}

.cta-action-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.btn-golden-shine {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.2rem;
  background: linear-gradient(135deg, #fce082 0%, #dfb758 45%, #b8861e 100%);
  color: #080c14;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 24px rgba(223, 183, 88, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

.btn-golden-shine svg {
  transition: transform 0.25s ease;
}

.btn-golden-shine:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 30px rgba(223, 183, 88, 0.65), inset 0 1px 1px #ffffff;
  color: #000000;
}

.btn-golden-shine:hover svg {
  transform: translateX(4px);
}

.btn-golden-shine:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(223, 183, 88, 0.4);
}

.cta-action-micro-note {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: #64748b;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Responsividade Mobile e Tablet */
@media (max-width: 960px) {
  .certificate-box,
.courses-bottom-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .cert-thumb-box {
    width: 100%;
    height: 240px;
    aspect-ratio: auto;
    border-right: none;
    border: none !important;
  }
  .courses-cta-content-col {
    padding: 2rem 1.75rem 2.25rem 1.75rem;
    gap: 1.5rem;
  }
  .cert-desc-highlight {
    font-size: 1.35rem;
    line-height: 1.35;
  }
  .cta-row-action {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.25rem;
  }
  .cta-action-texts {
    align-items: center;
    text-align: center;
  }
  .cta-action-btn-wrap {
    width: 100%;
  }
  .cta-action-btn-wrap .btn,
  .btn-golden-shine {
    width: 100%;
  }
}


/* ==========================================================================
   Pacotes de Formação
   ========================================================================== */
.packages-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, transparent, rgba(13, 15, 21, 0.5), transparent);
}

#investimentos .section-header {
  text-align: left;
}

#investimentos .section-subtitle {
  max-width: none;
  margin: 0.85rem 0 0 0;
}

@media (min-width: 960px) {
  #investimentos .section-subtitle {
    white-space: nowrap;
  }
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  transition: var(--transition-smooth);
}

.package-card.featured {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, rgba(223, 183, 88, 0.04) 0%, var(--bg-card) 100%);
  box-shadow: 0 0 35px rgba(223, 183, 88, 0.08);
}

.package-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gradient-gold);
  color: #07080b;
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.package-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.package-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  min-height: 3rem;
}

.package-desc strong {
  color: #f1f5f9;
  font-weight: 700;
}

.package-price-wrap {
  margin-bottom: 1.15rem;
  min-height: 5.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.package-price-prefix {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.1rem;
}

.package-price-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.35rem;
}

.package-price {
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.package-card.featured .package-price {
  background: linear-gradient(135deg, #fff9e6 0%, #faebba 35%, #dfb758 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.package-price-unit {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.package-billing-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.45rem;
  margin-bottom: 0;
}

.package-billing-note strong {
  color: var(--gold-200);
  font-weight: 700;
}

/* Black Friday Box e Risco Elegante no Preço Base (Remover após 04/12) */
.packages-grid.bf-active .package-price {
  color: #647082;
  position: relative;
  display: inline-block;
}

.packages-grid.bf-active .package-card.featured .package-price {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #647082;
  color: #647082;
}

.packages-grid.bf-active .package-price::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 52%;
  height: 2px;
  background: rgba(223, 183, 88, 0.78);
  transform: rotate(-4.5deg);
  border-radius: 2px;
  pointer-events: none;
}

.packages-grid.bf-active .package-price-unit {
  color: #525d6e;
}

.packages-grid.bf-active .package-price-prefix {
  color: #647082;
}

.packages-grid.bf-active .package-billing-note {
  color: #647082;
}

.packages-grid.bf-active .package-billing-note strong {
  color: #94a3b8;
}

.package-bf-bar {
  width: 100%;
  min-height: 120px;
  background: #040507;
  border: 1px solid rgba(223, 183, 88, 0.28);
  border-radius: var(--radius-sm);
  padding: 1rem 1.05rem;
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 6px 18px rgba(0, 0, 0, 0.35);
}

.package-bf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.package-bf-tag {
  background: linear-gradient(135deg, #dfb758 0%, #b88a29 100%);
  color: #07080b;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-xs);
  line-height: 1.2;
}

.package-bf-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.package-bf-cash {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.package-bf-cash-prefix {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.package-bf-amount {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.package-card.featured .package-bf-amount {
  background: linear-gradient(135deg, #fff9e6 0%, #faebba 35%, #dfb758 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.package-bf-cash-label {
  font-size: 0.84rem;
  color: var(--gold-300);
  font-weight: 600;
}

.package-bf-installment {
  font-size: 0.73rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
}

.package-bf-installment strong {
  color: #f1f5f9;
  font-weight: 700;
}

.packages-bf-disclaimer {
  margin: 1.35rem auto 0;
  max-width: 1080px;
  text-align: center;
  text-wrap: balance;
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.packages-bf-disclaimer strong {
  color: var(--text-secondary);
  font-weight: 600;
}

@media (max-width: 480px) {
  .package-bf-cash,
  .package-bf-installment {
    flex-wrap: wrap;
    white-space: normal;
  }
}

.package-cta-wrap {
  width: 100%;
  margin-bottom: 1.75rem;
}

.package-cta-wrap .btn {
  width: 100%;
  justify-content: center;
}

.package-divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 1.5rem;
}

.package-card.featured .package-divider {
  background: rgba(223, 183, 88, 0.25);
}

.package-sub-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.package-sub-heading strong {
  color: var(--gold-300);
}

.package-features {
  list-style: none;
  margin-bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.95rem;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.55;
}

.package-features li strong {
  color: #f1f5f9;
  font-weight: 700;
}

.package-features li svg {
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 0.18rem;
}

.package-feature-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.package-feature-link:hover {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Faixa Comece Gratuitamente (Rodapé dos Preços) */
.packages-free-callout {
  margin-top: 2.5rem;
  padding: 2rem 2.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(223, 183, 88, 0.07) 0%, rgba(13, 16, 24, 0.92) 55%, rgba(13, 16, 24, 0.96) 100%);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.free-callout-title {
  font-size: var(--font-size-xl);
  font-weight: 800;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.free-callout-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin: 0;
}

.free-callout-desc strong {
  color: #f1f5f9;
  font-weight: 600;
}

@media (max-width: 768px) {
  .packages-free-callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
    gap: 1.25rem;
  }
  .packages-free-callout .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Para Quem São os Cursos (Arquitetura Institucional Refinada)
   ========================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 820px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem 2.5rem 2.15rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #090d16 0%, #dfb758 60%, #edd285 100%);
  opacity: 0.88;
  transition: opacity 0.35s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold-subtle);
}

.audience-card:hover::before {
  opacity: 1;
}

.audience-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9e7828;
  margin-bottom: 0.85rem;
}

.audience-card h3 {
  font-size: clamp(1.65rem, 1.85vw, 1.95rem);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.2;
}

@media (min-width: 821px) {
  .audience-card h3 {
    min-height: 2.4em;
  }
}

.audience-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.section-light .audience-card p.audience-lead,
.audience-card p.audience-lead {
  color: #0f172a;
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.audience-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.1) 0%, rgba(223, 183, 88, 0.4) 50%, rgba(15, 23, 42, 0.04) 100%);
  margin-bottom: 0.5rem;
}

.audience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0;
  margin-top: auto;
}

.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  line-height: 1.55;
  padding: 0.78rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.audience-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.audience-list li svg {
  color: #b88a29;
  flex-shrink: 0;
  margin-top: 0.16rem;
}

.audience-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.audience-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #090d16;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.audience-card-link:hover {
  color: #9e7828;
  gap: 0.75rem;
}

/* ==========================================================================
   Seção Sobre / Manifesto & Corpo Docente
   ========================================================================== */
.instructor-section {
  padding: 5.5rem 0;
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.instructor-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: url('../images/bg-1-2.jpg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.88fr;
  gap: 4.5rem;
  align-items: center;
}

/* Coluna Esquerda: Manifesto */
.sobre-content-col {
  display: flex;
  flex-direction: column;
}

.sobre-hero-title {
  font-size: clamp(2.1rem, 2.7vw, 3.1rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.6rem;
}

.sobre-hero-desc {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #94a3b8;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.sobre-highlights {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap; /* Rigorosamente 1 linha */
  gap: 1.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.sobre-highlight-item {
  display: flex;
  flex-direction: column; /* Ícone acima dos contadores */
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  flex: 1 1 0;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  background: none !important; /* Sem box atrás */
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-icon-wrap svg {
  color: var(--gold-400);
  stroke: var(--gold-400);
  filter: drop-shadow(0 2px 10px rgba(223, 183, 88, 0.28));
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.sobre-highlight-item:hover .stat-icon-wrap {
  transform: translateY(-3px) scale(1.08);
}

.sobre-highlight-item:hover .stat-icon-wrap svg {
  color: var(--gold-300);
  stroke: var(--gold-300);
  filter: drop-shadow(0 4px 16px rgba(223, 183, 88, 0.55));
}

.stat-text-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sobre-highlight-number {
  font-family: var(--font-sans);
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 35%, #94a3b8 100%); /* Gradiente suave sofisticado */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-prefix {
  font-size: 1.55rem;
  font-weight: 800;
  margin-right: 1px;
}

.counter-val {
  font-variant-numeric: tabular-nums;
}

.sobre-highlight-text {
  font-family: var(--font-sans); /* Fonte normal da página (Inter) */
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-top: 0.35rem;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.sobre-highlight-divider {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0;
  align-self: center;
  flex-shrink: 0;
  opacity: 0;
  transform: scaleY(0);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Coluna Direita: Card Vertical do Guilherme Fleury */
.sobre-card-col {
  display: flex;
  justify-content: center;
}

.instructor-card-vertical {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.9) 0%, rgba(9, 12, 18, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.6), 0 0 40px -15px rgba(223, 183, 88, 0.12);
  width: 100%;
  max-width: 460px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card-vertical:hover {
  border-color: rgba(223, 183, 88, 0.35);
  box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.7), 0 0 50px -10px rgba(223, 183, 88, 0.2);
}

.instructor-vertical-img-wrap {
  position: relative;
  width: 100%;
  height: 290px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.6rem;
}

.instructor-vertical-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  filter: contrast(105%);
  transition: transform 0.4s ease;
}

.instructor-card-vertical:hover .instructor-vertical-img-wrap img {
  transform: scale(1.03);
}

.instructor-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(9, 12, 18, 0.85) 100%);
  pointer-events: none;
}

.instructor-vertical-body {
  display: flex;
  flex-direction: column;
}

.instructor-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.instructor-role {
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.45rem;
}

.instructor-bio {
  color: #94a3b8;
  font-size: 0.94rem;
  line-height: 1.68;
  margin-bottom: 1.5rem;
}

/* Letreiro Contínuo (Infinite Marquee) das Instituições no Card */
.instructor-marquee-wrap {
  width: 100%;
  margin-top: 1.35rem;
  overflow: hidden;
}

.badges-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 0.75rem;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 92%, transparent 100%);
  padding: 0.25rem 0;
}

.badges-marquee:hover .badges-marquee-group {
  animation-play-state: paused;
}

.badges-marquee-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  animation: badgeMarqueeScroll 18s linear infinite;
  will-change: transform;
}

@keyframes badgeMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 0.75rem));
  }
}

.inst-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.38rem 0.85rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  color: #cbd5e1;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}

.inst-badge:hover {
  background: rgba(223, 183, 88, 0.12);
  border-color: rgba(223, 183, 88, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .sobre-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }
  .sobre-grid > * {
    min-width: 0;
  }
  .sobre-content-col {
    text-align: center;
    align-items: center;
  }
  .sobre-tag {
    align-self: center;
  }
  .sobre-highlights {
    justify-content: center;
  }
  .instructor-card-vertical {
    max-width: 100%;
  }
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: var(--space-2xl) 0;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: none;
}

.faq-item.active {
  border-color: var(--border-gold-subtle);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--gold-300);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.75rem;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 320px;
  transition: max-height 0.3s ease-in-out;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
  background: #040508;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  margin-top: 1.25rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer-brand p strong {
  color: inherit;
  font-weight: 700;
}

.footer-col h4 {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-200);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}


/* ==========================================================================
   Seções Claras Específicas (Audience & Newsletter)
   ========================================================================== */
.section-light.audience-section {
  background: radial-gradient(ellipse 75% 45% at 50% 0%, rgba(223, 183, 88, 0.08) 0%, transparent 70%), #f8fafc;
  color: #0f172a;
}
.section-light .audience-card {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.25), 0 8px 20px -4px rgba(15, 23, 42, 0.12);
}

/* Tom Verde (Produtos Estruturados) */
.section-light .audience-card.tone-green {
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.28) 0%, rgba(20, 83, 45, 0.16) 48%, transparent 85%),
    linear-gradient(180deg, #0d1320 0%, #080b12 100%);
}
.section-light .audience-card.tone-green::before {
  background: #22c55e;
}
.section-light .audience-card.tone-green .audience-kicker {
  color: #4ade80;
}
.section-light .audience-card.tone-green .audience-divider {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(34, 197, 94, 0.4) 50%, rgba(255, 255, 255, 0.04) 100%);
}
.section-light .audience-card.tone-green:hover {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 28px 56px -14px rgba(15, 23, 42, 0.35), 0 0 30px -8px rgba(34, 197, 94, 0.22);
}

/* Tom Azul (Matemática Estatística) */
.section-light .audience-card.tone-blue {
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.28) 0%, rgba(29, 78, 216, 0.16) 48%, transparent 85%),
    linear-gradient(180deg, #0d1320 0%, #080b12 100%);
}
.section-light .audience-card.tone-blue::before {
  background: #3b82f6;
}
.section-light .audience-card.tone-blue .audience-kicker {
  color: #60a5fa;
}
.section-light .audience-card.tone-blue .audience-divider {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(59, 130, 246, 0.4) 50%, rgba(255, 255, 255, 0.04) 100%);
}
.section-light .audience-card.tone-blue:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 28px 56px -14px rgba(15, 23, 42, 0.35), 0 0 30px -8px rgba(59, 130, 246, 0.22);
}

.section-light .audience-card h3 {
  color: #ffffff;
}
.section-light .audience-card p.audience-lead {
  color: #f1f5f9;
}
.section-light .audience-card p {
  color: #94a3b8;
}
.section-light .audience-list li {
  color: #cbd5e1;
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
.section-light .audience-list li svg {
  color: #dfb758;
}

.audience-card-cta {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.audience-cta-btn {
  width: 100%;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.audience-cta-btn svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.audience-cta-btn:hover svg {
  transform: translateX(4px);
}

.section-light .audience-card.tone-green .audience-cta-btn {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.section-light .audience-card.tone-green .audience-cta-btn:hover {
  background: rgba(34, 197, 94, 0.22);
  border-color: #22c55e;
  color: #ffffff;
  transform: translateY(-2px);
}

.section-light .audience-card.tone-blue .audience-cta-btn {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.section-light .audience-card.tone-blue .audience-cta-btn:hover {
  background: rgba(59, 130, 246, 0.22);
  border-color: #3b82f6;
  color: #ffffff;
  transform: translateY(-2px);
}

/* FAQ Seção Clara (Mesmo padrão da Seção Perfil) */
.section-light.faq-section {
  background: radial-gradient(ellipse 75% 45% at 50% 0%, rgba(223, 183, 88, 0.08) 0%, transparent 70%), #f8fafc;
  color: #0f172a;
}

.section-light .faq-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px -10px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: none;
}

.section-light .faq-item.active {
  border-color: rgba(223, 183, 88, 0.55);
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(223, 183, 88, 0.2);
}

.section-light .faq-question {
  color: #090d16;
  font-weight: 700;
}

.section-light .faq-question strong {
  color: #090d16;
  font-weight: 800;
}

.section-light .faq-icon {
  color: #64748b;
}

.section-light .faq-item.active .faq-icon {
  color: #9e7828;
}

.section-light .faq-answer {
  color: #475569;
}

.section-light .faq-answer strong {
  color: #0f172a;
  font-weight: 700;
}

/* Newsletter Seção Clara */
.section-light.newsletter-section {
  background: #f8fafc;
  color: #0f172a;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.section-light.newsletter-section h2 {
  color: #090d16;
}
.section-light.newsletter-section p {
  color: #475569;
}
.section-light.newsletter-section input[type="email"] {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.section-light.newsletter-section input[type="email"]:focus {
  border-color: #0f172a !important;
}

/* Banner CTA Intermediário Claro */
.section-cta-light {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta-light .cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(223, 183, 88, 0.12);
  color: #855d14;
  border: 1px solid rgba(223, 183, 88, 0.35);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.section-cta-light h2 {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
  font-weight: 800;
  color: #090d16;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}
.section-cta-light p {
  color: #475569;
  font-size: var(--font-size-base);
  max-width: 640px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

/* Links Inline no Rodapé (Ex: FdLearn, Fderivs) */
.footer-inline-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-fast);
  cursor: pointer;
}

.footer-inline-link strong {
  color: inherit;
  font-weight: inherit;
  transition: inherit;
}

.footer-inline-link:hover,
.footer-inline-link:hover strong {
  color: var(--gold-200);
}

.footer-social-link {
  color: var(--text-muted);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-link:hover {
  color: var(--gold-200);
}

/* Logos de Parceiros no Rodapé (Somente Ícones, Alinhados à Direita) */
.footer-icon-only-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.2s ease;
}
.footer-icon-only-link img {
  height: 58px !important;
  width: auto;
  border-radius: 8px;
  opacity: 0.82;
  transition: opacity 0.2s ease;
}
.footer-icon-only-link:hover img {
  opacity: 1;
}


/* ==========================================================================
   Creative Scroll-Triggered Entrance Animations (Variados e Dinâmicos)
   ========================================================================== */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(-45px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale-up {
  opacity: 0;
  transform: scale(0.92) translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-stagger-parent > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Estado Ativo quando no viewport */
.is-revealed,
.is-revealed.reveal-fade-up,
.is-revealed.reveal-fade-left,
.is-revealed.reveal-fade-right,
.is-revealed.reveal-scale-up {
  opacity: 1 !important;
  transform: none !important;
}

.is-revealed.reveal-stagger-parent > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.is-revealed.reveal-stagger-parent > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }
.is-revealed.reveal-stagger-parent > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: none; }
.is-revealed.reveal-stagger-parent > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: none; }
.is-revealed.reveal-stagger-parent > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: none; }
.is-revealed.reveal-stagger-parent > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: none; }

/* Animação nos contadores e divisores do sobre */
.is-revealed .sobre-highlight-item:nth-child(1),
.sobre-highlights.is-revealed .sobre-highlight-item:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.08s;
}

.is-revealed .sobre-highlight-divider:nth-child(2),
.sobre-highlights.is-revealed .sobre-highlight-divider:nth-child(2) {
  opacity: 1;
  transform: scaleY(1);
  transition-delay: 0.18s;
}

.is-revealed .sobre-highlight-item:nth-child(3),
.sobre-highlights.is-revealed .sobre-highlight-item:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.28s;
}

.is-revealed .sobre-highlight-divider:nth-child(4),
.sobre-highlights.is-revealed .sobre-highlight-divider:nth-child(4) {
  opacity: 1;
  transform: scaleY(1);
  transition-delay: 0.38s;
}

.is-revealed .sobre-highlight-item:nth-child(5),
.sobre-highlights.is-revealed .sobre-highlight-item:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.48s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-fade-up, .reveal-fade-left, .reveal-fade-right, .reveal-scale-up, .reveal-stagger-parent > *, .sobre-highlight-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ==========================================================================
   Seção de Certificação Oficial (Seção Clara)
   ========================================================================== */
.certificate-section,
.certificate-section.section-light {
  position: relative;
  background: #f8fafc !important;
  color: #0f172a !important;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Padronização Tipográfica dos Títulos Principais (mesma escala e peso da seção Sobre) */
#cursos .section-title,
#certificado .section-title,
#investimentos .section-title,
#para-quem .section-title,
#faq .section-title {
  font-size: clamp(2.1rem, 2.7vw, 3.1rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

/* ==========================================================================
   Seção Minimalista YouTube (Netflix Showcase)
   ========================================================================== */
.yt-showcase-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, #0b101a 0%, #07080b 100%);
  position: relative;
  overflow: hidden;
}

.yt-section-parallax-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(640px 340px at 94% 12%, rgba(34, 197, 94, 0.22) 0%, rgba(20, 83, 45, 0.1) 50%, transparent 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.final-cta-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, #0b0e16 0%, #040508 100%);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-parallax-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(620px 320px at 94% 20%, rgba(223, 183, 88, 0.22) 0%, rgba(184, 138, 41, 0.09) 48%, transparent 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.final-cta-section .container {
  position: relative;
  z-index: 1;
}

.yt-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.yt-header-left .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.yt-header-left .section-eyebrow svg {
  flex-shrink: 0;
}

.yt-header-left .section-title {
  font-size: clamp(1.85rem, 2.3vw, 2.55rem);
  text-align: left;
}

.yt-channel-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.yt-sub-count {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.yt-official-sub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #f1f1f1;
  color: #0f0f0f;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.yt-official-sub-btn:hover {
  background: #d9d9d9;
  color: #0f0f0f;
  transform: translateY(-1px);
}

.yt-netflix-stage {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #05070c;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 28px 65px -18px rgba(0, 0, 0, 0.75);
}

.yt-stage-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
  transform: scale(1.03);
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.yt-stage-backdrop.is-switching {
  opacity: 0.35;
  transform: scale(1.06);
}

.yt-stage-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #05070c 0%, rgba(5, 7, 12, 0.92) 38%, rgba(5, 7, 12, 0.48) 72%, rgba(5, 7, 12, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.22) 0%, rgba(5, 7, 12, 0.45) 42%, rgba(5, 7, 12, 0.92) 74%, #05070c 100%);
  pointer-events: none;
  z-index: 1;
}

.yt-stage-hero {
  position: relative;
  z-index: 2;
  padding: 3.75rem 3rem 2.25rem;
  min-height: 295px;
  display: flex;
  align-items: flex-end;
}

.yt-stage-info {
  max-width: 580px;
}

.yt-stage-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  margin-bottom: 0.7rem;
}

.yt-stage-title {
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

@media (min-width: 768px) {
  .yt-stage-title {
    min-height: 3.6em;
    display: flex;
    align-items: center;
  }
  .yt-stage-desc {
    min-height: 3.2em;
  }
}

.yt-stage-desc {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-stage-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.yt-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.yt-all-videos-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.yt-all-videos-link:hover {
  color: var(--gold-300);
}

/* Rail de Cards de Vídeo */
.yt-rail-wrap {
  position: relative;
  z-index: 2;
  padding: 0 3rem 2.5rem;
}

.yt-cards-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.yt-video-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: rgba(13, 16, 24, 0.65);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.yt-video-card:hover {
  transform: translateY(-2px);
  background: rgba(223, 183, 88, 0.05);
  border-color: var(--border-gold);
  box-shadow: 0 8px 22px -6px rgba(0, 0, 0, 0.55);
}

.yt-video-card.active {
  transform: translateY(-2px);
  background: rgba(223, 183, 88, 0.07);
  border-color: var(--border-gold);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.65), 0 0 16px rgba(223, 183, 88, 0.1);
}

.yt-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090d16;
}

.yt-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.yt-video-card:hover .yt-thumb-wrap img,
.yt-video-card.active .yt-thumb-wrap img {
  transform: scale(1.05);
  opacity: 1;
}

.yt-thumb-play {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(5, 7, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.yt-video-card:hover .yt-thumb-play,
.yt-video-card.active .yt-thumb-play {
  background: rgba(223, 183, 88, 0.2);
  border-color: var(--border-gold);
  color: var(--gold-200);
  backdrop-filter: blur(6px);
}

.yt-card-meta {
  padding: 0.8rem 0.9rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.yt-card-kicker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
}

.yt-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.yt-video-card.active .yt-card-title {
  color: var(--gold-200);
}

@media (max-width: 1080px) {
  .yt-stage-hero {
    padding: 3rem 2rem 2rem;
  }
  .yt-rail-wrap {
    padding: 0 2rem 2rem;
  }
  .yt-cards-rail {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 230px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(223, 183, 88, 0.35) transparent;
  }
  .yt-video-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .yt-stage-hero {
    padding: 2.25rem 1.35rem 1.5rem;
    min-height: 250px;
  }
  .yt-rail-wrap {
    padding: 0 1.35rem 1.5rem;
  }
  .yt-stage-vignette {
    background:
      linear-gradient(180deg, rgba(5, 7, 12, 0.38) 0%, rgba(5, 7, 12, 0.85) 52%, #05070c 82%);
  }
}
