/* ============================================================
   SOLO INFORMAÇÕES TÉCNICA - folha de estilos principal
   Design system: dark + azul sofisticado, mobile-first.
   ============================================================ */

:root {
  --solo-primary: #2563eb;
  --solo-primary-dark: #1e3a8a;
  --solo-primary-light: #60a5fa;
  --solo-accent: #f59e0b;
  --solo-accent-2: #f97316;
  --solo-dark: #0f172a;
  --solo-dark-2: #1e293b;
  --solo-gray-50: #f8fafc;
  --solo-gray-100: #f1f5f9;
  --solo-gray-200: #e2e8f0;
  --solo-gray-400: #94a3b8;
  --solo-gray-600: #475569;
  --solo-gray-800: #1e293b;
  --solo-danger: #dc2626;
  --solo-success: #16a34a;
  --solo-radius: 0.875rem;
  --solo-radius-sm: 0.625rem;
  --solo-shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 8px 24px rgba(15, 23, 42, .06);
  --solo-shadow-lg: 0 4px 12px rgba(15, 23, 42, .08), 0 20px 48px rgba(15, 23, 42, .12);
  --solo-font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --solo-font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--solo-font-body);
  background: var(--solo-gray-50);
  color: var(--solo-gray-800);
  font-size: 0.95rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--solo-font-display);
  letter-spacing: -0.01em;
}

a { color: var(--solo-primary); }
a:hover { color: var(--solo-primary-dark); }

/* ============================================================
   BARRA DE NAVEGAÇÃO PÚBLICA (glass)
   ============================================================ */
.solo-navbar {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 8px 32px rgba(15, 23, 42, .18);
}
.solo-navbar .navbar-brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-family: var(--solo-font-display);
  font-size: 1.05rem;
}
.solo-navbar .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--solo-primary), var(--solo-primary-light));
  color: #fff;
  font-weight: 900;
  margin-right: 0.5rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .45);
}
.solo-navbar .nav-link {
  color: #cbd5e1;
  font-weight: 500;
  padding: .5rem .8rem !important;
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.solo-navbar .nav-link:hover,
.solo-navbar .nav-link.active { color: #fff; background: rgba(255,255,255,.08); }

/* ============================================================
   APLICATIVO (sidebar + conteúdo)
   ============================================================ */
.app-shell { display: flex; min-height: 100vh; }

.app-sidebar {
  width: 264px;
  background:
    radial-gradient(600px 300px at 20% -10%, rgba(37,99,235,.35), transparent 60%),
    linear-gradient(180deg, #0f172a, #101b33);
  color: #cbd5e1;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  overflow-y: auto;
  z-index: 1040;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  border-right: 1px solid rgba(255,255,255,.06);
}
.app-sidebar.open { transform: translateX(0); }

.app-sidebar .sidebar-brand {
  display: flex; align-items: center; gap: .6rem;
  padding: 1.05rem 1.2rem;
  color: #fff; font-weight: 800; font-size: 1.04rem;
  font-family: var(--solo-font-display);
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
}
.app-sidebar .nav-section {
  padding: 1rem 1.2rem .35rem;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #64748b;
  font-weight: 700;
}
.app-sidebar .nav-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .62rem 1.2rem;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  font-size: .9rem;
  border-left: 3px solid transparent;
  margin: 2px .55rem;
  border-radius: 10px;
  transition: background .15s, color .15s, transform .15s;
}
.app-sidebar .nav-item:hover { background: rgba(255,255,255,.07); color: #fff; transform: translateX(2px); }
.app-sidebar .nav-item.active {
  background: linear-gradient(90deg, rgba(37,99,235,.32), rgba(37,99,235,.12));
  color: #fff;
  border-left-color: var(--solo-primary-light);
}
.app-sidebar .nav-item i { width: 20px; text-align: center; font-size: 1.05rem; color: var(--solo-primary-light); }
.app-sidebar .nav-item.active i { color: #fff; }

.app-main { flex: 1; margin-left: 0; width: 100%; min-width: 0; display: flex; flex-direction: column; }

.app-topbar {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  padding: .6rem 1rem;
  box-shadow: 0 1px 3px rgba(15,23,42,.06);
  position: sticky; top: 0; z-index: 1020;
  border-bottom: 1px solid var(--solo-gray-200);
}
.app-topbar .page-title { font-weight: 800; margin: 0; font-size: 1.05rem; font-family: var(--solo-font-display); }

.app-content {
  padding: 1.25rem;
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* ---------- Menu inferior mobile ---------- */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--solo-gray-200);
  display: flex;
  z-index: 1030;
  box-shadow: 0 -4px 20px rgba(15,23,42,.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bottom-nav a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: .55rem 0;
  color: var(--solo-gray-600);
  text-decoration: none;
  font-size: .62rem;
  font-weight: 600;
  transition: color .15s;
}
.mobile-bottom-nav a i { font-size: 1.3rem; }
.mobile-bottom-nav a.active { color: var(--solo-primary); }

body.has-bottom-nav { padding-bottom: 62px; }

/* ---------- Overlay ---------- */
.sidebar-overlay { position: fixed; inset: 0; background: rgba(2,6,23,.55); z-index: 1035; display: none; backdrop-filter: blur(2px); }
.sidebar-overlay.show { display: block; }

/* ============================================================
   CARDS
   ============================================================ */
.solo-card {
  background: #fff;
  border-radius: var(--solo-radius);
  box-shadow: var(--solo-shadow);
  border: 1px solid var(--solo-gray-200);
  margin-bottom: 1rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.solo-card .card-head {
  padding: .95rem 1.15rem;
  border-bottom: 1px solid var(--solo-gray-200);
  font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  font-family: var(--solo-font-display);
}
.solo-card .card-body { padding: 1.15rem; }

.course-card { overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.course-card:hover { box-shadow: var(--solo-shadow-lg); transform: translateY(-3px); }
.course-card .course-thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--solo-primary-dark), var(--solo-primary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}
.course-card .course-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(200px 100px at 85% 0%, rgba(245,158,11,.25), transparent 60%);
}
.course-card .course-thumb i { position: relative; z-index: 1; }
.course-card .course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-card .course-body { padding: 1rem 1.05rem; }

/* ============================================================
   PROGRESSO
   ============================================================ */
.progress {
  height: 8px;
  border-radius: 99px;
  background: var(--solo-gray-200);
  overflow: hidden;
}
.progress-bar {
  background: linear-gradient(90deg, var(--solo-primary), var(--solo-primary-light));
  border-radius: 99px;
  transition: width .4s ease;
}

.lesson-item {
  display: flex; align-items: center; gap: .8rem;
  padding: .75rem .85rem;
  border: 1px solid var(--solo-gray-200);
  border-radius: .75rem;
  margin-bottom: .5rem;
  background: #fff;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.lesson-item:hover {
  border-color: var(--solo-primary-light);
  box-shadow: 0 4px 16px rgba(37,99,235,.10);
  transform: translateX(2px);
}
.lesson-status {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
}
.lesson-status.done { background: var(--solo-success); color: #fff; }
.lesson-status.pending { background: var(--solo-gray-200); color: var(--solo-gray-600); }
.lesson-status.current { background: var(--solo-primary); color: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.lesson-status.locked { background: #fff; color: var(--solo-gray-400); border: 1px dashed var(--solo-gray-400); }

/* ============================================================
   PLAYER DE VÍDEO
   ============================================================ */
.video-player-wrap {
  background: #000;
  border-radius: var(--solo-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  box-shadow: var(--solo-shadow-lg);
}
.video-player-wrap video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
@media (min-width: 768px) {
  .video-player-wrap { max-height: 58vh; }
}

/* Botão flutuante "Instalar app" (PWA) */
.pwa-install-btn {
  position: fixed;
  right: 1rem; bottom: 1rem;
  z-index: 1050;
  display: none;
  align-items: center; gap: .5rem;
  box-shadow: 0 10px 30px rgba(245,158,11,.45);
}
@media (max-width: 767.98px) {
  .pwa-install-btn { bottom: calc(62px + env(safe-area-inset-bottom) + .6rem); }
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  border-radius: .65rem;
  font-weight: 600;
  transition: all .18s ease;
}
.btn-solo {
  background: linear-gradient(135deg, var(--solo-primary), var(--solo-primary-dark));
  color: #fff;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 14px rgba(37,99,235,.28);
}
.btn-solo:hover {
  background: linear-gradient(135deg, var(--solo-primary-light), var(--solo-primary));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
}
.btn-solo-outline {
  border: 1.5px solid var(--solo-primary);
  color: var(--solo-primary);
  background: transparent;
  font-weight: 600;
  border-radius: .65rem;
}
.btn-solo-outline:hover { background: var(--solo-primary); color: #fff; }
.btn-accent {
  background: linear-gradient(90deg, #f59e0b, #f97316);
  border: none;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245,158,11,.3);
}
.btn-accent:hover { color: #0f172a; filter: brightness(1.05); transform: translateY(-1px); }

.big-tap { min-height: 48px; font-size: 1rem; border-radius: .75rem; }

.btn-light, .btn-outline-secondary {
  border-radius: .65rem;
  border-color: var(--solo-gray-200);
}

/* ============================================================
   FORMULÁRIOS
   ============================================================ */
.form-label { font-weight: 600; font-size: .85rem; color: var(--solo-gray-600); margin-bottom: .35rem; }
.form-control, .form-select {
  border-radius: .7rem;
  padding: .65rem .85rem;
  border-color: var(--solo-gray-200);
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--solo-primary-light);
  box-shadow: 0 0 0 .22rem rgba(59,130,246,.15);
}
.form-check-input:checked { background-color: var(--solo-primary); border-color: var(--solo-primary); }

/* ============================================================
   KPI
   ============================================================ */
.kpi-card {
  background: #fff;
  border: 1px solid var(--solo-gray-200);
  border-radius: var(--solo-radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--solo-shadow);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.kpi-card:hover { transform: translateY(-3px); box-shadow: var(--solo-shadow-lg); }
.kpi-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--solo-primary), var(--solo-primary-light), var(--solo-accent));
}
.kpi-card .kpi-value { font-size: 1.6rem; font-weight: 800; font-family: var(--solo-font-display); letter-spacing: -0.02em; }
.kpi-card .kpi-label { color: var(--solo-gray-600); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kpi-card .kpi-sub { color: var(--solo-gray-400); font-size: .78rem; }
.kpi-card .kpi-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: #fff;
  box-shadow: 0 6px 16px rgba(37,99,235,.28);
}

/* ---- Hero card do dashboard (aluno) ---- */
.solo-card-hero {
  border: none;
  color: #fff;
  background:
    radial-gradient(520px 240px at 95% -20%, rgba(245,158,11,.28), transparent 60%),
    radial-gradient(400px 240px at -5% 120%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(135deg, #1e3a8a, #1d4ed8 70%, #2563eb);
  box-shadow: 0 18px 44px rgba(30,58,138,.4);
}
.solo-card-hero .avatar { box-shadow: 0 0 0 3px rgba(255,255,255,.25); }

/* ============================================================
   ALERTAS / BADGES
   ============================================================ */
.alert { border-radius: var(--solo-radius-sm); border: none; box-shadow: var(--solo-shadow); }
.badge-soft {
  display: inline-block;
  padding: .38em .75em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .01em;
}
.badge-success { background: #dcfce7; color: #15803d; }
.badge-danger { background: #fee2e2; color: #b91c1c; }
.badge-warning { background: #fef3c7; color: #b45309; }
.badge-info { background: #dbeafe; color: #1d4ed8; }
.badge-secondary { background: var(--solo-gray-100); color: var(--solo-gray-600); }

/* ============================================================
   TABELAS
   ============================================================ */
.table-responsive { border-radius: var(--solo-radius); }
.table thead th {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--solo-gray-600);
  border-bottom-width: 1px;
  background: var(--solo-gray-50);
  padding: .8rem .9rem;
}
.table tbody td { padding: .8rem .9rem; vertical-align: middle; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: #f8fafc; }

.pagination .page-link {
  border-radius: .5rem !important;
  margin: 0 2px;
  color: var(--solo-primary);
  border: 1px solid var(--solo-gray-200);
  font-weight: 600;
}
.pagination .page-item.active .page-link {
  background: var(--solo-primary);
  border-color: var(--solo-primary);
}

/* ============================================================
   CHAT / MENSAGENS
   ============================================================ */
.chat-box { display: flex; flex-direction: column; height: calc(100vh - 200px); min-height: 380px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; }
.chat-bubble { max-width: 78%; padding: .65rem .9rem; border-radius: 1.1rem; margin-bottom: .5rem; word-wrap: break-word; box-shadow: var(--solo-shadow); }
.chat-bubble.me { background: linear-gradient(135deg, var(--solo-primary), var(--solo-primary-dark)); color: #fff; margin-left: auto; border-bottom-right-radius: .3rem; }
.chat-bubble.them { background: #fff; border: 1px solid var(--solo-gray-200); border-bottom-left-radius: .3rem; }
.chat-input { border-top: 1px solid var(--solo-gray-200); padding: .7rem; display: flex; gap: .5rem; }

/* ============================================================
   IA
   ============================================================ */
.ia-typing::after {
  content: "";
  animation: ia-blink 1s steps(2) infinite;
}
@keyframes ia-blink { 0%,100% { opacity: 0; } 50% { opacity: 1; } }

/* ============================================================
   HERO / LANDING
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--solo-dark) 0%, var(--solo-primary-dark) 60%, var(--solo-primary) 100%);
  color: #fff;
  padding: 3.5rem 1.25rem;
  text-align: center;
}
.hero h1 { font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.6rem); }
.hero p { color: #cbd5e1; max-width: 620px; margin: 1rem auto 0; }

.footer-public {
  background:
    radial-gradient(700px 300px at 85% 120%, rgba(37,99,235,.25), transparent 60%),
    linear-gradient(180deg, #0f172a, #0a1122);
  color: #94a3b8;
  padding: 2.5rem 1rem 3.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-public a { color: #cbd5e1; text-decoration: none; transition: color .15s; }
.footer-public a:hover { color: #fff; }
.footer-public h6 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }

/* ============================================================
   AUTENTICAÇÃO (login / cadastro / recuperação)
   ============================================================ */
.auth-wrap {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(700px 400px at 85% -10%, rgba(37,99,235,.18), transparent 60%),
    radial-gradient(600px 400px at -5% 110%, rgba(245,158,11,.12), transparent 60%),
    var(--solo-gray-50);
}
.auth-card {
  width: 100%;
  max-width: 980px;
  border-radius: 1.25rem;
  box-shadow: var(--solo-shadow-lg);
  animation: fadeUp .4s ease both;
}
.auth-brand {
  background:
    radial-gradient(400px 260px at 85% -10%, rgba(245,158,11,.25), transparent 60%),
    linear-gradient(160deg, #0f172a, #14214a 60%, #1e3a8a);
  color: #fff;
  position: relative;
}
.auth-brand::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .4;
  pointer-events: none;
}
.input-icon-wrap { position: relative; }
.input-icon-wrap > i {
  position: absolute; left: .9rem; top: 50%;
  transform: translateY(-50%);
  color: var(--solo-gray-400);
  z-index: 2;
  pointer-events: none;
}
.input-icon-wrap .form-control { padding-left: 2.6rem; }
.input-icon-wrap .input-icon-toggle {
  position: absolute; right: .25rem; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: none;
}

/* ============================================================
   ERROS / ÍCONES CIRCULARES
   ============================================================ */
.error-code {
  font-family: var(--solo-font-display);
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(120deg, var(--solo-primary), #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .5rem;
}
.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 1rem;
  font-size: 1.5rem;
}
.icon-circle.primary { background: rgba(37,99,235,.12); color: var(--solo-primary); }
.icon-circle.success { background: rgba(34,197,94,.12); color: var(--solo-success); }
.icon-circle.warning { background: rgba(245,158,11,.14); color: #d97706; }
.icon-circle.danger  { background: rgba(239,68,68,.12); color: #dc2626; }
.icon-circle.info    { background: rgba(6,182,212,.12); color: #0891b2; }

/* ============================================================
   DIVERSOS
   ============================================================ */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--solo-gray-400); }
.empty-state i { font-size: 3rem; display: block; margin-bottom: .75rem; opacity: .7; }

.search-box { position: relative; }
.search-box i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--solo-gray-400); }
.search-box input { padding-left: 2.4rem; }

.text-muted-small { font-size: .8rem; color: var(--solo-gray-600); }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--solo-primary), var(--solo-primary-light));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.avatar.sm { width: 34px; height: 34px; font-size: .85rem; }

.divider { border-top: 1px solid var(--solo-gray-200); margin: 1.25rem 0; }

/* Header de página */
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.page-head h1, .page-head .h1 { font-weight: 800; margin: 0; }
.page-head .sub { color: var(--solo-gray-600); }

/* Breadcrumb */
.breadcrumb a { text-decoration: none; font-weight: 500; }
.breadcrumb-item.active { color: var(--solo-gray-600); }

/* Scrollbar sutil */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; border: 2px solid transparent; background-clip: padding-box; }

/* ============================================================
   LANDING PAGE PROFISSIONAL
   ============================================================ */
.big-tap { min-height: 48px; border-radius: 999px; padding-left: 1.6rem; padding-right: 1.6rem; }
.text-gradient {
  background: linear-gradient(90deg, #f59e0b, #f97316);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- HERO ---- */
.hero-landing {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(245,158,11,.2), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(37,99,235,.5), transparent 60%),
    linear-gradient(160deg, #0f172a 0%, #0e1b3a 45%, #1e3a8a 160%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .4; pointer-events: none; }
.hero-glow-1 { width: 380px; height: 380px; background: #f59e0b; top: -140px; right: -60px; }
.hero-glow-2 { width: 300px; height: 300px; background: #3b82f6; bottom: -120px; left: -90px; }
.hero-inner { position: relative; padding: 5rem 0 4rem; max-width: 800px; text-align: center; }

/* Hero em 2 colunas com arte */
.hero-row { padding: 4.5rem 0 4rem; text-align: left; }
.hero-col .hero-badge { margin-bottom: 1.4rem; }
.hero-col h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.hero-col .lead { margin: 1.1rem 0 0; max-width: 540px; }
.hero-col .hero-cta, .hero-col .hero-trust { justify-content: flex-start; }
.hero-art {
  position: relative; border-radius: 1.25rem; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}
.hero-art img { width: 100%; height: auto; display: block; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fbbf24; font-size: .78rem; font-weight: 600;
  padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 30px rgba(245,158,11,.15);
}
.hero-landing h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.hero-landing .lead { color: #cbd5e1; max-width: 640px; margin: 1.1rem auto 0; font-size: 1.08rem; }
.hero-cta { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.btn-accent {
  background: linear-gradient(90deg, #f59e0b, #f97316);
  border: none; color: #0f172a; font-weight: 700;
  box-shadow: 0 8px 24px rgba(245,158,11,.35);
}
.btn-accent:hover { color: #0f172a; filter: brightness(1.06); transform: translateY(-2px); }
.btn-outline-light {
  border-color: rgba(255,255,255,.35); color: #fff; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-2px); }
.hero-trust { display: flex; gap: 1.8rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.trust-item { color: #94a3b8; font-size: .86rem; }
.trust-item i { color: #fbbf24; margin-right: .4rem; }
.trust-item strong { color: #fff; font-family: var(--solo-font-display); }

/* ---- Page hero (páginas internas públicas) ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 4.5rem 0;
  background:
    radial-gradient(900px 420px at 90% -20%, rgba(245,158,11,.22), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(37,99,235,.45), transparent 60%),
    linear-gradient(160deg, #0f172a 0%, #0e1b3a 55%, #1e3a8a 170%);
}
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; font-family: var(--solo-font-display); }
.page-hero .lead { color: #cbd5e1; margin-top: .9rem; font-size: 1.05rem; }

/* ---- Seções full-width com arte (landing) ---- */
.img-section { position: relative; line-height: 0; overflow: hidden; }
.img-section img { display: block; width: 100%; height: auto; }
.hotspot { position: absolute; display: block; cursor: pointer; }
.content-card { position: absolute; top: 25%; height: 60%; width: 18%; cursor: pointer; }
.content-card.card1 { left: 3.5%; }
.content-card.card2 { left: 22.2%; }
.content-card.card3 { left: 41%; }
.content-card.card4 { left: 59.5%; }
.content-card.card5 { left: 78.8%; }
.cta-button {
  position: absolute; right: 3%; top: 26%;
  width: 28%; height: 46%; border-radius: 10px; cursor: pointer;
}
.hero-cta-art { position: absolute; right: 3.4%; bottom: 6%; width: 22%; height: 15%; cursor: pointer; }

/* ---- Marquee / marcas ---- */
.marquee-section { background: var(--solo-gray-100); padding: 1.75rem 0; border-bottom: 1px solid var(--solo-gray-200); }
.marquee-title { color: var(--solo-gray-600); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; font-weight: 700; }
.marquee-logos { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.logo-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--solo-gray-200);
  color: var(--solo-gray-800); font-weight: 600; font-size: .85rem;
  padding: .55rem 1.05rem; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
  transition: transform .15s, box-shadow .15s;
}
.logo-chip:hover { transform: translateY(-2px); box-shadow: var(--solo-shadow); }
.logo-chip i { color: var(--solo-primary); }

/* ---- Seções ---- */
.section-landing { padding: 4.5rem 0; }
.section-alt { background: #fff; }
.section-head { max-width: 660px; margin: 0 auto 3rem; }
.section-kicker {
  color: var(--solo-accent); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .16em;
}
.section-title { font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.1rem); color: var(--solo-dark); letter-spacing: -.02em; font-family: var(--solo-font-display); }
.section-sub { color: var(--solo-gray-600); font-size: 1.02rem; }

/* ---- Módulos ---- */
.module-card {
  background: #fff; border: 1px solid var(--solo-gray-200);
  border-radius: var(--solo-radius); padding: 1.6rem;
  box-shadow: var(--solo-shadow); position: relative; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.module-card:hover { transform: translateY(-5px); box-shadow: var(--solo-shadow-lg); }
.module-num {
  font-size: .78rem; font-weight: 800; color: var(--solo-primary);
  background: linear-gradient(180deg, #eff6ff, #f8fafc);
  border: 1px solid var(--solo-gray-200);
  width: 36px; height: 36px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  font-family: var(--solo-font-display);
}
.module-card h3 { color: var(--solo-dark); }
.module-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.module-list li { font-size: .86rem; color: var(--solo-gray-600); padding: .25rem 0; }
.module-list i { color: var(--solo-success); margin-right: .4rem; }
.module-meta { font-size: .8rem; font-weight: 700; color: var(--solo-primary); }
.module-card-cta { background: linear-gradient(180deg, #eff6ff, #f8fafc); }

/* ---- Como funciona ---- */
.how-card {
  background: #fff; border: 1px solid var(--solo-gray-200);
  border-radius: var(--solo-radius); padding: 2.2rem 1.6rem;
  box-shadow: var(--solo-shadow);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.how-card:hover { transform: translateY(-4px); box-shadow: var(--solo-shadow-lg); }
.how-step {
  position: absolute; top: 1.1rem; left: 1.2rem;
  font-weight: 800; color: var(--solo-gray-200); font-size: 2.6rem; line-height: 1;
  font-family: var(--solo-font-display);
}
.how-icon { font-size: 2.4rem; color: var(--solo-primary); margin: .5rem 0 .85rem; }

/* ---- Diferenciais ---- */
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.feature-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--solo-gray-100);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list i {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: .15rem;
}
.feature-list strong { display: block; color: var(--solo-dark); font-size: .98rem; font-family: var(--solo-font-display); }
.feature-list span { color: var(--solo-gray-600); font-size: .87rem; }

.cert-preview {
  background:
    radial-gradient(500px 300px at 80% -20%, rgba(37,99,235,.4), transparent 60%),
    linear-gradient(160deg, #0f172a, #101b33);
  border-radius: 1.2rem; padding: 1.8rem;
  box-shadow: var(--solo-shadow-lg);
}
.cert-preview-inner {
  background: linear-gradient(160deg, #ffffff, #eef2ff);
  border-radius: .8rem; padding: 2.2rem; text-align: center;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.cert-line { height: 6px; width: 90px; margin: 0 auto 1.2rem; background: linear-gradient(90deg, #f59e0b, #f97316); border-radius: 999px; }
.cert-mark { font-size: 2.8rem; color: var(--solo-primary); }
.cert-title { font-size: .7rem; font-weight: 800; letter-spacing: .22em; color: var(--solo-gray-600); }
.cert-course { font-size: 1.2rem; font-weight: 800; color: var(--solo-dark); margin: .4rem 0 1.4rem; font-family: var(--solo-font-display); }
.cert-footer { display: flex; justify-content: space-between; font-size: .7rem; color: var(--solo-gray-400); border-top: 1px dashed var(--solo-gray-200); padding-top: 1rem; }

/* ---- Planos ---- */
.plan-card {
  background: #fff; border: 1px solid var(--solo-gray-200);
  border-radius: 1.1rem; box-shadow: var(--solo-shadow); overflow: hidden; position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--solo-shadow-lg); }
.plan-card-featured {
  border: 2px solid var(--solo-accent);
  box-shadow: 0 20px 48px rgba(245,158,11,.2);
}
.plan-flag {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #f59e0b, #f97316); color: #0f172a;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: .35rem 1.4rem; border-radius: 0 0 999px 999px;
  box-shadow: 0 6px 16px rgba(245,158,11,.35);
}
.plan-body { padding: 1.9rem 1.6rem; }
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--solo-dark); margin-top: .25rem; font-family: var(--solo-font-display); letter-spacing: -.02em; }
.plan-price small { font-size: .85rem; color: var(--solo-gray-600); font-weight: 500; }
.plan-features { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.plan-features li { font-size: .9rem; color: var(--solo-gray-600); padding: .35rem 0; }
.plan-features i { color: var(--solo-success); margin-right: .55rem; }

/* ---- FAQ ---- */
.solo-accordion .accordion-button { font-weight: 600; color: var(--solo-dark); background: #fff; box-shadow: none; }
.solo-accordion .accordion-button:not(.collapsed) { color: var(--solo-primary); background: #eff6ff; }
.solo-accordion .accordion-item {
  border: 1px solid var(--solo-gray-200);
  border-radius: .8rem !important;
  overflow: hidden;
  margin-bottom: .8rem;
  box-shadow: var(--solo-shadow);
}
.solo-accordion .accordion-body { color: var(--solo-gray-600); font-size: .92rem; }

/* ---- CTA final ---- */
.cta-final {
  background:
    radial-gradient(800px 400px at 20% -20%, rgba(245,158,11,.25), transparent 60%),
    radial-gradient(600px 300px at 90% 120%, rgba(37,99,235,.4), transparent 60%),
    linear-gradient(160deg, #0f172a, #101b33);
  color: #fff; padding: 5rem 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.cta-final p { color: #94a3b8; }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (min-width: 768px) {
  .app-sidebar { transform: translateX(0); position: fixed; top: 0; bottom: 0; left: 0; height: 100vh; }
  .app-main { margin-left: 264px; }
  .mobile-bottom-nav { display: none; }
  body.has-bottom-nav { padding-bottom: 0; }
  .sidebar-overlay { display: none !important; }
  .sidebar-toggle { display: none; }
}

@media (max-width: 767.98px) {
  .app-content { padding: .9rem; }
  .hide-mobile { display: none !important; }
  .chat-bubble { max-width: 88%; }
}

@media (min-width: 768px) {
  .show-mobile { display: none !important; }
}

@media (max-width: 390px) {
  .app-topbar .page-title { font-size: .95rem; }
}

/* Animações de entrada suave */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.solo-card, .kpi-card, .module-card, .plan-card, .how-card { animation: fadeUp .35s ease both; }
.solo-card:nth-child(2) { animation-delay: .04s; }
.solo-card:nth-child(3) { animation-delay: .08s; }
.solo-card:nth-child(4) { animation-delay: .12s; }

/* Acessibilidade */
:focus-visible { outline: 3px solid rgba(59,130,246,.5); outline-offset: 2px; }
.btn:focus-visible { box-shadow: 0 0 0 .25rem rgba(59,130,246,.4); }
