/* ==========================================================================
   GST Bot Landing Page · styles.css (Fase 1)
   Design System GST v3 Approved Warm
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fontes locais (@font-face)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-latin-wght.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-wght.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Reset moderno e base global
   -------------------------------------------------------------------------- */
:root {
  --gst-color-text-3: #595959;
  --gst-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* D1: vermelho herdado, semântica desacoplada (estudo de marca, 25/11/2026).
     tokens.css permanece o DS v3 oficial; o produto sobrescreve só o que a D1 pede. */
  --gst-color-accent-ui: #9E2A33;
  --gst-button-solid-bg: #9E2A33;
  --gst-button-solid-hover: #7A1E25;
  --gst-color-info: #2C4A6E;
  --gst-color-info-on-dark: #8AA4C4;
  --gst-color-warning-on-dark: #F5B841;
  --gst-color-approve: #1B7F48;
  --gst-color-approve-hover: #156338;
  /* Cápsula do lockup GST Bot v3.1 (troque para #9E2A33 se Gustavo escolher a variante D1) */
  --gst-bot-capsule: #E24C4A;
}

.text-white {
  color: #FFFFFF;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light dark;
  overflow-x: clip;
}

body {
  font-family: var(--gst-font-body);
  font-size: var(--gst-fs-body);
  font-weight: var(--gst-fw-body);
  line-height: var(--gst-lh-body);
  color: var(--gst-color-text);
  background-color: var(--gst-color-surface);
  overflow-x: clip;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--gst-motion-fast) ease;
}

button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Acessibilidade e Foco Visível
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--gst-color-focus);
  outline-offset: var(--gst-focus-offset);
}

.on-dark :focus-visible,
.section-hero :focus-visible,
.site-footer :focus-visible,
.section-computer :focus-visible,
.section-cta :focus-visible,
.service-card :focus-visible {
  outline: 2px solid var(--gst-focus-on-dark);
  outline-offset: var(--gst-focus-offset);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--gst-color-surface-deep);
  color: var(--gst-color-on-dark);
  padding: 12px 20px;
  border-radius: var(--gst-radius-pill);
  font-size: var(--gst-fs-small);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s ease;
  border: 1px solid var(--gst-color-primary-on-dark);
}

.skip-link:focus {
  top: 16px;
}

/* --------------------------------------------------------------------------
   4. Barra de progresso de leitura
   -------------------------------------------------------------------------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gst-gradient-brand);
  z-index: 10000;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* --------------------------------------------------------------------------
   5. Container e Tipografia
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--gst-container-default);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

h1, h2, h3, h4 {
  font-family: var(--gst-font-heading);
  font-weight: 400;
}

/* Destaques em degradê */
.gradient-text-light {
  background: var(--gst-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-dark {
  background: var(--gst-gradient-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Ruído SVG reutilizável (.grain) */
.grain {
  position: relative;
}

.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   6. Botões e Chips
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--gst-radius-pill);
  font-size: var(--gst-fs-small);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform var(--gst-motion-fast) ease,
              background-color var(--gst-motion-fast) ease,
              box-shadow var(--gst-motion-fast) ease,
              border-color var(--gst-motion-fast) ease;
}

.btn-arrow {
  transition: transform var(--gst-motion-fast) ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-topbar {
  background: var(--gst-color-ink);
  color: #FFFFFF;
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.btn-topbar:hover {
  background: #2A2A2A;
  transform: translateY(-1px);
}

.btn-hero-white {
  background: #FFFFFF;
  color: var(--gst-color-ink);
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-hero-white:hover {
  background: #F5F5F5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.btn-hero-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 28px;
  font-size: 15px;
  backdrop-filter: blur(8px);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-primary-dark {
  background: var(--gst-color-ink);
  color: #FFFFFF;
  padding: 14px 24px;
}

.btn-primary-dark:hover {
  background: #2A2A2A;
}

.w-full {
  width: 100%;
}

/* Chip genérico */
.chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--gst-radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gst-color-primary-on-dark);
  box-shadow: 0 0 0 0 rgba(244, 122, 114, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 122, 114, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(244, 122, 114, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 122, 114, 0);
  }
}

/* --------------------------------------------------------------------------
   7. Topbar (Fixa, Pílula Flutuante, Regra Crítica de Espaçamento)
   -------------------------------------------------------------------------- */
.topbar-wrapper {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.topbar-container {
  width: 100%;
  max-width: var(--gst-container-default);
  pointer-events: auto;
  position: relative;
}

.topbar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: var(--gst-shadow-float);
  border: 1px solid rgba(217, 217, 217, 0.6);
  /* REGRA CRÍTICA: padding horizontal estritamente simétrico */
  padding: 10px 20px;
  transition: background-color var(--gst-motion-base) ease,
              backdrop-filter var(--gst-motion-base) ease,
              box-shadow var(--gst-motion-base) ease,
              border-color var(--gst-motion-base) ease;
}

.topbar-wrapper.scrolled .topbar-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(217, 217, 217, 0.8);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  height: 28px;
  width: auto;
}

.brand-badge {
  font-family: var(--gst-font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--gst-color-ink);
  padding: 2px 8px;
  border-radius: var(--gst-radius-pill);
  border: 1px solid transparent;
  background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
              var(--gst-gradient-border) border-box;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Links no centro (Desktop) */
.topbar-links {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gst-color-text-2);
  padding: 6px 14px;
  border-radius: var(--gst-radius-pill);
  transition: color var(--gst-motion-fast) ease, background-color var(--gst-motion-fast) ease;
}

.nav-link:hover {
  color: var(--gst-color-ink);
  background-color: var(--gst-color-surface-soft);
}

/* Link ativo pelo scrollspy */
.nav-link.active {
  background-color: var(--gst-color-ink);
  color: #FFFFFF;
  font-weight: 600;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-text-desktop {
  display: none;
}
.btn-text-mobile {
  display: inline;
}

/* Botão do menu mobile */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--gst-radius-sm);
  background: var(--gst-color-surface-soft);
  cursor: pointer;
  padding: 0;
}

.menu-icon-bar {
  width: 18px;
  height: 2px;
  background-color: var(--gst-color-ink);
  border-radius: 2px;
  transition: transform var(--gst-motion-fast) ease, opacity var(--gst-motion-fast) ease;
}

.mobile-menu-btn[aria-expanded="true"] .menu-icon-bar:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .menu-icon-bar:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Painel Mobile Flutuante */
.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--gst-color-border);
  display: none;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-panel.open {
  display: flex;
  animation: slideDown 0.25s var(--gst-motion-ease);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  font-family: var(--gst-font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--gst-color-ink);
  padding: 10px 14px;
  border-radius: 12px;
  transition: background-color var(--gst-motion-fast) ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--gst-color-surface-soft);
  color: var(--gst-color-primary);
}

/* Regra de Breakpoints para Topbar */
@media (min-width: 992px) {
  .topbar-nav {
    padding: 10px 20px;
  }
  .topbar-links {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .mobile-menu-panel {
    display: none !important;
  }
  .btn-text-desktop {
    display: inline;
  }
  .btn-text-mobile {
    display: none;
  }
}

@media (max-width: 991px) {
  .topbar-nav {
    padding: 8px 14px;
  }
}

/* --------------------------------------------------------------------------
   8. Seção 1: Hero
   -------------------------------------------------------------------------- */
.section-hero {
  position: relative;
  background-color: var(--gst-color-surface-deep);
  color: var(--gst-color-on-dark);
  padding-top: 86px;
  padding-bottom: 70px;
  overflow: hidden;
  z-index: 1;
}

@media (min-width: 992px) {
  .section-hero {
    padding-top: 92px;
    padding-bottom: 80px;
  }
}

@media (min-width: 1280px) {
  .section-hero {
    padding-top: 98px;
    padding-bottom: 85px;
  }
}

.hero-glows {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
}

.hero-glow-coral {
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gst-color-accent) 0%, rgba(226, 76, 74, 0) 70%);
}

.hero-glow-red {
  top: 10%;
  right: 15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--gst-color-deep-red) 0%, rgba(158, 42, 51, 0) 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 80%);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-chip-wrapper {
  margin-bottom: 24px;
}

.chip-hero {
  background: rgba(31, 31, 31, 0.7);
  border: 1px solid var(--gst-color-border-dark);
  color: var(--gst-color-on-dark-2);
  padding: 8px 18px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(38px, 6.2vw, 88px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #FFFFFF;
  max-width: 1080px;
  margin-bottom: 20px;
}

.hero-title-line {
  display: block;
}

/* Revelação palavra a palavra */
.word-reveal {
  display: inline-block;
  opacity: 1;
  transform: none;
}

.js .word-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .word-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--gst-color-on-dark-2);
  max-width: 640px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-badge-open {
  font-size: 13px;
  color: rgba(174, 179, 189, 0.7);
  margin-bottom: 50px;
}

/* --------------------------------------------------------------------------
   9. Janela do App Animada (Mock Hero) e Cartões Flutuantes
   -------------------------------------------------------------------------- */
.hero-app-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 1279px) {
  .hero-app-stage {
    overflow: hidden;
  }
}

/* Cartões flutuantes fora da janela (Desktop >= 1280px) */
.floating-card {
  position: absolute;
  z-index: 10;
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(31, 31, 31, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 18px;
  border-radius: var(--gst-radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  text-align: left;
  animation: floatCard 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* P1-1: Posicionados nas bordas da janela, sobrepondo no máximo 40px, nunca sobre texto */
.float-left-top {
  top: 55%;
  transform: translateY(-50%);
  left: -200px; /* cartão tem ~240px de largura; sobrepõe ~40px na borda esquerda */
  animation: floatCardLeft 6s ease-in-out infinite alternate;
}

@keyframes floatCardLeft {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(calc(-50% - 8px)); }
}

.float-right-mid {
  top: 70%;
  transform: translateY(-50%);
  right: -240px; /* sobrepõe no máximo 40px da borda direita (área vazia do painel Computador) */
  animation: floatCardRight 6s ease-in-out 1.5s infinite alternate;
}

@keyframes floatCardRight {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(calc(-50% - 8px)); }
}

.float-right-bottom {
  bottom: -24px; /* metade para fora da borda inferior */
  right: 24px;
  animation-delay: 3s;
}

@media (min-width: 1280px) {
  .floating-card {
    display: flex;
  }
}

.float-icon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.float-content strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gst-color-on-dark);
}

.float-content span {
  display: block;
  font-size: 12px;
  color: var(--gst-color-on-dark-2);
}

/* Cores dos Avatares e Dots (Paleta GST estrita: #1F1F1F, #3F3F3F, #6B6B6B, #E24C4A, #C9302E, #9E2A33 com letra branca) */
.bg-amber { background-color: #3F3F3F; color: #FFFFFF; }
.bg-coral { background-color: #9E2A33; color: #FFFFFF; }
.bg-red { background-color: #9E2A33; color: #FFFFFF; }
.bg-green { background-color: #6B6B6B; color: #FFFFFF; }
.bg-purple { background-color: #1F1F1F; color: #FFFFFF; }

/* Estrutura da Janela */
.app-window {
  background-color: var(--gst-color-surface-dark);
  border: 1px solid var(--gst-color-border-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* Barra de título */
.app-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: #181818;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #444444;
}

.window-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--gst-radius-pill);
  padding: 6px 14px;
  font-size: 12px;
  color: var(--gst-color-on-dark-2);
  width: 320px;
  max-width: 45%;
}

.search-icon {
  color: var(--gst-color-on-dark-2);
  flex-shrink: 0;
}

.window-meta-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gst-color-success);
}

.window-org-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--gst-color-on-dark-2);
}

/* Corpo da Janela */
.app-window-body {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 480px;
}

@media (min-width: 900px) {
  .app-window-body {
    grid-template-columns: 240px 1fr;
  }
}

@media (min-width: 1280px) {
  .app-window-body {
    grid-template-columns: 240px 1fr 280px;
  }
}

/* Coluna 1: Sidebar de Bots */
.app-sidebar {
  background-color: #171717;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .app-sidebar {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 4px;
}

.sidebar-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gst-color-on-dark-2);
}

.sidebar-counter {
  font-size: 11px;
  color: rgba(174, 179, 189, 0.6);
}

.sidebar-bots-list {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 12px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 8px;
}

.sidebar-bots-list::-webkit-scrollbar {
  display: none;
}

@media (max-width: 899px) {
  .app-sidebar {
    padding: 10px 14px 6px;
  }
  .sidebar-header {
    margin-bottom: 8px;
  }
  .sidebar-heading {
    font-size: 11px;
  }
  .bot-item {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 6px 4px;
    scroll-snap-align: start;
    width: 64px;
    text-align: center;
  }
  .bot-info {
    width: 100%;
    overflow: hidden;
  }
  .bot-name {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--gst-color-on-dark-2);
  }
  .bot-sub {
    display: none;
  }
  .bot-item.active .bot-name {
    color: #FFFFFF;
    font-weight: 700;
  }
}

@media (min-width: 900px) {
  .sidebar-bots-list {
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
  }
}

.bot-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background-color var(--gst-motion-fast) ease;
  flex-shrink: 0;
}

.bot-item.active {
  background-color: rgba(255, 255, 255, 0.08);
}

.bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.bot-info {
  white-space: nowrap;
}

.bot-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gst-color-on-dark);
}

.bot-sub {
  font-size: 11px;
  color: var(--gst-color-on-dark-2);
}

/* Coluna 2: Chat central */
.app-chat-area {
  display: flex;
  flex-direction: column;
  background-color: #1F1F1F;
  min-width: 0;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 8px;
  min-width: 0;
}

.chat-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.bot-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.chat-title {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-status-text {
  font-size: 11px;
  color: var(--gst-color-success);
  display: block;
}

.chat-model-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--gst-radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--gst-color-on-dark-2);
  flex-shrink: 0;
}

@media (max-width: 420px) {
  .chat-header {
    padding: 10px 12px;
  }
  .chat-title {
    font-size: 13px;
  }
  .chat-model-badge {
    padding: 3px 8px;
    font-size: 10.5px;
  }
}

/* Feed de Mensagens do Chat */
.chat-messages {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 330px;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.js .chat-message {
  opacity: 0;
  transform: translateY(8px);
}

.js .chat-message.visible {
  opacity: 1;
  transform: translateY(0);
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.msg-bubble {
  background-color: #292929;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border-top-left-radius: 4px;
  padding: 12px 16px;
  max-width: 480px;
  position: relative;
}

.typed-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--gst-color-on-dark);
}

/* Indicador de Digitando (3 pontinhos) */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 2px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--gst-color-on-dark-2);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* Cartão de Aprovação */
.approval-card {
  background-color: #242424;
  border: 1px solid rgba(245, 184, 65, 0.38);
  border-radius: 14px;
  padding: 16px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.approval-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.approval-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(245, 184, 65, 0.14);
  color: var(--gst-color-warning-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.approval-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
}

.approval-subtitle {
  font-size: 11px;
  color: var(--gst-color-on-dark-2);
}

.approval-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-approve {
  background: var(--gst-color-approve);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: var(--gst-radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-approve:hover {
  background: var(--gst-color-approve-hover);
}

.btn-approve.approved {
  background: var(--gst-color-success);
  transform: scale(0.98);
}

.btn-approve .btn-approved-label {
  display: none;
}

.btn-approve.approved .btn-approve-label {
  display: none;
}

.btn-approve.approved .btn-approved-label {
  display: inline;
}

.btn-reject {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gst-color-on-dark-2);
  padding: 8px 16px;
  border-radius: var(--gst-radius-pill);
  font-size: 12.5px;
  font-weight: 500;
}

/* Input do rodapé do chat */
.chat-footer-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: #1A1A1A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.input-placeholder {
  font-size: 13px;
  color: var(--gst-color-on-dark-2);
}

.input-send-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #888888;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Coluna 3: Computador do Bot */
.app-computer-panel {
  display: none;
  background-color: #161616;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  flex-direction: column;
}

@media (min-width: 1280px) {
  .app-computer-panel {
    display: flex;
  }
}

.computer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.computer-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gst-color-on-dark-2);
}

.computer-live-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(27, 127, 72, 0.2);
  color: #38D97D;
  font-weight: 600;
}

.computer-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.checklist-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--gst-color-on-dark-2);
  transition: color 0.3s ease;
}

.check-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #444444;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.checklist-step.checked {
  color: var(--gst-color-on-dark);
}

.checklist-step.checked .check-box {
  background-color: var(--gst-color-success);
  border-color: var(--gst-color-success);
  color: #FFFFFF;
}

.checklist-step.active-step {
  color: #FFFFFF;
}

.checklist-step.active-step .check-box {
  border-color: var(--gst-color-warning-on-dark);
}

.computer-footer-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gst-color-on-dark-2);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dot-running {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #38D97D;
  box-shadow: 0 0 6px rgba(56, 217, 125, 0.45);
}

.hero-app-caption {
  font-size: 12px;
  color: rgba(174, 179, 189, 0.6);
  margin-top: 16px;
  text-align: center;
}

/* Transição côncava para a próxima seção */
.hero-concave-transition {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background-color: var(--gst-color-surface-alt);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-concave-transition {
    height: 50px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
  }
}

/* --------------------------------------------------------------------------
   10. Seção 2: Faixa de Modelos
   -------------------------------------------------------------------------- */
.section-models {
  background-color: var(--gst-color-surface-alt);
  padding: 40px 0 60px;
  text-align: center;
}

.models-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.models-title {
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 500;
  color: var(--gst-color-text);
  margin-bottom: 24px;
}

.models-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
  padding: 8px 0;
}

/* Gradientes de fade nas bordas do marquee no mobile */
@media (max-width: 767px) {
  .models-marquee-wrapper::before,
  .models-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    z-index: 2;
    pointer-events: none;
  }
  .models-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--gst-color-surface-alt), transparent);
  }
  .models-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--gst-color-surface-alt), transparent);
  }
}

.models-chips-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .models-chips-track {
    flex-wrap: nowrap;
    width: max-content;
    animation: marqueeScroll 22s linear infinite;
  }
  .models-chips-track:hover {
    animation-play-state: paused;
  }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.model-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gst-color-surface);
  border: 1px solid var(--gst-color-border);
  border-radius: var(--gst-radius-pill);
  padding: 7px 16px 7px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform var(--gst-motion-fast) ease, box-shadow var(--gst-motion-fast) ease;
  flex-shrink: 0;
}

.model-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.model-logo {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-logo {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.tool-logo-wrap {
  background: none !important;
  border-radius: 0;
  overflow: visible;
}

.tool-logo-wrap .tool-logo {
  width: 18px;
  height: 18px;
}

.model-name-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gst-color-ink);
}

.models-note {
  font-size: 13.5px;
  color: var(--gst-color-text-2);
  max-width: 580px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. Seções da Fase 2 (3. Comparativo, 4. Bots, 5. Recursos, 6. Computador, 7. Governança)
   -------------------------------------------------------------------------- */

/* Títulos e Leads reutilizáveis de Seção */
.section-header {
  margin-bottom: 48px;
}

.section-header.text-center {
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--gst-color-ink);
  margin-bottom: 16px;
}

.section-title.text-white {
  color: #FFFFFF;
}

.section-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--gst-color-text-2);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.text-on-dark-2 {
  color: var(--gst-color-on-dark-2);
}

/* ==========================================================================
   Seção 3: Comparativo (id="como-funciona") · Fundo Claro
   ========================================================================== */
.section-compare {
  background-color: var(--gst-color-surface);
  padding: 80px 0;
}

@media (min-width: 992px) {
  .section-compare {
    padding: 100px 0;
  }
}

.compare-card-wrapper {
  background-color: #FFFFFF;
  border-radius: var(--gst-radius-lg);
  border: 1px solid var(--gst-color-border);
  box-shadow: 0 16px 48px rgba(17, 17, 17, 0.08), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.compare-table-container {
  display: none;
  width: 100%;
  overflow-x: auto;
}

@media (min-width: 768px) {
  .compare-table-container {
    display: block;
  }
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 18px 24px;
  vertical-align: middle;
}

.compare-table thead tr th {
  border-bottom: 1px solid var(--gst-color-border);
  background-color: var(--gst-color-surface-soft);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gst-color-ink);
}

.th-criterion {
  width: 25%;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gst-color-text-3) !important;
}

.th-option {
  width: 25%;
}

.th-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--gst-color-text-3);
  margin-top: 2px;
}

/* Coluna destacada GST Bot */
.th-highlight {
  width: 25%;
  background-color: var(--gst-color-surface-deep) !important;
  color: #FFFFFF !important;
  position: relative;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-left: 1px solid rgba(158, 42, 51, 0.55);
  border-right: 1px solid rgba(158, 42, 51, 0.55);
  border-top: 1px solid rgba(158, 42, 51, 0.55);
}

.th-highlight-badge {
  display: inline-block;
  background: var(--gst-gradient-on-dark);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--gst-radius-pill);
  margin-bottom: 6px;
}

.th-highlight-title {
  display: block;
  font-family: var(--gst-font-heading);
  font-size: 18px;
  font-weight: 600;
}

.compare-table tbody tr {
  border-bottom: 1px solid var(--gst-color-border);
  transition: background-color var(--gst-motion-fast) ease;
}

.compare-table tbody tr:last-child {
  border-bottom: none;
}

.compare-table tbody tr:hover td:not(.td-highlight) {
  background-color: rgba(0, 0, 0, 0.015);
}

.td-criterion {
  font-family: var(--gst-font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gst-color-ink);
  border-bottom: 1px solid var(--gst-color-border);
}

.td-cell {
  font-size: 14px;
  color: var(--gst-color-text);
  border-bottom: 1px solid var(--gst-color-border);
  line-height: 1.45;
}

.td-highlight {
  background-color: var(--gst-color-surface-deep);
  color: #FFFFFF;
  font-weight: 600;
  border-left: 1px solid rgba(158, 42, 51, 0.55);
  border-right: 1px solid rgba(158, 42, 51, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-table tbody tr:last-child .td-highlight {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-bottom: 1px solid rgba(158, 42, 51, 0.55);
}

.cell-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px;
  vertical-align: middle;
}

.cell-success {
  background-color: rgba(27, 127, 72, 0.15);
  color: var(--gst-color-success);
}

.td-highlight .cell-success {
  background-color: rgba(27, 127, 72, 0.3);
  color: #38D97D;
}

.cell-danger {
  background-color: rgba(201, 48, 46, 0.12);
  /* #C9302E no wash fica 4.43:1; mesmo ajuste AA já usado em .status-nunca */
  color: #A32624;
}

.cell-neutral {
  background-color: rgba(0, 0, 0, 0.08);
  color: var(--gst-color-text-3);
}

/* Versão Mobile (Cards Empilhados) */
.compare-cards-mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
}

@media (min-width: 768px) {
  .compare-cards-mobile {
    display: none;
  }
}

.compare-mobile-card {
  background: var(--gst-color-surface-soft);
  border: 1px solid var(--gst-color-border);
  border-radius: var(--gst-radius-md);
  padding: 18px;
}

.compare-mobile-highlight {
  background: var(--gst-color-surface-deep);
  border-color: rgba(158, 42, 51, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: var(--gst-color-on-dark);
}

.mobile-highlight-badge {
  display: inline-block;
  background: var(--gst-gradient-on-dark);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--gst-radius-pill);
  margin-bottom: 8px;
}

.mobile-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gst-color-ink);
  margin-bottom: 14px;
}

.mobile-card-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--gst-color-text-3);
}

.mobile-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
}

.mobile-card-list strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gst-color-text-3);
  margin-bottom: 2px;
}

.compare-mobile-highlight .mobile-card-list strong {
  color: var(--gst-color-on-dark-2);
}

/* ==========================================================================
   Seção 4: Bots com função (id="bots") · Fundo #FFFFFF
   ========================================================================== */
.section-bot-tabs {
  position: relative;
  background-color: var(--gst-color-surface);
  color: var(--gst-color-text);
  padding: 80px 0;
  overflow: hidden;
}

@media (min-width: 992px) {
  .section-bot-tabs {
    padding: 100px 0;
  }
}

.bot-tabs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Lista de Abas de Navegação (role="tablist") */
.bot-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.bot-tabs-nav::-webkit-scrollbar {
  display: none;
}

.bot-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gst-color-surface);
  border: 1px solid var(--gst-color-border);
  border-radius: var(--gst-radius-pill);
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gst-color-text);
  white-space: nowrap;
  transition: all var(--gst-motion-fast) ease;
  cursor: pointer;
  flex-shrink: 0;
}

.bot-tab:hover {
  background-color: var(--gst-color-surface-soft);
  transform: translateY(-1px);
}

.bot-tab.active,
.bot-tab[aria-selected="true"] {
  background-color: var(--gst-color-ink);
  color: #FFFFFF;
  border-color: var(--gst-color-ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Painel de Abas em 2 Colunas */
.bot-tab-panels {
  background-color: var(--gst-color-surface);
  border-radius: var(--gst-radius-lg);
  border: 1px solid var(--gst-color-border);
  box-shadow: var(--gst-shadow-card);
  overflow: hidden;
}

.bot-panel {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 440px;
}

@media (min-width: 992px) {
  .bot-panel {
    grid-template-columns: 1fr 1fr;
  }
}

.panel-info-col {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .panel-info-col {
    padding: 48px;
  }
}

.panel-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gst-color-surface-soft);
  border: 1px solid var(--gst-color-border);
  padding: 6px 14px;
  border-radius: var(--gst-radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--gst-color-ink);
  width: fit-content;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gst-color-primary);
}

.panel-headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--gst-color-ink);
  margin-bottom: 16px;
}

.panel-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gst-color-text-2);
  margin-bottom: 32px;
}

.panel-meta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--gst-color-border);
}

@media (min-width: 480px) {
  .panel-meta-group {
    flex-direction: row;
    gap: 32px;
  }
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gst-color-text-3);
}

.meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--gst-color-ink);
}

.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tool-chip {
  background-color: var(--gst-color-surface-soft);
  border: 1px solid var(--gst-color-border);
  border-radius: var(--gst-radius-pill);
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gst-color-text);
}

/* Coluna Direita: Mini-chat Animado */
.panel-chat-col {
  background-color: #1A1A1A;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .panel-chat-col {
    padding: 40px;
  }
}

.mini-chat-card {
  width: 100%;
  max-width: 440px;
  background-color: #242424;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.mini-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background-color: #1F1F1F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-chat-bot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--gst-color-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.mini-name {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.mini-status {
  font-size: 11px;
  color: var(--gst-color-on-dark-2);
}

.mini-tag {
  font-size: 11px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--gst-color-on-dark-2);
  padding: 3px 8px;
  border-radius: 4px;
}

.mini-chat-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}

.mini-msg-item {
  display: flex;
  gap: 8px;
  max-width: 85%;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mini-msg-item.from-bot {
  align-self: flex-start;
}

.mini-msg-item.from-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.mini-msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.mini-msg-item.from-bot .mini-msg-bubble {
  background-color: #2E2E2E;
  color: #FFFFFF;
  border-top-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-msg-item.from-user .mini-msg-bubble {
  background-color: var(--gst-color-primary);
  color: #FFFFFF;
  border-top-right-radius: 4px;
}

.bots-note {
  font-size: 12.5px;
  color: var(--gst-color-text-3);
  text-align: center;
}

/* ==========================================================================
   Seção 5: Recursos em cartões (fundo claro)
   ========================================================================== */
.section-features {
  position: relative;
  background-color: var(--gst-color-surface-alt);
  padding: 80px 0;
  overflow: hidden;
}

@media (min-width: 992px) {
  .section-features {
    padding: 100px 0;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background-color: #FFFFFF;
  border-radius: var(--gst-radius-lg);
  border: 1px solid var(--gst-color-border);
  box-shadow: 0 10px 36px rgba(17, 17, 17, 0.07), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--gst-motion-fast) ease, box-shadow var(--gst-motion-fast) ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

/* Mini-UIs desenhadas no topo de cada cartão */
.feature-mini-ui {
  height: 200px;
  background-color: var(--gst-color-surface-soft);
  border-bottom: 1px solid var(--gst-color-border);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-content {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-family: var(--gst-font-heading);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--gst-color-ink);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gst-color-text-2);
}

/* Mini-UI 1: Computador com cursor animado */
.mini-ui-computer .mock-browser-window {
  width: 100%;
  max-width: 280px;
  background-color: #FFFFFF;
  border-radius: 12px;
  border: 1px solid var(--gst-color-border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.mock-browser-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: #F8F9FA;
  border-bottom: 1px solid var(--gst-color-border);
}

.m-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #DADADA;
}

.mock-browser-bar {
  flex: 1;
  font-size: 10px;
  color: var(--gst-color-text-3);
  background-color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #ECECEC;
  margin-left: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-browser-canvas {
  padding: 16px;
  position: relative;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mock-canvas-row {
  display: flex;
  gap: 8px;
}

.mock-canvas-box {
  flex: 1;
  height: 20px;
  background-color: var(--gst-color-surface-soft);
  border-radius: 4px;
}

.mock-action-btn {
  background-color: var(--gst-color-ink);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--gst-radius-pill);
  align-self: flex-start;
  transition: all 0.2s ease;
}

.mock-action-btn.active {
  background-color: var(--gst-color-primary);
  transform: scale(0.96);
}

.mock-floating-cursor {
  position: absolute;
  top: 60px;
  right: 40px;
  pointer-events: none;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

/* Mini-UI 2: Pede antes de agir */
.mock-approval-box {
  width: 100%;
  max-width: 290px;
  background-color: #FFFFFF;
  border-radius: 12px;
  border: 1px solid var(--gst-color-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 14px;
}

.mock-approval-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mock-app-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #9E2A33;
}

.mock-approval-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--gst-color-warning);
  background: rgba(148, 91, 0, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.mock-approval-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--gst-color-ink);
  line-height: 1.4;
  margin-bottom: 12px;
}

.mock-approval-buttons {
  display: flex;
  gap: 8px;
}

.mock-btn-permitir {
  flex: 1;
  text-align: center;
  background-color: var(--gst-color-ink);
  color: #FFFFFF;
  padding: 6px;
  border-radius: var(--gst-radius-pill);
  font-size: 11px;
  font-weight: 600;
}

.mock-btn-negar {
  flex: 1;
  text-align: center;
  background-color: var(--gst-color-surface-soft);
  color: var(--gst-color-text-2);
  padding: 6px;
  border-radius: var(--gst-radius-pill);
  font-size: 11px;
  font-weight: 500;
}

/* Mini-UI 3: Apps conectados */
.mock-apps-list {
  width: 100%;
  max-width: 290px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-app-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  border: 1px solid var(--gst-color-border);
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.mock-app-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-app-icon.tool-logo-wrap {
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.mock-app-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--gst-color-ink);
  flex: 1;
}

.mock-app-status {
  font-size: 9.5px;
  color: var(--gst-color-success);
  font-weight: 600;
}

/* Mini-UI 4: Rotinas no calendário */
.mock-calendar-schedule {
  width: 100%;
  max-width: 300px;
  background-color: #FFFFFF;
  border-radius: 12px;
  border: 1px solid var(--gst-color-border);
  padding: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.calendar-days-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--gst-color-text-3);
  margin-bottom: 8px;
  border-bottom: 1px solid #EEEEEE;
  padding-bottom: 4px;
}

.calendar-grid-cells {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  min-height: 60px;
}

.cal-block {
  background-color: #F8F9FA;
  border-radius: 6px;
  padding: 4px 2px;
  font-size: 9px;
  color: var(--gst-color-text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cal-block.cal-block-muted {
  background-color: #F4F6F8;
  color: var(--gst-color-text-3);
  border: 1px dashed #DDE2E8;
  font-weight: 500;
}

.cal-block.block-active {
  background-color: rgba(44, 74, 110, 0.10);
  color: var(--gst-color-info);
  font-weight: 600;
  border: 1px solid rgba(44, 74, 110, 0.28);
}

/* ==========================================================================
   Seção 6: Computador do bot (fundo escuro #111 com glow e demo stories)
   ========================================================================== */
.section-computer {
  background-color: var(--gst-color-surface-deep);
  color: var(--gst-color-on-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

@media (min-width: 992px) {
  .section-computer {
    padding: 110px 0;
  }
}

.computer-glows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.comp-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
}

.comp-glow-coral {
  top: -5%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--gst-color-accent) 0%, rgba(226,76,74,0) 70%);
}

.comp-glow-red {
  bottom: 0%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gst-color-deep-red) 0%, rgba(158,42,51,0) 70%);
}

.computer-container {
  position: relative;
  z-index: 2;
}

.chip-computer {
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 11.5px;
}

.computer-demo-wrapper {
  max-width: 1080px;
  margin: 0 auto;
}

/* Stories Progress Bar */
.stories-progress-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.story-step-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.story-step-indicator {
  display: block;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.story-step-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--gst-gradient-on-dark);
  transition: width 0.1s linear;
}

.story-step-btn.completed .story-step-fill {
  width: 100% !important;
}

.story-step-caption {
  font-size: 12px;
  font-weight: 500;
  color: var(--gst-color-on-dark-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

@media (max-width: 767px) {
  .story-step-caption {
    display: none;
  }
}

.story-step-btn[aria-selected="true"] .story-step-caption {
  color: #FFFFFF;
  font-weight: 700;
}

/* Janela do Navegador da Demo */
.demo-browser-window {
  background-color: #1A1A1A;
  border: 1px solid var(--gst-color-border-dark);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.demo-browser-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: #141414;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-window-dots {
  display: flex;
  gap: 7px;
}

.demo-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #383838;
}

.demo-address-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--gst-radius-pill);
  padding: 5px 14px;
  font-size: 12px;
  color: var(--gst-color-on-dark-2);
  max-width: 50%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.demo-session-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #38D97D;
  font-weight: 600;
}

.pulse-dot-sm {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gst-color-success);
  box-shadow: 0 0 8px var(--gst-color-success);
}

.demo-browser-viewport {
  position: relative;
  background-color: #F8F9FB;
  min-height: 420px;
  padding: 24px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .demo-browser-viewport {
    padding: 36px;
    min-height: 450px;
  }
}

/* Cursor SVG Animado */
.demo-mouse-cursor {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 30;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 480px) {
  .demo-mouse-cursor {
    top: 55px; /* afasta do topo/cabeçalho */
    left: 20px;
  }
}

/* Toast de intervenção humana (Passo 2) */
.demo-human-toast {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 25;
  background: #1F1F1F;
  border: 1px solid rgba(245, 184, 65, 0.45);
  border-radius: var(--gst-radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.demo-human-toast.active {
  opacity: 1;
  transform: translateY(0);
}

.toast-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #945B00;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.toast-text strong {
  display: block;
  font-size: 12.5px;
  color: #FFFFFF;
}

.toast-text span {
  display: block;
  font-size: 11px;
  color: var(--gst-color-on-dark-2);
}

.toast-btn-fake {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--gst-radius-pill);
  font-size: 11px;
  font-weight: 600;
}

/* Conteúdo interno do Portal */
.portal-mock-page {
  background-color: #FFFFFF;
  border-radius: 14px;
  border: 1px solid var(--gst-color-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.portal-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--gst-color-border);
  gap: 12px;
}

.portal-mock-brand {
  font-family: var(--gst-font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--gst-color-ink);
  white-space: nowrap;
}

.portal-mock-user {
  font-size: 11px;
  color: var(--gst-color-text-3);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .portal-mock-header {
    padding: 10px 14px;
  }
  .portal-mock-user {
    display: none; /* Esconde texto auxiliar no mobile para evitar qualquer sobreposição */
  }
}

.portal-mock-form {
  padding: 24px;
}

.portal-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #EEEEEE;
}

.portal-step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gst-color-ink);
}

.portal-step-counter {
  font-size: 12px;
  color: var(--gst-color-text-3);
}

.portal-fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .portal-fields-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mock-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gst-color-text-2);
}

.mock-input {
  background-color: #F8F9FA;
  border: 1px solid var(--gst-color-border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--gst-color-ink);
  font-weight: 500;
  outline: none;
}

.mock-input.filled {
  background-color: #FFFFFF;
  border-color: #111111;
}

.mock-upload-box {
  background-color: #F8F9FA;
  border: 1.5px dashed var(--gst-color-border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--gst-color-text-3);
  transition: all 0.2s ease;
}

.mock-upload-box.attached {
  border-style: solid;
  border-color: var(--gst-color-success);
  background-color: rgba(27, 127, 72, 0.05);
  color: var(--gst-color-success);
  font-weight: 600;
}

.portal-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #EEEEEE;
  flex-wrap: wrap;
  gap: 12px;
}

.portal-status-line {
  font-size: 12.5px;
  color: var(--gst-color-text-2);
}

.btn-portal-submit {
  background-color: var(--gst-color-ink);
  color: #FFFFFF;
  padding: 9px 20px;
  border-radius: var(--gst-radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-portal-submit.submitted {
  background-color: var(--gst-color-success);
}

.computer-demo-caption {
  font-size: 12.5px;
  color: rgba(174, 179, 189, 0.6);
  text-align: center;
  margin-top: 20px;
}

/* ==========================================================================
   Seção 7: Governança (id="governanca") · Fundo Claro
   ========================================================================== */
.section-governance {
  background-color: var(--gst-color-surface);
  padding: 80px 0;
}

@media (min-width: 992px) {
  .section-governance {
    padding: 100px 0;
  }
}

.gov-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .gov-layout-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.gov-info-col {
  display: flex;
  flex-direction: column;
}

.gov-info-col .section-title {
  text-align: left;
}

.gov-info-col .section-lead {
  margin-left: 0;
  margin-bottom: 32px;
}

.gov-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.gov-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gst-color-text);
}

.gov-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(27, 127, 72, 0.12);
  /* mesmo ajuste AA de .status-pode: #1B7F48 no wash fica 4.28:1 */
  color: #146238;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.gov-example-box {
  background-color: rgba(44, 74, 110, 0.055);
  border-left: 3px solid var(--gst-color-info);
  border-radius: 0 var(--gst-radius-sm) var(--gst-radius-sm) 0;
  padding: 14px 18px;
}

.example-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gst-color-info);
  display: block;
  margin-bottom: 4px;
}

.example-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--gst-color-text-2);
}

/* Coluna 2: Ficha do bot (Cartão interativo) */
.bot-card-sheet {
  background-color: #FFFFFF;
  border-radius: var(--gst-radius-lg);
  border: 1px solid var(--gst-color-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  padding: 28px;
}

@media (min-width: 768px) {
  .bot-card-sheet {
    padding: 36px;
  }
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gst-color-border);
  margin-bottom: 20px;
}

.sheet-bot-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sheet-bot-name {
  font-family: var(--gst-font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--gst-color-ink);
}

.sheet-bot-role {
  font-size: 12.5px;
  color: var(--gst-color-text-2);
}

.sheet-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background-color: var(--gst-color-surface-soft);
  border-radius: var(--gst-radius-sm);
  padding: 14px 18px;
  margin-bottom: 24px;
}

.meta-field-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gst-color-text-3);
  display: block;
  margin-bottom: 2px;
}

.meta-field-value {
  font-size: 13.5px;
  color: var(--gst-color-ink);
}

.sheet-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gst-color-text-3);
  margin-bottom: 14px;
}

.sheet-access-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.app-access-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-access-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-access-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gst-color-ink);
}

.app-access-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--gst-color-text-2);
  background-color: var(--gst-color-surface-soft);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Controle Segmentado Acessível */
.segmented-control {
  position: relative;
  display: flex;
  background-color: var(--gst-color-surface-soft);
  border-radius: var(--gst-radius-pill);
  padding: 4px;
  border: 1px solid var(--gst-color-border);
}

.segmented-slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(33.333% - 2.66px);
  background-color: #FFFFFF;
  border-radius: var(--gst-radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: left 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.segment-opt {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 6px 4px;
  cursor: pointer;
  z-index: 1;
}

.segment-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.segment-opt span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gst-color-text-2);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.segment-opt:hover span {
  color: var(--gst-color-ink);
}

.segment-opt input[type="radio"]:checked + span {
  color: var(--gst-color-ink);
}

.opt-text-full {
  display: inline;
}

.opt-text-short {
  display: none;
}

@media (max-width: 480px) {
  .segmented-control {
    min-height: 48px;
    align-items: center;
  }
  .segment-opt {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
  }
  .opt-text-full {
    display: none;
  }
  .opt-text-short {
    display: inline;
    font-size: 12px;
  }
}

/* Lista de Ações e Status */
.action-perm-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--gst-color-surface-soft);
  border-radius: var(--gst-radius-sm);
  padding: 14px 18px;
}

.action-perm-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.action-perm-item:last-child {
  border-bottom: none;
}

.action-name {
  font-size: 13px;
  color: var(--gst-color-ink);
  font-weight: 500;
}

.action-status {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--gst-radius-pill);
  transition: all 0.2s ease;
}

.status-pode {
  background-color: rgba(27, 127, 72, 0.12);
  color: #1B7F48;
}

.status-nunca {
  background-color: rgba(201, 48, 46, 0.12);
  color: #C9302E;
}

.status-aprovacao {
  background-color: rgba(148, 91, 0, 0.12);
  color: #945B00;
}

/* --------------------------------------------------------------------------
   12. Seção 14: Rodapé
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--gst-color-surface-deep);
  color: var(--gst-color-on-dark-2);
  border-top: 1px solid var(--gst-color-border-dark);
  padding: 60px 0 40px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-start;
  }
}

.footer-brand-col {
  max-width: 360px;
}

.footer-logo {
  width: 173px;
  height: auto;
  margin-bottom: 14px;
}

.footer-brand-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gst-color-on-dark-2);
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-link {
  color: var(--gst-color-on-dark);
  font-weight: 500;
  transition: color var(--gst-motion-fast) ease;
}

.footer-link:hover {
  color: var(--gst-color-primary-on-dark);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-legal {
  color: rgba(174, 179, 189, 0.7);
}

.footer-copy {
  color: rgba(174, 179, 189, 0.7);
}

/* --------------------------------------------------------------------------
   12. Animação Scroll Reveal (.reveal)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   13. Responsividade Refinada (360px, 390px, 768px, 1280px, 1440px)
   -------------------------------------------------------------------------- */
@media (max-width: 420px) {
  .topbar-wrapper {
    padding: 0 10px;
    top: 8px;
  }
  .topbar-nav {
    padding: 8px 12px;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .window-search {
    display: none;
  }
  .app-window-header {
    padding: 10px 14px;
  }
  .chat-messages {
    padding: 14px;
  }
}

/* --------------------------------------------------------------------------
   FASE 3: Seções 8 a 13
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   8. Integrações (Constelação animada)
   -------------------------------------------------------------------------- */
.section-integrations {
  position: relative;
  background-color: var(--gst-color-surface-alt);
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
}

.integrations-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.constellation-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 600px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.constellation-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Órbitas pontilhadas girando devagar */
.orbit-path {
  transform-origin: 450px 300px;
}

.orbit-inner {
  animation: orbitRotateInner 120s linear infinite;
}

.orbit-outer {
  animation: orbitRotateOuter 180s linear infinite;
}

@keyframes orbitRotateInner {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitRotateOuter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Linhas com traço animado (stroke-dashoffset) */
.constellation-line {
  stroke-dasharray: 4 6;
  animation: dashMove 20s linear infinite;
}

@keyframes dashMove {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

/* Núcleo Central da Constelação */
.constellation-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-pulse-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 76, 74, 0.4) 0%, rgba(158, 42, 51, 0) 70%);
  animation: centerPulse 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes centerPulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 0.9; }
}

.center-card {
  width: 88px;
  height: 88px;
  background-color: var(--gst-color-surface-deep);
  border-radius: var(--gst-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25),
              0 0 0 1px var(--gst-color-border-dark);
  transition: transform var(--gst-motion-fast) ease;
}

.center-card:hover {
  transform: scale(1.05);
}

.center-logo {
  width: 52px;
  height: auto;
}

/* Nós e chips da constelação (não giram com as órbitas, só flutuam) */
.constellation-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.app-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  animation: nodeFloat 6s ease-in-out infinite alternate;
}

.app-node:nth-child(even) {
  animation-delay: -3s;
  animation-duration: 7s;
}

.app-node:nth-child(3n) {
  animation-delay: -1.5s;
  animation-duration: 8s;
}

@keyframes nodeFloat {
  0% { transform: translate(-50%, -50%) translateY(0); }
  100% { transform: translate(-50%, -50%) translateY(-6px); }
}

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--gst-color-border);
  padding: 8px 14px;
  border-radius: var(--gst-radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  font-size: 13px;
  font-weight: 600;
  color: var(--gst-color-ink);
  transition: transform var(--gst-motion-fast) ease,
              box-shadow var(--gst-motion-fast) ease,
              border-color var(--gst-motion-fast) ease;
  white-space: nowrap;
}

.app-chip:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--gst-color-primary);
}

.app-chip-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.app-chip-icon.tool-logo-wrap {
  border-radius: 0;
  background: transparent;
}

/* Grade 3 colunas para mobile */
.constellation-mobile-grid {
  display: none;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.constellation-mobile-grid .app-chip {
  justify-content: center;
  padding: 8px 6px;
  font-size: 12px;
  width: 100%;
}

.constellation-mobile-grid .app-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   9. O que a GST faz (id="implantacao")
   -------------------------------------------------------------------------- */
.section-services {
  position: relative;
  background-color: var(--gst-color-surface);
  padding-top: 100px;
  padding-bottom: 100px;
}

.services-container {
  display: flex;
  flex-direction: column;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 72px;
}

.service-card {
  background-color: var(--gst-color-surface-dark);
  border: 1px solid var(--gst-color-border-dark);
  border-radius: var(--gst-radius-lg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  padding: 36px 30px;
  color: var(--gst-color-on-dark);
  transition: transform var(--gst-motion-fast) ease,
              box-shadow var(--gst-motion-fast) ease,
              border-color var(--gst-motion-fast) ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gst-color-primary-on-dark);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.service-num {
  font-family: var(--gst-font-heading);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.service-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.service-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gst-color-on-dark-2);
}

/* Linha do tempo "Como começamos" */
.timeline-block {
  margin-top: 16px;
  background: var(--gst-color-surface-alt);
  border-radius: var(--gst-radius-lg);
  padding: 48px 40px;
  border: 1px solid var(--gst-color-border);
}

.timeline-headline {
  font-family: var(--gst-font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--gst-color-ink);
  letter-spacing: -0.04em;
  margin-bottom: 40px;
  text-align: center;
}

.timeline-track-container {
  position: relative;
  width: 100%;
}

.timeline-line-base {
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: var(--gst-color-border);
  border-radius: 2px;
  z-index: 1;
}

.timeline-line-progress {
  position: absolute;
  top: 24px;
  left: 5%;
  width: 0%;
  max-width: 90%;
  height: 3px;
  background: var(--gst-color-primary);
  border-radius: 2px;
  z-index: 2;
  transition: width 0.15s ease-out;
}

.timeline-steps-list {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--gst-color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: border-color var(--gst-motion-fast) ease,
              background-color var(--gst-motion-fast) ease,
              transform var(--gst-motion-fast) ease,
              box-shadow var(--gst-motion-fast) ease;
}

.step-num-dot {
  font-family: var(--gst-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--gst-color-ink);
}

.timeline-step.active .step-marker {
  border-color: var(--gst-color-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(158, 42, 51, 0.15);
  transform: scale(1.08);
}

.timeline-step.active .step-num-dot {
  color: var(--gst-color-primary);
}

.timeline-step.completed .step-marker {
  background: var(--gst-color-primary);
  border-color: var(--gst-color-primary);
  color: #FFFFFF;
}

.timeline-step.completed .step-num-dot {
  color: #FFFFFF;
}

.step-info {
  max-width: 200px;
}

.step-title {
  font-family: var(--gst-font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--gst-color-ink);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gst-color-text-2);
}

/* --------------------------------------------------------------------------
   10. Dados e segurança (Faixa compacta)
   -------------------------------------------------------------------------- */
.section-security {
  position: relative;
  background-color: var(--gst-color-surface-alt);
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid var(--gst-color-border);
  border-bottom: 1px solid var(--gst-color-border);
}

.security-container {
  display: flex;
  flex-direction: column;
}

.section-title-sm {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.04em;
  color: var(--gst-color-ink);
  margin-bottom: 36px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  padding: 24px 20px;
  border-radius: var(--gst-radius-lg);
  border: 1px solid var(--gst-color-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform var(--gst-motion-fast) ease, box-shadow var(--gst-motion-fast) ease;
}

.security-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.security-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gst-color-surface-soft);
  color: var(--gst-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.security-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--gst-color-ink);
  letter-spacing: -0.02em;
}

.security-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gst-color-text-2);
}

/* --------------------------------------------------------------------------
   11. Palavra gigante "GST Bot"
   -------------------------------------------------------------------------- */
.section-wordmark {
  position: relative;
  background-color: var(--gst-color-surface-deep);
  padding: 56px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  width: 100%;
}

.wordmark-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  will-change: transform;
}

.giant-wordmark {
  font-family: var(--gst-font-heading);
  font-size: clamp(80px, 21vw, 320px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
  white-space: nowrap;
  display: block;
  width: 100%;
  text-align: center;
  opacity: 0.92;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   12. Dúvidas (Acordeão acessível)
   -------------------------------------------------------------------------- */
.section-faq {
  position: relative;
  background-color: var(--gst-color-surface);
  padding-top: 80px;
  padding-bottom: 100px;
}

.faq-container {
  max-width: var(--gst-container-default);
}

.faq-accordion {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--gst-color-border);
  border-radius: var(--gst-radius-md);
  transition: border-color var(--gst-motion-fast) ease,
              box-shadow var(--gst-motion-fast) ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(158, 42, 51, 0.4);
}

.faq-item.open {
  border-color: var(--gst-color-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.faq-question-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  background: none;
  cursor: pointer;
  border: none;
  font-family: var(--gst-font-heading);
  font-size: 17px;
  font-weight: 500;
  color: var(--gst-color-ink);
  letter-spacing: -0.02em;
  transition: color var(--gst-motion-fast) ease;
}

.faq-trigger:hover {
  color: var(--gst-color-primary);
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon .icon-line {
  position: absolute;
  background-color: var(--gst-color-ink);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
              background-color 0.2s ease;
}

.faq-icon .h-line {
  width: 14px;
  height: 2px;
}

.faq-icon .v-line {
  width: 2px;
  height: 14px;
}

/* Quando expandido, gira para formar um × */
.faq-trigger[aria-expanded="true"] .v-line {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-trigger[aria-expanded="true"] .h-line {
  transform: rotate(45deg);
  background-color: var(--gst-color-primary);
}

.faq-trigger[aria-expanded="true"] .icon-line:first-child::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 2px;
  background-color: var(--gst-color-primary);
  transform: rotate(90deg);
}

/* Regra técnica: transição suave de altura via grid-template-rows */
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  padding: 0 24px 24px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gst-color-text);
}

/* --------------------------------------------------------------------------
   13. CTA Final (id="contato") · fundo #111 com glow, dither e spotlight
   -------------------------------------------------------------------------- */
.section-cta {
  position: relative;
  background-color: var(--gst-color-surface-deep);
  padding-top: 110px;
  padding-bottom: 120px;
  overflow: hidden;
  color: var(--gst-color-on-dark);
}

.cta-glows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
}

.cta-glow-coral {
  top: 10%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gst-color-accent) 0%, rgba(226, 76, 74, 0) 70%);
}

.cta-glow-red {
  bottom: 10%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gst-color-deep-red) 0%, rgba(158, 42, 51, 0) 70%);
}

/* Spotlight interativo que segue o mouse */
.cta-mouse-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(244, 122, 114, 0.12) 0%, rgba(158, 42, 51, 0.04) 40%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.section-cta.spotlight-active .cta-mouse-spotlight {
  opacity: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.cta-card {
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

.cta-lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 540px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-cta-white {
  background: #FFFFFF;
  color: var(--gst-color-ink);
  padding: 15px 30px;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-cta-white:hover {
  background: #F5F5F5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-cta-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 15px 30px;
  font-size: 15px;
  backdrop-filter: blur(8px);
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Breakpoints Responsivos (360 / 390 / 768 / 1280 / 1440)
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .constellation-wrapper {
    max-width: 750px;
    height: 520px;
  }
  .services-cards-grid {
    gap: 16px;
  }
}

@media (max-width: 991px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 899px) {
  /* Constelação abaixo de 900px vira grade 3 colunas com centro compacto e fundo limpo */
  .section-integrations {
    background-color: #F0F2F4 !important;
  }
  .constellation-wrapper {
    height: auto;
    margin-top: 24px;
    flex-direction: column;
    background: transparent;
  }
  .center-pulse-glow {
    display: none !important;
  }
  .constellation-svg,
  .constellation-nodes {
    display: none;
  }
  .constellation-center {
    position: static;
    transform: none;
    margin-bottom: 20px;
  }
  .constellation-mobile-grid {
    display: grid;
    background: transparent;
  }
}

@media (max-width: 767px) {
  /* Linha do tempo vira vertical no mobile */
  .timeline-block {
    padding: 32px 20px;
  }
  .timeline-line-base {
    top: 24px;
    bottom: 24px;
    left: 24px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .timeline-line-progress {
    top: 24px;
    left: 24px;
    width: 3px;
    max-width: none;
    max-height: 85%;
    height: 0%;
    transition: height 0.15s ease-out;
  }
  .timeline-steps-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }
  .step-marker {
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .step-info {
    max-width: none;
  }

  /* Segurança */
  .security-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .constellation-mobile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   14. Modo Redução de Movimento (prefers-reduced-motion)
   -------------------------------------------------------------------------- */
@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;
  }

  .pulse-dot,
  .center-pulse-glow,
  .orbit-inner,
  .orbit-outer,
  .constellation-line,
  .app-node {
    animation: none !important;
    transform: none !important;
  }

  .giant-wordmark {
    transform: none !important;
  }

  .cta-mouse-spotlight {
    display: none !important;
  }

  .floating-card {
    animation: none !important;
    transform: none !important;
  }

  .models-chips-track {
    animation: none !important;
    flex-wrap: wrap !important;
    transform: none !important;
  }

  .js .word-reveal,
  .js .reveal,
  .js .chat-message {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .typing-indicator {
    display: none !important;
  }
}


/* ==========================================================================
   QA fixes 25/11 (rodada 3)
   ========================================================================== */
.topbar-wrapper :focus-visible { outline: 2px solid var(--gst-color-focus); outline-offset: 2px; }
.nav-link { color: var(--gst-color-text); }
.sheet-header .model-name { color: var(--gst-color-text-2); }
.app-window-body { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .app-window-body { grid-template-columns: 240px minmax(0, 1fr); } }
@media (min-width: 1280px) { .app-window-body { grid-template-columns: 240px minmax(0, 1fr) 280px; } }
.app-sidebar, .app-chat-area, .chat-messages { min-width: 0; }
.msg-bubble { max-width: min(480px, 85%); overflow-wrap: anywhere; }
span.btn-approve, span.btn-reject, span.mock-action-btn { display: inline-flex; align-items: center; justify-content: center; cursor: default; user-select: none; }
span.btn-portal-submit { cursor: default; user-select: none; }
.bot-short { display: none; }
@media (max-width: 899px) {
  .bot-item { width: 68px; }
  .bot-item .bot-name { display: none; }
  .bot-short { display: block; font-size: 11px; font-weight: 500; color: var(--gst-color-on-dark-2); white-space: nowrap; }
  .bot-item.active .bot-short { color: #FFFFFF; font-weight: 700; }
}
.status-pode { color: #146238; }
.status-nunca { color: #A32624; }
.status-aprovacao { color: #7A4B00; }
@media (max-width: 899px) {
  .sidebar-bots-list { overflow-x: auto; gap: 8px; justify-content: flex-start; }
  .bot-item { width: 72px; padding: 6px 4px; }
}
#heroAppStage .chat-messages, #heroAppStage .computer-checklist, #heroAppStage #heroComputerChecklist { transition: opacity 0.4s ease; }
#heroAppStage.is-resetting .chat-messages, #heroAppStage.is-resetting #heroComputerChecklist { opacity: 0; }
/* Cartões flutuantes ancorados na janela, sem sair da tela nem cobrir texto */
.float-left-top { top: -22px; left: -28px; transform: none; animation: floatCard 6s ease-in-out infinite alternate; }
.float-right-mid { top: 60%; right: -28px; transform: none; animation: floatCard 6s ease-in-out 1.5s infinite alternate; }
.float-right-bottom { bottom: -26px; right: 36px; }
@media (prefers-reduced-motion: reduce) { .floating-card { animation: none !important; } }
.portal-step-counter, .portal-mock-user, .upload-text, .portal-status-line { color: #6B6B6B !important; }
.upload-icon { font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #9E2A33; border: 1px solid rgba(158,42,51,.35); border-radius: 4px; padding: 2px 5px; }
@media (max-width: 767px) { .portal-mock-user, .portal-step-counter { display: none; } }
@media (max-width: 767px) { .demo-mouse-cursor { display: none !important; } }


/* ==========================================================================
   QA Round 2 Fixes (P0 / P1 / P2)
   ========================================================================== */

/* P0-2: Título do card GST no comparativo mobile */
.compare-mobile-highlight .mobile-card-title {
  color: #FFFFFF;
}

/* P1-4 + P2-5: Contraste AA e tipografia legível (>= 12px nos rótulos de UI) */
.th-highlight-badge,
.mobile-highlight-badge {
  background: #9E2A33;
  color: #FFFFFF;
  font-size: 12px;
}

.hero-app-caption {
  color: #AEB3BD;
}

.gov-sheet-caption {
  color: var(--gst-color-text-3);
  margin-top: 12px;
}

.chat-status-text {
  color: #38D97D;
}

.brand-badge,
.app-access-badge,
.segment-opt span,
.action-status {
  font-size: 12px;
}

.hero-lead,
.section-lead {
  text-wrap: balance;
}

/* P2-L2: Hover perceptível nos CTAs principais */
.btn {
  transition: background-color 150ms ease,
              color 150ms ease,
              border-color 150ms ease,
              transform 150ms ease,
              box-shadow 150ms ease;
}

.btn-hero-white:hover,
.btn-cta-white:hover,
.btn-topbar:hover {
  background: #9E2A33;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(158, 42, 51, 0.28);
}

/* P1-5 + P1-L1: Alvos de toque >= 44px e tap sem atraso */
.mobile-menu-btn {
  width: 44px;
  height: 44px;
  touch-action: manipulation;
}

.mobile-nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .btn-topbar {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Abas de #bots quebram em tablet (768..991px); <=767px usa trilho horizontal com snap */
  .bot-tabs-nav {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .story-step-btn {
    min-height: 44px;
    justify-content: center;
  }

  .footer-nav-list {
    gap: 4px 20px;
  }

  .footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* P1-6: Focus ring visível nos controles segmentados de governança */
.segment-opt:has(input:focus-visible) {
  outline: 2px solid var(--gst-color-focus);
  outline-offset: 2px;
  border-radius: var(--gst-radius-pill);
}

/* P0-3: Inputs e upload do mock do portal contidos dentro da coluna em 360px */
.portal-mock-form,
.portal-fields-grid,
.mock-field-group {
  min-width: 0;
}

.mock-input,
.mock-upload-box {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 400px) {
  .portal-mock-form {
    padding: 16px;
  }
}

/* P1-R2-1 + P0-4: nomes por extenso no desktop; ellipsis só em <=480px */
.mock-apps-list {
  width: auto;
  max-width: 100%;
  grid-template-columns: repeat(2, max-content);
}

.mock-app-item {
  min-width: 0;
}

.mock-app-icon {
  flex-shrink: 0;
}

.mock-app-name {
  flex: 0 1 auto;
  min-width: 0;
}

@media (max-width: 480px) {
  .feature-mini-ui {
    padding: 14px;
  }

  .mock-apps-list {
    gap: 6px;
    width: 100%;
  }

  .mock-app-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
    padding: 6px 8px;
  }

  .mock-app-text {
    flex: 1;
    min-width: 0;
    text-align: left;
    display: flex;
    align-items: center;
  }

  .mock-app-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mock-app-status {
    margin-left: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 390px) {
  .mock-apps-list {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .mock-app-name {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  .feature-mini-ui.mini-ui-apps {
    height: auto;
    min-height: 200px;
  }
}

/* P2-5 residual: tipo dos mocks >= 12px e "Follow-up" sem quebra */
.mock-app-status,
.mock-browser-bar,
.mock-action-btn,
.mock-app-badge,
.mock-approval-tag,
.mock-btn-permitir,
.mock-btn-negar,
.calendar-days-row,
.cal-block {
  font-size: 12px;
}

.mock-app-status {
  flex-shrink: 0;
}

.mock-calendar-schedule {
  width: 100%;
  max-width: 100%;
}

.cal-block {
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
  padding: 6px 4px;
  line-height: 1.2;
  overflow: visible;
}

.cal-time,
.cal-event {
  display: block;
  white-space: nowrap;
}

.cal-time {
  font-weight: 700;
}

/* Em cartões estreitos (2 colunas da grade a 768, e mobile),
   mostra só os 3 dias com evento para "Follow-up" caber em 12px. */
@media (max-width: 1099px) {
  .calendar-days-row span:nth-child(even),
  .calendar-grid-cells .cal-block:nth-child(even) {
    display: none;
  }

  .calendar-days-row,
  .calendar-grid-cells {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Empilhamento nome/status só na faixa 481-991px (cards em 2 colunas, ex.: 768). */
@media (min-width: 481px) and (max-width: 991px) {
  .mock-app-item {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
  }

  .mock-app-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }

  .mock-app-name,
  .mock-app-status {
    white-space: nowrap;
  }
}

/* P2-2: Cartão flutuante inferior direito sem encostar na curva côncava em 1280px */
.float-right-bottom {
  bottom: -12px;
  right: 36px;
}

@media (min-width: 1280px) {
  .section-hero {
    padding-bottom: 136px;
  }
}

/* P0-1 + P1-1: Reduced-motion sem bloco vermelho na timeline e sem corte no marquee */
@media (prefers-reduced-motion: reduce) {
  .models-chips-track {
    width: 100% !important;
    justify-content: center !important;
  }

  .models-marquee-wrapper::before,
  .models-marquee-wrapper::after {
    display: none !important;
  }

  .timeline-line-progress {
    height: 3px !important;
    width: 90% !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .timeline-line-progress {
    width: 3px !important;
    height: 85% !important;
  }
}

/* ==========================================================================
   R7 + R8 — Composição: ritmo claro/grafite, atmosfera D1, layouts variados
   ========================================================================== */

/* Cabeçalhos alinhados à esquerda (deixam de ser todos centralizados) */
.section-header--start {
  text-align: left;
  max-width: 760px;
}

.section-header--start .section-lead {
  margin-left: 0;
  margin-right: 0;
}

/* Mesh suave D1 + noise sutil para evitar banding */
.section-models,
.section-compare,
.section-bot-tabs,
.section-features,
.section-governance,
.section-integrations,
.section-services,
.section-security,
.section-faq {
  position: relative;
}

.section-models::before,
.section-compare::before,
.section-bot-tabs::before,
.section-features::before,
.section-governance::before,
.section-integrations::before,
.section-services::before,
.section-security::before,
.section-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: overlay;
  opacity: 0.7;
}

.section-models::after,
.section-compare::after,
.section-bot-tabs::after,
.section-features::after,
.section-governance::after,
.section-integrations::after,
.section-services::after,
.section-security::after,
.section-faq::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 58% 44% at 8% 0%, rgba(226, 76, 74, 0.11), transparent 64%),
    radial-gradient(ellipse 52% 46% at 96% 12%, rgba(158, 42, 51, 0.095), transparent 60%),
    radial-gradient(ellipse 42% 32% at 70% 100%, rgba(226, 76, 74, 0.065), transparent 58%);
}

/* Grid de pontos visível e discreto em Bots, Features, Integrações e FAQ */
.section-bot-tabs::after,
.section-features::after,
.section-integrations::after,
.section-faq::after {
  background-image:
    radial-gradient(ellipse 58% 44% at 8% 0%, rgba(226, 76, 74, 0.11), transparent 64%),
    radial-gradient(ellipse 52% 46% at 96% 12%, rgba(158, 42, 51, 0.095), transparent 60%),
    radial-gradient(circle, rgba(17, 17, 17, 0.075) 1px, transparent 1.25px);
  background-size: auto, auto, 26px 26px;
  background-position: 0 0, 0 0, 0 0;
}

.section-models .container,
.section-models .models-container,
.section-compare .container,
.section-bot-tabs .container,
.section-features .container,
.section-governance .container,
.section-integrations .container,
.section-services .container,
.section-security .container,
.section-faq .container {
  position: relative;
  z-index: 1;
}

/* Hero floating cards: dots de status legíveis sobre fundo escuro #1F1F1F */
.float-icon-dot.bg-amber { background-color: var(--gst-color-warning-on-dark); }
.float-icon-dot.bg-coral { background-color: var(--gst-color-primary-on-dark); }
.float-icon-dot.bg-green { background-color: #38D97D; }

/* Bots no claro (#FFFFFF): dots de aba semânticos >= 3:1 tanto em repouso quanto na aba ativa */
.bot-tab .tab-dot.bg-coral,
.bot-tab .tab-dot.bg-red { background-color: var(--gst-color-primary); }
.bot-tab .tab-dot.bg-amber { background-color: #945B00; }
.bot-tab .tab-dot.bg-green { background-color: var(--gst-color-approve); }
.bot-tab .tab-dot.bg-purple { background-color: var(--gst-color-info); }

.bot-tab.active .tab-dot.bg-coral,
.bot-tab.active .tab-dot.bg-red,
.bot-tab[aria-selected="true"] .tab-dot.bg-coral,
.bot-tab[aria-selected="true"] .tab-dot.bg-red { background-color: var(--gst-color-primary-on-dark); }
.bot-tab.active .tab-dot.bg-amber,
.bot-tab[aria-selected="true"] .tab-dot.bg-amber { background-color: var(--gst-color-warning-on-dark); }
.bot-tab.active .tab-dot.bg-green,
.bot-tab[aria-selected="true"] .tab-dot.bg-green { background-color: #38D97D; }
.bot-tab.active .tab-dot.bg-purple,
.bot-tab[aria-selected="true"] .tab-dot.bg-purple { background-color: var(--gst-color-info-on-dark); }

/* Mobile (< 767px): abas de bots em scroller horizontal com snap, fade 24px e alvo >= 44px */
@media (max-width: 767px) {
  .bot-tabs-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 24px 8px;
    margin-inline: -24px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  }

  .bot-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .bot-tab {
    flex: 0 0 auto;
    min-height: 44px;
    scroll-snap-align: start;
  }
}

/* Painel de bots claro com borda oficial e profundidade */
.section-bot-tabs .bot-tab-panels {
  background-color: #FFFFFF;
  color: var(--gst-color-text);
  border: 1px solid var(--gst-color-border);
  border-radius: var(--gst-radius-lg);
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.08);
}

.section-bot-tabs .bot-panel {
  color: var(--gst-color-text);
  background-color: #FFFFFF;
}

/* Recursos: grade irregular no desktop (7/5 + 5/7) e janela mais larga no cartão 1 */
@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
  }

  .features-grid .feature-card:nth-child(1),
  .features-grid .feature-card:nth-child(4) {
    grid-column: span 7;
  }

  .features-grid .feature-card:nth-child(2),
  .features-grid .feature-card:nth-child(3) {
    grid-column: span 5;
  }

  .features-grid .feature-card:nth-child(1) .feature-mini-ui,
  .features-grid .feature-card:nth-child(4) .feature-mini-ui {
    height: 220px;
  }

  .feature-card:nth-child(1) .mock-browser-window {
    max-width: 420px;
  }
}

/* FAQ em duas colunas: pergunta sticky à esquerda, acordeão à direita */
@media (min-width: 992px) {
  .faq-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
    gap: 56px 72px;
    align-items: start;
  }

  .faq-layout .section-header {
    margin-bottom: 0;
    max-width: none;
    position: sticky;
    top: 112px;
  }

  .faq-layout .faq-accordion {
    margin-top: 0;
  }
}

/* Segurança: título à esquerda, grade 2x2 à direita acima de 992px */
@media (min-width: 992px) {
  .security-container--split {
    display: grid;
    grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
    gap: 40px 56px;
    align-items: start;
  }

  .security-container--split .section-header {
    margin-bottom: 0;
    max-width: none;
  }

  .security-container--split .section-title-sm {
    margin-bottom: 0;
  }

  .security-container--split .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 991px) {
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
}

/* Wordmark fundida como marca d'água no topo do #contato (substitui faixa isolada) */
.section-cta {
  padding-top: 68px;
  padding-bottom: 112px;
}

.cta-watermark {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  margin-bottom: -12px;
  will-change: transform;
}

.cta-watermark-text {
  font-family: var(--gst-font-heading);
  font-size: clamp(72px, 17vw, 230px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
  white-space: nowrap;
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(180deg, rgba(244, 122, 114, 0.14) 0%, rgba(244, 122, 114, 0.025) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (max-width: 767px) {
  .section-cta {
    padding-top: 56px;
    padding-bottom: 92px;
  }

  .cta-watermark {
    margin-bottom: 10px;
  }
}

/* Cartões de primeiro nível unificados em 20px (--gst-radius-lg) com profundidade */
.feature-card,
.security-item,
.service-card,
.bot-card-sheet,
.bot-tab-panels,
.timeline-block {
  border-radius: var(--gst-radius-lg);
}

.security-item {
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.06);
}

.bot-card-sheet {
  box-shadow: 0 22px 56px rgba(17, 17, 17, 0.1);
}

.faq-item {
  border-radius: var(--gst-radius-md);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.03);
}

.faq-item.open {
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
}

/* Ritmo vertical equilibrado no desktop */
@media (min-width: 992px) {
  .section-compare,
  .section-governance,
  .section-services {
    padding-top: 112px;
    padding-bottom: 112px;
  }

  .section-features {
    padding-top: 108px;
    padding-bottom: 108px;
  }
}

.section-models {
  padding: 36px 0 48px;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .feature-card:hover,
  .security-item:hover {
    transform: none;
  }
}

/* ==========================================================================
   GST Bot v3.1 Lockups & Animação Ponto -> Cápsula (1x no primeiro load)
   ========================================================================== */
.topbar-nav {
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 44px;
}

.brand-lockup-anim {
  height: 44px;
  width: auto;
  display: block;
}

.brand-lockup-typo {
  display: none;
  height: 32px;
  width: auto;
}

.brand-lockup-icon {
  display: none;
  height: 22px;
  width: 22px;
}

@keyframes gstbot-grow {
  0%   { x: 273.140px; y: 80.000px; width: 20.000px; height: 20.000px; rx: 10.000px; ry: 10.000px; }
  100% { x: 273.140px; y: 50.000px; width: 100.394px; height: 52.000px; rx: 26.000px; ry: 26.000px; }
}

@keyframes gstbot-bot {
  0%, 55% { opacity: 0; }
  100%    { opacity: 1; }
}

.brand-lockup-anim .gstbot-pill {
  animation: gstbot-grow 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s 1 both;
}

.brand-lockup-anim .gstbot-word {
  animation: gstbot-bot 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s 1 both;
}

.footer-logo.footer-lockup {
  width: 210px;
  max-width: 100%;
  height: auto;
  margin-bottom: 14px;
}

/* Regras de escala mínima v3.1: <30px arte -> tipográfico; <24px -> só ícone */
@media (max-width: 350px) {
  .brand-lockup-anim { display: none; }
  .brand-lockup-typo { display: block; }
}

@media (max-width: 280px) {
  .brand-lockup-typo { display: none; }
  .brand-lockup-icon { display: block; }
}

.brand-lockup-anim.is-settled .gstbot-pill,
.brand-lockup-anim.is-settled .gstbot-word {
  animation: none !important;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .brand-lockup-anim .gstbot-pill,
  .brand-lockup-anim .gstbot-word {
    animation: none !important;
    opacity: 1;
  }
}

/* ==========================================================================
   Hero Interactive Overrides (bot-item buttons, mascot btn, action buttons)
   ========================================================================== */
button.bot-item .bot-name,
button.bot-item .bot-sub {
  display: block;
}

button.bot-item {
  background: transparent;
  border: 1px solid transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

button.bot-item:focus-visible {
  outline: 2px solid #F47A72;
  outline-offset: 2px;
}

/* P1-R8-1: no mobile, só avatar + rótulo curto; 5 itens cabem sem corte */
@media (max-width: 899px) {
  .sidebar-bots-list {
    overflow-x: auto;
    justify-content: space-between;
    gap: 4px;
    padding: 4px 2px 8px;
  }
  button.bot-item {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    max-width: 72px;
    padding: 6px 2px;
    text-align: center;
  }
  button.bot-item .bot-info {
    width: 100%;
    min-width: 0;
    display: block;
  }
  button.bot-item .bot-name,
  button.bot-item .bot-sub {
    display: none;
  }
  button.bot-item .bot-short {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    letter-spacing: -0.02em;
    font-weight: 500;
    color: var(--gst-color-on-dark-2);
    text-align: center;
  }
  button.bot-item.active .bot-short {
    color: #FFFFFF;
    font-weight: 700;
  }
}
@media (max-width: 369px) {
  button.bot-item .bot-short {
    font-size: 9.5px;
    letter-spacing: -0.04em;
  }
}

button.hero-mascot-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

button.hero-mascot-btn:focus-visible {
  outline: 2px solid #F47A72;
  outline-offset: 2px;
}

button.btn-approve,
button.btn-reject {
  border: none;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button.btn-approve:focus-visible,
button.btn-reject:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

button.btn-reject.rejected {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

/* ==========================================================================
   Personagens GST em SVG/CSS (idle, blink, typing, working, paused, hover, click)
   ========================================================================== */
.gst-agent {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.gst-agent--sm { width: 32px; height: 32px; border-radius: 10px; }
.gst-agent--md { width: 40px; height: 40px; border-radius: 12px; }
.gst-agent--lg {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #202026;
  padding: 4px;
  cursor: pointer;
}

.gst-agent--lg:focus-visible {
  outline: 2px solid #F47A72;
  outline-offset: 2px;
}

.gst-agent-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.gst-agent .agent-happy-eyes,
.gst-agent .agent-typing-dots {
  opacity: 0;
  transition: opacity 0.16s ease;
}

@keyframes gstAgentFloat {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-2.2px); }
}

@keyframes gstAgentBlink {
  0%, 44%, 48%, 94%, 98%, 100% { transform: scaleY(1); }
  46%, 96% { transform: scaleY(0.12); }
}

@keyframes gstAgentTyping {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2.8px); }
}

@keyframes gstAgentPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.16); }
}

@keyframes gstAgentDotBounce {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40%           { opacity: 1; transform: translateY(-0.75px); }
}

@keyframes gstAgentWorkBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30%      { transform: translateY(-2.5px) rotate(-3deg); }
  70%      { transform: translateY(-1px) rotate(3deg); }
}

@keyframes gstAgentReact {
  0%   { transform: scale(1) rotate(0deg); }
  35%  { transform: scale(1.12) translateY(-4px) rotate(-5deg); }
  70%  { transform: scale(1.06) translateY(-1px) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.gst-agent .agent-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: gstAgentBlink 4.6s ease-in-out infinite;
}

.gst-agent.is-idle .agent-body,
.gst-agent.is-idle .agent-visor,
.gst-agent.is-idle .agent-eyes,
.gst-agent.is-idle .agent-antenna {
  animation: gstAgentFloat 3.4s ease-in-out infinite;
}

.gst-agent.is-idle .agent-eyes {
  animation: gstAgentBlink 4.6s ease-in-out infinite;
}

/* Hover: happy eyes + slight lift */
.gst-agent:hover,
.bot-item:hover .gst-agent {
  transform: translateY(-2px) scale(1.05);
}

.gst-agent:hover .agent-eyes,
.gst-agent.is-reacting .agent-eyes,
.bot-item:hover .gst-agent .agent-eyes {
  opacity: 0;
}

.gst-agent:hover .agent-happy-eyes,
.gst-agent.is-reacting .agent-happy-eyes,
.bot-item:hover .gst-agent .agent-happy-eyes {
  opacity: 1;
}

/* Click / React */
.gst-agent.is-reacting {
  animation: gstAgentReact 0.65s cubic-bezier(0.22, 1, 0.36, 1) 1;
}

/* Typing state */
.gst-agent.is-typing .agent-mouth { opacity: 0; }
.gst-agent.is-typing .agent-typing-dots { opacity: 1; }
.gst-agent.is-typing .agent-typing-dots circle:nth-child(1) { animation: gstAgentDotBounce 0.9s infinite 0s; }
.gst-agent.is-typing .agent-typing-dots circle:nth-child(2) { animation: gstAgentDotBounce 0.9s infinite 0.15s; }
.gst-agent.is-typing .agent-typing-dots circle:nth-child(3) { animation: gstAgentDotBounce 0.9s infinite 0.3s; }
.gst-agent.is-typing .agent-paw-l { animation: gstAgentTyping 0.45s ease-in-out infinite; }
.gst-agent.is-typing .agent-paw-r { animation: gstAgentTyping 0.45s ease-in-out infinite 0.22s; }

/* Working state */
.gst-agent.is-working .gst-agent-svg {
  animation: gstAgentWorkBob 1.35s ease-in-out infinite;
}
.gst-agent.is-working .agent-antenna-tip {
  transform-box: fill-box;
  transform-origin: center;
  animation: gstAgentPulse 1.1s ease-in-out infinite;
}

/* Paused state */
.gst-agent.is-paused {
  opacity: 0.72;
  filter: saturate(0.65);
}
.gst-agent.is-paused .agent-eyes {
  animation: none;
  transform: scaleY(0.32);
}

@media (prefers-reduced-motion: reduce) {
  .gst-agent,
  .gst-agent .agent-eyes,
  .gst-agent .agent-body,
  .gst-agent .agent-visor,
  .gst-agent .agent-antenna,
  .gst-agent .agent-paw,
  .gst-agent .gst-agent-svg,
  .gst-agent .agent-antenna-tip,
  .gst-agent.is-reacting,
  .gst-agent.is-typing .agent-typing-dots circle {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   #bots Interactive Workbench (Personagens, Modelo, Integrações, Rotina, Prompts)
   ========================================================================== */
.agent-stage-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #17171B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.agent-stage-copy {
  min-width: 0;
  flex: 1;
}

.agent-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.agent-stage-card .panel-badge-pill {
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.agent-stage-card .badge-dot {
  background-color: var(--gst-color-primary-on-dark, #F47A72);
}
.agent-stage-card .badge-dot.bg-coral,
.agent-stage-card .badge-dot.bg-red { background-color: #F47A72; }
.agent-stage-card .badge-dot.bg-amber { background-color: #F5B841; }
.agent-stage-card .badge-dot.bg-green { background-color: #38D97D; }
.agent-stage-card .badge-dot.bg-purple { background-color: #8AA4C4; }

.agent-state-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #282830;
  color: #F5F5F5;
}

.agent-state-pill.state-working {
  background: #143D28;
  color: #82F0B0;
}

.agent-state-pill.state-paused {
  background: #3D2B10;
  color: #F8C45E;
}

.agent-speech {
  font-size: 13px;
  line-height: 1.45;
  color: #E5E7EB;
  background: #23232A;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.panel-controls-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.control-block {
  background: #FFFFFF;
  border: 1px solid var(--gst-color-border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.routine-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F4F5F7;
  border: 1px solid #D5D9E0;
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  min-height: 40px;
  width: fit-content;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #111111;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.routine-switch:hover {
  border-color: #9E2A33;
}

.routine-switch:focus-visible {
  outline: 2px solid #9E2A33;
  outline-offset: 2px;
}

.routine-switch-track {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #6B7280;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.routine-switch[aria-checked="true"] .routine-switch-track {
  background: #1B7F48;
}

.routine-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  transition: transform 0.2s ease;
}

.routine-switch[aria-checked="true"] .routine-switch-thumb {
  transform: translateX(16px);
}

.model-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-pick-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #D0D5DD;
  background: #FFFFFF;
  color: #111111;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.model-pick-btn:hover {
  border-color: #9E2A33;
}

.model-pick-btn.active {
  background: #111111;
  border-color: #111111;
  color: #FFFFFF;
}

.model-pick-btn.active .tool-logo-xs {
  filter: brightness(0) invert(1);
}

.model-pick-btn:focus-visible {
  outline: 2px solid #9E2A33;
  outline-offset: 2px;
}

.tool-toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid #D0D5DD;
  background: #FFFFFF;
  color: #374151;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tool-toggle-chip.active {
  background: #FDF2F2;
  border-color: #9E2A33;
  color: #7A1A22;
}

.tool-toggle-chip:focus-visible {
  outline: 2px solid #9E2A33;
  outline-offset: 2px;
}

.tool-logo-xs {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Mini-chat interactive elements */
.mini-msg-item.from-user {
  align-self: flex-end;
  max-width: 85%;
}

.mini-msg-item.from-user .mini-msg-bubble {
  background: #111111;
  color: #FFFFFF;
  border-radius: 14px 14px 4px 14px;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.45;
}

.mini-typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  border-radius: 14px 14px 14px 4px;
  background: #FFFFFF;
  border: 1px solid var(--gst-color-border);
}

.mini-typing-bubble span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9E2A33;
  animation: gstAgentDotBounce 0.9s infinite;
}

.mini-typing-bubble span:nth-child(2) { animation-delay: 0.15s; }
.mini-typing-bubble span:nth-child(3) { animation-delay: 0.3s; }

.mini-approval-card {
  background: #FFFDF8;
  border: 1px solid #D99B26;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-approval-card.is-approved {
  background: #F2FBF6;
  border-color: #1B7F48;
}

.mini-approval-card.is-denied {
  background: #F6F7F9;
  border-color: #9CA3AF;
}

.mini-approval-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #7D4E00;
}

.mini-approval-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #111111;
  line-height: 1.4;
}

.mini-approval-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.mini-approve-btn,
.mini-deny-btn {
  padding: 8px 14px;
  min-height: 38px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mini-approve-btn {
  background: #166534;
  color: #FFFFFF;
  border: 1px solid #166534;
}

.mini-approve-btn:hover {
  background: #14532D;
}

.mini-deny-btn {
  background: #FFFFFF;
  color: #111111;
  border: 1px solid #9CA3AF;
}

.mini-deny-btn:hover {
  border-color: #111111;
}

.mini-approve-btn:focus-visible,
.mini-deny-btn:focus-visible {
  outline: 2px solid #9E2A33;
  outline-offset: 2px;
}

.mini-approval-outcome {
  font-size: 12.5px;
  font-weight: 700;
}

.mini-approval-outcome.outcome-ok { color: #166534; }
.mini-approval-outcome.outcome-no { color: #374151; }

.mini-prompt-bar {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-prompt-title {
  font-size: 12px;
  font-weight: 700;
  color: #D1D5DB;
}

.mini-prompt-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-prompt-btn {
  padding: 8px 12px;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #D0D5DD;
  background: #FFFFFF;
  color: #111111;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.demo-prompt-btn:hover {
  border-color: #9E2A33;
  background: #FFF7F7;
}

.demo-prompt-btn:focus-visible {
  outline: 2px solid #9E2A33;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .routine-switch,
  .model-pick-btn,
  .tool-toggle-chip,
  .mini-approve-btn,
  .mini-deny-btn,
  .demo-prompt-btn {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mini-typing-bubble span,
  .routine-switch-thumb {
    animation: none !important;
    transition: none !important;
  }
}


/* R9: centro da constelação com ícone 07 (quadrado) */
.center-logo {
  width: 40px;
  height: 40px;
}

/* R9: prompts desabilitados enquanto a resposta roda */
.demo-prompt-btn:disabled,
.demo-prompt-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* R9: botão "Simular novamente" após Aprovar/Negar */
.mini-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 8px 12px;
  min-height: 38px;
  border-radius: 9px;
  border: 1px solid #9CA3AF;
  background: #FFFFFF;
  color: #111111;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.mini-reset-btn:hover {
  border-color: #111111;
}
.mini-reset-btn:focus-visible {
  outline: 2px solid #F47A72;
  outline-offset: 2px;
}

/* R9: aviso de integrações vazias */
.tools-empty-hint {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #7A4B00;
  background: #FFF8E8;
  border: 1px solid #D99B26;
  border-radius: 10px;
  padding: 8px 12px;
}
.tools-empty-hint[hidden] { display: none; }

@media (max-width: 767px) {
  .mini-reset-btn { min-height: 44px; }
}
