/* ─── Variáveis ────────────────────────────────────────────────────────────── */
:root {
  --black:      #0f0f0f;
  --dark:       #141414;
  --dark2:      #1a1a1a;
  --dark3:      #222222;
  --gold:       #c9a227;
  --gold-light: #dbb84a;
  --gold-dim:   rgba(201,162,39,.15);
  --white:      #ffffff;
  --gray-100:   #f5f5f5;
  --gray-200:   #e8e8e8;
  --gray-400:   #9ca3af;
  --gray-500:   #6b7280;
  --gray-600:   #4b5563;
  --radius:     12px;
  --radius-lg:  20px;
  --header-h:   68px;
  --transition: .25s ease;
}

/* ─── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ─── Utilitários ──────────────────────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.text--gold { color: var(--gold); }

/* ─── Botões ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: .875rem;
  border-radius: 10px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  padding: 10px 22px;
  line-height: 1;
}
.btn--lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }
.btn--sm { padding: 8px 18px; font-size: .8125rem; }
.btn--block { display: flex; width: 100%; }

.btn--gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* ─── Header ───────────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15,15,15,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.4); }
.header__inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__icon {
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}
.logo__text {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}
.logo__text span { color: var(--gold); }
.logo--sm .logo__icon { width: 30px; height: 30px; font-size: 13px; border-radius: 7px; }
.logo--sm .logo__text { font-size: 1rem; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav__link {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: all var(--transition);
}
.nav__link:hover, .nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,.07);
}
.nav__link.active { color: var(--gold); }

.header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--dark2);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 16px 24px 20px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}
.mobile-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: all var(--transition);
}
.mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.mobile-nav .btn { margin-top: 8px; }
.mobile-nav.open { display: flex; }

/* ─── Sections ─────────────────────────────────────────────────────────────── */
.section {
  display: none;
  padding-top: var(--header-h);
  min-height: 100vh;
}
.section--active { display: block; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(201,162,39,.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(201,162,39,.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  padding: 100px 24px 60px;
  max-width: 640px;
}
.badge {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(201,162,39,.3);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Dashboard preview */
.hero__visual {
  padding: 0 24px 80px;
}
.dashboard-preview {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}
.dashboard-preview__bar {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.dashboard-preview__bar span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.dashboard-preview__bar span:nth-child(1) { background: #ff5f57; }
.dashboard-preview__bar span:nth-child(2) { background: #febc2e; }
.dashboard-preview__bar span:nth-child(3) { background: #28c840; }

.dashboard-preview__content { display: flex; height: 280px; }

.preview-sidebar {
  width: 160px;
  background: var(--black);
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 16px 12px;
  flex-shrink: 0;
}
.preview-logo {
  width: 80px; height: 22px;
  background: rgba(201,162,39,.3);
  border-radius: 6px;
  margin-bottom: 20px;
}
.preview-menu { display: flex; flex-direction: column; gap: 6px; }
.preview-item {
  height: 28px;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
}
.preview-item--active { background: var(--gold); opacity: .8; }

.preview-main { flex: 1; padding: 16px; overflow: hidden; }
.preview-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.preview-card {
  height: 60px;
  border-radius: 8px;
  opacity: .7;
}
.preview-card--blue   { background: #1d4ed8; }
.preview-card--gold   { background: var(--gold); }
.preview-card--green  { background: #15803d; }
.preview-card--purple { background: #7c3aed; }

.preview-table { display: flex; flex-direction: column; gap: 6px; }
.preview-row {
  height: 22px;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
}
.preview-row--header { background: rgba(255,255,255,.09); }

/* Stats */
.stats {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 40px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.stat:last-child { border-right: none; }
.stat__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -.04em;
}
.stat__label {
  font-size: .8125rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* ─── Page Hero (recursos, planos, contato) ─────────────────────────────────── */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
}
.section__tag {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(201,162,39,.25);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 14px;
  margin-bottom: 20px;
}
.section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.section__subtitle {
  font-size: 1.0625rem;
  color: var(--gray-400);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Features ─────────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 80px;
}
.feature-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: rgba(201,162,39,.25);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card__icon--blue   { background: rgba(29,78,216,.2);  color: #60a5fa; }
.feature-card__icon--gold   { background: rgba(201,162,39,.2); color: var(--gold); }
.feature-card__icon--green  { background: rgba(21,128,61,.2);  color: #4ade80; }
.feature-card__icon--purple { background: rgba(124,58,237,.2); color: #a78bfa; }
.feature-card__icon--red    { background: rgba(220,38,38,.2);  color: #f87171; }
.feature-card__icon--teal   { background: rgba(13,148,136,.2); color: #2dd4bf; }

.feature-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card__desc {
  font-size: .875rem;
  color: var(--gray-400);
  line-height: 1.65;
  margin-bottom: 16px;
}
.feature-card__list { display: flex; flex-direction: column; gap: 6px; }
.feature-card__list li {
  font-size: .8125rem;
  color: var(--gray-500);
  padding-left: 16px;
  position: relative;
}
.feature-card__list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ─── Planos ───────────────────────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 48px;
}
.plan-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition);
}
.plan-card:hover { border-color: rgba(255,255,255,.15); }
.plan-card--featured {
  background: var(--dark3);
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 1px var(--gold), 0 24px 60px rgba(201,162,39,.12);
}
.plan-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-card__header { margin-bottom: 28px; }
.plan-card__name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.plan-card__price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 8px;
}
.plan-card__currency {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-400);
  padding-bottom: 6px;
}
.plan-card__amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--white);
  line-height: 1;
}
.plan-card--featured .plan-card__amount { color: var(--gold); }
.plan-card__period {
  font-size: .9375rem;
  color: var(--gray-400);
  padding-bottom: 6px;
}
.plan-card__desc {
  font-size: .8125rem;
  color: var(--gray-500);
}
.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.plan-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
}
.plan-card__features li.ok  { color: var(--white); }
.plan-card__features li.no  { color: var(--gray-600); text-decoration: line-through; }
.plan-card__features li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-card__features li.ok::before {
  background-color: rgba(21,128,61,.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%234ade80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2 6 5 9 10 3'/%3E%3C/svg%3E");
}
.plan-card__features li.no::before {
  background-color: rgba(255,255,255,.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='3' x2='9' y2='9'/%3E%3Cline x1='9' y1='3' x2='3' y2='9'/%3E%3C/svg%3E");
}
.plans-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-500);
  font-size: .8125rem;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 80px;
}
.plans-note svg { flex-shrink: 0; color: var(--gold); }

/* ─── Contato ──────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  padding-bottom: 80px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.contact-item__icon {
  width: 40px; height: 40px;
  background: var(--gold-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-item__icon svg { width: 18px; height: 18px; }
.contact-item__label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 3px;
}
.contact-item__value { font-size: .9375rem; font-weight: 500; }
a.contact-item__value:hover { color: var(--gold); }

.contact-demo {
  background: linear-gradient(135deg, rgba(201,162,39,.12), rgba(201,162,39,.05));
  border: 1px solid rgba(201,162,39,.25);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.contact-demo h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.contact-demo p { font-size: .875rem; color: var(--gray-400); line-height: 1.6; margin-bottom: 16px; }

/* Contact Form */
.contact-form {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray-400);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: var(--white);
  font-family: inherit;
  font-size: .9375rem;
  padding: 11px 14px;
  width: 100%;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,162,39,.04);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-600); }

.form-msg {
  font-size: .875rem;
  border-radius: 8px;
  padding: 0;
  text-align: center;
}
.form-msg.ok  { color: #4ade80; }
.form-msg.err { color: #f87171; }

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 56px 24px 40px;
}
.footer__brand .logo { margin-bottom: 14px; }
.footer__brand p {
  font-size: .875rem;
  color: var(--gray-500);
  max-width: 280px;
  line-height: 1.65;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.footer__links a {
  font-size: .875rem;
  color: var(--gray-400);
  cursor: pointer;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 24px;
}
.footer__bottom p {
  font-size: .8125rem;
  color: var(--gray-600);
  text-align: center;
}

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero__content { padding: 80px 24px 48px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .stat:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.06); }
  .stat:last-child      { border-bottom: none; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .dashboard-preview__content { height: 200px; }
  .preview-sidebar { width: 110px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .btn--lg { padding: 13px 24px; }
}

/* ─── Carrossel de telas ────────────────────────────────────────────────────── */

.dp-url {
  flex: 1; margin-left: 10px; background: rgba(255,255,255,.06);
  border-radius: 4px; padding: 2px 10px; font-size: .65rem;
  color: rgba(255,255,255,.35); font-family: monospace;
}
.dashboard-preview__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }

.carousel-viewport { overflow: hidden; width: 100%; height: 290px; }
.carousel-track { display: flex; width: 400%; transition: transform .55s cubic-bezier(.4,0,.2,1); height: 100%; }

.carousel-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 8px; }
.cdot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.2); cursor: pointer; transition: background .3s, transform .2s; padding: 0; }
.cdot--on { background: var(--gold); transform: scale(1.25); }

/* slide container */
.cs { display: flex; flex-shrink: 0; width: 25%; height: 100%; }

/* sidebar */
.cs-sidebar { width: 150px; background: #0f0f0f; padding: 12px 10px; display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.cs-logo { font-size: .75rem; font-weight: 800; color: #fff; padding: 2px 4px; }
.cs-logo span { color: var(--gold); }
.cs-nav { display: flex; flex-direction: column; gap: 4px; }
.cs-item { font-size: .68rem; color: rgba(255,255,255,.4); padding: 6px 8px; border-radius: 6px; }
.cs-item--on { background: var(--gold); color: #0f0f0f; font-weight: 700; }

/* main area */
.cs-main { flex: 1; background: #f8f9fa; padding: 12px 14px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.cs-head { font-size: .75rem; font-weight: 700; color: #111; display: flex; align-items: center; justify-content: space-between; }
.cs-loja { font-size: .6rem; font-weight: 400; color: #888; }
.cs-btn-fake { font-size: .6rem; background: #1a1a2e; color: #fff; border-radius: 5px; padding: 3px 7px; font-weight: 600; }

/* stat cards */
.cs-cards4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.cs-card { background: #fff; border-radius: 6px; padding: 7px 8px; box-shadow: 0 1px 3px rgba(0,0,0,.07); }
.cs-card-val { font-size: .75rem; font-weight: 800; }
.cs-card-lbl { font-size: .55rem; color: #888; margin-top: 1px; }

/* bar chart */
.cs-section-title { font-size: .6rem; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .04em; }
.cs-bars { display: flex; flex-direction: column; gap: 5px; }
.cs-bar-row { display: flex; align-items: center; gap: 6px; font-size: .6rem; color: #777; }
.cs-bar-row > span:first-child { width: 48px; text-align: right; }
.cs-bar-bg { flex: 1; height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
.cs-bar-fill { height: 100%; border-radius: 4px; }
.cs-bar-row > span:last-child { width: 52px; font-size: .58rem; }

/* table */
.cs-table { display: flex; flex-direction: column; gap: 1px; font-size: .6rem; flex: 1; }
.cs-th { display: grid; grid-template-columns: 2fr .5fr .7fr .9fr; gap: 4px; padding: 4px 6px; background: #e5e7eb; border-radius: 4px 4px 0 0; font-weight: 700; color: #555; }
.cs-tr { display: grid; grid-template-columns: 2fr .5fr .7fr .9fr; gap: 4px; padding: 5px 6px; background: #fff; border-bottom: 1px solid #f0f0f0; color: #333; align-items: center; }
.cs-tr:hover { background: #f9fafb; }
.cs-badge { color: #fff; font-size: .55rem; font-weight: 700; padding: 1px 5px; border-radius: 10px; display: inline-block; text-align: center; }
.cs-tag { font-size: .55rem; font-weight: 700; padding: 1px 5px; border-radius: 10px; display: inline-block; }
.cs-tag--green  { background: #dcfce7; color: #15803d; }
.cs-tag--yellow { background: #fef9c3; color: #a16207; }
.cs-tag--gray   { background: #f3f4f6; color: #6b7280; }

/* irmãos table with avatar */
.cs-th--irm { grid-template-columns: 22px 2fr .5fr .7fr .9fr; }
.cs-tr--irm { grid-template-columns: 22px 2fr .5fr .7fr .9fr; }
.cs-avatar {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .45rem; font-weight: 800; color: #fff; flex-shrink: 0;
}

/* extrato columns */
.cs-th--ext { grid-template-columns: .6fr 1.8fr .3fr .7fr; }
.cs-tr--ext { grid-template-columns: .6fr 1.8fr .3fr .7fr; }
.cs-saldo { font-size: .6rem; font-weight: 400; color: #555; }
.cs-cd { font-size: .55rem; font-weight: 800; padding: 1px 4px; border-radius: 4px; text-align: center; }
.cs-cd--c { background: #dcfce7; color: #15803d; }
.cs-cd--d { background: #fee2e2; color: #dc2626; }

/* sessões cards */
.cs-sessoes { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; flex: 1; }
.cs-sessao-card { background: #fff; border-radius: 7px; padding: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.07); display: flex; flex-direction: column; gap: 4px; }
.cs-sessao-top { display: flex; align-items: center; gap: 4px; }
.cs-proxima { font-size: .5rem; font-weight: 700; background: #fef3c7; color: #d97706; border-radius: 8px; padding: 1px 5px; }
.cs-sessao-titulo { font-size: .6rem; font-weight: 700; color: #111; line-height: 1.3; }
.cs-sessao-data { font-size: .55rem; color: #888; }
.cs-sessao-btn { margin-top: auto; background: #1a1a2e; color: #fff; font-size: .55rem; font-weight: 600; text-align: center; padding: 4px; border-radius: 5px; }

@media (max-width: 768px) {
  .carousel-viewport { height: 220px; }
  .cs-sidebar { width: 100px; padding: 8px 7px; }
  .cs-cards4 { grid-template-columns: repeat(2,1fr); }
  .cs-sessoes { grid-template-columns: 1fr 1fr; }
  .cs-sessao-card:last-child { display: none; }
}
