/*
Theme Name: Tecbom Intelbras 2026 Edition
Theme URI: https://tecbom.com.br
Author: Tecbom Engenharia & Arquitetura Digital
Author URI: https://tecbom.com.br
Description: Tema Multimodal da Tecbom — Instalador e Revenda Credenciada Intelbras em São Paulo, Jundiaí, Campinas, Jarinu, Itatiba, Louveira, Vinhedo e Valinhos. Arquitetura Elite Design UX/UI 2026 v3.0.
Version: 2026.10.30.v1
Requires at least: 6.4
Tested up to: 7.2
Requires PHP: 8.1
License: GPL v2 or later
Text Domain: tecbom-intelbras-2026
*/

/* 1. Cross-Document View Transitions API (Baseline 2026) */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.24s;
  animation-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

:root {
  color-scheme: dark;
  --bg-oled: #040907;
  --bg-surface: #08120e;
  --bg-card: rgba(11, 22, 17, 0.88);
  --bg-card-hover: rgba(16, 32, 24, 0.96);
  --bg-glass: rgba(6, 14, 10, 0.84);
  --text-primary: #f2faf5;
  --text-secondary: #b9d0c4;
  --text-muted: #86a896;
  --brand-emerald: #00a859;
  --brand-neon: #00e676;
  --brand-teal: #00bfa5;
  --brand-amber: #ffb300;
  --brand-danger: #ff5252;
  --border-subtle: rgba(0, 230, 118, 0.18);
  --border-glow: rgba(0, 230, 118, 0.52);
  --shadow-card: 0 20px 48px -12px rgba(0, 0, 0, 0.72), inset 0 1px 0 0 rgba(255, 255, 255, 0.09);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg-oled);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(0, 168, 89, 0.14) 0%, transparent 38%),
    radial-gradient(circle at 88% 22%, rgba(0, 191, 165, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(0, 230, 118, 0.07) 0%, transparent 45%);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.62;
  overflow-x: hidden;
  padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
}

h1, h2, h3, h4, .tb-title-xl, .tb-title-lg {
  text-wrap: balance;
}

p, li, .tb-lead, .tb-leigo-box {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--brand-neon);
  outline-offset: 2px;
}

/* Skip Link for Keyboard Accessibility (WCAG 2.2 AA/AAA) */
.tb-skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  background: var(--brand-neon);
  color: #02120a;
  font-weight: 800;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  transition: top 0.18s ease;
}

.tb-skip-link:focus {
  top: 0.75rem;
}

/* 2. CSS Scroll-Driven Top Progress Bar (Zero-JS GPU Animation) */
@keyframes tbScrollGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.tb-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-emerald), var(--brand-neon), var(--brand-teal));
  transform-origin: 0 50%;
  z-index: 9999;
  animation: tbScrollGrow linear;
  animation-timeline: scroll(root);
}

a {
  color: var(--brand-neon);
  text-decoration: none;
  transition: color 0.18s cubic-bezier(0.2, 0, 0, 1), opacity 0.18s cubic-bezier(0.2, 0, 0, 1);
}

@media (hover: hover) {
  a:hover {
    color: #5efc9b;
  }
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.tb-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (horizontal-viewport-segments: 2) {
  .tb-bento-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem;
  }
}

/* Top Regional & Credenciada Telemetry Ticker */
.tb-topbar {
  background: linear-gradient(90deg, #03190e 0%, #05361d 50%, #03190e 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.45rem 0;
  font-size: 0.81rem;
  color: #e2f5eb;
}

.tb-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
}

.tb-topbar-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.tb-topbar-sla {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.tb-topbar-cities {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.32rem;
  font-weight: 600;
}

.tb-topbar-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--brand-neon);
  margin-right: 0.25rem;
}

.tb-dot-sep {
  opacity: 0.45;
}

.tb-topbar-cities a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (hover: hover) {
  .tb-topbar-cities a:hover {
    color: var(--brand-neon);
  }
}

.tb-badge-official {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  background: rgba(0, 230, 118, 0.16);
  border: 1px solid rgba(0, 230, 118, 0.45);
  color: var(--brand-neon);
  padding: 0.24rem 0.78rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.tb-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-neon);
  box-shadow: 0 0 10px var(--brand-neon);
  animation: tbPulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes tbPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

/* Sticky Liquid Glass Header & Mega-Dropdown Navigation */
.tb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 0.72rem 0;
}

.tb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.tb-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.tb-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-emerald), var(--brand-neon));
  color: #02120a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(0, 230, 118, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.tb-brand-title {
  display: block;
  line-height: 1.15;
}

.tb-brand-sub {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--brand-neon);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tb-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.tb-nav-link {
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.87rem;
  font-weight: 600;
  min-height: 40px;
  padding: 0.45rem 0.72rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}

@media (hover: hover) {
  .tb-nav-link:hover {
    background: rgba(0, 230, 118, 0.14);
    color: var(--brand-neon);
  }
}

.tb-nav-link.active,
.tb-nav-dropdown.open > .tb-nav-link {
  background: rgba(0, 230, 118, 0.14);
  color: var(--brand-neon);
}

.tb-nav-count {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(0, 230, 118, 0.18);
  color: var(--brand-neon);
  padding: 0.1rem 0.42rem;
  border-radius: var(--radius-pill);
}

.tb-caret {
  display: inline-flex;
  align-items: center;
  opacity: 0.8;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.tb-nav-dropdown {
  position: relative;
}

.tb-nav-dropdown:hover .tb-caret,
.tb-nav-dropdown.open .tb-caret {
  transform: rotate(180deg);
}

.tb-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 325px;
  background: rgba(7, 15, 11, 0.98);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s cubic-bezier(0.2, 0, 0, 1), transform 0.2s cubic-bezier(0.2, 0, 0, 1), visibility 0.2s;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tb-dropdown-menu.tb-dropdown-wide {
  min-width: 650px;
  left: -80px;
}

.tb-nav-dropdown:hover > .tb-dropdown-menu,
.tb-nav-dropdown:focus-within > .tb-dropdown-menu,
.tb-nav-dropdown.open > .tb-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tb-dropdown-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-neon);
  padding: 0.25rem 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(0, 230, 118, 0.16);
  margin-bottom: 0.35rem;
}

.tb-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
}

.tb-dropdown-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.58rem 0.7rem;
  border-radius: 10px;
  color: var(--text-primary);
  transition: background-color 0.16s ease;
}

.tb-dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.25);
  color: var(--brand-neon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.tb-dropdown-item div {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.tb-dropdown-item strong {
  font-size: 0.87rem;
  color: var(--text-primary);
}

.tb-dropdown-item span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 400;
}

@media (hover: hover) {
  .tb-dropdown-item:hover {
    background: rgba(0, 230, 118, 0.13);
  }
  .tb-dropdown-item:hover strong {
    color: var(--brand-neon);
  }
}

.tb-dropdown-footer {
  margin-top: 0.45rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(0, 230, 118, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.tb-dropdown-footer a {
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--brand-neon);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
}

@media (hover: hover) {
  .tb-dropdown-footer a:hover {
    background: rgba(0, 230, 118, 0.12);
  }
}

.tb-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.tb-mobile-menu-btn {
  display: none !important;
}

.tb-show-sm {
  display: none;
}

@media (max-width: 1180px) {
  .tb-nav {
    display: none;
  }
  .tb-mobile-menu-btn {
    display: inline-flex !important;
  }
}

@media (max-width: 768px) {
  .tb-topbar-cities {
    display: none;
  }
  .tb-topbar-inner {
    justify-content: center;
  }
  .tb-hide-sm {
    display: none;
  }
  .tb-show-sm {
    display: inline;
  }
}

@media (max-width: 480px) {
  .tb-hide-xs {
    display: none;
  }
}

/* Mobile Slide-Out Navigation Drawer */
.tb-mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 4, 0.82);
  backdrop-filter: blur(8px);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  display: flex;
  justify-content: flex-end;
}

.tb-mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.tb-mobile-drawer-panel {
  width: min(400px, 90vw);
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-glow);
  padding: 1.35rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tb-mobile-drawer-backdrop.active .tb-mobile-drawer-panel {
  transform: translateX(0);
}

.tb-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tb-mobile-drawer-header .tb-modal-close {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tb-mobile-drawer-section h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-neon);
  margin-bottom: 0.55rem;
}

.tb-mobile-drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.tb-mobile-drawer-list a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 230, 118, 0.12);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
}

@media (hover: hover) {
  .tb-mobile-drawer-list a:hover {
    border-color: var(--brand-neon);
    color: var(--brand-neon);
  }
}

/* Buttons (Elite Design 2026: exact transitions, 0.97 press scale, 44px touch floor) */
.tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.72rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1), background-color 0.2s cubic-bezier(0.2, 0, 0, 1), border-color 0.2s cubic-bezier(0.2, 0, 0, 1);
  text-align: center;
}

.tb-btn:not(:disabled):active {
  transform: scale(0.97);
}

.tb-btn-primary {
  background: linear-gradient(135deg, var(--brand-emerald) 0%, var(--brand-neon) 100%);
  color: #02140a !important;
  box-shadow: 0 10px 28px rgba(0, 230, 118, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

@media (hover: hover) {
  .tb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 230, 118, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  }
}

.tb-btn-outline {
  background: rgba(0, 230, 118, 0.08);
  color: var(--text-primary) !important;
  border-color: var(--border-glow);
}

@media (hover: hover) {
  .tb-btn-outline:hover {
    background: rgba(0, 230, 118, 0.2);
    transform: translateY(-2px);
  }
}

.tb-btn-sm {
  min-height: 38px;
  padding: 0.45rem 0.92rem;
  font-size: 0.82rem;
}

.tb-btn-voice.listening {
  background: rgba(255, 82, 82, 0.22) !important;
  border-color: var(--brand-danger) !important;
  color: #ff8a80 !important;
  animation: tbPulse 1s infinite;
}

/* Bento Grid System & Dimensional Hero (2026) */
.tb-section {
  padding: 3.75rem 0;
}

.tb-section-header {
  max-width: 880px;
  margin-bottom: 2.35rem;
}

.tb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-neon);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
  background: rgba(0, 230, 118, 0.1);
  padding: 0.28rem 0.78rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  font-variant-numeric: tabular-nums;
}

.tb-title-xl {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.05rem;
}

.tb-title-lg {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.7vw, 2.38rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.tb-text-gradient {
  background: linear-gradient(90deg, #ffffff 0%, var(--brand-neon) 55%, var(--brand-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tb-lead {
  font-size: 1.06rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.tb-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.35rem;
}

.tb-bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  transition: transform 0.24s cubic-bezier(0.2, 0, 0, 1), border-color 0.24s ease, background-color 0.24s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (hover: hover) {
  .tb-bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
  }
}

.tb-col-12 { grid-column: span 12; }
.tb-col-8 { grid-column: span 8; }
.tb-col-7 { grid-column: span 7; }
.tb-col-6 { grid-column: span 6; }
.tb-col-5 { grid-column: span 5; }
.tb-col-4 { grid-column: span 4; }
.tb-col-3 { grid-column: span 3; }

@media (max-width: 1024px) {
  .tb-col-8, .tb-col-7, .tb-col-6, .tb-col-5, .tb-col-4, .tb-col-3 {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .tb-col-8, .tb-col-7, .tb-col-6, .tb-col-5, .tb-col-4, .tb-col-3 {
    grid-column: span 12;
  }
  .tb-bento-card {
    padding: 1.35rem;
  }
}

/* Dimensional Hero Top Meta & Bespoke Interactive Blueprint Switcher */
.tb-hero {
  padding: 2rem 0 2.25rem;
}

.tb-hero-top-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tb-hero-top-meta .tb-eyebrow {
  margin-bottom: 0;
}

.tb-telemetry-pill {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.68rem;
  border-radius: var(--radius-pill);
}

.tb-interactive-blueprint {
  margin: 1.25rem 0;
  background: rgba(4, 10, 7, 0.72);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  padding: 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.tb-blueprint-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.tb-blueprint-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-neon);
}

.tb-blueprint-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tb-blueprint-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.tb-blueprint-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  min-height: 38px;
  padding: 0.38rem 0.78rem;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  touch-action: manipulation;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s cubic-bezier(0.2, 0, 0, 1);
}

.tb-blueprint-tab:active {
  transform: scale(0.97);
}

.tb-blueprint-tab.active {
  background: linear-gradient(135deg, rgba(0, 168, 89, 0.32), rgba(0, 230, 118, 0.22));
  border-color: var(--brand-neon);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.22);
}

@media (hover: hover) {
  .tb-blueprint-tab:hover:not(.active) {
    background: rgba(0, 230, 118, 0.1);
    color: var(--text-primary);
  }
}

.tb-blueprint-display {
  background: rgba(10, 22, 16, 0.88);
  border: 1px solid rgba(0, 230, 118, 0.22);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
}

.tb-blueprint-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.tb-blueprint-sla {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.74rem;
  color: var(--brand-amber);
  font-weight: 700;
}

.tb-blueprint-kit {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.tb-blueprint-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.tb-blueprint-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* Dimensional Hero Media Stage & Floating Glass Telemetry Chips */
.tb-hero-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 24px 60px rgba(0, 230, 118, 0.18);
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -1px;
}

.tb-hero-media img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.tb-hero-floating-chips {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem;
  pointer-events: none;
}

.tb-glass-chip {
  background: rgba(4, 10, 7, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.tb-hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, rgba(4, 9, 7, 0) 0%, rgba(4, 9, 7, 0.94) 100%);
  padding: 2.2rem 1.25rem 1.1rem;
}

.tb-media-deck {
  background: rgba(5, 11, 8, 0.76);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1rem;
}

.tb-media-deck-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

/* Telemetry Metrics Strip */
.tb-metrics-strip {
  padding: 0.5rem 0 1.5rem;
}

.tb-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tb-metric-item {
  background: rgba(10, 20, 15, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tb-metric-number {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 900;
  color: var(--brand-neon);
  line-height: 1.1;
}

.tb-metric-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tb-metric-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .tb-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .tb-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* Segment Stack (Beside Optical Split-Stage Comparator) */
.tb-segment-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tb-segment-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s cubic-bezier(0.2, 0, 0, 1);
}

.tb-segment-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.28);
  color: var(--brand-neon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tb-segment-row div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.tb-segment-row strong {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.tb-segment-row span {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

@media (hover: hover) {
  .tb-segment-row:hover {
    border-color: var(--brand-neon);
    background: rgba(0, 230, 118, 0.1);
    transform: translateX(3px);
  }
}

/* Asymmetric Bento Card Media Frame & Concentric Radius Math (24px outer -> 14px inner) */
.tb-card-media-frame {
  width: 100%;
  height: 185px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -1px;
}

.tb-card-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}

@media (hover: hover) {
  .tb-bento-card:hover .tb-card-media-frame img {
    transform: scale(1.03);
  }
}

.tb-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.tb-card-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.28);
  color: var(--brand-neon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 4. Interactive Visual Before/After Comparison Slider (Câmera Comum vs Full Color IA) */
.tb-compare-wrap {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  user-select: none;
}

.tb-compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tb-compare-before {
  filter: grayscale(100%) contrast(140%) brightness(42%) blur(1px);
}

.tb-compare-after-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid var(--brand-neon);
}

.tb-compare-label {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 5;
}

.tb-compare-label-left {
  left: 1rem;
  background: rgba(0, 168, 89, 0.92);
  color: #fff;
}

.tb-compare-label-right {
  right: 1rem;
  background: rgba(15, 20, 18, 0.88);
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tb-compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

/* 5. Semantic HTML Comparison Tables for Google AI Overviews (RAG / GEO) */
.tb-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  margin: 1.5rem 0;
}

.tb-ai-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.tb-ai-table th {
  background: rgba(0, 168, 89, 0.16);
  color: var(--brand-neon);
  padding: 1rem 1.15rem;
  font-weight: 800;
  border-bottom: 1px solid var(--border-subtle);
}

.tb-ai-table td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) {
  .tb-ai-table tr:hover td {
    background: rgba(0, 230, 118, 0.05);
    color: var(--text-primary);
  }
}

/* 6. Video Chapters (Key Moments / SeekToAction Pills) */
.tb-video-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.tb-chapter-pill {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.35rem 0.78rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.15s cubic-bezier(0.2, 0, 0, 1);
}

.tb-chapter-pill:not(:disabled):active {
  transform: scale(0.96);
}

@media (hover: hover) {
  .tb-chapter-pill:hover {
    background: var(--brand-neon);
    color: #02120a;
    font-weight: 700;
  }
}

/* Multimodal Audio Bar */
.tb-audio-box {
  background: rgba(0, 168, 89, 0.11);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  margin: 0.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tb-audio-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-neon);
}

.tb-audio-box audio {
  width: 100%;
  height: 36px;
  border-radius: 8px;
}

/* Didactic Layperson Highlight Box ("Answer-First" 40-60 words) */
.tb-leigo-box {
  background: linear-gradient(135deg, rgba(0, 168, 89, 0.15) 0%, rgba(0, 191, 165, 0.08) 100%);
  border-left: 4px solid var(--brand-neon);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.1rem 1.35rem;
  margin: 1rem 0;
}

.tb-leigo-box strong {
  color: var(--brand-neon);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Regional Pills */
.tb-city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.tb-city-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

@media (hover: hover) {
  .tb-city-pill:hover {
    border-color: var(--brand-neon);
    background: rgba(0, 230, 118, 0.15);
    color: var(--brand-neon);
  }
}

/* Catalog Explorer & INP Optimization (content-visibility: auto) */
.tb-catalog-controls {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  display: grid;
  grid-template-columns: 2fr auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
}

@media (max-width: 900px) {
  .tb-catalog-controls {
    grid-template-columns: 1fr;
  }
}

.tb-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.tb-search-icon-prefix {
  position: absolute;
  left: 1rem;
  color: var(--brand-neon);
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}

.tb-input, .tb-select, .tb-textarea {
  width: 100%;
  min-height: 44px;
  background: rgba(5, 8, 7, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tb-input-with-icon {
  padding-left: 2.75rem;
}

.tb-input:focus, .tb-select:focus, .tb-textarea:focus {
  outline: none;
  border-color: var(--brand-neon);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.22);
}

.tb-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
  gap: 1.3rem;
}

/* Concentric Radius Math: Outer 22px - 10px optical inset = Inner 12px */
.tb-product-card {
  content-visibility: auto;
  contain-intrinsic-size: 0 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.95rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s cubic-bezier(0.2, 0, 0, 1), border-color 0.22s ease;
}

@media (hover: hover) {
  .tb-product-card:hover {
    border-color: var(--brand-neon);
    transform: translateY(-3px);
  }
}

.tb-product-thumb {
  width: 100%;
  height: 175px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 12px;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.7rem;
}

.tb-product-thumb img {
  max-height: 155px;
  object-fit: contain;
}

.tb-sku-badge {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--brand-neon);
  background: rgba(0, 230, 118, 0.12);
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
}

.tb-sim-result {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid var(--brand-neon);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-top: 1rem;
  font-variant-numeric: tabular-nums;
}

.tb-cta-conversion {
  background: linear-gradient(135deg, #042414 0%, #093820 55%, #03170d 100%);
  border: 2px solid var(--brand-neon);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 2.75rem 0;
  box-shadow: 0 24px 60px rgba(0, 230, 118, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Breadcrumbs */
.tb-breadcrumbs {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

/* Footer */
.tb-footer {
  background: #020504;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
  margin-top: 4rem;
  color: var(--text-secondary);
}

.tb-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.25rem;
  margin-bottom: 3rem;
}

.tb-footer h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.tb-footer ul, .tb-footer-links {
  list-style: none;
}

.tb-footer ul li, .tb-footer-links li {
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}

.tb-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Floating Quick Action Bar (Desktop) & Thumb Dock (Mobile) */
.tb-floating-bar {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tb-mobile-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1005;
  background: rgba(5, 10, 8, 0.95);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-glow);
  padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  justify-content: space-around;
  align-items: center;
}

.tb-mobile-dock a, .tb-mobile-dock button {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 700;
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .tb-floating-bar {
    display: none;
  }
  .tb-mobile-dock {
    display: flex;
  }
}

/* Modal Drawer for Product Details */
.tb-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 4, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.tb-modal-backdrop.active {
  display: flex;
}

.tb-modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--brand-neon);
  border-radius: var(--radius-lg);
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tb-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.tb-prose h2 {
  font-size: 1.72rem;
  color: var(--text-primary);
  margin: 1.85rem 0 0.8rem;
}

.tb-prose h3 {
  font-size: 1.28rem;
  color: var(--brand-neon);
  margin: 1.4rem 0 0.6rem;
}

.tb-prose p {
  margin-bottom: 1.1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 72ch;
}

.tb-prose ul, .tb-prose ol {
  margin: 0 0 1.2rem 1.5rem;
  color: var(--text-secondary);
  max-width: 72ch;
}

.tb-prose li {
  margin-bottom: 0.45rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
