/* =========================================================
   TuberBee — Landing page
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #0F1115;
  --bg-2: #151922;
  --card: #1B202B;
  --card-2: #212734;
  --brand: #F6C343;
  --brand-2: #FFC928;
  --text: #F8FAFC;
  --text-2: #A7AFBD;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --brand-soft: rgba(246, 195, 67, 0.12);
  --brand-line: rgba(246, 195, 67, 0.45);
  --ok: #4ADE80;
  --info: #60A5FA;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px -28px rgba(5, 6, 9, 0.75);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 40px 80px -40px rgba(5, 6, 9, 0.9);
  --header-h: 76px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

img,
svg {
  max-width: 100%;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* Largura total com margem lateral pequena; teto só para telas ultralargas */
.container {
  width: 100%;
  max-width: 1760px;
  padding-left: clamp(16px, 3vw, 48px);
  padding-right: clamp(16px, 3vw, 48px);
}

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.tb-display {
  font-size: clamp(2.375rem, 1.6rem + 2.6vw, 3.5rem);
  line-height: 1.08;
}

.tb-h2 {
  font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem);
  line-height: 1.15;
}

.tb-h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.tb-lead {
  color: var(--text-2);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
}

.tb-text {
  color: var(--text-2);
  font-size: 0.975rem;
  line-height: 1.65;
  margin: 0;
}

.tb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.tb-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.tb-highlight {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn-tb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn-tb svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-tb-lg {
  min-height: 52px;
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-tb-primary {
  background: var(--brand);
  color: var(--bg);
  box-shadow: 0 10px 30px -12px rgba(246, 195, 67, 0.55);
}

.btn-tb-primary:hover {
  background: var(--brand-2);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -12px rgba(255, 201, 40, 0.65);
}

.btn-tb-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-tb-ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.tb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Marca ---------- */
.tb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.tb-brand img {
  width: 40px;
  height: auto;
}

.tb-brand-bee {
  background: linear-gradient(180deg, var(--brand-2) 0%, #F5A623 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */
.tb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.tb-header.is-scrolled,
.tb-header:has(.navbar-collapse.show),
.tb-header:has(.navbar-collapse.collapsing) {
  background: rgba(15, 17, 21, 0.9);
  border-bottom-color: var(--border);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.tb-header .navbar {
  min-height: var(--header-h);
  padding: 0;
}

.tb-nav-link {
  display: block;
  padding: 8px 14px;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  transition: color .18s ease, background-color .18s ease;
}

.tb-nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.tb-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
}

.tb-toggler svg {
  width: 22px;
  height: 22px;
}

.tb-toggler .icon-close,
.tb-toggler[aria-expanded="true"] .icon-open {
  display: none;
}

.tb-toggler[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 991.98px) {
  .tb-header .navbar-collapse {
    padding: 8px 0 20px;
  }

  .tb-header .navbar-nav {
    gap: 2px;
    margin-bottom: 16px;
  }

  .tb-nav-link {
    padding: 12px 14px;
  }

  .tb-header-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---------- Seções ---------- */
.tb-section {
  position: relative;
  padding: 112px 0;
}

.tb-section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tb-section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.tb-section-head.is-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tb-section-head.is-center .tb-eyebrow {
  justify-content: center;
}

.tb-section-head .tb-lead {
  margin: 18px 0 0;
}

@media (max-width: 767.98px) {
  .tb-section {
    padding: 72px 0;
  }

  .tb-section-head {
    margin-bottom: 40px;
  }
}

/* ---------- Cards ---------- */
.tb-card {
  position: relative;
  height: 100%;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .2s ease, transform .2s ease;
}

.tb-card:hover {
  border-color: var(--border-strong);
}

.tb-card .tb-h3 {
  margin: 20px 0 10px;
}

.tb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
}

.tb-icon svg {
  width: 22px;
  height: 22px;
}

.tb-icon.is-brand {
  background: var(--brand-soft);
  border-color: rgba(246, 195, 67, 0.22);
  color: var(--brand);
}

/* ---------- Hero ---------- */
.tb-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 112px;
  overflow: hidden;
  isolation: isolate;
}

.tb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px 420px at 78% 30%, rgba(246, 195, 67, 0.14), transparent 70%),
    radial-gradient(520px 360px at 8% 0%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.tb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #fff 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 60% 40%, #fff 0%, transparent 70%);
}

.tb-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  margin-bottom: 28px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 600;
}

.tb-hero-pill span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
}

.tb-hero .tb-lead {
  max-width: 560px;
  margin: 24px 0 36px;
}

.tb-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 600;
}

.tb-hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tb-hero-proof svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.tb-hero-visual {
  position: relative;
  padding: 28px 0 40px;
}

.tb-influencer {
  position: absolute;
  right: -12px;
  bottom: -8px;
  width: 36%;
  max-width: 220px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.tb-influencer img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17px;
}

.tb-influencer-tag {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 17, 21, 0.78);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--text-2);
}

.tb-influencer-tag strong {
  display: block;
  color: var(--text);
  font-size: 0.75rem;
}

.tb-float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  background: rgba(27, 32, 43, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: tb-float 6s ease-in-out infinite;
}

.tb-float .tb-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.tb-float .tb-icon svg {
  width: 18px;
  height: 18px;
}

.tb-float-value {
  display: block;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.tb-float-label {
  display: block;
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.tb-float-1 { top: 0; left: -28px; }
.tb-float-2 { top: 40%; left: -72px; animation-delay: -1.5s; }
.tb-float-3 { top: -6px; right: 18%; animation-delay: -3s; }
.tb-float-4 { bottom: 10px; left: 12%; animation-delay: -4.5s; }

@keyframes tb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Abaixo de xl o visual do hero desce para baixo do texto e ocupa a largura toda */
@media (max-width: 1199.98px) {
  .tb-hero {
    padding: calc(var(--header-h) + 40px) 0 72px;
  }

  .tb-hero-visual {
    margin-top: 56px;
    padding: 0;
  }

  .tb-floats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
  }

  .tb-float {
    position: static;
    animation: none;
  }

  .tb-influencer {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: none;
    margin-top: 16px;
    padding: 12px;
    background: var(--card);
    box-shadow: var(--shadow);
  }

  .tb-influencer img {
    width: 96px;
    border-radius: 12px;
  }

  .tb-influencer-tag {
    position: static;
    padding: 0;
    background: none;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-size: 0.8125rem;
  }

  .tb-influencer-tag strong {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .tb-floats {
    gap: 8px;
  }

  .tb-float {
    padding: 10px;
    gap: 10px;
  }

  .tb-float .tb-icon {
    width: 30px;
    height: 30px;
  }

  .tb-float-value {
    font-size: 0.9375rem;
  }

  .tb-float-label {
    font-size: 0.6875rem;
    white-space: normal;
  }

}

/* ---------- Mockup do Studio ---------- */
.tb-mock {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 440px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, 0.02);
  font-size: 11px;
  line-height: 1.4;
  user-select: none;
}

.tb-mock-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 12px;
  background: #12151C;
  border-right: 1px solid var(--border);
}

.tb-mock-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 6px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tb-mock-logo img {
  width: 24px;
  height: auto;
}

.tb-mock-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: #8A93A3;
  font-weight: 600;
}

.tb-mock-item svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.tb-mock-item.is-active {
  background: var(--brand);
  color: var(--bg);
}

.tb-mock-sep {
  height: 1px;
  margin: 10px 6px;
  background: var(--border);
}

.tb-mock-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 14px 16px 18px;
}

.tb-mock-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tb-mock-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: #6B7280;
}

.tb-mock-search svg {
  width: 12px;
  height: 12px;
}

.tb-mock-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 10px;
}

.tb-mock-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.tb-mock-title strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tb-mock-title span {
  color: var(--text-2);
}

.tb-mock-btn {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--bg);
  font-weight: 700;
  white-space: nowrap;
}

.tb-mock-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.tb-mock-stage {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  min-width: 0;
}

.tb-mock-stage i {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}

.tb-mock-stage b {
  font-weight: 700;
}

.tb-mock-stage span {
  color: var(--text-2);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tb-mock-stage em {
  grid-column: 1 / -1;
  display: block;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.tb-mock-stage em u {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.tb-mock-stage.is-done i {
  background: rgba(74, 222, 128, 0.14);
  border-color: rgba(74, 222, 128, 0.3);
  color: var(--ok);
}

.tb-mock-stage.is-current {
  border-color: var(--brand-line);
  background: linear-gradient(180deg, rgba(246, 195, 67, 0.08), var(--card));
}

.tb-mock-stage.is-current i {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--bg);
}

.tb-mock-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 8px;
  flex: 1;
}

.tb-mock-panel {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  min-width: 0;
}

.tb-mock-panel-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 700;
}

.tb-mock-panel-title span {
  color: var(--text-2);
  font-weight: 600;
}

.tb-mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tb-mock-chips span {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 10px;
  font-weight: 600;
}

.tb-mock-script {
  margin: 0;
  padding: 7px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.tb-mock-script b {
  display: block;
  color: var(--brand);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tb-mock-script.is-dim {
  color: var(--text-2);
}

.tb-mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.tb-mock-row:last-child {
  border-bottom: 0;
}

.tb-mock-thumb {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2A3040, #1B202B);
  border: 1px solid var(--border);
}

.tb-mock-thumb.is-warm {
  background: linear-gradient(135deg, rgba(246, 195, 67, 0.4), #2A3040);
}

.tb-mock-row-text {
  flex: 1;
  min-width: 0;
}

.tb-mock-row-text b,
.tb-mock-row-text span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tb-mock-row-text b {
  font-weight: 700;
}

.tb-mock-row-text span {
  color: var(--text-2);
  font-size: 10px;
}

.tb-tag {
  flex: none;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
}

.tb-tag.is-ok { background: rgba(74, 222, 128, 0.12); color: var(--ok); }
.tb-tag.is-brand { background: var(--brand-soft); color: var(--brand); }
.tb-tag.is-info { background: rgba(96, 165, 250, 0.12); color: var(--info); }

@media (max-width: 575.98px) {
  .tb-mock {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tb-mock-side,
  .tb-mock-grid .tb-mock-panel:last-child {
    display: none;
  }

  .tb-mock-grid {
    grid-template-columns: 1fr;
  }

  .tb-mock-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tb-mock-title span {
    display: none;
  }
}

/* ---------- Problema ---------- */
.tb-problem-card .tb-h3 {
  font-size: 1.1875rem;
}

.tb-problem-card .tb-icon {
  color: var(--text-2);
}

.tb-problem-bridge {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 56px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(246, 195, 67, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--brand-soft), rgba(246, 195, 67, 0.02));
  color: var(--text);
  font-weight: 600;
}

.tb-problem-bridge .tb-icon {
  flex: none;
}

/* ---------- Studio ---------- */
.tb-feature {
  overflow: hidden;
}

.tb-feature::after {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-line), transparent);
  opacity: 0;
  transition: opacity .2s ease;
}

.tb-feature:hover {
  transform: translateY(-2px);
}

.tb-feature:hover::after {
  opacity: 1;
}

.tb-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tb-feature-step {
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.tb-also {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.tb-also-label {
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tb-also ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-also li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.tb-also svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

@media (max-width: 767.98px) {
  .tb-also ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }
}

/* ---------- Como funciona ---------- */
.tb-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.tb-steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-line), var(--border-strong) 60%, var(--border));
}

.tb-step {
  position: relative;
}

.tb-step-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 6px var(--bg);
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.tb-step:first-child .tb-step-num {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--bg);
}

.tb-step .tb-h3 {
  margin-bottom: 10px;
}

@media (max-width: 991.98px) {
  .tb-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tb-steps::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--brand-line), var(--border));
  }

  .tb-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 20px;
    padding-bottom: 32px;
  }

  .tb-step:last-child {
    padding-bottom: 0;
  }

  .tb-step-num {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .tb-step .tb-h3 {
    margin-top: 6px;
  }
}

/* ---------- Diferenciais ---------- */
.tb-diff {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.tb-diff .tb-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.tb-diff .tb-icon svg {
  width: 18px;
  height: 18px;
}

.tb-diff p {
  margin: 6px 0 0;
  font-weight: 700;
  line-height: 1.45;
}

/* ---------- Planos ---------- */
.tb-plan {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
}

.tb-plan.is-featured {
  background: linear-gradient(180deg, rgba(246, 195, 67, 0.08) 0%, var(--card) 38%);
  border-color: var(--brand-line);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(246, 195, 67, 0.15);
}

.tb-plan-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 800;
}

.tb-plan-name {
  font-size: 1.125rem;
  font-weight: 800;
}

.tb-plan-for {
  min-height: 3.3em;
  margin: 8px 0 24px;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.tb-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.tb-plan-price strong {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.tb-plan-price strong.is-custom {
  font-size: 1.875rem;
}

.tb-plan-price span {
  color: var(--text-2);
  font-weight: 600;
}

.tb-plan.is-featured .tb-plan-price strong {
  color: var(--brand);
}

.tb-plan-list {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}

.tb-plan-list li {
  display: flex;
  gap: 10px;
  color: var(--text);
}

.tb-plan-list svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--brand);
}

.tb-plan .btn-tb {
  width: 100%;
  margin-top: auto;
}

.tb-plans-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 820px;
  margin: 40px auto 0;
  color: var(--text-2);
  font-size: 0.9375rem;
  text-align: center;
}

.tb-plans-note svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--brand);
}

/* ---------- Créditos ---------- */
.tb-credits {
  overflow: hidden;
}

.tb-wallet {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.tb-wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.tb-wallet-head span {
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 600;
}

.tb-wallet-balance {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.tb-wallet-balance small {
  margin-left: 8px;
  color: var(--text-2);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.tb-wallet-meter {
  height: 8px;
  margin: 22px 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.tb-wallet-meter i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.tb-wallet-legend {
  display: flex;
  justify-content: space-between;
  color: var(--text-2);
  font-size: 0.8125rem;
}

.tb-wallet-ops {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.tb-wallet-op {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.875rem;
  font-weight: 600;
}

.tb-wallet-op svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.tb-credits-points {
  display: grid;
  gap: 14px;
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
}

.tb-credits-points li {
  display: flex;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
}

.tb-credits-points svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--brand);
}

/* ---------- Avatares x perfis reais ---------- */
.tb-mode {
  padding: 36px;
}

.tb-mode .tb-h3 {
  font-size: 1.375rem;
}

.tb-mode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tb-mode-list li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ---------- CTA final ---------- */
.tb-cta {
  position: relative;
  overflow: hidden;
  padding: 72px 56px;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(246, 195, 67, 0.22), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(246, 195, 67, 0.08), transparent 70%),
    linear-gradient(135deg, #1B202B 0%, #151922 55%, #0F1115 100%);
  box-shadow: var(--shadow-lg);
}

.tb-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #fff);
  mask-image: linear-gradient(90deg, transparent, #fff);
  pointer-events: none;
}

.tb-cta-content {
  position: relative;
  max-width: 640px;
}

.tb-cta .tb-lead {
  margin: 18px 0 32px;
}

.tb-cta-mascot {
  position: absolute;
  right: 48px;
  bottom: 50%;
  transform: translateY(50%);
  width: 260px;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

@media (max-width: 991.98px) {
  .tb-cta {
    padding: 48px 28px;
  }

  .tb-cta-mascot {
    display: none;
  }
}

/* ---------- Footer ---------- */
.tb-footer {
  padding: 72px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.tb-footer-desc {
  max-width: 360px;
  margin: 16px 0 0;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.tb-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-footer-links a {
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 600;
}

.tb-footer-links a:hover {
  color: var(--text);
}

.tb-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.8125rem;
}

/* ---------- Páginas internas (Privacy, Error) ---------- */
.tb-page {
  padding: calc(var(--header-h) + 64px) 0 96px;
  min-height: 60vh;
}

.tb-page h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.tb-page p {
  color: var(--text-2);
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
