/* ============================================================
   aprend — Comunidade SaaS · estilos
   Tema escuro + glassmorphism, grid rem adaptativo, fonte Onest
   ============================================================ */

:root {
  /* base */
  --hero-base:            #04050c;
  --heading:              #eef0f6;
  --body-muted:           #b9becf;
  --on-media:             #ffffff;

  /* ações */
  --action-inverse:       #ffffff;
  --action-inverse-fg:    #2f2f33;

  /* vidro */
  --glass-fill:           rgba(255,255,255,0.08);
  --glass-border:         rgba(255,255,255,0.16);
  --glass-fill-strong:    rgba(255,255,255,0.10);

  /* scrim */
  --scrim:                rgba(4,5,12,0.46);
  --scrim-strong:         rgba(4,5,12,0.68);
  --scrim-soft:           rgba(4,5,12,0.12);

  /* acento (ecoa a tinta do fluido) */
  --accent:               #6ea8ff;
  --accent-soft:          rgba(110,168,255,0.14);

  /* premium / pro (âmbar) */
  --amber:                #f5c542;
  --amber-soft:           rgba(245,197,66,0.14);
  --amber-ink:            #2a2205;

  /* timing */
  --duration-fast:        150ms;
  --ease-entrance:        cubic-bezier(0.2, 0, 0, 1);

  /* raios */
  --r-lg:                 1.5rem;
  --r-md:                 1.1rem;
}

/* --- reset --- */
* { margin: 0; box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* --- grid rem adaptativo (escala com a viewport) --- */
html { font-size: 16px; }
@media (max-width: 1920px) { html { font-size: 0.833333vw; } }
@media (max-width: 1440px) { html { font-size: 1.111111vw; } }
@media (max-width: 1024px) { html { font-size: 1.5625vw;   } }
@media (max-width: 640px)  { html { font-size: 4.444444vw; } }

body {
  font-family: "Onest", sans-serif;
  font-weight: 400;
  background: var(--hero-base);
  color: var(--heading);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- container --- */
.container {
  width: 100%;
  max-width: 75rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container { padding-inline: 2.5rem; } }

/* ============================================================
   Reveals
   ============================================================ */
/* reveal por tempo (hero, disparado no load) */
.reveal {
  opacity: 0;
  transform: var(--from, none);
  transition:
    opacity   0.7s var(--ease-entrance) var(--d, 0ms),
    transform 0.7s var(--ease-entrance) var(--d, 0ms);
}
body.loaded .reveal { opacity: 1; transform: none; }

/* reveal por scroll (seções abaixo da dobra) */
.reveal-up {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity   0.7s var(--ease-entrance),
    transform 0.7s var(--ease-entrance);
  transition-delay: var(--d, 0ms);
}
.reveal-up.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up { transition: none; opacity: 1; transform: none; }
}

/* ============================================================
   Botão pill branco (compartilhado)
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--action-inverse, #ffffff);
  padding: 0 1.125rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #040914 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  transition: background var(--duration-fast) var(--ease-entrance), transform var(--duration-fast) var(--ease-entrance), box-shadow var(--duration-fast) var(--ease-entrance);
  white-space: nowrap;
}
.pill:hover { background: rgba(255,255,255,0.92); color: #040914 !important; box-shadow: 0 4px 15px rgba(255,255,255,0.25); }
.pill:active { transform: translateY(1px); }
.pill:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(255,255,255,.7); }

/* pill de vidro (secundário) */
.pill-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  padding: 0 1.125rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading, #ffffff) !important;
  transition: background var(--duration-fast) var(--ease-entrance), border-color var(--duration-fast) var(--ease-entrance);
  white-space: nowrap;
}
.pill-glass:hover { background: var(--glass-fill-strong); border-color: rgba(255,255,255,0.3); color: #ffffff !important; }

/* CTA grande (Garantir Acesso VIP / Hero CTAs) */
.cta-lg {
  height: 3.5rem;
  padding: 0 2rem;
  font-size: 1.02rem;
  font-weight: 700;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100lvh;
  width: 100vw;
  overflow: hidden;
  background: var(--hero-base);
  text-align: center;
  padding: 0 1.25rem;
}

.fluid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(115% 95% at 50% 46%,
    var(--scrim-strong) 0%, var(--scrim-strong) 24%, var(--scrim) 52%, var(--scrim-soft) 100%);
}

/* fade para a próxima seção */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14rem;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(4,5,12,0) 0%, var(--hero-base) 100%);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid transparent;
  transition:
    background   var(--duration-fast) var(--ease-entrance),
    border-color var(--duration-fast) var(--ease-entrance),
    box-shadow   var(--duration-fast) var(--ease-entrance);
}
/* fundo de vidro quando a página rola */
.nav.scrolled {
  background: rgba(4, 5, 12, 0.72);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.8);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--on-media);
  letter-spacing: -0.01em;
}
.brand-glyph { width: 1.55rem; height: 1.55rem; flex: none; }

/* botão da navbar (maior) */
.pill-nav { height: 3rem; padding: 0 1.5rem; font-size: 0.92rem; }

/* ao rolar, o pill central se funde com o fundo de vidro da navbar */
.nav.scrolled .nav-links {
  background: transparent;
  border-color: transparent;
}

.nav-links { display: none; }

/* ============================================================
   Conteúdo central do hero
   ============================================================ */
.col {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 22rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
  color: var(--body-muted);
}
.badge .spark { color: var(--accent); }

.heading {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--heading);
  visibility: hidden;
}

.sub {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--body-muted);
  visibility: hidden;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    gap: 1.25rem;
    width: auto;
  }
}
@media (max-width: 639px) {
  .hero-actions .cta-lg {
    width: 100%;
    max-width: 20rem;
    height: 3.4rem;
    font-size: 0.98rem;
  }
}
.guarantee {
  font-size: 0.78rem;
  color: var(--body-muted);
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.guarantee b { color: var(--heading); font-weight: 500; }

/* ============================================================
   Seções genéricas
   ============================================================ */
.section { position: relative; z-index: 3; padding-block: 5rem; }
.section-head { text-align: center; max-width: 40rem; margin-inline: auto; margin-bottom: 3rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading);
}
.section-lead {
  margin-top: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--body-muted);
}

/* ============================================================
   Recursos (cards)
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.feature {
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  padding: 1.6rem;
  text-align: left;
  transition: background var(--duration-fast) var(--ease-entrance), border-color var(--duration-fast) var(--ease-entrance), transform var(--duration-fast) var(--ease-entrance);
}
.feature:hover { background: var(--glass-fill-strong); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }
.feature-ic {
  width: 2.75rem; height: 2.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.85rem;
  background: var(--accent-soft);
  border: 1px solid var(--glass-border);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.feature h3 { font-size: 1.05rem; font-weight: 600; color: var(--heading); letter-spacing: -0.01em; }
.feature p { margin-top: 0.55rem; font-size: 0.9rem; line-height: 1.5; color: var(--body-muted); }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-wrap { display: flex; justify-content: center; }
.price-card {
  width: 100%;
  max-width: 34rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.7);
  padding: 2.25rem;
  text-align: center;
}
.price-tag { display: flex; align-items: baseline; justify-content: center; gap: 0.35rem; margin: 0.5rem 0 0.25rem; }
.price-tag .cur { font-size: 1.2rem; color: var(--body-muted); font-weight: 500; }
.price-tag .val { font-size: 3.25rem; font-weight: 700; letter-spacing: -0.03em; color: var(--heading); line-height: 1; }
.price-tag .per { font-size: 1rem; color: var(--body-muted); }
.price-plan { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.price-list { text-align: left; margin: 1.75rem 0; display: grid; gap: 0.8rem; }
.price-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.95rem; color: var(--heading); }
.check {
  flex: none; width: 1.35rem; height: 1.35rem; margin-top: 0.05rem;
  border-radius: 9999px; background: var(--accent-soft); border: 1px solid var(--glass-border);
  display: inline-flex; align-items: center; justify-content: center;
}
.check svg { width: 0.8rem; height: 0.8rem; stroke: var(--accent); }
.price-card .pill { width: 100%; }
.price-note { margin-top: 1rem; font-size: 0.78rem; color: var(--body-muted); }

/* ============================================================
   Depoimentos
   ============================================================ */
.testimonials { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.quote {
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  padding: 1.75rem;
  text-align: left;
}
.quote .mark { color: var(--accent); font-size: 2.25rem; line-height: 0.5; font-weight: 700; }
.quote p { margin-top: 0.75rem; font-size: 1rem; line-height: 1.55; color: var(--heading); }
.quote .who { margin-top: 1.1rem; display: flex; align-items: center; gap: 0.75rem; }
.quote .avatar {
  width: 2.4rem; height: 2.4rem; border-radius: 9999px; flex: none;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; color: #06070f; font-size: 0.9rem;
}
.quote .who b { display: block; font-weight: 500; color: var(--heading); font-size: 0.9rem; }
.quote .who span { font-size: 0.8rem; color: var(--body-muted); }

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq { max-width: 46rem; margin-inline: auto; display: grid; gap: 0.75rem; }
.faq-item {
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-size: 1rem; font-weight: 500; color: var(--heading); text-align: left;
}
.faq-q .ico { flex: none; width: 1.1rem; height: 1.1rem; position: relative; transition: transform var(--duration-fast) var(--ease-entrance); }
.faq-q .ico::before, .faq-q .ico::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
}
.faq-q .ico::before { left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); }
.faq-q .ico::after { top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); transition: opacity var(--duration-fast) var(--ease-entrance); }
.faq-item.open .faq-q .ico::after { opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s var(--ease-entrance); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.4rem 1.3rem; font-size: 0.93rem; line-height: 1.55; color: var(--body-muted); }

/* ============================================================
   Footer (Padronizado com a Área de Membros)
   ============================================================ */
.footer, .foot-site {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--glass-border);
  padding: 3.5rem 1.5rem 2.75rem;
  color: var(--body-muted);
  text-align: center;
  font-size: 0.88rem;
  background: rgba(4, 5, 12, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  text-align: center;
  max-width: 68rem;
  margin: 0 auto;
}
.foot-slogan {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.01em;
}
.foot-slogan i {
  color: #29c3d6;
}
.foot-slogan span {
  background: linear-gradient(135deg, #29c3d6, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.foot-nav, .footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}
.foot-link {
  display: inline-flex;
  align-items: center;
  color: var(--body-muted);
  font-weight: 500;
  font-size: 0.82rem;
  transition: color var(--duration-fast) var(--ease-entrance);
  text-decoration: none;
  padding: 0;
  background: transparent;
  border: none;
}
.foot-link:hover {
  color: var(--heading);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: transparent;
  border: none;
  transform: none;
}
.foot-link.highlight {
  color: var(--body-muted);
  background: transparent;
  border: none;
}
.foot-link.highlight:hover {
  color: var(--accent);
}
.foot-brand, .footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  text-decoration: none;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.4rem;
  margin: 1.25rem 0 0.75rem;
}
.foot-nav a {
  color: var(--body-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-entrance);
}
.foot-nav a:hover {
  color: var(--accent);
}
.foot-credits, .footer .copy {
  font-size: 0.78rem;
  color: #8b95a8;
  margin-top: 0.2rem;
}

/* ============================================================
   ≥ 640px (sm)
   ============================================================ */
@media (min-width: 640px) {
  .hero { padding: 0 2.5rem; }
  .nav { padding: 1.75rem 3rem; }
  .brand { font-size: 1.5rem; }
  .brand-glyph { width: 1.75rem; height: 1.75rem; }

  .nav-links {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 3.4rem;
    align-items: center;
    gap: clamp(1rem, 1.4vw, 1.75rem);
    border-radius: 9999px;
    border: 1px solid var(--glass-border);
    background: var(--glass-fill);
    padding: 0 clamp(1.1rem, 1.5vw, 1.8rem);
  }
  .nav-links a {
    font-size: 1rem;
    color: var(--body-muted);
    white-space: nowrap;
    transition: color var(--duration-fast) var(--ease-entrance);
    display: inline-flex;
    align-items: center;
  }
  .nav-links a:hover { color: var(--heading); }
  .nav-badge {
    margin-left: 0.35rem;
    padding: 0.12rem 0.45rem;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 9999px;
    line-height: 1;
  }

  .col { max-width: 44rem; }
  .badge { font-size: 0.8rem; }
  .heading { margin-top: 1.75rem; max-width: 36rem; font-size: 3.25rem; }
  .sub { margin-top: 1.25rem; max-width: 34rem; font-size: 1.15rem; }
  .hero-cta { margin-top: 2.25rem; }
  .guarantee { font-size: 0.85rem; }

  .pill { height: 2.75rem; padding: 0 1.375rem; font-size: 0.95rem; }
  .pill-glass { height: 2.75rem; padding: 0 1.375rem; font-size: 0.95rem; }
  .cta-lg { height: 3.75rem; padding: 0 2.25rem; font-size: 1.05rem; }
  .pill-nav { height: 3.25rem; padding: 0 1.7rem; font-size: 1rem; }

  .section { padding-block: 7rem; }
  .section-title { font-size: 2.4rem; }
  .section-lead { font-size: 1.1rem; }

  .features { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .testimonials { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .price-card { padding: 2.75rem; }
}

/* ============================================================
   ≥ 1024px (lg)
   ============================================================ */
@media (min-width: 1024px) {
  .col { max-width: 54rem; }
  .heading { max-width: 46rem; font-size: 4.25rem; }
  .sub { max-width: 40rem; font-size: 1.2rem; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .section-title { font-size: 2.75rem; }
}

/* ============================================================
   Ícones em cards de features (Font Awesome)
   ============================================================ */
.feature-ic i { font-size: 1.25rem; color: var(--accent); }

/* Pilar em destaque (carreira) */
.feature-hl {
  position: relative;
  border-color: rgba(110,168,255,0.45);
  background: linear-gradient(180deg, var(--accent-soft), var(--glass-fill));
  box-shadow: 0 24px 60px -34px rgba(110,168,255,0.5);
}
.feature-hl .feature-ic { background: var(--accent); border-color: transparent; }
.feature-hl .feature-ic i { color: #06070f; }
.feature-flag {
  display: inline-block;
  margin-bottom: 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: var(--accent-soft);
  padding: 0.25rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   Badges FREE / PRO
   ============================================================ */
.tag-badge {
  flex: none;
  border-radius: 9999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid var(--glass-border);
}
.tag-free { color: var(--accent); background: var(--accent-soft); }
.tag-pro  { color: var(--amber); background: var(--amber-soft); border-color: rgba(245,197,66,0.3); }

/* ============================================================
   Rodapé de seção (botão centralizado) + heads de seção
   ============================================================ */
.section-foot { margin-top: 2.25rem; text-align: center; }

/* ============================================================
   Cursos — cards pequenos
   ============================================================ */
.cards-sm {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.card-sm {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  padding: 0.85rem 1rem;
  transition: background var(--duration-fast) var(--ease-entrance),
              border-color var(--duration-fast) var(--ease-entrance),
              transform var(--duration-fast) var(--ease-entrance);
}
.card-sm:hover { background: var(--glass-fill-strong); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }
.card-ic {
  flex: none;
  width: 2.4rem; height: 2.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.75rem;
  background: var(--accent-soft);
  border: 1px solid var(--glass-border);
}
.card-ic i { font-size: 1rem; color: var(--accent); }
.card-title { flex: 1 1 auto; font-size: 0.92rem; font-weight: 500; color: var(--heading); line-height: 1.25; }

/* ============================================================
   Trilhas — chips com ícone da marca
   ============================================================ */
.tracks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.track-chip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  padding: 0.8rem 1rem;
  transition: background var(--duration-fast) var(--ease-entrance),
              border-color var(--duration-fast) var(--ease-entrance),
              transform var(--duration-fast) var(--ease-entrance);
}
.track-chip:hover { background: var(--glass-fill-strong); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }
.track-ic {
  flex: none;
  width: 2.5rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.8rem;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}
.track-body { display: flex; flex-direction: column; gap: 0.1rem; }
.track-body b { font-size: 0.92rem; font-weight: 500; color: var(--heading); }
.track-lvl { font-size: 0.72rem; color: var(--body-muted); }

/* ============================================================
   Vibe Code — Seção Flagship com Alto Destaque
   ============================================================ */
.section-vibecode {
  position: relative;
  overflow: hidden;
}

.eyebrow-vibe {
  border-color: rgba(56, 189, 248, 0.35) !important;
  background: rgba(56, 189, 248, 0.1) !important;
  color: #38bdf8 !important;
}

.vibe-ambient-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 65rem);
  height: 32rem;
  background: radial-gradient(50% 50% at 50% 50%, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.08) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Bento / Showcase Banner */
.vibe-showcase {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.06), rgba(15, 23, 42, 0.7));
  box-shadow: 0 24px 60px -25px rgba(56, 189, 248, 0.25);
  padding: 1.5rem;
  margin-bottom: 3.5rem;
}

.vibe-showcase-glow {
  position: absolute;
  inset: -20% 10% auto 10%;
  height: 18rem;
  background: radial-gradient(50% 50% at 50% 50%, rgba(56, 189, 248, 0.15), transparent 70%);
  pointer-events: none;
}

.vibe-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

/* Terminal Preview */
.vibe-terminal {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #090c15;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.vibe-term-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vibe-term-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.vibe-term-title {
  font-size: 0.82rem;
  color: var(--body-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.text-cyan { color: #38bdf8 !important; }
.text-green { color: #10b981 !important; }

.vibe-term-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  padding: 0.15rem 0.5rem;
}

.pulse-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: vibePulse 2s infinite;
}

@keyframes vibePulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.vibe-term-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.vibe-prompt-box {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}

.vibe-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.vibe-prompt-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.vibe-prompt-lang {
  font-size: 0.68rem;
  color: var(--body-muted);
}

.vibe-prompt-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #f1f5f9;
  font-weight: 500;
}

.vibe-term-output {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.vibe-out-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--body-muted);
  line-height: 1.35;
}

.vibe-out-time {
  margin-left: auto;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: monospace;
}

.vibe-step-active {
  margin-top: 0.35rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.vibe-step-active b {
  font-weight: 600;
  font-size: 0.85rem;
}

.vibe-step-active code {
  background: rgba(56, 189, 248, 0.16);
  color: #38bdf8;
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
  font-family: monospace;
  font-size: 0.82rem;
}

.vibe-badge-ready {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 800;
  background: #10b981;
  color: #041f14;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

/* Highlights ao lado do terminal */
.vibe-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.vibe-h-card {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--duration-fast) var(--ease-entrance),
              border-color var(--duration-fast) var(--ease-entrance),
              transform var(--duration-fast) var(--ease-entrance);
}

.vibe-h-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.vibe-h-icon {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vibe-h-info h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.25rem;
}

.vibe-h-info p {
  font-size: 0.84rem;
  color: var(--body-muted);
  line-height: 1.45;
}

.vibe-h-info code {
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
}

/* Header da lista de cursos */
.vibe-courses-header {
  margin-bottom: 1.25rem;
}

.vibe-subheading {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--heading);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Grade de Cursos Vibe Code */
.vibe-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.vibe-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding: 1.35rem 1.4rem;
  transition: background var(--duration-fast) var(--ease-entrance),
              border-color var(--duration-fast) var(--ease-entrance),
              transform var(--duration-fast) var(--ease-entrance),
              box-shadow var(--duration-fast) var(--ease-entrance);
}

.vibe-card:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border-color: var(--card-accent, #38bdf8);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -15px var(--card-accent, rgba(56, 189, 248, 0.35));
}

.vibe-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.vibe-card-ic {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid;
}

.vibe-card-body {
  flex: 1 1 auto;
}

.vibe-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3;
  margin-bottom: 0.45rem;
}

.vibe-card-desc {
  font-size: 0.86rem;
  color: var(--body-muted);
  line-height: 1.5;
  margin-bottom: 1.1rem;
}

.vibe-card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vibe-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vibe-tech-pill {
  font-size: 0.72rem;
  color: var(--body-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-weight: 500;
}

.vibe-cta-main {
  background: #38bdf8 !important;
  color: #04131d !important;
  font-weight: 600;
}

.vibe-cta-main:hover {
  background: #7dd3fc !important;
}

/* ============================================================
   Comunidade — banda em destaque
   ============================================================ */
.band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-fill-strong);
  padding: 2.75rem 1.75rem;
  text-align: center;
}
.band-glow {
  position: absolute;
  inset: -40% 20% auto 20%;
  height: 22rem;
  background: radial-gradient(50% 50% at 50% 50%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.band-body { position: relative; z-index: 1; max-width: 44rem; margin-inline: auto; }
.band-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.75rem 0;
  text-align: left;
}
.band-stat {
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  padding: 1rem 1.1rem;
}
.band-stat b { display: block; font-size: 0.95rem; font-weight: 600; color: var(--heading); }
.band-stat span { font-size: 0.82rem; color: var(--body-muted); }

/* ============================================================
   Comunidade — constelação de rede animada (premium)
   ============================================================ */
.band-community { text-align: left; padding: 2.5rem 1.5rem; }

.community-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.community-copy { max-width: 34rem; margin-inline: auto; text-align: center; }
.community-copy .band-stats { margin: 1.5rem 0; }

/* --- Palco da rede --- */
.cnet {
  position: relative;
  width: 100%;
  max-width: 24rem;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  isolation: isolate;
}
.cnet-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.cnet-nodes { position: absolute; inset: 0; z-index: 1; }

/* --- Nó (ponto da rede) --- */
.cnode {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transform: translate(-50%, -50%);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.cnode-dot {
  --c: var(--accent);
  position: relative;
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  color: var(--c);
  font-size: 1.15rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.10), transparent 60%),
    rgba(9, 12, 24, 0.72);
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow:
    0 0 0 0 color-mix(in srgb, var(--c) 40%, transparent),
    0 6px 18px rgba(0, 0, 0, 0.45),
    inset 0 0 12px color-mix(in srgb, var(--c) 12%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: box-shadow 0.35s var(--ease-entrance), border-color 0.35s var(--ease-entrance);
}

/* Hub central */
.cnode-hub .cnode-dot {
  --c: var(--accent);
  width: 4.4rem;
  height: 4.4rem;
  font-size: 1.7rem;
  color: #eaf1ff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 34%, #0a0f1f), #070a16);
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow:
    0 0 34px color-mix(in srgb, var(--accent) 45%, transparent),
    0 10px 26px rgba(0, 0, 0, 0.55),
    inset 0 0 18px color-mix(in srgb, var(--accent) 22%, transparent);
}
.cnode-hub .cnode-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--heading);
  opacity: 1;
}

/* Halo pulsante do hub */
.cnode-hub .cnode-dot::after {
  content: "";
  position: absolute;
  inset: -0.5rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  animation: cnet-halo 3.4s var(--ease-entrance) infinite;
}
@keyframes cnet-halo {
  0%   { transform: scale(0.8); opacity: 0.7; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Rótulo dos satélites */
.cnode-label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--body-muted);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-0.15rem);
  transition: opacity 0.3s var(--ease-entrance), transform 0.3s var(--ease-entrance);
  pointer-events: none;
}

/* Estado ativo (hover / proximidade) */
.cnode.is-active { z-index: 3; }
.cnode.is-active .cnode-dot {
  border-color: color-mix(in srgb, var(--c) 90%, transparent);
  box-shadow:
    0 0 26px color-mix(in srgb, var(--c) 60%, transparent),
    0 8px 22px rgba(0, 0, 0, 0.5),
    inset 0 0 16px color-mix(in srgb, var(--c) 26%, transparent);
}
.cnode.is-active .cnode-label { opacity: 1; transform: translateY(0); }

@media (min-width: 860px) {
  .band-community { padding: 3rem 3rem; }
  .community-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
  .community-copy { margin-inline: 0; text-align: left; }
  .community-copy .band-stats { margin: 1.75rem 0; }
  .cnet { max-width: 30rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cnode-hub .cnode-dot::after { animation: none; }
}

/* ============================================================
   Planos (Seja Apoiador) — toggle + 2 colunas
   ============================================================ */
.billing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}
.bt-label { font-size: 0.95rem; color: var(--body-muted); display: inline-flex; align-items: center; gap: 0.45rem; transition: color var(--duration-fast) var(--ease-entrance); }
.bt-label.active { color: var(--heading); font-weight: 500; }
.bt-save {
  border-radius: 9999px;
  background: var(--accent-soft);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
}
.switch {
  position: relative;
  flex: none;
  width: 3.4rem; height: 1.85rem;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  transition: background var(--duration-fast) var(--ease-entrance), border-color var(--duration-fast) var(--ease-entrance);
}
.switch .knob {
  position: absolute;
  top: 50%; left: 0.22rem;
  transform: translateY(-50%);
  width: 1.35rem; height: 1.35rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
  transition: left var(--duration-fast) var(--ease-entrance);
}
.switch[aria-checked="true"] { background: var(--accent); border-color: transparent; }
.switch[aria-checked="true"] .knob { left: calc(100% - 1.57rem); }
.switch:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 56rem;
  margin-inline: auto;
  align-items: start;
}
.plan {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  padding: 2rem 1.75rem;
  text-align: center;
}
.plan-name { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.plan-tagline { margin-top: 0.35rem; font-size: 0.92rem; color: var(--body-muted); }
.plan .price-tag { margin: 1rem 0 0.25rem; }
.plan-billnote { font-size: 0.78rem; color: var(--body-muted); min-height: 1.1rem; }
.plan-list { text-align: left; margin: 1.5rem 0; display: grid; gap: 0.72rem; }
.plan-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.92rem; color: var(--heading); line-height: 1.4; }
.plan-list li.locked { color: var(--body-muted); }
.plan-list li.locked > span:last-child { text-decoration: line-through; text-decoration-thickness: 1px; }
.xmark {
  flex: none; width: 1.35rem; height: 1.35rem; margin-top: 0.05rem;
  border-radius: 9999px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
  display: inline-flex; align-items: center; justify-content: center;
}
.xmark svg { width: 0.72rem; height: 0.72rem; stroke: var(--body-muted); }
.plan-cta { width: 100%; }
.plan-note { margin-top: 0.9rem; font-size: 0.76rem; color: var(--body-muted); }

/* Destaque do plano Pro */
.plan-pro {
  border-color: rgba(245,197,66,0.5);
  background: linear-gradient(180deg, rgba(245,197,66,0.09), var(--glass-fill));
  box-shadow: 0 28px 70px -34px rgba(245,197,66,0.45);
}
.plan-pro .plan-name { color: var(--amber); }
.plan-ribbon {
  position: absolute;
  top: -0.8rem; left: 50%; transform: translateX(-50%);
  border-radius: 9999px;
  background: var(--amber);
  color: var(--amber-ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  white-space: nowrap;
}
.check-pro { background: var(--amber-soft); border-color: rgba(245,197,66,0.35); }
.check-pro svg { stroke: var(--amber); }

/* Botão âmbar (ação Pro) */
.pill-amber { background: var(--amber); color: var(--amber-ink); }
.pill-amber:hover { background: #ffd45e; }

/* ============================================================
   ≥ 640px — novos componentes
   ============================================================ */
@media (min-width: 640px) {
  .cards-sm { grid-template-columns: repeat(2, 1fr); }
  .tracks-grid { grid-template-columns: repeat(2, 1fr); }
  .vibe-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .band { padding: 3.25rem 2.75rem; }
  .band-stats { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ≥ 1024px — novos componentes
   ============================================================ */
@media (min-width: 1024px) {
  .cards-sm { grid-template-columns: repeat(3, 1fr); }
  .tracks-grid { grid-template-columns: repeat(3, 1fr); }
  .vibe-showcase-grid { grid-template-columns: 1.15fr 1fr; gap: 2rem; }
  .vibe-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Performance — desfoque só sobre o hero animado + render preguiçoso
   ============================================================ */
/* backdrop-filter é caro na rolagem; mantemos só onde o conteúdo
   passa por cima do fluido do hero (navbar, badge, pills de vidro). */
.nav.scrolled,
.nav-links,
.badge,
.pill-glass {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* seções fora da tela não são pintadas até chegarem perto */
.section {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

/* ============================================================
   Avaliações — carrossel contínuo (mostra ~2 por vez)
   ============================================================ */
.stars { display: flex; gap: 0.2rem; margin-bottom: 0.75rem; }
.stars i { color: var(--surface-3, #191c24); font-size: 0.9rem; }
.stars i.on { color: #f5c542; }

.mq {
  position: relative;
  overflow: hidden;
  padding-block: 0.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.mq-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: mqScroll 46s linear infinite;
}
.mq:hover .mq-track { animation-play-state: paused; }
.mq-card { width: min(88vw, 30rem); flex: none; margin-right: 1.25rem; }
@keyframes mqScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .mq { overflow-x: auto; }
  .mq-track { animation: none; }
}
@media (min-width: 640px) {
  .mq-card { width: 33rem; margin-right: 1.5rem; }
}

/* ============================================================
   Aprend — Modal Universal de Políticas, Termos e LGPD (Landing)
   ============================================================ */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(4, 6, 11, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease, visibility .25s ease;
}
.legal-modal-overlay[hidden] {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}
.legal-modal-dialog {
  position: relative;
  z-index: 100001;
  width: min(920px, 96vw);
  max-height: 90vh;
  height: auto;
  background: #0d111a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(41, 195, 214, 0.2);
  animation: legalModalPop .28s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}
@keyframes legalModalPop {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.legal-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.legal-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.legal-modal-icon-badge {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(41, 195, 214, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(41, 195, 214, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #29c3d6;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.legal-modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}
.legal-modal-sub {
  font-size: .82rem;
  color: #94a3b8;
  margin-top: .15rem;
}
.legal-modal-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.legal-btn-print,
.legal-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  cursor: pointer;
  transition: all .18s ease;
}
.legal-btn-print:hover {
  background: rgba(41, 195, 214, 0.15);
  border-color: rgba(41, 195, 214, 0.4);
  color: #29c3d6;
}
.legal-modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.legal-modal-tabs {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.6rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  scrollbar-width: none;
}
.legal-modal-tabs::-webkit-scrollbar { display: none; }
.legal-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .95rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .18s ease;
}
.legal-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.legal-tab-btn.active {
  background: rgba(41, 195, 214, 0.14);
  border-color: rgba(41, 195, 214, 0.4);
  color: #fff;
  box-shadow: 0 0 16px rgba(41, 195, 214, 0.18);
}
.legal-tab-btn.active i { color: #29c3d6; }
.legal-tab-badge {
  font-size: .66rem;
  padding: .12rem .42rem;
  border-radius: 9999px;
  background: rgba(245, 197, 66, 0.2);
  border: 1px solid rgba(245, 197, 66, 0.4);
  color: #f5c542;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.legal-tab-badge.lgpd {
  background: rgba(51, 214, 159, 0.2);
  border-color: rgba(51, 214, 159, 0.4);
  color: #33d69f;
}
.legal-modal-search-wrap {
  position: relative;
  padding: .65rem 1.6rem;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.legal-modal-search-wrap .search-ic {
  position: absolute;
  left: 2.45rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: .88rem;
  pointer-events: none;
}
.legal-modal-search-input {
  width: 100%;
  height: 2.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0 1rem 0 2.4rem;
  color: #fff;
  font-size: .85rem;
  transition: all .2s ease;
}
.legal-modal-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  border-color: #29c3d6;
  box-shadow: 0 0 0 3px rgba(41, 195, 214, 0.15);
}
.legal-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1.8rem;
  scrollbar-width: thin;
}
.legal-tab-panel { display: none; }
.legal-tab-panel.active { display: block; animation: legalPanelFade .22s ease; }
@keyframes legalPanelFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.legal-panel-header {
  background: linear-gradient(135deg, rgba(41, 195, 214, 0.07), rgba(99, 102, 241, 0.05));
  border: 1px solid rgba(41, 195, 214, 0.18);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.5rem;
}
.legal-panel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: .6rem;
}
.legal-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .88rem;
  font-weight: 800;
  color: #fff;
}
.legal-panel-badge i { color: #29c3d6; }
.legal-panel-date {
  font-size: .78rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.legal-panel-summary {
  font-size: .9rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}
.legal-panel-sections {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.legal-section-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  transition: all .2s ease;
}
.legal-section-item:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(41, 195, 214, 0.22);
}
.legal-section-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.legal-section-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: rgba(41, 195, 214, 0.12);
  border: 1px solid rgba(41, 195, 214, 0.3);
  color: #29c3d6;
  font-size: .8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.legal-section-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.35;
}
.legal-section-content {
  font-size: .9rem;
  line-height: 1.75;
  color: #94a3b8;
}
.legal-section-content strong { color: #f1f5f9; font-weight: 600; }
.legal-section-item.is-hidden { display: none !important; }
.legal-panel-foot {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(41, 195, 214, 0.05);
  border: 1px dashed rgba(41, 195, 214, 0.25);
  border-radius: 12px;
}
.legal-foot-notice {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .84rem;
  color: #cbd5e1;
}
.legal-foot-notice i { color: #29c3d6; font-size: 1.15rem; flex-shrink: 0; }
.legal-foot-notice a { color: #29c3d6; text-decoration: underline; text-underline-offset: 3px; }
.legal-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.6rem;
  background: rgba(5, 7, 12, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.legal-modal-foot-info {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: #94a3b8;
}
.legal-modal-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: 9999px;
  background: #29c3d6;
  color: #041a24;
  font-size: .85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.legal-modal-footer .btn:hover {
  background: #33d0e4;
  transform: translateY(-1px);
}

/* ============================================================
   Aprend — Cookie Consent Banner (Landing)
   ============================================================ */
.cookie-banner-wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 480px;
  width: calc(100vw - 3rem);
  z-index: 990;
  animation: cookieSlideUp .35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}
.cookie-banner-wrap[hidden] { display: none !important; }
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-banner-card {
  background: rgba(13, 17, 26, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(41, 195, 214, 0.3);
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85), 0 0 20px rgba(41, 195, 214, 0.12);
}
.cookie-banner-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .45rem;
}
.cookie-banner-head i { color: #f5c542; font-size: 1.15rem; }
.cookie-banner-text {
  font-size: .84rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0 0 .95rem;
}
.cookie-banner-text a {
  color: #29c3d6;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.cookie-banner-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border-radius: 9999px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.cookie-banner-actions .btn-primary {
  background: #29c3d6;
  color: #041a24;
}
.cookie-banner-actions .btn-primary:hover {
  background: #33d0e4;
}
.cookie-banner-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
}
.cookie-banner-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
@media (max-width: 640px) {
  .cookie-banner-wrap {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    width: auto;
    max-width: none;
  }
}


/* ============================================================
   REFINAMENTO PREMIUM + MENU MOBILE  (adicionado em 16/09/2026)
   Bloco de override no fim do arquivo — remover para reverter.
   ============================================================ */

/* ---- Navbar: vidro com blur ao rolar ---- */
.nav.scrolled {
  background: rgba(4, 5, 12, 0.55);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
}

/* ---- Ações da direita (Entrar + CTA + hambúrguer) ---- */
.nav-actions { display: flex; align-items: center; gap: 0.75rem; z-index: 2; }
.nav-login {
  font-size: 0.95rem; font-weight: 500; color: var(--body-muted);
  padding: 0.4rem 0.6rem; border-radius: 9999px;
  transition: color var(--duration-fast) var(--ease-entrance);
}
.nav-login:hover { color: var(--heading); }

/* Hambúrguer (só no mobile) */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.75rem; height: 2.75rem; padding: 0 0.75rem; border-radius: 0.9rem;
  border: 1px solid var(--glass-border); background: var(--glass-fill);
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--heading); border-radius: 2px;
  transition: transform 200ms var(--ease-entrance), opacity 150ms var(--ease-entrance); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Painel mobile (dropdown de vidro) */
.nav-mobile {
  position: absolute; top: 100%; inset-inline: 0.9rem; margin-top: 0.6rem;
  display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem;
  border-radius: var(--r-md); border: 1px solid var(--glass-border);
  background: rgba(8, 10, 20, 0.92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a:not(.pill) {
  padding: 0.85rem 1rem; border-radius: 0.8rem; font-size: 1.05rem; color: var(--heading);
  transition: background var(--duration-fast) var(--ease-entrance);
}
.nav-mobile a:not(.pill):hover, .nav-mobile a:not(.pill):active { background: var(--glass-fill); }
.nav-mobile-cta { display: flex; gap: 0.6rem; align-items: center; margin-top: 0.35rem;
  padding-top: 0.6rem; border-top: 1px solid var(--glass-border); }
.nav-mobile-cta .nav-login { flex: 1; text-align: center; }
.nav-mobile-cta .pill {
  flex: 1;
  height: 3.1rem;
  justify-content: center;
  background: #ffffff !important;
  color: #040914 !important;
  font-weight: 800 !important;
  font-size: 1.02rem !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.nav-mobile-cta .pill:hover {
  background: #f1f5f9 !important;
  color: #000000 !important;
}

/* Mobile-first: mostra só o hambúrguer no topo; Entrar/CTA vão pro painel */
.nav-actions .nav-login, .nav-actions .pill-nav { display: none; }
.nav-toggle { display: inline-flex; }

/* ≥ 640px: navbar desktop — esconde hambúrguer/painel, mostra Entrar + CTA */
@media (min-width: 640px) {
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .nav-actions .nav-login { display: inline-flex; }
  .nav-actions .pill-nav { display: inline-flex; }
}

/* ============================================================
   Refino premium / mais respiro
   ============================================================ */
/* Cabeçalho de seção mais arejado e centrado */
.section-head { margin-bottom: 3.25rem; }
.section-lead { max-width: 44rem; margin-inline: auto; }
.eyebrow { letter-spacing: 0.08em; }

/* Transições e elevação consistentes nos cards */
.feature, .card-sm, .track-chip, .vibe-card, .vibe-h-card, .price-card {
  transition: transform 260ms var(--ease-entrance),
              border-color 260ms var(--ease-entrance),
              background 260ms var(--ease-entrance),
              box-shadow 260ms var(--ease-entrance);
  will-change: transform;
}
.feature:hover, .card-sm:hover, .track-chip:hover, .vibe-card:hover, .vibe-h-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
}
.feature:hover, .vibe-card:hover {
  box-shadow: 0 22px 50px -30px rgba(0, 0, 0, 0.9);
}

/* Um pouco mais de ar entre as seções no desktop */
@media (min-width: 1024px) {
  .section { padding-block: 8.5rem; }
  .section-lead { font-size: 1.15rem; line-height: 1.6; }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  .feature, .card-sm, .track-chip, .vibe-card, .vibe-h-card, .price-card { transition: none; }
  .feature:hover, .card-sm:hover, .track-chip:hover, .vibe-card:hover, .vibe-h-card:hover { transform: none; }
}

/* ============================================================
   RECURSOS — Carrossel premium (7 abas cronometradas + palco)
   Bloco anexado (override reversível). Modelo inspirado em cards
   de produto com minicards que marcam o tempo.
   ============================================================ */
.rec { position: relative; overflow: hidden; }
.rec-ambient {
  position: absolute; inset: -20% -10% auto -10%; height: 60%;
  background:
    radial-gradient(60% 60% at 30% 0%, rgba(110,168,255,.16), transparent 70%),
    radial-gradient(50% 50% at 80% 10%, rgba(192,132,252,.12), transparent 70%);
  filter: blur(10px); pointer-events: none; z-index: 0;
}
.rec .container { position: relative; z-index: 1; }

.rec-carousel { margin-top: 2.6rem; }

/* ---- Abas / minicards ---- */
.rec-tabs {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: .6rem;
  margin-bottom: 1.4rem;
}
.rec-tab {
  position: relative; display: flex; align-items: center; gap: .6rem;
  padding: .7rem .75rem .95rem; border-radius: 1rem; text-align: left;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  color: var(--body-muted);
  transition: background .25s var(--ease-entrance), border-color .25s var(--ease-entrance), transform .25s var(--ease-entrance), color .25s;
  overflow: hidden; min-width: 0;
}
.rec-tab:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); color: var(--heading); }
.rec-tab.is-active {
  background: color-mix(in srgb, var(--rc) 14%, rgba(255,255,255,.04));
  border-color: color-mix(in srgb, var(--rc) 55%, transparent);
  color: var(--heading);
  box-shadow: 0 10px 30px -14px color-mix(in srgb, var(--rc) 60%, transparent);
}
.rec-tab-ic {
  flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: .7rem;
  display: grid; place-items: center; font-size: .95rem;
  background: rgba(255,255,255,.06); color: var(--rc);
  transition: background .25s, transform .25s;
}
.rec-tab.is-active .rec-tab-ic { background: color-mix(in srgb, var(--rc) 22%, transparent); transform: scale(1.04); }
.rec-tab-tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.rec-tab-tx b { font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-tab-tx small { font-size: .66rem; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-tab-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(255,255,255,.07);
}
.rec-tab-bar > i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--rc) 60%, #fff), var(--rc));
  box-shadow: 0 0 10px color-mix(in srgb, var(--rc) 70%, transparent);
}
.rec-tab.is-active .rec-tab-bar > i { animation: recFill var(--rec-dur, 8s) linear forwards; }
.rec-carousel.rec-paused .rec-tab.is-active .rec-tab-bar > i { animation-play-state: paused; }
@keyframes recFill { from { width: 0; } to { width: 100%; } }

/* ---- Palco ---- */
.rec-stage {
  position: relative; height: 34rem; border-radius: var(--r-lg);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255,255,255,.06), rgba(255,255,255,.015) 55%),
    rgba(9,11,20,.55);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden; backdrop-filter: blur(6px);
}
.rec-panel {
  position: absolute; inset: 0; opacity: 0; transform: scale(.985);
  transition: opacity .5s var(--ease-entrance), transform .5s var(--ease-entrance);
  pointer-events: none;
}
.rec-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.rec-panel[hidden] { display: block; } /* mantém layout p/ medir a constelação */

/* ---- Layout base copy + arte ---- */
.rp { display: grid; grid-template-columns: 19rem 1fr; gap: 2.4rem; height: 100%; align-items: center; padding: 2rem 2.3rem; }
.rp-copy { min-width: 0; }
.rp-kicker {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--rc);
  background: color-mix(in srgb, var(--rc) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--rc) 34%, transparent);
  padding: .32rem .7rem; border-radius: 999px; margin-bottom: .9rem;
}
.rp-copy h3 { font-size: 1.7rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.rp-copy > p { color: var(--body-muted); font-size: .95rem; line-height: 1.55; margin: .7rem 0 1.2rem; }
.rp-art { position: relative; height: 100%; min-width: 0; display: flex; align-items: center; }

/* entrada suave dos elementos internos ao ativar */
.rec-panel .rp-copy > * { opacity: 0; transform: translateY(10px); }
.rec-panel.is-active .rp-copy > * { animation: rpIn .6s var(--ease-entrance) forwards; }
.rec-panel.is-active .rp-copy > *:nth-child(1){ animation-delay:.05s; }
.rec-panel.is-active .rp-copy > *:nth-child(2){ animation-delay:.12s; }
.rec-panel.is-active .rp-copy > *:nth-child(3){ animation-delay:.19s; }
.rec-panel.is-active .rp-copy > *:nth-child(4){ animation-delay:.26s; }
.rec-panel.is-active .rp-copy > *:nth-child(5){ animation-delay:.33s; }
@keyframes rpIn { to { opacity: 1; transform: none; } }

/* ============ CURSOS ============ */
.rp-cursos-art { flex-direction: column; align-items: stretch; justify-content: center; gap: .9rem; }
.cpl { display: grid; grid-template-columns: 8.2rem 1fr; gap: .9rem; align-items: center;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 1rem; padding: .7rem; }
.cpl-screen { position: relative; aspect-ratio: 16/10; border-radius: .7rem; overflow: hidden;
  background: linear-gradient(135deg,#0b2540,#123a63 60%,#1e5aa0); display: grid; place-items: center; }
.cpl-live { position: absolute; top: .4rem; left: .4rem; font-size: .55rem; font-weight: 700; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: .3rem; background: rgba(4,5,12,.5); color: #fff; padding: .18rem .4rem; border-radius: 999px; }
.cpl-play { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: rgba(255,255,255,.92); color: #0b2540;
  display: grid; place-items: center; font-size: .8rem; box-shadow: 0 6px 18px rgba(0,0,0,.35); z-index: 2; }
.cpl-eq { position: absolute; inset: auto 0 0 0; height: 42%; display: flex; align-items: flex-end; gap: 2px; padding: 0 .3rem .3rem; opacity: .8; }
.cpl-eq i { flex: 1; background: linear-gradient(#7cc4ff,#38bdf8); border-radius: 2px 2px 0 0; height: 30%; }
.rec-panel.is-active .cpl-eq i { animation: eq 1.1s ease-in-out infinite; }
.cpl-eq i:nth-child(2n){ animation-delay:.15s } .cpl-eq i:nth-child(3n){ animation-delay:.3s } .cpl-eq i:nth-child(4n){ animation-delay:.45s } .cpl-eq i:nth-child(5n){ animation-delay:.6s }
@keyframes eq { 0%,100%{ height:22% } 50%{ height:85% } }
.cpl-scrub { position: absolute; left: .4rem; right: .4rem; bottom: .34rem; height: 3px; background: rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; z-index: 3; }
.cpl-scrub > i { display: block; height: 100%; width: 0; background: #fff; }
.rec-panel.is-active .cpl-scrub > i { animation: scrub 6s linear forwards; }
@keyframes scrub { to { width: 64%; } }
.cpl-meta b { display: block; font-size: .92rem; font-weight: 600; }
.cpl-meta span { display: block; font-size: .76rem; color: var(--body-muted); margin-top: .2rem; }
.cpl-list { display: flex; flex-direction: column; gap: .35rem; }
.cpl-list li { display: flex; align-items: center; gap: .6rem; font-size: .82rem; padding: .5rem .7rem; border-radius: .6rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); color: var(--body-muted); }
.cpl-list li .ck { width: 1.15rem; height: 1.15rem; border-radius: 50%; display: grid; place-items: center; font-size: .6rem;
  border: 1.5px solid rgba(255,255,255,.2); color: transparent; flex: 0 0 auto; }
.cpl-list li.done { color: var(--heading); }
.cpl-list li.done .ck { background: #34d399; border-color: #34d399; color: #04240f; }
.cpl-list li.cur { color: var(--heading); background: color-mix(in srgb,#38bdf8 12%, transparent); border-color: color-mix(in srgb,#38bdf8 40%, transparent); }
.cpl-list li.cur .ck { background: #38bdf8; border-color: #38bdf8; color: #04121f; }
.rec-panel .cpl-list li { opacity: 0; transform: translateX(10px); }
.rec-panel.is-active .cpl-list li { animation: rpIn .5s var(--ease-entrance) forwards; }
.rec-panel.is-active .cpl-list li:nth-child(1){animation-delay:.15s}.rec-panel.is-active .cpl-list li:nth-child(2){animation-delay:.25s}.rec-panel.is-active .cpl-list li:nth-child(3){animation-delay:.35s}.rec-panel.is-active .cpl-list li:nth-child(4){animation-delay:.45s}.rec-panel.is-active .cpl-list li:nth-child(5){animation-delay:.55s}
.cpl-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.cchip { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; color: var(--body-muted);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: .34rem .6rem; border-radius: 999px; }
.cchip i { color: #7cc4ff; }
.cchip b { font-size: .58rem; font-weight: 700; padding: .1rem .35rem; border-radius: 999px; }
.cchip b.free { background: rgba(52,211,153,.18); color: #6ee7b7; }
.cchip b.pro { background: rgba(245,197,66,.2); color: var(--amber); }

/* ============ TRILHAS ============ */
.rp-trilhas-art { justify-content: center; gap: 1.4rem; padding-left: .5rem; }
.road { position: relative; width: 3rem; height: 26rem; flex: 0 0 auto; align-self: center; }
.road-line { width: 100%; height: 100%; overflow: visible; }
.road-path { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.road-fill { stroke: url(#none); stroke: #22d3ee; stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 620; stroke-dashoffset: 620; filter: drop-shadow(0 0 5px rgba(34,211,238,.6)); }
.rec-panel.is-active .road-fill { animation: draw 2.4s var(--ease-entrance) forwards .2s; }
@keyframes draw { to { stroke-dashoffset: 210; } }
.road-comet { position: absolute; left: 50%; top: 55%; width: .8rem; height: .8rem; border-radius: 50%; transform: translate(-50%,-50%);
  background: #22d3ee; box-shadow: 0 0 0 4px rgba(34,211,238,.2), 0 0 16px rgba(34,211,238,.8); }
.rec-panel.is-active .road-comet { animation: pulseDot 1.8s ease-in-out infinite; }
@keyframes pulseDot { 0%,100%{ box-shadow: 0 0 0 3px rgba(34,211,238,.22), 0 0 12px rgba(34,211,238,.7);} 50%{ box-shadow: 0 0 0 8px rgba(34,211,238,0), 0 0 20px rgba(34,211,238,.9);} }
.tstep-list { flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.tstep { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; border-radius: .8rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.tstep-ic { width: 2.2rem; height: 2.2rem; border-radius: .6rem; display: grid; place-items: center; color: #fff; font-size: .9rem;
  background: var(--g, rgba(255,255,255,.1)); flex: 0 0 auto; box-shadow: 0 6px 16px -8px rgba(0,0,0,.7); }
.tstep-tx { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.tstep-tx b { font-size: .88rem; font-weight: 600; }
.tstep-tx small { font-size: .72rem; color: var(--body-muted); }
.tstep-flag { margin-left: auto; color: #34d399; font-size: 1rem; }
.tstep.done { opacity: .92; }
.tstep.cur { background: color-mix(in srgb,#818cf8 12%, transparent); border-color: color-mix(in srgb,#818cf8 42%, transparent); }
.tstep-prog { margin-left: auto; width: 3.2rem; height: 5px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; flex: 0 0 auto; }
.tstep-prog > i { display: block; height: 100%; width: 0; background: #818cf8; }
.rec-panel.is-active .tstep-prog > i { animation: fillw 1.4s var(--ease-entrance) forwards .8s; --v:60%; }
.tstep-goal { border-style: dashed; border-color: color-mix(in srgb, var(--amber) 45%, transparent); background: color-mix(in srgb, var(--amber) 8%, transparent); }
.tstep-goal .tstep-ic { background: linear-gradient(135deg,#fbbf24,#f59e0b); color: #2a2205; }
.rec-panel .tstep { opacity: 0; transform: translateY(10px); }
.rec-panel.is-active .tstep { animation: rpIn .5s var(--ease-entrance) forwards; }
.rec-panel.is-active .tstep:nth-child(1){animation-delay:.1s}.rec-panel.is-active .tstep:nth-child(2){animation-delay:.2s}.rec-panel.is-active .tstep:nth-child(3){animation-delay:.3s}.rec-panel.is-active .tstep:nth-child(4){animation-delay:.4s}.rec-panel.is-active .tstep:nth-child(5){animation-delay:.5s}.rec-panel.is-active .tstep:nth-child(6){animation-delay:.6s}
@keyframes fillw { to { width: var(--v, 100%); } }

/* ============ VIBE CODE ============ */
.rp-vibe { grid-template-columns: 1.45fr 1fr; gap: 1.6rem; }
.rp-vibe .vibe-terminal { margin: 0; }
.rp-vibe .vibe-highlights { display: flex; flex-direction: column; gap: .8rem; }
.rec-panel .vibe-out-step { opacity: 0; transform: translateX(10px); }
.rec-panel.is-active .vibe-out-step { animation: rpIn .55s var(--ease-entrance) forwards; }
.rec-panel.is-active .vibe-out-step:nth-child(1){animation-delay:.3s}.rec-panel.is-active .vibe-out-step:nth-child(2){animation-delay:.7s}.rec-panel.is-active .vibe-out-step:nth-child(3){animation-delay:1.1s}.rec-panel.is-active .vibe-out-step:nth-child(4){animation-delay:1.5s}
.rec-panel .vibe-h-card { opacity: 0; transform: translateY(10px); }
.rec-panel.is-active .vibe-h-card { animation: rpIn .5s var(--ease-entrance) forwards; }
.rec-panel.is-active .vibe-h-card:nth-child(1){animation-delay:.2s}.rec-panel.is-active .vibe-h-card:nth-child(2){animation-delay:.32s}.rec-panel.is-active .vibe-h-card:nth-child(3){animation-delay:.44s}

/* ============ COMUNIDADE ============ */
.rp-comu { grid-template-columns: 20rem 1fr; }
.rp-comu .cnet { position: relative; width: 100%; height: 100%; min-height: 24rem; }

/* ============ FEEDS ============ */
.feed-wrap { justify-content: center; }
.feed-frame { width: 100%; max-width: 26rem; margin-inline: auto; height: 30rem; border-radius: 1.1rem; overflow: hidden;
  background: rgba(6,8,16,.6); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); display: flex; flex-direction: column; }
.feed-tabbar { display: flex; gap: .3rem; padding: .7rem .8rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.feed-tabbar span { font-size: .74rem; font-weight: 600; color: var(--body-muted); padding: .3rem .7rem; border-radius: 999px; }
.feed-tabbar span.on { background: color-mix(in srgb,#f59e0b 18%, transparent); color: #fcd34d; }
.feed-scroll { flex: 1; overflow: hidden; padding: .8rem; display: flex; flex-direction: column; gap: .8rem; }
.fcard { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: .9rem; padding: .8rem; }
.fcard header { display: flex; align-items: center; gap: .55rem; margin-bottom: .55rem; }
.favatar { width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #04121f;
  background: var(--a,#38bdf8); flex: 0 0 auto; }
.fcard header div { line-height: 1.15; min-width: 0; }
.fcard header div b { font-size: .82rem; display: block; }
.fcard header div small { font-size: .68rem; color: var(--body-muted); }
.fbadge { margin-left: auto; font-size: .58rem; font-weight: 700; padding: .18rem .45rem; border-radius: 999px; background: rgba(110,168,255,.16); color: #a9c9ff; }
.fbadge.job { background: rgba(245,197,66,.2); color: var(--amber); }
.fcard p { font-size: .82rem; line-height: 1.45; color: var(--heading); margin-bottom: .55rem; }
.fpreview { display: flex; align-items: center; gap: .5rem; font-size: .76rem; color: #7cc4ff; padding: .5rem .7rem; border-radius: .6rem;
  background: linear-gradient(135deg, rgba(56,189,248,.12), rgba(129,140,248,.1)); border: 1px solid rgba(56,189,248,.2); margin-bottom: .55rem; }
.fcard footer { display: flex; align-items: center; gap: .9rem; font-size: .74rem; color: var(--body-muted); }
.fcard footer i { color: #f472b6; }
.fcard footer span:nth-child(2) i { color: #7cc4ff; }
.jtags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .55rem; }
.jtags span { font-size: .68rem; padding: .22rem .5rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); color: var(--body-muted); }
.japply { margin-left: auto; font-size: .72rem; font-weight: 700; color: #2a2205; background: linear-gradient(135deg,#fbbf24,#f59e0b); padding: .3rem .7rem; border-radius: 999px; }
.rec-panel.is-active .japply { animation: pulseAmber 1.8s ease-in-out infinite; }
@keyframes pulseAmber { 0%,100%{ box-shadow: 0 0 0 0 rgba(245,197,66,.5);} 50%{ box-shadow: 0 0 0 7px rgba(245,197,66,0);} }
.fcard-new { border-color: color-mix(in srgb,#f59e0b 40%, transparent); }
.rec-panel .fcard { opacity: 0; transform: translateY(12px); }
.rec-panel.is-active .fcard { animation: rpIn .55s var(--ease-entrance) forwards; }
.rec-panel.is-active .fcard-new { animation: feedNew .7s var(--ease-entrance) forwards; }
.rec-panel.is-active .fcard:nth-child(1){animation-delay:.15s}.rec-panel.is-active .fcard:nth-child(2){animation-delay:.3s}.rec-panel.is-active .fcard:nth-child(3){animation-delay:.45s}
@keyframes feedNew { 0%{ opacity:0; transform: translateY(-18px) scale(.97);} 60%{ box-shadow: 0 0 0 3px rgba(245,197,66,.25);} 100%{ opacity:1; transform:none; box-shadow: 0 0 0 0 rgba(245,197,66,0);} }

/* ============ CURRÍCULO ============ */
.cv-wrap { justify-content: center; }
.cvcard { width: 100%; max-width: 27rem; margin-inline: auto; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1); border-radius: 1.1rem; padding: 1.2rem 1.3rem; box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); }
.cvcard-top { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.cv-avatar { width: 3rem; height: 3rem; border-radius: .9rem; display: grid; place-items: center; font-weight: 700; font-size: 1rem; color: #041225;
  background: linear-gradient(135deg,#6ea8ff,#818cf8); flex: 0 0 auto; }
.cv-id { min-width: 0; flex: 1; }
.cv-id b { font-size: 1rem; display: block; }
.cv-id > span { font-size: .8rem; color: #a9c9ff; display: block; }
.cv-id small { font-size: .7rem; color: var(--body-muted); display: block; margin-top: .15rem; }
.cv-open { font-size: .6rem; font-weight: 700; color: #6ee7b7; background: rgba(52,211,153,.16); padding: .22rem .5rem; border-radius: 999px; align-self: flex-start; }
.cv-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.cv-tags span { font-size: .72rem; padding: .28rem .55rem; border-radius: .5rem; background: rgba(110,168,255,.1); border: 1px solid rgba(110,168,255,.22); color: #bcd4ff; }
.rec-panel .cv-tags span { opacity: 0; transform: translateY(6px) scale(.9); }
.rec-panel.is-active .cv-tags span { animation: rpIn .4s var(--ease-entrance) forwards; }
.rec-panel.is-active .cv-tags span:nth-child(1){animation-delay:.25s}.rec-panel.is-active .cv-tags span:nth-child(2){animation-delay:.32s}.rec-panel.is-active .cv-tags span:nth-child(3){animation-delay:.39s}.rec-panel.is-active .cv-tags span:nth-child(4){animation-delay:.46s}.rec-panel.is-active .cv-tags span:nth-child(5){animation-delay:.53s}.rec-panel.is-active .cv-tags span:nth-child(6){animation-delay:.6s}.rec-panel.is-active .cv-tags span:nth-child(7){animation-delay:.67s}
.cv-skills { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1rem; }
.cvs { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; gap: .6rem; font-size: .76rem; color: var(--body-muted); }
.cvs > i { display: block; height: 7px; border-radius: 999px; background: linear-gradient(90deg,#6ea8ff,#818cf8); width: 0; }
.rec-panel.is-active .cvs > i { animation: fillw 1.2s var(--ease-entrance) forwards .35s; }
.cv-sections { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; }
.cvsec { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; padding: .7rem; border-radius: .7rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.cvsec i { color: #6ea8ff; font-size: .95rem; }
.cvsec b { font-size: .82rem; }
.cvsec small { font-size: .66rem; color: var(--body-muted); line-height: 1.25; }
.rec-panel .cvsec { opacity: 0; transform: translateY(10px); }
.rec-panel.is-active .cvsec { animation: rpIn .5s var(--ease-entrance) forwards; }
.rec-panel.is-active .cvsec:nth-child(1){animation-delay:.55s}.rec-panel.is-active .cvsec:nth-child(2){animation-delay:.65s}.rec-panel.is-active .cvsec:nth-child(3){animation-delay:.75s}

/* ============ PERFIL & HABILIDADES ============ */
.perfil-art { gap: 1.6rem; justify-content: center; align-items: center; }
.pf-radar { position: relative; width: 15rem; height: 15rem; flex: 0 0 auto; }
.pf-radar svg { width: 100%; height: 100%; overflow: visible; }
.pf-shape { fill: rgba(192,132,252,.22); stroke: #c084fc; stroke-width: 2; transform-origin: 100px 100px; }
.rec-panel .pf-shape { transform: scale(0); opacity: 0; }
.rec-panel.is-active .pf-shape { animation: pop 1s var(--ease-entrance) forwards .25s; }
.rec-panel .pf-dots circle { opacity: 0; }
.rec-panel.is-active .pf-dots circle { animation: rpIn .4s ease forwards 1s; }
@keyframes pop { to { transform: scale(1); opacity: 1; } }
.pf-lbl { position: absolute; font-size: .62rem; color: var(--body-muted); white-space: nowrap; transform: translate(-50%,-50%); }
.pf-lbl.l1 { left: 50%; top: -4%; } .pf-lbl.l2 { left: 96%; top: 22%; } .pf-lbl.l3 { left: 96%; top: 78%; }
.pf-lbl.l4 { left: 50%; top: 104%; } .pf-lbl.l5 { left: 4%; top: 78%; } .pf-lbl.l6 { left: 4%; top: 22%; }
.pf-radar-cap { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: .6rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--rc); opacity: .8; }
.pf-side { display: flex; flex-direction: column; gap: 1rem; flex: 1; max-width: 17rem; }
.pf-iq { position: relative; width: 7rem; height: 7rem; align-self: center; }
.pf-iq svg { width: 100%; height: 100%; }
.pf-iq-ring { stroke-dasharray: 314; stroke-dashoffset: 314; }
.rec-panel.is-active .pf-iq-ring { animation: iqRing 1.4s var(--ease-entrance) forwards .3s; }
@keyframes iqRing { to { stroke-dashoffset: 78; } } /* ~75% */
.pf-iq-c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.pf-iq-c b { font-size: 1.5rem; font-weight: 700; color: #d8b4fe; line-height: 1; }
.pf-iq-c small { font-size: .6rem; color: var(--body-muted); }
.pf-bars { display: flex; flex-direction: column; gap: .5rem; }
.pfb { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; gap: .5rem; font-size: .72rem; color: var(--body-muted); }
.pfb > i { display: block; height: 6px; border-radius: 999px; background: linear-gradient(90deg,#a855f7,#c084fc); width: 0; }
.rec-panel.is-active .pfb > i { animation: fillw 1.2s var(--ease-entrance) forwards .4s; }
.pf-disc { display: flex; align-items: center; gap: .4rem; }
.pf-disc .d { width: 1.7rem; height: 1.7rem; border-radius: .45rem; display: grid; place-items: center; font-size: .78rem; font-weight: 700;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--body-muted); }
.pf-disc .d.on { background: color-mix(in srgb,#c084fc 25%, transparent); border-color: #c084fc; color: #f3e8ff; }
.pf-disc small { font-size: .66rem; color: var(--body-muted); margin-left: .3rem; }

/* ============================================================
   RECURSOS — responsivo
   ============================================================ */
@media (max-width: 1024px) {
  .rp-copy h3 { font-size: 1.5rem; }
  .rec-tab-tx small { display: none; }
}
@media (max-width: 860px) {
  .rec-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding-bottom: .3rem; scrollbar-width: none; }
  .rec-tabs::-webkit-scrollbar { display: none; }
  .rec-tab { flex: 0 0 auto; min-width: 9.5rem; scroll-snap-align: start; }
  .rec-tab-tx small { display: block; }
  .rec-stage { height: auto; min-height: 30rem; }
  .rec-panel { position: relative; inset: auto; display: none; transform: none; }
  .rec-panel.is-active { display: block; }
  .rec-panel[hidden] { display: none; }
  .rp { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.5rem 1.4rem; }
  .rp-art { min-height: 22rem; }
  .rp-vibe, .rp-comu, .rp-cursos, .rp-trilhas, .rp-feeds, .rp-cv, .rp-perfil { grid-template-columns: 1fr; }
  .rp-comu .cnet { min-height: 20rem; }
  .cpl { grid-template-columns: 7rem 1fr; }
  .perfil-art { flex-direction: column; }
  .pf-radar { width: 13rem; height: 13rem; }
  .rp-trilhas-art { align-items: flex-start; }
}
@media (max-width: 480px) {
  .rp-vibe .vibe-highlights { display: none; }
  .road { display: none; }
  .cpl-chips { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rec-panel { transition: none; }
  .rec-tab.is-active .rec-tab-bar > i { animation: none; width: 100%; }
  .rec-panel.is-active .rp-copy > *,
  .rec-panel.is-active .cpl-list li,
  .rec-panel.is-active .tstep,
  .rec-panel.is-active .vibe-out-step,
  .rec-panel.is-active .vibe-h-card,
  .rec-panel.is-active .fcard,
  .rec-panel.is-active .cv-tags span,
  .rec-panel.is-active .cvsec,
  .rec-panel.is-active .pf-dots circle { animation: none; opacity: 1; transform: none; }
  .rec-panel.is-active .road-fill { animation: none; stroke-dashoffset: 210; }
  .rec-panel.is-active .pf-shape { animation: none; transform: scale(1); opacity: 1; }
  .rec-panel.is-active .pf-iq-ring { animation: none; stroke-dashoffset: 78; }
  .rec-panel.is-active .cpl-scrub > i { animation: none; width: 64%; }
  .rec-panel.is-active .cpl-eq i,
  .rec-panel.is-active .road-comet,
  .rec-panel.is-active .japply { animation: none; }
  .rec-panel.is-active .cvs > i,
  .rec-panel.is-active .pfb > i,
  .rec-panel.is-active .tstep-prog > i { animation: none; width: var(--v, 80%); }
}

/* Foco de teclado on-brand nas abas do carrossel */
.rec-tab:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--hero-base), 0 0 0 4px var(--rc); }

/* ============================================================
   RECURSOS v2 — tamanho, largura desktop, ring "flash" na borda,
   troca de painel mais leve (inativo fora do fluxo) e responsivo.
   Override reversível (anexado ao fim).
   ============================================================ */
/* largura maior no desktop p/ textos completos nas abas */
@media (min-width: 1100px) { .rec > .container { max-width: 90rem; } }

/* palco maior + sem backdrop-filter (mais leve no scroll) */
@media (min-width: 861px) { .rec-stage { height: 38rem; } }
.rec-stage { backdrop-filter: none; }

/* troca de painel sem sobreposição: inativo sai do fluxo (leve, sem bleed) */
.rec-panel { position: absolute; inset: 0; opacity: 0; transform: none; transition: none; }
.rec-panel[hidden] { display: none !important; }
.rec-panel.is-active { opacity: 1; animation: recPanelIn .5s var(--ease-entrance) both; }
@keyframes recPanelIn { from { opacity: 0; transform: scale(.99); } to { opacity: 1; transform: none; } }

/* abas maiores, texto completo (sem reticências) */
.rec-tabs { gap: .7rem; }
.rec-tab { overflow: visible; padding: .85rem .95rem; gap: .7rem; border-radius: 1.1rem; }
.rec-tab-ic { width: 2.4rem; height: 2.4rem; font-size: 1.05rem; border-radius: .8rem; }
.rec-tab-tx b { font-size: .86rem; overflow: visible; text-overflow: clip; }
.rec-tab-tx small { font-size: .7rem; overflow: visible; text-overflow: clip; }
.rp-copy h3 { font-size: 1.85rem; }

/* ===== ring "flash" correndo ao redor do minicard inteiro ===== */
.rec-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.rec-ring rect { fill: none; rx: 1.1rem; ry: 1.1rem; }
.rr-track { stroke: rgba(255,255,255,.09); stroke-width: 2; }
.rr-fill, .rr-comet { stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; }
.rr-fill { stroke: var(--rc); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--rc) 70%, transparent)); }
.rr-comet { stroke: #fff; stroke-dasharray: 3 97; filter: drop-shadow(0 0 6px var(--rc)); }
.rec-tab.is-active .rr-fill  { opacity: 1; animation: recRing var(--rec-dur, 8s) linear forwards; }
.rec-tab.is-active .rr-comet { opacity: .95; animation: recRing var(--rec-dur, 8s) linear forwards; }
.rec-carousel.rec-paused .rec-tab.is-active .rr-fill,
.rec-carousel.rec-paused .rec-tab.is-active .rr-comet { animation-play-state: paused; }
@keyframes recRing { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* seleção manual pelo usuário: mantém contorno ativo estático e desliga o avanço automático */
.rec-carousel.rec-manual .rec-tab.is-active .rr-fill {
  animation: none !important;
  stroke-dashoffset: 0 !important;
  opacity: 1 !important;
}
.rec-carousel.rec-manual .rec-tab.is-active .rr-comet {
  animation: none !important;
  opacity: 0 !important;
}
.rec-carousel.rec-manual .rec-tab.is-active .rec-tab-bar > i {
  animation: none !important;
  width: 100% !important;
}

/* ===== responsivo (mobile) — palco cresce com o conteúdo ===== */
@media (max-width: 860px) {
  .rec-stage { height: auto; min-height: 0; }
  .rec-panel { position: relative; inset: auto; }
  .rec-panel.is-active { animation: recPanelIn .45s var(--ease-entrance) both; }
  .rec-tab { min-width: 11rem; }
}

/* reduced motion: ring completo estático, sem flash */
@media (prefers-reduced-motion: reduce) {
  .rec-tab.is-active .rr-fill { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .rec-tab.is-active .rr-comet { animation: none; opacity: 0; }
  .rec-panel.is-active { animation: none; }
}

/* ===== RECURSOS v2.1 — abas flex que cabem o texto completo ===== */
#recursos > .container { max-width: 90rem; }
@media (min-width: 861px) {
  .rec-tabs { display: flex; flex-wrap: wrap; gap: .6rem; }
  .rec-tab { flex: 1 1 auto; }              /* base = conteúdo: nunca corta o texto */
  .rec-tab-tx b { font-size: .84rem; }
  .rec-tab-tx small { font-size: .68rem; }
}

/* ===== Comunidade — 50/50 (copy e constelação) p/ não espremer ===== */
@media (min-width: 861px) {
  .rp-comu { grid-template-columns: 1fr 1fr; gap: 2.6rem; }
  .rp-comu .band-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Todos os painéis: colunas 50/50, copy maior e melhor distribuída ===== */
@media (min-width: 861px) {
  .rp { grid-template-columns: 1fr 1fr; gap: 2.8rem; padding: 2.2rem 2.8rem; }
  .rp-vibe { grid-template-columns: 1.25fr 1fr; }   /* terminal um pouco maior */
  .rp-copy h3 { font-size: 2rem; line-height: 1.12; }
  .rp-copy > p { font-size: 1rem; line-height: 1.6; }
  .cvcard { max-width: 31rem; }
  .feed-frame { max-width: 30rem; }
}

/* ===== Perfil — medidor de QI: número + descritor centralizados no anel ===== */
.pf-iq { width: 8rem; height: 8rem; }
.pf-iq-c {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .1rem; text-align: center; line-height: 1;
}
.pf-iq-c b { font-size: 1.6rem; line-height: 1; }
.pf-iq-c small { font-size: .62rem; line-height: 1.1; opacity: .85; }

/* ===== Trilhas — ponto "você está aqui" exatamente sobre a linha (etapa atual) ===== */
.road-comet { left: 28.4%; top: 44.5%; }

/* ===== Currículo — cards de estatística (número/rótulo/descrição) legíveis ===== */
.cvsec { gap: .12rem; }
.cvsec > i { margin-bottom: .25rem; }
.cvsec b { font-size: 1.25rem; line-height: 1; color: var(--heading); }
.cvsec .cvsec-l { font-size: .76rem; font-weight: 600; color: var(--heading); line-height: 1.15; }
.cvsec small { margin-top: .1rem; font-size: .66rem; color: var(--body-muted); line-height: 1.3; }

/* ===== Botão "voltar ao topo" (flutuante) ===== */
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60;
  width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .95rem;
  color: var(--heading);
  background: rgba(255,255,255,.08); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px -14px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease-entrance), transform .3s var(--ease-entrance), background .2s, border-color .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: color-mix(in srgb, var(--accent) 24%, rgba(255,255,255,.08)); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.to-top:active { transform: translateY(1px); }
.to-top:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--hero-base), 0 0 0 4px var(--accent); }
@media (max-width: 640px) { .to-top { right: 1rem; bottom: 1rem; width: 2.75rem; height: 2.75rem; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s; transform: none; } }

/* Selo "Beta" abaixo do nome da marca (navbar e rodapé) */
.brand-txt { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-beta {
  margin-top: 0.22rem;
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); line-height: 1;
}
.footer .brand-txt { align-items: center; }

/* Painel Trilhas com as 10 trilhas: itens mais compactos e estrada acompanhando a lista */
.tstep-list { padding-left: 0; margin: 0; list-style: none; } /* <ol> sem o recuo padrão de 40px do navegador */
.tstep-list--10 { gap: .38rem; }
.tstep-list--10 .tstep { padding: .38rem .7rem; gap: .65rem; }
.tstep-list--10 .tstep-ic { width: 1.8rem; height: 1.8rem; border-radius: .5rem; font-size: .78rem; }
.tstep-list--10 .tstep-tx b { font-size: .82rem; }
.tstep-list--10 .tstep-tx small { font-size: .68rem; }
.rp-trilhas-art:has(.tstep-list--10) .road { height: auto; align-self: stretch; }
.rec-panel.is-active .tstep:nth-child(7){animation-delay:.7s}.rec-panel.is-active .tstep:nth-child(8){animation-delay:.8s}.rec-panel.is-active .tstep:nth-child(9){animation-delay:.9s}.rec-panel.is-active .tstep:nth-child(10){animation-delay:1s}.rec-panel.is-active .tstep:nth-child(11){animation-delay:1.1s}
