﻿/* =====================================================================
   EXPOACADEMY â€” Tema vibrante (sobrescreve as variÃ¡veis do template)
   Paleta: violeta elÃ©trico + rosa vivo + laranja "flame" (tokens FLM)
   Carregar SEMPRE depois de styles.css.
   ===================================================================== */
:root {
  --color-primary: #a435f0;            /* violeta elÃ©trico */
  --color-secondary: #6d2fff;          /* roxo destaque */
  --color-coral: #ff7a1a;              /* laranja flame (FLM) */
  --color-violet: #6d2fff;
  --color-pink: #a435f0;
  --color-primary-100: #7b20c9;

  --gradient-dark: linear-gradient(90deg, #a435f0bf 0%, #6d2fffcc 100%);
  --gradient-dark-2: linear-gradient(90deg, #a435f07d 0%, #6d2fff66 100%);

  --primary-opacity: #a435f021;
  --secondary-opacity: #6d2fff21;
  --coral-opacity: #ff7a1a21;
  --violet-opacity: #6d2fff21;
  --pink-opacity: #a435f021;

  --color-primary-alt: #f1e7ff;
  --color-primary-light: #f7f0ff;
  --color-primary-lighter: #f4ecff;
  --color-secondary-alt: #efe7ff;

  --color-card-1: #fff7e0;
  --color-card-2: #f8edff;
  --color-card-3: #ffe9f2;
  --color-card-4: #e9f2ff;
  --color-card-5: #6d28d9;

  --color-extra: #151515;
  --color-extra2: #1a1a1a;
  --color-border: #2d2d2d;
}

/* Gradientes dos botÃµes e badges seguem a nova paleta */
.rbt-btn.btn-gradient,
.bg-gradient-1 {
  background: linear-gradient(90deg, #a435f0 0%, #6d2fff 100%) !important;
}
.rbt-btn.btn-gradient:hover {
  box-shadow: 0 12px 28px rgba(164, 53, 240, 0.35);
  transform: translateY(-2px);
}
.rbt-btn.btn-border-gradient {
  background: linear-gradient(#111, #111) padding-box,
              linear-gradient(90deg, #a435f0, #6d2fff) border-box;
  border: 2px solid transparent;
  color: #fff;
}
/* TÃ­tulos de seÃ§Ã£o com brilho gradiente */
.section-title .subtitle,
.rbt-new-badge.rbt-new-badge-one {
  background: linear-gradient(90deg, #a435f01a, #6d2fff1a);
  color: var(--color-primary);
}
.theme-gradient,
.color-gradient {
  background: linear-gradient(90deg, #a435f0 0%, #6d2fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cards mais vivos: elevaÃ§Ã£o colorida no hover */
.rbt-card.rbt-hover:hover,
.rbt-hover-02:hover {
  box-shadow: 0 18px 40px rgba(164, 53, 240, 0.16);
  transform: translateY(-4px);
  transition: all .25s ease;
}
.rbt-card .rbt-badge-3 {
  background: linear-gradient(90deg, #a435f0, #6d2fff);
  color: #fff;
}
.rbt-card .rbt-badge-3 span { color: #fff; }

/* PreÃ§o e elementos de destaque */
.rbt-price .current-price { color: var(--color-primary); }
.rbt-badge-5 { background: var(--primary-opacity); color: var(--color-primary); }

/* Progress bars com gradiente flame */
.rbt-progress-style-1 .progress-bar,
.progress .progress-bar {
  background: linear-gradient(90deg, #a435f0, #6d2fff) !important;
}

/* Contadores/tiles do dashboard mais vivos */
.rbt-counterup.variation-01 .rbt-round-icon,
.rbt-round-icon {
  background: linear-gradient(135deg, #a435f022, #6d2fff22);
  color: var(--color-primary);
}

/* Links e itens ativos da sidebar (aluno e admin) */
.rbt-default-sidebar .mainmenu li a.active,
.rbt-default-sidebar .mainmenu li a:hover {
  background: linear-gradient(90deg, #a435f014, #6d2fff14);
  color: var(--color-primary);
}

/* Footer: hover dos links acompanha o tema */
.footer-style-1 .ft-link li a:hover { color: var(--color-secondary); }

/* Selo "flame" para valores FLM (uso opcional: <span class="flm-badge">) */
.flm-badge {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .15em .7em;
  border-radius: 100px;
  font-weight: 600;
  background: linear-gradient(90deg, #a435f01f, #6d2fff1f);
  color: #c99cff;
}

/* =====================================================================
   DARK â€” variÃ¡veis e header escuro global (estilo marketplace)
   O dark completo da home usa a classe nativa do template no <body>
   (active-dark-mode). O header dark Ã© global via .ea-header-dark.
   ===================================================================== */
:root {
  --ea-dark-bg: #000000;
  --ea-dark-surface: #1a1a1a;
  --ea-dark-border: rgba(255, 255, 255, 0.12);
  --ea-dark-text: #d7d7d7;
  --ea-dark-text-soft: rgba(255, 255, 255, 0.72);
}

/* ---- Header dark global -------------------------------------------- */
.ea-header-dark .rbt-header-wrapper,
.ea-header-dark .rbt-header-wrapper.rbt-sticky {
  background-color: var(--ea-dark-bg) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ea-header-dark {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.ea-header-dark .logo-dark { display: none; }
.ea-header-dark .logo-light { display: block !important; }
.ea-header-dark .logo img { max-height: 28px; width: auto; }
.ea-brand a {
  display: inline-flex;
  align-items: center;
}
/* Ajuste de encaixe: evita que os botões da direita saiam da tela */
.ea-header-dark .rbt-header-wrapper .container-fluid { padding-left: 20px; padding-right: 20px; }
.ea-header-dark .mainbar-row { flex-wrap: nowrap; }
.ea-header-dark .header-left { flex: 0 0 auto; }
.ea-header-dark .header-right { flex: 0 0 auto; white-space: nowrap; }
.ea-header-dark .mainmenu-nav .mainmenu > li { margin: 0 6px; }
.ea-header-dark .mainmenu-nav .mainmenu > li > a {
  font-size: 14px;
  font-weight: 500;
}
.ea-header-dark .rbt-btn.btn-sm { padding: 0 14px; height: 38px; line-height: 36px; }
.ea-header-dark .rbt-btn-link { padding: 0 6px; }
/* Na home o hero já traz a busca — evita duplicar e libera espaço no header */
.ea-home .ea-header-search { display: none !important; }
.ea-header-dark .mainmenu-nav .mainmenu > li > a { color: var(--ea-dark-text); }
.ea-header-dark .mainmenu-nav .mainmenu > li > a:hover { color: #ffffff; }
.ea-header-dark .rbt-btn-link { color: var(--ea-dark-text); }
.ea-header-dark .rbt-btn-link:hover { color: #ffffff; }
.ea-header-dark .quick-access > li > a { color: var(--ea-dark-text); }
.ea-header-dark .rbt-round-btn { color: var(--ea-dark-text); }
.ea-header-dark .rbt-round-btn:hover { color: #ffffff; }
.ea-header-dark .rbt-round-btn::after { background: rgba(255, 255, 255, 0.08); }
.ea-header-dark .hamberger .hamberger-button { color: #ffffff; }
.ea-header-dark .rbt-btn.btn-border-gradient {
  background: linear-gradient(var(--ea-dark-bg), var(--ea-dark-bg)) padding-box,
              linear-gradient(90deg, #a435f0, #6d2fff) border-box;
  color: #ffffff;
}

/* Busca central do header (pÃ­lula, estilo marketplace) */
.ea-header-dark .mainbar-row .rbt-main-navigation {
  flex: 0 1 auto;
  margin: 0 12px;
}
.ea-header-search {
  flex: 1 1 auto;
  max-width: 280px;
  min-width: 140px;
  margin: 0 10px;
  align-self: center;
}
.ea-header-search-form { position: relative; display: flex; align-items: center; }
.ea-header-search-form .ea-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa4bd;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
}
.ea-header-search-form input[type="text"] {
  width: 100%;
  height: 40px;
  border-radius: 500px;
  border: 1px solid var(--ea-dark-border);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 0 16px 0 40px;
  font-size: 13px;
  transition: all 0.25s ease;
}
.ea-header-search-form input[type="text"]::placeholder { color: #9aa4bd; }
.ea-header-search-form input[type="text"]:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(164, 53, 240, 0.25);
}

/* Offcanvas mobile dark (global) */
.ea-dark-offcanvas .inner-wrapper { background: var(--ea-dark-bg) !important; }
.ea-dark-offcanvas .logo-dark { display: none; }
.ea-dark-offcanvas .logo-light { display: block !important; }
.ea-dark-offcanvas .inner-top { border-color: var(--ea-dark-border); }
.ea-dark-offcanvas .inner-top .description { color: var(--ea-dark-text-soft); }
.ea-dark-offcanvas .mainmenu li a { color: var(--ea-dark-text); }
.ea-dark-offcanvas .mainmenu li a:hover { color: #ffffff; }
.ea-dark-offcanvas .mainmenu li + li { border-color: rgba(255, 255, 255, 0.08); }
.ea-dark-offcanvas .rbt-btn-close .close-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.ea-dark-offcanvas .rbt-short-title { color: #ffffff; }
.ea-dark-offcanvas .social-icon.social-default.transparent-with-border li a {
  color: var(--ea-dark-text);
  border-color: var(--ea-dark-border);
}
.ea-dark-offcanvas .rbt-btn.btn-border-gradient {
  background: linear-gradient(var(--ea-dark-bg), var(--ea-dark-bg)) padding-box,
              linear-gradient(90deg, #a435f0, #6d2fff) border-box;
  color: #ffffff;
}

/* ---- Faixa de categorias sob o header (home) ----------------------- */
.ea-cat-strip {
  background: var(--ea-dark-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ea-cat-strip ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ea-cat-strip ul::-webkit-scrollbar { display: none; }
.ea-cat-strip a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: 500px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ea-dark-text);
  transition: all 0.2s ease;
}
.ea-cat-strip a:hover { background: rgba(164, 53, 240, 0.3); color: #ffffff; }
.ea-cat-strip a.ea-cat-all {
  background: linear-gradient(90deg, #a435f0, #6d2fff);
  color: #ffffff;
}
.ea-cat-strip a.ea-cat-all:hover { opacity: 0.9; }
.ea-cat-strip .ea-cat-count { font-size: 12px; opacity: 0.6; }

/* ---- Hero dark enxuto ----------------------------------------------- */
.ea-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 12% -10%, rgba(164, 53, 240, 0.4), transparent 60%),
    radial-gradient(900px 420px at 88% 5%, rgba(109, 47, 255, 0.22), transparent 55%),
    var(--ea-dark-bg);
  padding: 90px 0 80px;
}
.ea-hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -140px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 53, 240, 0.35), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.ea-hero .container { position: relative; z-index: 1; }
.ea-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 500px;
  font-size: 13px;
  font-weight: 600;
  color: #e9d5ff;
  background: rgba(164, 53, 240, 0.16);
  border: 1px solid rgba(164, 53, 240, 0.4);
  margin-bottom: 22px;
}
.ea-hero-badge i { color: var(--color-coral); }

/* Visual do hero: foto emoldurada + chips flutuantes */
.ea-hero-visual {
  position: relative;
  padding: 20px 30px 30px 20px;
  min-height: 460px;
}
.ea-hero-photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.ea-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(164, 53, 240, 0.35));
}
.ea-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ea-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(31, 26, 46, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  z-index: 2;
  animation: eaFloat 4.5s ease-in-out infinite;
}
.ea-chip strong { display: block; color: #fff; font-size: 15px; line-height: 1.2; }
.ea-chip small { color: var(--ea-dark-text-soft); font-size: 12px; }
.ea-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 17px;
  color: #fff;
  flex-shrink: 0;
}
.ea-chip-rating { top: 40px; left: 0; }
.ea-chip-rating .ea-chip-icon { background: linear-gradient(135deg, #ff9f1a, #ff7a1a); }
.ea-chip-flm { bottom: 90px; right: 6px; animation-delay: 1.2s; }
.ea-chip-flm .ea-chip-icon { background: linear-gradient(135deg, #a435f0, #6d2fff); }
.ea-chip-cert { bottom: 10px; left: 30px; animation-delay: 2.1s; }
.ea-chip-cert .ea-chip-icon { background: linear-gradient(135deg, #22c55e, #16a34a); }
@keyframes eaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.ea-hero .title {
  color: #ffffff;
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.ea-hero .description {
  color: var(--ea-dark-text-soft);
  font-size: 18px;
  max-width: 620px;
}
.ea-hero-search { position: relative; max-width: 640px; }
.ea-hero-search input[type="text"] {
  width: 100%;
  height: 60px;
  border-radius: 500px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: #111111;
  padding: 0 150px 0 28px;
  font-size: 16px;
}
.ea-hero-search input[type="text"]::placeholder { color: #6b7385; }
.ea-hero-search input[type="text"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(164, 53, 240, 0.35);
}
.ea-hero-search button[type="submit"] {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  border: 0;
  border-radius: 500px;
  padding: 0 26px;
  background: linear-gradient(90deg, #a435f0 0%, #6d2fff 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.ea-hero-search button[type="submit"]:hover {
  box-shadow: 0 10px 24px rgba(164, 53, 240, 0.45);
}
.ea-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
}
.ea-hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ea-dark-text-soft);
  font-size: 14px;
  list-style: none;
}
.ea-hero-meta li i { color: var(--color-coral); }
@media only screen and (max-width: 767px) {
  .ea-hero { padding: 60px 0 55px; }
  .ea-hero .title { font-size: 34px; }
  .ea-hero-search input[type="text"] { padding-right: 66px; }
  .ea-hero-search button[type="submit"] .btn-text { display: none; }
  .ea-hero-search button[type="submit"] { padding: 0 20px; }
}

/* ---- Complementos do dark nativo (home: body.active-dark-mode) ------ */
.active-dark-mode .ea-section-alt { background: #141c2e !important; }
.active-dark-mode .rbt-btn.btn-border-gradient {
  background: linear-gradient(var(--ea-dark-surface), var(--ea-dark-surface)) padding-box,
              linear-gradient(90deg, #a435f0, #6d2fff) border-box;
  color: #ffffff;
}
.active-dark-mode .rbt-testimonial-box .description p { color: var(--ea-dark-text); }
.active-dark-mode .clint-info-wrapper .client-info span { color: var(--ea-dark-text-soft); }
.active-dark-mode .rbt-meta li { color: var(--ea-dark-text-soft); }
.active-dark-mode .rbt-review .rating-count { color: var(--ea-dark-text-soft); }
.active-dark-mode .rbt-price .off-price { color: var(--ea-dark-text-soft); }
.active-dark-mode .rbt-price .current-price { color: #c4a6ff; }
/* ---- Footer dark (estilo marketplace) ------------------------------ */
.ea-footer {
  background: var(--ea-dark-surface) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ea-footer .ft-title { color: #ffffff; }
.ea-footer .description { color: var(--ea-dark-text-soft); }
.ea-footer .ft-link li a { color: var(--ea-dark-text); }
.ea-footer .ft-link li a:hover { color: var(--color-secondary); padding-left: 5px; }
.ea-footer .logo img { max-height: 42px; }
.ea-footer .social-icon.transparent-with-border li a {
  color: var(--ea-dark-text);
  border-color: var(--ea-dark-border);
  transition: all .25s ease;
}
.ea-footer .social-icon.transparent-with-border li a:hover {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #a435f0, #6d2fff);
}
/* Newsletter do footer */
.ea-footer-news { position: relative; max-width: 320px; }
.ea-footer-news input[type="email"] {
  width: 100%;
  height: 48px;
  border-radius: 500px;
  border: 1px solid var(--ea-dark-border);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 0 54px 0 20px;
  font-size: 14px;
}
.ea-footer-news input[type="email"]::placeholder { color: #9aa4bd; }
.ea-footer-news input[type="email"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(164, 53, 240, 0.25);
}
.ea-footer-news button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  width: 40px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #a435f0, #6d2fff);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.active-dark-mode .copyright-area { background: var(--ea-dark-bg); }
.active-dark-mode .copyright-area p,
.active-dark-mode .copyright-area p a,
.active-dark-mode .copyright-link li a { color: var(--ea-dark-text-soft); }
.active-dark-mode .copyright-link li a:hover,
.active-dark-mode .copyright-area p a:hover { color: #ffffff; }
.active-dark-mode .rbt-separator-mid { background: var(--ea-dark-bg); }
.active-dark-mode .rbt-separator::after { background: var(--ea-dark-border); }

/* ---- Card de curso: nota numÃ©rica estilo marketplace ---------------- */
.rbt-card .rbt-review .ea-rating-number {
  font-weight: 700;
  font-size: 14px;
  color: #b4690e;
  margin-right: 6px;
}
.active-dark-mode .rbt-card .rbt-review .ea-rating-number { color: #f3ca8c; }

/* ---- Admin dark ----------------------------------------------------- */
.ea-admin {
  background: var(--ea-dark-bg);
}
.ea-admin .rbt-page-banner-wrapper,
.ea-admin .rbt-banner-image {
  background:
    radial-gradient(900px 320px at 15% 10%, rgba(164, 53, 240, 0.26), transparent 60%),
    radial-gradient(700px 300px at 90% 0%, rgba(109, 47, 255, 0.18), transparent 55%),
    #0b0b0b;
}
.ea-admin .rbt-dashboard-area {
  background: linear-gradient(180deg, #101010 0%, #1a1a1a 100%);
}
.ea-admin .rbt-dashboard-content,
.ea-admin .rbt-default-sidebar,
.ea-admin .rbt-counterup,
.ea-admin .rbt-shadow-box {
  background: rgba(25, 35, 53, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.ea-admin .rbt-dashboard-content .content,
.ea-admin .rbt-default-sidebar .inner,
.ea-admin .rbt-counterup .content {
  color: var(--ea-dark-text);
}
.ea-admin .section-title h4,
.ea-admin .section-title h5,
.ea-admin .section-title h6,
.ea-admin .rbt-title-style-2,
.ea-admin .rbt-title-style-3,
.ea-admin .counter,
.ea-admin strong,
.ea-admin label,
.ea-admin th,
.ea-admin td,
.ea-admin .form-check-label {
  color: #ffffff;
}
.ea-admin p,
.ea-admin span,
.ea-admin small,
.ea-admin li,
.ea-admin .text-muted,
.ea-admin .rbt-meta li,
.ea-admin .description {
  color: var(--ea-dark-text-soft) !important;
}
.ea-admin .table,
.ea-admin .table > :not(caption) > * > * {
  color: var(--ea-dark-text);
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}
.ea-admin .table thead th {
  color: #ffffff;
}
.ea-admin .form-control,
.ea-admin .form-select {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.ea-admin .form-control::placeholder {
  color: #9aa4bd;
}
.ea-admin .form-control:focus,
.ea-admin .form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(164, 53, 240, 0.22);
}
.ea-admin .form-control-color {
  min-height: 48px;
}
.ea-admin code {
  color: #f6c6ff;
}
.ea-admin .border,
.ea-admin .border-bottom,
.ea-admin hr,
.ea-admin .rbt-separator::after {
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.ea-admin .alert {
  border: 0;
}

/* ---- Area do aluno -------------------------------------------------- */
.ea-members-home .rbt-dashboard-area {
  background:
    radial-gradient(900px 300px at 12% 0%, rgba(164, 53, 240, 0.16), transparent 60%),
    linear-gradient(180deg, #101723 0%, #182235 100%);
}
.ea-members-home .rbt-dashboard-area .container,
.ea-members-home .rbt-dashboard-area .container .row,
.ea-members-home .rbt-dashboard-area .container .row > .col-lg-12 {
  width: 100%;
  max-width: 100%;
}
.ea-members-home .rbt-dashboard-area .container {
  max-width: 100% !important;
  padding-left: 24px;
  padding-right: 24px;
}
.ea-members-home {
  --ea-member-sidebar-width: 286px;
  --ea-member-layout-gap: 40px;
}
.ea-member-shell {
  align-items: flex-start;
  position: relative;
}
.ea-member-sidebar {
    position: fixed;
    top: 80px;
    width: var(--ea-member-sidebar-width);
    height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 20;
}
.ea-member-shell > .col-lg-3 {
  flex: 0 0 var(--ea-member-sidebar-width);
  max-width: var(--ea-member-sidebar-width);
}
.ea-member-shell > .col-lg-9 {
  flex: 0 0 calc(100% - var(--ea-member-sidebar-width) - var(--ea-member-layout-gap));
  max-width: calc(100% - var(--ea-member-sidebar-width) - var(--ea-member-layout-gap));
  margin-left: calc(var(--ea-member-sidebar-width) + var(--ea-member-layout-gap));
}
.ea-member-shell > .col-lg-9,
.ea-member-profile-panel,
.ea-member-overview,
.ea-members-home .rbt-dashboard-content,
.ea-members-home .rbt-card-body,
.ea-members-home .rbt-card-title,
.ea-members-home .rbt-meta,
.ea-members-home .section-title,
.ea-members-home .description {
  min-width: 0;
}
.ea-member-profile-copy,
.ea-member-profile-meta,
.ea-member-profile-tags,
.ea-member-overview-head,
.ea-members-home .rbt-card-title a,
.ea-members-home .rbt-meta li,
.ea-members-home .progress-number {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ea-member-sidebar-inner {
    min-height: 100%;
    background: #000;
    padding: 10px;
}
.ea-member-nav-head {
  padding: 4px 6px 16px;
  color: #fff;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ea-member-nav-head h5 {
  color: #fff;
  font-size: 22px;
  margin: 0;
}
.ea-member-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}
.ea-member-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font-weight: 700;
}
.ea-member-profile-btn:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
}
.ea-member-nav {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 14px 0 0;
  box-shadow: none;
}
.ea-member-nav + .ea-member-nav {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ea-member-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ea-member-nav li + li {
  margin-top: 8px;
}
.ea-member-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 14px;
    border-radius: 10px;
    color: #d8dcee;
    font-weight: 400;
    transition: all 0.2s ease;
    padding: 10px 20px;
}
.ea-member-nav-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}
.ea-member-nav-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ea-member-nav a:hover,
.ea-member-nav a.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(164, 53, 240, 0.26), rgba(109, 47, 255, 0.24));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.ea-watch-list {
  row-gap: 18px;
}
.ea-watch-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 20px;
  background: #121723;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}
.ea-watch-thumb {
  height: auto;
  aspect-ratio: 16 / 9;
  align-self: start;
  margin: 0;
  background: #0d111b;
  overflow: hidden;
}
.ea-watch-thumb a {
  display: block;
  width: 100%;
  height: auto;
}
.ea-watch-thumb img {
  display: block;
  width: 100%;
  height: 100%;
}
.ea-watch-thumb img {
  object-fit: cover;
}
.ea-watch-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 20px;
}
.rbt-card .rbt-card-body {
    padding-top: 0;
}
.ea-watch-top,
.ea-watch-bottom {
  width: 100%;
}
.ea-watch-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.ea-watch-copy .rbt-card-title {
  margin-bottom: 6px;
}
.ea-watch-copy .rbt-card-title a {
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}
.ea-watch-course {
  color: rgba(216, 220, 238, 0.82);
  font-size: 13px;
  margin-bottom: 10px;
}
.ea-watch-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #97a7c6;
  font-size: 12px;
  line-height: 1.3;
}
.ea-watch-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(164, 53, 240, 0.16);
  color: #d8c1ff;
  font-weight: 600;
  font-size: 12px;
}
.ea-watch-acquired {
  color: #8f9bb4;
  font-size: 12px;
}
.ea-watch-actions {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: end;
    gap: 14px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ea-watch-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.ea-watch-progress-head span {
  color: #8f9bb4;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ea-watch-progress-head strong {
  color: #fff;
  font-size: 14px;
}
.ea-watch-progress .progress {
  margin-top: 0;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.ea-watch-progress .progress-number,
.ea-watch-progress .rbt-title-style-2 {
  display: none;
}
.ea-watch-actions .rbt-progress-style-1 {
  margin-top: 0;
  margin-bottom: 0 !important;
}
.ea-watch-actions .rbt-card-bottom .rbt-btn {
  width: 100%;
  border-radius: 14px;
  min-height: 40px;
  font-size: 13px;
}
.ea-catalog-list {
  row-gap: 18px;
}
.ea-catalog-card {
  background: #121723;
}
.ea-catalog-body .rbt-card-title {
  margin-top: 8px;
}
.ea-catalog-badge {
  margin-bottom: 0;
}
.ea-catalog-actions {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: 14px;
    padding-top: 3px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ea-catalog-action-copy span {
  display: block;
  color: #8f9bb4;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.ea-catalog-action-copy strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
}
.ea-catalog-actions .rbt-card-bottom .rbt-btn {
  width: 100%;
  min-height: 40px;
  border-radius: 14px;
  font-size: 13px;
}
.ea-member-overview {
  background: linear-gradient(180deg, rgba(39, 50, 73, 0.98), rgba(29, 39, 58, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}
.ea-member-profile-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
  gap: 26px;
  align-items: stretch;
  background: linear-gradient(180deg, rgba(39, 50, 73, 0.98), rgba(29, 39, 58, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 28px 30px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}
.ea-member-profile-main {
  display: flex;
  align-items: center;
  gap: 26px;
}
.ea-member-profile-avatar {
  width: 122px;
  height: 122px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 4px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}
.ea-member-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ea-member-profile-copy h1 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 8px;
}
.ea-member-profile-copy p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}
.ea-member-profile-copy strong {
  color: #fff;
  font-size: 18px;
}
.ea-member-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ea-member-profile-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}
.ea-member-profile-meta i {
  color: #8b7dff;
}
.ea-member-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.ea-member-profile-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.ea-member-profile-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.ea-member-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ea-member-hero-stats div {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px 16px;
  text-align: center;
}
.ea-member-hero-stats span {
  display: block;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.ea-member-hero-stats small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  text-transform: lowercase;
}
.ea-member-hero-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.ea-member-hero-action .ea-member-profile-btn {
  min-width: 190px;
}
.ea-member-overview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ea-member-overview-head h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 8px;
}
.ea-member-overview-head p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.ea-member-overview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d8c6ff;
  font-weight: 700;
  white-space: nowrap;
}
.ea-member-overview-link:hover {
  color: #fff;
}
.ea-stat-card {
  min-height: 100%;
  padding: 26px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(51, 61, 90, 0.95), rgba(38, 46, 69, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.ea-stat-card-xp {
  background: linear-gradient(180deg, rgba(58, 56, 103, 0.96), rgba(43, 40, 82, 0.96));
}
.ea-stat-card-streak {
  background: linear-gradient(180deg, rgba(54, 56, 99, 0.96), rgba(41, 43, 78, 0.96));
}
.ea-stat-icon {
  width: 72px;
  height: 72px;
  margin: 0 0 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(164, 53, 240, 0.14);
  color: #b978ff;
  font-size: 28px;
}
.ea-stat-value {
  color: #b648ff;
  font-size: 48px;
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 14px;
}
.ea-stat-card-xp .ea-stat-value {
  color: #ff4ea2;
}
.ea-stat-card-streak .ea-stat-value {
  color: #7e4cff;
}
.ea-stat-card h3 {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.ea-stat-card p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.ea-analytics-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ea-analytics-kicker {
  display: inline-block;
  color: #8ea2c9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ea-analytics-welcome h1 {
  color: #ffffff;
  font-size: 40px;
  line-height: 1.08;
  margin-bottom: 10px;
}
.ea-analytics-welcome p {
  color: #95a3bd;
  font-size: 17px;
  margin: 0;
}
.ea-analytics-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef2ff;
  white-space: nowrap;
}
.ea-metric-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 134px;
  padding: 20px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(34, 44, 66, 0.98), rgba(26, 34, 53, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}
.ea-metric-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex: 0 0 auto;
}
.ea-metric-icon.is-blue { background: rgba(47, 123, 255, 0.14); color: #5c93ff; }
.ea-metric-icon.is-green { background: rgba(16, 185, 129, 0.14); color: #34d399; }
.ea-metric-icon.is-purple { background: rgba(124, 77, 255, 0.14); color: #a78bfa; }
.ea-metric-icon.is-gold { background: rgba(245, 158, 11, 0.14); color: #fbbf24; }
.ea-metric-copy {
  min-width: 0;
}
.ea-metric-label {
  display: block;
  color: #9aabcb;
  font-size: 13px;
  margin-bottom: 8px;
}
.ea-metric-copy strong {
  display: block;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.05;
  margin-bottom: 8px;
}
.ea-metric-copy small {
  color: #7f93b6;
  font-size: 13px;
}

/* ===================== Cards de estatística / informação =====================
   Componente unificado usado nos KPIs do admin e nos cards da carteira, e
   base visual dos .ea-metric-card do aluno. Dirigido por uma cor de destaque
   (--accent / --accent-soft / --accent-line) via classes .acc-*. */
.ea-stat,
.ea-metric-card {
  --accent: #a78bfa;
  --accent-soft: rgba(124, 77, 255, 0.16);
  --accent-line: rgba(124, 77, 255, 0.5);
}
.acc-violet { --accent: #a78bfa; --accent-soft: rgba(124, 77, 255, 0.16); --accent-line: rgba(124, 77, 255, 0.55); }
.acc-blue   { --accent: #5c93ff; --accent-soft: rgba(47, 123, 255, 0.16);  --accent-line: rgba(47, 123, 255, 0.55); }
.acc-cyan   { --accent: #22d3ee; --accent-soft: rgba(34, 211, 238, 0.15);  --accent-line: rgba(34, 211, 238, 0.5); }
.acc-green  { --accent: #34d399; --accent-soft: rgba(16, 185, 129, 0.15);  --accent-line: rgba(16, 185, 129, 0.5); }
.acc-gold   { --accent: #fbbf24; --accent-soft: rgba(245, 158, 11, 0.16);  --accent-line: rgba(245, 158, 11, 0.5); }
.acc-coral  { --accent: #fb7185; --accent-soft: rgba(244, 63, 94, 0.16);   --accent-line: rgba(244, 63, 94, 0.5); }
.acc-pink   { --accent: #f472b6; --accent-soft: rgba(236, 72, 153, 0.16);  --accent-line: rgba(236, 72, 153, 0.5); }

.ea-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 22px 22px 20px;
  border-radius: 20px;
  background:
    radial-gradient(130% 120% at 100% 0%, var(--accent-soft) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(30, 39, 60, 0.98), rgba(21, 28, 45, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.ea-stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0) 78%);
}
.ea-stat:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.34);
}
.ea-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ea-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.ea-stat-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
}
.ea-stat-value {
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  word-break: break-word;
}
.ea-stat-label { color: #9aabcb; font-size: 13.5px; font-weight: 500; }
.ea-stat-sub {
  color: #8095b8;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: -4px;
}
.ea-stat-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
}
.ea-stat-link:hover { color: #ffffff; }
.ea-stat-link i { transition: transform 0.2s ease; }
.ea-stat-link:hover i { transform: translateX(3px); }
.ea-stat--lg { padding: 26px 26px 22px; }
.ea-stat--lg .ea-stat-icon { width: 54px; height: 54px; border-radius: 16px; font-size: 25px; }
.ea-stat--lg .ea-stat-value { font-size: 44px; }

/* .ea-metric-card (dashboard do aluno) alinhado ao mesmo visual */
.ea-metric-card:has(.is-blue)   { --accent: #5c93ff; --accent-soft: rgba(47, 123, 255, 0.16); --accent-line: rgba(47, 123, 255, 0.55); }
.ea-metric-card:has(.is-green)  { --accent: #34d399; --accent-soft: rgba(16, 185, 129, 0.15); --accent-line: rgba(16, 185, 129, 0.5); }
.ea-metric-card:has(.is-purple) { --accent: #a78bfa; --accent-soft: rgba(124, 77, 255, 0.16); --accent-line: rgba(124, 77, 255, 0.55); }
.ea-metric-card:has(.is-gold)   { --accent: #fbbf24; --accent-soft: rgba(245, 158, 11, 0.16); --accent-line: rgba(245, 158, 11, 0.5); }
.ea-metric-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(130% 130% at 100% 0%, var(--accent-soft) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(34, 44, 66, 0.98), rgba(24, 32, 51, 0.98));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.ea-metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0) 78%);
}
.ea-metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.32);
}
.ea-metric-icon { border: 1px solid var(--accent-line); }
.ea-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
  gap: 24px;
}
.ea-panel {
  background: linear-gradient(180deg, rgba(33, 43, 65, 0.98), rgba(24, 32, 49, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
  min-width: 0;
}
.ea-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.ea-panel-head h3 {
  color: #ffffff;
  font-size: 30px;
  margin-bottom: 6px;
}
.ea-panel-head p {
  color: #8ea2c9;
  margin: 0;
}
.ea-panel-pill,
.ea-panel-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #f5f7ff;
  white-space: nowrap;
}
.ea-panel-link:hover {
  color: #ffffff;
}
.ea-learning-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 290px;
  padding-top: 10px;
}
.ea-learning-bar-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.ea-learning-bar {
  position: relative;
  min-height: 36px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, rgba(47, 123, 255, 0.95), rgba(96, 77, 255, 0.85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.ea-learning-bar span {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.ea-learning-bar-wrap small {
  color: #8ea2c9;
  text-align: center;
  font-size: 12px;
}
.ea-donut-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.ea-donut-chart {
  width: 210px;
  height: 210px;
  border-radius: 999px;
  position: relative;
}
.ea-donut-chart::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 999px;
  background: #161f31;
}
.ea-donut-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ea-donut-center strong {
  color: #fff;
  font-size: 38px;
  line-height: 1;
}
.ea-donut-center span {
  color: #8ea2c9;
  font-size: 13px;
  margin-top: 6px;
}
.ea-donut-legend {
  display: grid;
  gap: 14px;
}
.ea-donut-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.ea-donut-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}
.ea-donut-label {
  color: #d7def0;
}
.ea-donut-item strong {
  color: #fff;
}
.ea-course-table {
  display: grid;
  gap: 8px;
}
.ea-course-table-head,
.ea-course-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr) 110px 130px;
  gap: 14px;
  align-items: center;
}
.ea-course-table-head {
  color: #7f93b6;
  font-size: 13px;
  padding: 0 0 10px;
}
.ea-course-table-row {
  min-height: 58px;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #eff4ff;
}
.ea-course-table-empty {
  color: #8ea2c9;
  padding: 14px 0 0;
}
.ea-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.ea-status-chip.is-complete { background: rgba(16, 185, 129, 0.14); color: #34d399; }
.ea-status-chip.is-progress { background: rgba(47, 123, 255, 0.14); color: #60a5fa; }
.ea-status-chip.is-pending { background: rgba(245, 158, 11, 0.14); color: #fbbf24; }
.ea-activity-list {
  display: grid;
  gap: 14px;
}
.ea-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 72px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ea-activity-item:last-child {
  border-bottom: 0;
}
.ea-activity-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 123, 255, 0.14);
  color: #7aa2ff;
  flex: 0 0 auto;
}
.ea-activity-copy strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}
.ea-activity-copy span {
  display: block;
  color: #8ea2c9;
  line-height: 1.5;
}
@media only screen and (max-width: 991px) {
  .ea-members-home {
    --ea-member-sidebar-width: 100%;
  }
  .ea-member-sidebar {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    max-width: none;
    height: auto;
    overflow: visible;
    padding-right: 0;
  }
  .ea-member-shell > .col-lg-3,
  .ea-member-shell > .col-lg-9 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
  }
  .ea-member-overview {
    padding: 24px;
  }
  .ea-analytics-hero,
  .ea-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .ea-analytics-grid {
    grid-template-columns: 1fr;
  }
  .ea-donut-layout {
    grid-template-columns: 1fr;
  }
  .ea-donut-chart {
    margin: 0 auto;
  }
  .ea-course-table-head,
  .ea-course-table-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ea-member-profile-panel {
    grid-template-columns: 1fr;
  }
  .ea-member-profile-main {
    align-items: flex-start;
  }
  .ea-member-hero-action {
    justify-content: flex-start;
  }
  .ea-member-overview-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .ea-watch-card {
    grid-template-columns: 1fr;
  }
  .ea-watch-thumb img {
    min-height: 170px;
  }
  .ea-watch-body {
    align-items: flex-start;
  }
  .ea-watch-actions {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
    grid-template-columns: 1fr;
  }
  .ea-catalog-actions {
    grid-template-columns: 1fr;
  }
  .ea-watch-meta {
    gap: 8px;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1399px) {
    .ea-member-sidebar {
        left: 0;
        width: 286px;
    }
}
@media only screen and (max-width: 767px) {
  .ea-analytics-welcome h1,
  .ea-member-overview-head h2 {
    font-size: 28px;
  }
  .ea-panel {
    padding: 20px;
  }
  .ea-panel-head h3 {
    font-size: 24px;
  }
  .ea-metric-copy strong {
    font-size: 28px;
  }
  .ea-member-profile-main {
    flex-direction: column;
  }
  .ea-member-profile-copy h1 {
    font-size: 30px;
  }
  .ea-stat-value {
    font-size: 40px;
  }
  .ea-watch-copy .rbt-card-title a {
    font-size: 17px;
  }
  .ea-watch-course {
    font-size: 13px;
  }
  .ea-watch-body {
    padding: 16px;
  }
}
 .rbt-header .logo a img {
  max-height: 36px;
  object-fit: cover;
}

/* ============================ DASHBOARD DO ALUNO v2 ============================ */
.ea-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 30px 34px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% -20%, rgba(164, 53, 240, 0.28), transparent 55%),
    radial-gradient(circle at -10% 120%, rgba(47, 123, 255, 0.22), transparent 50%),
    linear-gradient(180deg, rgba(33, 43, 65, 0.98), rgba(22, 29, 46, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}
.ea-hero-greeting h1 {
  color: #fff;
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.ea-hero-greeting p {
  color: #9fb0d0;
  font-size: 16px;
  margin: 0;
  max-width: 60ch;
}
.ea-hero-greeting p strong { color: #e6ecff; }
.ea-hero-xp { margin-top: 20px; max-width: 520px; }
.ea-hero-xp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}
.ea-hero-xp-head span {
  color: #8ea2c9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ea-hero-xp-head strong { color: #dfe7fb; font-size: 13px; font-weight: 600; }
.ea-hero-xp-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.ea-hero-xp-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #a435f0, #6d2fff 60%, #2f7bff);
  transition: width 0.6s ease;
}
.ea-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.ea-hero-actions .rbt-btn { display: inline-flex; align-items: center; gap: 8px; }
.ea-hero-btn-ghost { color: #dfe7fb !important; border-color: rgba(255, 255, 255, 0.22) !important; }
.ea-hero-btn-ghost:hover { color: #fff !important; border-color: rgba(255, 255, 255, 0.45) !important; }
.ea-hero-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.ea-hero-level-ring {
  --pct: 0;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  padding: 8px;
  background: conic-gradient(#a435f0 calc(var(--pct) * 1%), rgba(255, 255, 255, 0.09) 0);
}
.ea-hero-level-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #161d2e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ea-hero-level-inner strong { color: #fff; font-size: 40px; line-height: 1; }
.ea-hero-level-inner span {
  color: #8ea2c9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.ea-analytics-col-main, .ea-analytics-col-side { min-width: 0; }
.ea-panel-head p { color: #8ea2c9; font-size: 14px; margin: 0; }
.ea-panel-link {
  color: #9db4ff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.ea-panel-link:hover { color: #c3d2ff; }
.ea-empty { color: #8ea2c9; font-size: 15px; margin: 0; }

/* Continuar assistindo */
.ea-resume-list { display: flex; flex-direction: column; gap: 12px; }
.ea-resume-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}
.ea-resume-item:hover {
  background: rgba(164, 53, 240, 0.12);
  border-color: rgba(164, 53, 240, 0.3);
  transform: translateY(-1px);
}
.ea-resume-thumb {
  position: relative;
  display: block;
  width: 116px;
  height: 68px;
  border-radius: 12px;
  overflow: hidden;
}
.ea-resume-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ea-resume-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  background: rgba(10, 12, 22, 0.35);
}
.ea-resume-copy { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ea-resume-copy strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ea-resume-copy small { color: #8ea2c9; font-size: 13px; }
.ea-resume-bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.ea-resume-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d399, #10b981);
}
.ea-resume-pct { color: #dfe7fb; font-weight: 700; font-size: 14px; }

/* Grid de cursos */
.ea-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ea-course-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ea-course-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}
.ea-course-card:hover {
  transform: translateY(-3px);
  border-color: rgba(164, 53, 240, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.ea-course-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.ea-course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.ea-course-card:hover .ea-course-thumb img { transform: scale(1.04); }
.ea-course-status {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 20, 34, 0.75);
  backdrop-filter: blur(4px);
}
.ea-course-status.is-done { background: rgba(16, 185, 129, 0.85); }
.ea-course-status.is-progress { background: rgba(47, 123, 255, 0.85); }
.ea-course-status.is-new { background: rgba(164, 53, 240, 0.85); }
.ea-course-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 18px;
}
.ea-course-body strong { color: #fff; font-size: 16px; line-height: 1.35; }
.ea-course-body small { color: #8ea2c9; font-size: 13px; }
.ea-course-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9db4ff;
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}
.ea-course-card:hover .ea-course-cta { color: #c3d2ff; }

/* Listas laterais: eventos e notificações */
.ea-mini-list { display: flex; flex-direction: column; gap: 14px; }
.ea-mini-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ea-mini-date {
  flex: 0 0 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  border-radius: 12px;
  background: rgba(164, 53, 240, 0.16);
}
.ea-mini-date strong { color: #e3d2ff; font-size: 20px; line-height: 1; }
.ea-mini-date small {
  color: #b79aef;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 3px;
}
.ea-mini-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ea-mini-copy strong { color: #eef2ff; font-size: 14px; line-height: 1.35; }
.ea-mini-copy small { color: #8ea2c9; font-size: 12.5px; line-height: 1.45; }
.ea-notif-item { position: relative; padding-left: 26px; }
.ea-notif-dot {
  position: absolute;
  left: 12px;
  top: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.ea-notif-item.is-unread .ea-notif-dot { background: #a435f0; box-shadow: 0 0 8px rgba(164, 53, 240, 0.8); }
.ea-notif-item.is-unread .ea-mini-copy strong { color: #fff; }

@media only screen and (max-width: 1399px) {
  .ea-course-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media only screen and (max-width: 991px) {
  .ea-hero-card { grid-template-columns: 1fr; padding: 24px; }
  .ea-hero-side { flex-direction: row; justify-content: space-between; width: 100%; }
}
@media only screen and (max-width: 767px) {
  .ea-course-grid, .ea-course-grid-3 { grid-template-columns: 1fr; }
  .ea-hero-greeting h1 { font-size: 28px; }
  .ea-resume-item { grid-template-columns: 92px minmax(0, 1fr); }
  .ea-resume-thumb { width: 92px; height: 56px; }
  .ea-resume-pct { display: none; }
}

/* ============================ MOBILE: dashboard do aluno ============================ */
@media only screen and (max-width: 991px) {
  /* Menu do aluno vira barra horizontal rolável (estilo app) */
  .ea-member-sidebar { position: static; height: auto; margin-bottom: 8px; }
  .ea-member-sidebar-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    background: #000;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ea-member-sidebar-inner::-webkit-scrollbar { display: none; }
  .ea-member-nav { padding: 0; }
  .ea-member-nav + .ea-member-nav { margin: 0; padding: 0; border: 0; }
  .ea-member-nav ul { display: flex; flex-wrap: nowrap; gap: 8px; }
  .ea-member-nav li + li { margin-top: 0; }
  .ea-member-nav a {
    padding: 9px 14px;
    border-radius: 999px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.06);
    font-size: 14px;
  }
  .ea-member-nav-icon, .ea-member-nav-icon svg { width: 17px; height: 17px; flex-basis: 17px; }

  /* Painéis: título e link "Ver todos" na mesma linha */
  .ea-panel-head { flex-direction: row; align-items: center; justify-content: space-between; }
  .ea-panel-head h3 { font-size: 22px; }
  .ea-hero-level-ring { width: 104px; height: 104px; }
  .ea-hero-level-inner strong { font-size: 32px; }
}
@media only screen and (max-width: 767px) {
  .ea-members-home .rbt-dashboard-area .container { padding-left: 14px; padding-right: 14px; }
  .ea-hero-card { padding: 20px 16px; border-radius: 20px; }
  .ea-hero-greeting h1 { font-size: 26px; }
  .ea-hero-greeting p { font-size: 15px; }
  /* Texto de XP não estoura mais a tela */
  .ea-hero-xp-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ea-hero-xp-head strong { white-space: normal; overflow-wrap: anywhere; }
  .ea-hero-actions .rbt-btn { flex: 1 1 auto; justify-content: center; }
  .ea-hero-side { align-items: center; }
  .ea-metric-card { min-height: 0; padding: 16px 18px; border-radius: 18px; }
  .ea-metric-icon { width: 52px; height: 52px; border-radius: 16px; font-size: 22px; }
  .ea-metric-copy strong { font-size: 28px; margin-bottom: 4px; }
  .ea-panel { padding: 18px 16px; border-radius: 20px; }
  .ea-mini-item { padding: 10px 12px; }
  .ea-notif-item { padding-left: 24px; }
}
/* Mobile: corrige overflow lateral e menu escondido sob o header */
@media only screen and (max-width: 767px) {
  .ea-members-home .rbt-dashboard-area.rbt-section-overlayping-top { margin-top: 0; padding-top: 20px; }
  .ea-member-shell { --bs-gutter-x: 28px; }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .ea-members-home .rbt-dashboard-area.rbt-section-overlayping-top { margin-top: 0; padding-top: 28px; }
}
/* ============================ Menu unificado no offcanvas mobile ============================ */
@media only screen and (max-width: 991px) {
  /* O menu do aluno agora vive dentro do menu hamburguer do header */
  .ea-member-shell > .col-lg-3 { display: none; }
}
.ea-offcanvas-member { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.ea-offcanvas-member .rbt-short-title { margin-bottom: 6px; }
.ea-offcanvas-member-list li + li { margin-top: 2px; }
.ea-offcanvas-member-list a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 10px;
}
.ea-offcanvas-member-list a.is-active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(164, 53, 240, 0.26), rgba(109, 47, 255, 0.24));
}
.ea-offcanvas-member-list .ea-member-nav-icon,
.ea-offcanvas-member-list .ea-member-nav-icon svg { width: 19px; height: 19px; flex: 0 0 19px; }
.ea-offcanvas-member-list .ea-member-nav-icon svg { stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* ============================ Offcanvas mobile: tela cheia + organização ============================ */
.ea-dark-offcanvas .inner-wrapper { display: flex; flex-direction: column; }
@media only screen and (max-width: 767px) {
  .popup-mobile-menu .inner-wrapper,
  .popup-mobile-menu.ea-dark-offcanvas .inner-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
  }
}
.ea-dark-offcanvas .inner-top {
  padding: 18px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}
.ea-dark-offcanvas .inner-top .content { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ea-dark-offcanvas .inner-top .description {
  color: #8ea2c9;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 12px 0 0;
}
/* Botão fechar (X) sempre visível */
.ea-dark-offcanvas .rbt-btn-close .close-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff !important;
}
.ea-dark-offcanvas .rbt-btn-close .close-button i {
  color: #fff !important;
  font-size: 20px;
  line-height: 1;
}
.ea-dark-offcanvas .rbt-btn-close .close-button:hover { background: rgba(164, 53, 240, 0.35) !important; }
/* Navegação organizada */
.ea-offcanvas-nav { padding: 10px 22px 16px; flex: 1 1 auto; overflow-y: auto; }
.ea-offcanvas-section-title {
  display: block;
  color: #7f93b6;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 14px 0 8px;
}
.ea-offcanvas-list { list-style: none; margin: 0; padding: 0; }
.ea-offcanvas-list li + li { margin-top: 2px; }
.ea-offcanvas-list a {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 12px 14px !important;
  border-radius: 12px;
  color: #d8dcee !important;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.ea-offcanvas-list a:hover { color: #fff !important; background: rgba(255, 255, 255, 0.06); }
.ea-offcanvas-list a.is-active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(164, 53, 240, 0.28), rgba(109, 47, 255, 0.24));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.ea-offcanvas-list .ea-member-nav-icon,
.ea-offcanvas-list .ea-member-nav-icon svg { width: 21px; height: 21px; flex: 0 0 21px; }
.ea-offcanvas-list .ea-member-nav-icon svg { stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ea-offcanvas-member { margin-top: 18px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.ea-dark-offcanvas .mobile-menu-bottom { padding: 16px 22px 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
/* Offcanvas: logo contido, X sempre na tela, sem overflow lateral */
.ea-dark-offcanvas .inner-wrapper { overflow-x: hidden; }
.ea-dark-offcanvas .inner-top .content .logo { flex: 1 1 auto; min-width: 0; }
.ea-dark-offcanvas .inner-top .content .logo img {
  max-height: 34px !important;
  max-width: 180px;
  width: auto;
  height: auto;
}
.ea-dark-offcanvas .rbt-btn-close { flex: 0 0 auto; }
.ea-dark-offcanvas .inner-top .description { max-width: 100%; overflow-wrap: anywhere; }
/* Offcanvas: padding dentro dos 100vw (box-sizing) */
@media only screen and (max-width: 767px) {
  .popup-mobile-menu .inner-wrapper,
  .popup-mobile-menu.ea-dark-offcanvas .inner-wrapper {
    box-sizing: border-box !important;
    left: 0;
    right: auto;
  }
  .popup-mobile-menu .inner-wrapper *,
  .popup-mobile-menu .inner-wrapper *::before,
  .popup-mobile-menu .inner-wrapper *::after { box-sizing: border-box; }
}
/* Dashboard do aluno: sem sobreposição no header; conteúdo ocupa o espaço correto */
.ea-members-home .rbt-dashboard-area.rbt-section-overlayping-top {
  margin-top: 0;
  padding-top: 40px;
}
/* ============================ Mobile: margens simétricas na área do aluno ============================ */
@media only screen and (max-width: 991px) {
  .ea-members-home .rbt-dashboard-area .container { padding-left: 16px; padding-right: 16px; }
  .ea-members-home .rbt-dashboard-area .container > .row,
  .ea-members-home .ea-member-shell { margin-left: 0 !important; margin-right: 0 !important; width: 100%; }
  .ea-members-home .rbt-dashboard-area .container > .row > .col-lg-12,
  .ea-members-home .ea-member-shell > .col-lg-9 { padding-left: 0 !important; padding-right: 0 !important; flex: 0 0 100%; max-width: 100%; margin-left: 0; }
}
/* Cards de métricas sempre na largura total da coluna */
.ea-metric-card { width: 100%; }
/* Mobile: cards de métricas alinhados com os painéis (sem margens BS4 do template) */
@media only screen and (max-width: 991px) {
  .ea-analytics-metrics .row { margin-left: 0 !important; margin-right: 0 !important; }
  .ea-analytics-metrics .row > div { padding-left: 0 !important; padding-right: 0 !important; }
}
/* Mobile: logo maior no header */
@media only screen and (max-width: 991px) {
  .ea-header-dark .logo img,
  .rbt-header .logo a img { max-height: 40px; }
}
/* Mobile: header-left sem trava de 40% para o logo crescer */
@media only screen and (max-width: 991px) {
  .ea-header-dark .header-left,
  .ea-header-dark .header-left.rbt-header-content { flex: 0 1 auto !important; max-width: calc(100% - 120px); }
  .ea-header-dark .header-info,
  .ea-header-dark .header-info .logo { width: auto; max-width: 100%; }
  .ea-header-dark .logo img { max-height: 36px; }
}
/* Mobile: logo com altura explícita (o template travava a largura) */
@media only screen and (max-width: 991px) {
  .ea-header-dark .rbt-header .logo a img,
  .ea-header-dark .logo img {
    height: 30px !important;
    max-height: 30px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
  }
}
/* Mobile: logo nunca empurra sino/hambúrguer para fora */
@media only screen and (max-width: 991px) {
  .ea-header-dark .rbt-header .logo a img,
  .ea-header-dark .logo img {
    max-width: calc(100vw - 165px) !important;
    object-fit: contain;
    object-position: left center;
  }
  .ea-header-dark .header-right { flex: 0 0 auto !important; }
  .ea-header-dark .mainbar-row { flex-wrap: nowrap !important; }
}
/* Mobile: logo dimensionado pela largura, proporção natural, sem cortes */
@media only screen and (max-width: 991px) {
  .ea-header-dark .rbt-header .logo a img,
  .ea-header-dark .logo img {
    width: min(250px, calc(100vw - 165px)) !important;
    height: auto !important;
    max-height: none !important;
    max-width: none !important;
    object-fit: initial;
  }
}
/* Mobile (phones ≤600px): corrige overflow do header que empurrava a busca e o
   hambúrguer para fora da tela. Causa: o .header-left (logo) não encolhia
   (faltava min-width:0 no flex), então o logo forçava a largura e jogava o
   .header-right para fora. Solução: header-left encolhível + logo com
   max-width:100% + header-right fixo. */
@media only screen and (max-width: 600px) {
  .ea-header-dark .mainbar-row {
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px;
  }
  .ea-header-dark .header-left,
  .ea-header-dark .header-left.rbt-header-content {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden;
  }
  .ea-header-dark .header-info,
  .ea-header-dark .header-info .logo { min-width: 0 !important; max-width: 100%; }
  .ea-header-dark .header-right { flex: 0 0 auto !important; }
  .ea-header-dark .logo img,
  .ea-header-dark .rbt-header .logo a img {
    width: auto !important;
    height: 32px !important;
    max-height: 32px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
}

/* ============================ Modal de busca (mobile) ============================ */
.ea-search-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8, 10, 18, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.ea-search-modal.is-open { opacity: 1; visibility: visible; }
.ea-search-modal-inner {
  width: 100%;
  max-width: 560px;
  margin: 0 16px;
  padding: 22px 20px 24px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #1c2438, #141b2c);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 0;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transform: translateY(-24px);
  transition: transform 0.25s ease;
}
.ea-search-modal.is-open .ea-search-modal-inner { transform: translateY(0); }
.ea-search-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ea-search-modal-title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.ea-search-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.ea-search-modal-form {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 14px;
}
.ea-search-modal-form:focus-within { border-color: rgba(164, 53, 240, 0.65); box-shadow: 0 0 0 3px rgba(164, 53, 240, 0.18); }
.ea-search-modal-form i { color: #8ea2c9; font-size: 18px; }
.ea-search-modal-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  background: transparent;
  border: 0;
  outline: none;
  box-shadow: none;
  color: #fff;
  font-size: 16px;
  padding: 0;
}
.ea-search-modal-form input::placeholder { color: #7f93b6; }
.ea-search-submit { justify-content: center; text-align: center; }
.ea-search-modal-hint {
  display: block;
  text-align: center;
  color: #7f93b6;
  font-size: 12.5px;
  margin-top: 12px;
}
.ea-search-open { color: inherit; background: transparent; border: 0; }
/* ============================ Footer mobile: organizado e centrado ============================ */
@media only screen and (max-width: 767px) {
  .ea-footer .footer-top .row { padding-top: 44px; padding-bottom: 36px; }

  /* Bloco da marca centralizado */
  .ea-footer .footer-top .col-lg-4 .footer-widget { text-align: center; }
  .ea-footer .footer-top .col-lg-4 .logo img { max-height: 38px; margin: 0 auto; }
  .ea-footer .footer-top .col-lg-4 .description {
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
    font-size: 14.5px;
    line-height: 1.6;
  }
  .ea-footer .footer-top .col-lg-4 .contact-btn { display: flex; justify-content: center; }
  .ea-footer .footer-top .col-lg-4 .social-icon { justify-content: center !important; }
  .ea-footer .footer-top .col-lg-4 { padding-bottom: 26px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }

  /* Títulos das seções */
  .ea-footer .ft-title {
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9aabcb;
    margin-bottom: 14px;
  }
  .ea-footer .ft-link li { margin: 0 0 10px; }
  .ea-footer .ft-link li a { font-size: 15px; }

  /* Newsletter */
  .ea-footer .ea-footer-news { max-width: 100%; }

  /* Copyright compacto */
  .copyright-area { padding: 18px 0 26px; }
  .copyright-area p { font-size: 13px; }
  .copyright-area .copyright-link { row-gap: 6px; }
  .copyright-area .copyright-link li a { font-size: 13px; }
}
/* Mobile: inputs nunca estouram o container */
@media only screen and (max-width: 991px) {
  input, select, textarea { max-width: 100%; box-sizing: border-box; }
}
/* ============================ HOME VIVA ============================ */
/* Chips do hero flutuando */
@keyframes eaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.ea-hero .ea-chip { animation: eaFloat 5s ease-in-out infinite; }
.ea-hero .ea-chip-flm { animation-delay: 1.2s; }
.ea-hero .ea-chip-cert { animation-delay: 2.4s; }
/* Glow do hero pulsando */
@keyframes eaGlowPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.ea-hero-glow { animation: eaGlowPulse 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .ea-hero .ea-chip, .ea-hero-glow, .ea-gami-chips .ea-chip { animation: none !important; }
}

/* Carrossel de cursos */
.ea-course-swiper { padding: 10px 6px 46px; margin: -10px -6px 0; }
.ea-course-swiper .swiper-slide { height: auto; }
.ea-course-swiper .rbt-card { height: 100%; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.ea-course-swiper .rbt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}
.ea-course-swiper-dots.swiper-pagination { bottom: 6px; }
.ea-course-swiper-dots .swiper-pagination-bullet { background: rgba(255, 255, 255, 0.35); opacity: 1; }
.ea-course-swiper-dots .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a435f0, #6d2fff);
}

/* Seção de eventos */
.ea-events-home { background: transparent; }
.ea-countdown {
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(33, 43, 65, 0.95), rgba(24, 32, 49, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ea-countdown-label {
  display: block;
  color: #8ea2c9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ea-countdown-boxes { display: flex; gap: 10px; }
.ea-countdown-boxes > div {
  flex: 1 1 0;
  text-align: center;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.ea-countdown-boxes strong { display: block; color: #fff; font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ea-countdown-boxes small { color: #8ea2c9; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.ea-event-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(33, 43, 65, 0.95), rgba(24, 32, 49, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.25s ease;
  height: 100%;
}
.ea-event-card:hover { transform: translateY(-4px); border-color: rgba(164, 53, 240, 0.4); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); }
.ea-event-card .ea-mini-date { flex: 0 0 56px; padding: 10px 0; }
.ea-event-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ea-event-copy strong { color: #fff; font-size: 16px; line-height: 1.35; }
.ea-event-copy small { color: #8ea2c9; font-size: 13px; }
.ea-event-arrow { margin-left: auto; color: #9db4ff; flex: 0 0 auto; transition: transform 0.25s ease; }
.ea-event-card:hover .ea-event-arrow { transform: translateX(4px); }

/* Seção de gamificação */
.ea-gami-panel {
  border-radius: 28px;
  padding: 48px 44px;
  background:
    radial-gradient(circle at 88% 10%, rgba(164, 53, 240, 0.25), transparent 55%),
    radial-gradient(circle at 5% 100%, rgba(47, 123, 255, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(33, 43, 65, 0.98), rgba(22, 29, 46, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}
.ea-gami-list { list-style: none; margin: 24px 0 0; padding: 0; }
.ea-gami-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c9d4ea;
  font-size: 16px;
  margin-bottom: 12px;
}
.ea-gami-list li i { color: #a435f0; font-size: 18px; }
.ea-gami-visual { position: relative; display: flex; align-items: center; justify-content: center; gap: 34px; }
.ea-gami-ring { width: 170px; height: 170px; flex: 0 0 auto; }
.ea-gami-ring .ea-hero-level-inner strong { font-size: 52px; }
.ea-gami-chips { display: flex; flex-direction: column; gap: 16px; }
.ea-gami-chips .ea-chip { position: static; animation: eaFloat 5s ease-in-out infinite; }
.ea-gami-chips .ea-gami-chip-2 { animation-delay: 1.4s; }
.ea-gami-chips .ea-gami-chip-3 { animation-delay: 2.8s; }
@media only screen and (max-width: 767px) {
  .ea-gami-panel { padding: 28px 20px; }
  .ea-gami-visual { flex-direction: column; gap: 22px; margin-top: 8px; }
  .ea-countdown-boxes strong { font-size: 22px; }
}
/* ============================ HOME: fundos vivos nas sections ============================ */
@keyframes eaBlobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.12); }
  66% { transform: translate(-30px, 25px) scale(0.94); }
}
@keyframes eaBlobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-45px, -35px) scale(1.15); }
}

/* Base: todas as sections da home viram um palco com camadas */
.ea-home .rbt-featured-course,
.ea-home .ea-section-alt,
.ea-home .ea-events-home,
.ea-home .ea-gami-home,
.ea-home .rbt-testimonial-area,
.ea-home .rbt-newsletter-area {
  position: relative;
  overflow: hidden;
}
.ea-home .rbt-featured-course > .container,
.ea-home .ea-section-alt > .container,
.ea-home .ea-events-home > .container,
.ea-home .ea-gami-home > .container,
.ea-home .rbt-testimonial-area > .container,
.ea-home .rbt-newsletter-area > .container {
  position: relative;
  z-index: 2;
}

/* Blobs luminosos animados (::before roxo / ::after azul) */
.ea-home .rbt-featured-course::before,
.ea-home .ea-section-alt::before,
.ea-home .ea-events-home::before,
.ea-home .rbt-testimonial-area::before,
.ea-home .rbt-newsletter-area::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 53, 240, 0.16), transparent 65%);
  top: -160px;
  left: -140px;
  filter: blur(10px);
  animation: eaBlobDrift 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.ea-home .rbt-featured-course::after,
.ea-home .ea-section-alt::after,
.ea-home .ea-events-home::after,
.ea-home .rbt-testimonial-area::after,
.ea-home .rbt-newsletter-area::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.13), transparent 65%);
  bottom: -150px;
  right: -120px;
  filter: blur(10px);
  animation: eaBlobDrift2 24s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
/* Variações de posição para alternar o ritmo entre sections */
.ea-home .ea-section-alt::before { left: auto; right: -160px; top: -120px; }
.ea-home .ea-section-alt::after { right: auto; left: -130px; bottom: -170px; }
.ea-home .rbt-testimonial-area::before { top: auto; bottom: -180px; }
.ea-home .rbt-testimonial-area::after { bottom: auto; top: -140px; }

/* Textura de pontos sutil nas sections alternadas */
.ea-home .ea-section-alt,
.ea-home .rbt-testimonial-area {
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1.6px);
  background-size: 28px 28px;
}

/* Tons alternados entre sections para dar profundidade */
.ea-home .rbt-featured-course { background: linear-gradient(180deg, #10141f 0%, #131a2a 100%); }
.ea-home .ea-section-alt { background-color: #0d1120; }
.ea-home .ea-events-home { background: linear-gradient(180deg, #10141f, #0d1120); }
.ea-home .rbt-testimonial-area { background-color: #10141f !important; }
.ea-home .rbt-newsletter-area { background: linear-gradient(180deg, #0d1120, #090c16); }

/* Linha de brilho separando as sections */
.ea-home .rbt-featured-course,
.ea-home .ea-section-alt,
.ea-home .ea-events-home,
.ea-home .rbt-testimonial-area {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(164, 53, 240, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .ea-home .rbt-featured-course::before, .ea-home .rbt-featured-course::after,
  .ea-home .ea-section-alt::before, .ea-home .ea-section-alt::after,
  .ea-home .ea-events-home::before, .ea-home .ea-events-home::after,
  .ea-home .rbt-testimonial-area::before, .ea-home .rbt-testimonial-area::after,
  .ea-home .rbt-newsletter-area::before, .ea-home .rbt-newsletter-area::after { animation: none; }
}
@media only screen and (max-width: 767px) {
  .ea-home .rbt-featured-course::before, .ea-home .rbt-featured-course::after,
  .ea-home .ea-section-alt::before, .ea-home .ea-section-alt::after,
  .ea-home .ea-events-home::before, .ea-home .ea-events-home::after,
  .ea-home .rbt-testimonial-area::before, .ea-home .rbt-testimonial-area::after,
  .ea-home .rbt-newsletter-area::before, .ea-home .rbt-newsletter-area::after {
    width: 320px; height: 320px;
  }
}
/* ============================ HOME: contraste nítido entre sections ============================ */
/* 1. Cursos em destaque — tom CLARO (azul-acinzentado elevado) */
.ea-home .rbt-featured-course {
  background: linear-gradient(180deg, #1d2537 0%, #171e2e 100%);
}
/* 2. Mais vendidos — tom ESCURO profundo */
.ea-home .ea-section-alt {
  background-color: #090c14;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1.6px);
  background-size: 28px 28px;
}
/* 3. Eventos — DEGRADÊ colorido (roxo → azul) */
.ea-home .ea-events-home {
  background: linear-gradient(135deg, #241436 0%, #14182d 55%, #0f1e38 100%);
}
/* 4. Gamificação — escuro neutro para o painel saltar */
.ea-home .ea-gami-home {
  background: #0b0e18;
  padding-top: 70px;
}
/* 5. Depoimentos — tom CLARO de novo */
.ea-home .rbt-testimonial-area {
  background: linear-gradient(180deg, #1c2436 0%, #161d2c 100%) !important;
}
/* 6. CTA final — DEGRADÊ para o preto do rodapé */
.ea-home .rbt-newsletter-area {
  background: linear-gradient(180deg, #171c2c 0%, #0a0716 60%, #050308 100%);
}
/* Bordas de transição mais evidentes */
.ea-home .rbt-featured-course,
.ea-home .rbt-testimonial-area { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.ea-home .ea-section-alt,
.ea-home .ea-gami-home { border-top: 1px solid rgba(0, 0, 0, 0.55); }
.ea-home .ea-events-home { border-top: 1px solid rgba(164, 53, 240, 0.25); }
/* ============================ Hero mais compacto verticalmente ============================ */
.ea-hero { padding: 48px 0 46px; }
.ea-hero .title { font-size: 44px; margin-bottom: 14px; }
.ea-hero .description { font-size: 17px; }
.ea-hero .ea-hero-search.mt--30 { margin-top: 20px !important; }
.ea-hero .ea-hero-meta { margin-top: 14px; }
.ea-hero .slider-btn.mt--30 { margin-top: 20px !important; }
/* Foto em retrato limitada na altura para não esticar o hero */
.ea-hero-photo { max-width: 400px; }
.ea-hero-photo img { aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 18%; }
/* Hero ainda mais compacto */
.ea-hero { padding: 32px 0 30px; }
.ea-hero .title { font-size: 38px; margin-bottom: 10px; }
.ea-hero .description { font-size: 16px; }
.ea-hero .ea-hero-search.mt--30 { margin-top: 14px !important; }
.ea-hero .ea-hero-meta { margin-top: 10px; }
.ea-hero .slider-btn.mt--30 { margin-top: 14px !important; }
.ea-hero-photo { max-width: 360px; }
.ea-hero-photo img { aspect-ratio: 4 / 3.9; }
/* ============================ CTA final da home ============================ */
.ea-cta-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 30px 56px;
  border-radius: 30px;
  background:
    radial-gradient(700px 300px at 50% -60px, rgba(164, 53, 240, 0.35), transparent 70%),
    linear-gradient(180deg, #1b1330 0%, #131a2c 100%);
  border: 1px solid rgba(164, 53, 240, 0.28);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.45);
}
.ea-cta-final-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 47, 255, 0.22), transparent 65%);
  bottom: -300px;
  right: -180px;
  animation: eaBlobDrift2 18s ease-in-out infinite;
  pointer-events: none;
}
.ea-cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(164, 53, 240, 0.16);
  border: 1px solid rgba(164, 53, 240, 0.4);
  color: #d9b8ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ea-cta-title { color: #fff; font-size: 42px; line-height: 1.15; margin-bottom: 14px; }
.ea-cta-sub { color: #a7b4d2; font-size: 17px; max-width: 56ch; margin: 0 auto; }
.ea-cta-perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin: 26px 0 0;
  padding: 0;
}
.ea-cta-perks li { display: inline-flex; align-items: center; gap: 9px; color: #dfe7fb; font-size: 15px; }
.ea-cta-perks li i { color: #34d399; font-size: 17px; }
.ea-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}
.ea-cta-link { color: #9db4ff; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.ea-cta-link:hover { color: #c3d2ff; }
.ea-cta-note { display: block; color: #7f93b6; font-size: 13px; margin-top: 18px; }
@media only screen and (max-width: 767px) {
  .ea-cta-final { padding: 40px 18px 36px; border-radius: 22px; }
  .ea-cta-title { font-size: 30px; }
  .ea-cta-perks { flex-direction: column; align-items: center; gap: 10px; }
}
/* ============================ Cupom no checkout ============================ */
.ea-coupon-box label { display: block; font-weight: 600; margin-bottom: 8px; }
.ea-coupon-field { display: flex; gap: 10px; }
.ea-coupon-field input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  text-transform: uppercase;
}
.ea-coupon-field .rbt-btn { flex: 0 0 auto; height: 46px; line-height: 44px; }
.ea-coupon-msg { min-height: 20px; font-size: 13.5px; margin-top: 8px; }
.ea-coupon-msg.is-ok { color: #34d399; }
.ea-coupon-msg.is-error { color: #f87171; }
.ea-coupon-row { display: flex; justify-content: space-between; }
.ea-coupon-value { color: #34d399 !important; font-weight: 700; }

/* ============================ Acessibilidade e correções responsivas ============================ */
.ea-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100000;
  padding: 10px 16px;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.ea-skip-link:focus { transform: translateY(0); }

/* O tema-base aplica width: 100% a todo input, inclusive checkboxes. */
.rbt-checkbox input[type="checkbox"],
.rbt-checkbox input[type="radio"] {
  width: auto;
  height: auto;
  max-width: none;
}

/* Mantém o painel de compra escuro e legível, preservando a borda em gradiente. */
.active-dark-mode .course-sidebar.rbt-gradient-border {
  background: linear-gradient(-145deg, #cfa2e8, #637fea) !important;
}
.active-dark-mode .course-sidebar.rbt-gradient-border::before {
  background: #20283a !important;
}
.active-dark-mode .course-sidebar .rbt-course-details-list-wrapper li > span:first-child,
.active-dark-mode .course-sidebar .subtitle {
  color: #e7ecf7;
}
.active-dark-mode .course-sidebar .rbt-badge-5 {
  background: #343f56;
  color: #ffffff;
}

.rbt-course-main-content li .ea-locked-lesson {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--color-white-dark);
  cursor: not-allowed;
}
@media only screen and (max-width: 575px) {
  .rbt-course-main-content li .ea-locked-lesson { display: block; }
}
