/* ==========================================================================
   LEGIS.LA — DESIGN SYSTEM & ESTILOS GLOBAIS
   Plataforma Integrada para o Poder Legislativo Municipal
   Sistemas: Legis Portal (CMS) · Legis Processo (Legislativo) · Legis Gabinete (CRM)
   ========================================================================== */

:root {
  /* Cores Principais */
  --ink: #0c201f;
  --ink-dark: #071514;
  --ink-light: #153533;
  --ink-surface: #102927;
  
  --paper: #f8f6f0;
  --paper-card: #ffffff;
  --paper-subtle: #f0ebe0;
  --paper-muted: #e7e2d4;
  
  --line: rgba(12, 32, 31, 0.12);
  --line-strong: rgba(12, 32, 31, 0.22);
  --line-dark: rgba(248, 246, 240, 0.14);
  
  /* Cores de Sinalização & Identidade */
  --lime: #d8f85a;
  --lime-hover: #c4e443;
  --lime-text: #0c201f;
  
  --orange: #ff5533;
  --orange-light: #fff1ee;
  
  --teal: #14b8a6;
  --teal-light: #2dd4bf;
  --teal-surface: #e6f7f5;
  
  --amber: #f59e0b;
  --amber-surface: #fef3c7;
  
  --olive: #92a884;
  --olive-surface: #eef3eb;
  
  --success: #15803d;
  --success-bg: #dcfce7;
  --danger: #b91c1c;
  --danger-bg: #fee2e2;
  --info: #0284c7;
  --info-bg: #e0f2fe;

  --text-muted: #576d68;
  --text-muted-dark: #a0b6b0;

  /* Tipografia */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'DM Mono', Consolas, Monaco, monospace;

  /* Espaçamentos e Geometria */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-retro: 5px 5px 0 var(--ink);
  --shadow-retro-orange: 5px 5px 0 var(--orange);
}

/* Modo Alto Contraste */
[data-contrast="high"] {
  --ink: #000000;
  --paper: #ffffff;
  --paper-card: #ffffff;
  --paper-subtle: #f0f0f0;
  --line: #000000;
  --line-strong: #000000;
  --text-muted: #222222;
  --shadow-retro: 5px 5px 0 #000000;
}

/* Reset Universal & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
  text-size-adjust: 100%;
}

section[id], div[id] {
  scroll-margin-top: 90px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Efeito de granulação de papel no fundo */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.04;
  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)'/%3E%3C/svg%3E");
}

/* Acessibilidade: Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 20px;
  font-weight: 700;
  z-index: 10000;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 15px;
}

/* Tipografia Comum */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: inherit;
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

em {
  font-style: italic;
  font-weight: inherit;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--orange);
  border-radius: var(--radius-full);
}

.section-kicker.lime-kicker {
  color: var(--lime);
}
.section-kicker.lime-kicker::before {
  background-color: var(--lime);
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 50px);
  padding-right: clamp(20px, 4vw, 50px);
}

.section-pad {
  padding-top: clamp(70px, 8vw, 130px);
  padding-bottom: clamp(70px, 8vw, 130px);
}

/* ==========================================================================
   BARRA SUPERIOR (HEADER & NAVIGATION)
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(248, 246, 240, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.topbar-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  position: relative;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-domain-badge {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  margin-left: 4px;
  align-self: flex-start;
  margin-top: 4px;
}

.footer-logo-img {
  height: 50px;
  filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.35));
}

.brand-svg {
  width: 180px;
  height: auto;
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  margin-left: auto;
  margin-right: 16px;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--ink);
  font-size: clamp(0.82rem, 0.9vw, 0.88rem);
  font-weight: 600;
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--orange);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--orange);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Botões do Sistema */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--lime);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
  background-color: var(--lime-hover);
}

.btn-dark {
  background-color: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--orange);
}
.btn-dark:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--orange);
  background-color: var(--ink-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background-color: var(--ink);
  color: var(--paper);
}

.btn-contrast-toggle {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 1.15rem;
  font-family: var(--font-mono);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.btn-contrast-toggle:hover {
  background-color: var(--paper-subtle);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink);
}

/* Menu Mobile */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper);
  padding: 24px;
  border-top: 1px solid var(--line);
  z-index: 99;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav .nav-link {
  font-size: 1.15rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  background-color: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--line-strong);
}

/* Círculos de órbita decorativos no fundo */
.hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px dashed rgba(216, 248, 90, 0.15);
  top: -200px;
  right: -150px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 950px;
  height: 950px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  top: -300px;
  right: -250px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-badge-domain {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(216, 248, 90, 0.12);
  border: 1px solid rgba(216, 248, 90, 0.35);
  color: var(--lime);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}
.badge-logo-icon {
  width: 16px;
  height: auto;
  display: block;
}
.hero-badge-domain span.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-title em {
  color: var(--lime);
  font-style: normal;
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.6;
  color: #cfdad5;
  margin-bottom: 34px;
}

.hero-system-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #ffffff;
}

.hero-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--lime);
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--lime);
}

.hero-subtitle strong {
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}

.hero-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(248, 246, 240, 0.15);
}

.hero-meta-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.hero-meta-item b {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   HERO WIDGET: TELEMETRIA DO PLENÁRIO AO VIVO (INTERATIVO)
   ========================================================================== */

.hero-visual-card {
  position: relative;
}

.plenario-window {
  background-color: #fcfbf8;
  color: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.4), 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.plenario-header {
  background-color: var(--ink-dark);
  color: var(--paper);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.plenario-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
}
.window-dot.dot-red { background-color: #ef4444; }
.window-dot.dot-yellow { background-color: #f59e0b; }
.window-dot.dot-green { background-color: #10b981; }

.plenario-session-name {
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.plenario-live-pill {
  background-color: var(--orange);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.plenario-live-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  background-color: #fff;
  border-radius: 50%;
}

.plenario-body {
  padding: 20px;
}

.plenario-bill-banner {
  background: var(--paper-subtle);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.bill-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.bill-type-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
}
.bill-status-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--amber-surface);
  color: #92400e;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.bill-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.bill-summary {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Painel de Votação Interativo */
.voting-dashboard {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 18px;
}

.voting-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.voting-instruction {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.voting-quorum {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
}

.voters-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.voter-token {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  text-align: center;
  background-color: var(--paper-card);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.voter-token:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.voter-token .voter-initials {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  display: block;
}
.voter-token .voter-party {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
}
.voter-token .voter-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 4px;
  padding: 1px 4px;
  border-radius: 2px;
  display: block;
}

/* Estados de Voto */
.voter-token[data-vote="sim"] {
  border-color: #22c55e;
  background-color: #f0fdf4;
}
.voter-token[data-vote="sim"] .voter-badge {
  background-color: #22c55e;
  color: #fff;
}

.voter-token[data-vote="nao"] {
  border-color: #ef4444;
  background-color: #fef2f2;
}
.voter-token[data-vote="nao"] .voter-badge {
  background-color: #ef4444;
  color: #fff;
}

.voter-token[data-vote="abstencao"] {
  border-color: #f59e0b;
  background-color: #fffbeb;
}
.voter-token[data-vote="abstencao"] .voter-badge {
  background-color: #f59e0b;
  color: #fff;
}

.voting-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.vote-tally {
  display: flex;
  gap: 12px;
}
.tally-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}
.tally-item.sim { color: var(--success); }
.tally-item.nao { color: var(--danger); }
.tally-item.abs { color: var(--amber); }

.vote-final-decision {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: var(--success-bg);
  color: var(--success);
}

/* Cronômetro e Orador de Tribuna */
.speaker-bar {
  background-color: var(--ink-surface);
  color: var(--paper);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.speaker-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.speaker-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--teal);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.speaker-details small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--lime);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.speaker-details b {
  font-size: 0.85rem;
  color: #fff;
}

.speaker-timer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.timer-digits {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lime);
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(216, 248, 90, 0.3);
}
.btn-timer-ctrl {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  cursor: pointer;
}
.btn-timer-ctrl:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Cards Flutuantes de Garantia */
.floating-stamp {
  position: absolute;
  z-index: 10;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
}
.stamp-rls {
  top: -15px;
  right: -15px;
  background-color: var(--lime);
  color: var(--ink);
  border: 1px solid var(--ink);
  transform: rotate(2deg);
}
.stamp-rls small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}
.stamp-rls b {
  font-size: 0.85rem;
}

.stamp-audit {
  bottom: -20px;
  left: -20px;
  background-color: var(--orange);
  color: #fff;
  border: 1px solid #fff;
  transform: rotate(-3deg);
}
.stamp-audit small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}
.stamp-audit b {
  font-size: 0.85rem;
}

/* ==========================================================================
   FAIXA DE PRINCÍPIOS DE CONFIANÇA & CONFORMIDADE
   ========================================================================== */

.trust-strip {
  background-color: #12302e;
  border-bottom: 1px solid var(--line-dark);
  padding: 22px 0;
  color: var(--paper);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: rgba(216, 248, 90, 0.12);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid rgba(216, 248, 90, 0.25);
}

.trust-text b {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}
.trust-text span {
  font-size: 0.78rem;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   DECLARAÇÃO INSTITUCIONAL (STATEMENT)
   ========================================================================== */

.statement-section {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.statement-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.statement-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--ink);
}

.statement-quote em {
  color: var(--orange);
  font-style: italic;
}

/* ==========================================================================
   OS 3 SISTEMAS: EXPLORAÇÃO PROFUNDA (INTERACTIVE PRODUCT SUITE)
   ========================================================================== */

.products-suite {
  background-color: var(--paper-subtle);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 45px;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.045em;
}

.section-title em {
  color: var(--orange);
  font-style: italic;
}

.section-desc {
  max-width: 480px;
  font-size: 1.02rem;
  color: var(--text-muted);
  margin: 0;
}

/* Switcher de Abas dos 3 Sistemas */
.product-tabs-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.tab-btn {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.tab-btn:hover {
  background: #ffffff;
  border-color: var(--ink);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: var(--shadow-retro);
}

.tab-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}
.tab-btn.active .tab-number {
  color: var(--lime);
}

.tab-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 6px;
}

.tab-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}
.tab-btn.active .tab-subtitle {
  color: var(--text-muted-dark);
}

/* Painel de Conteúdo de Cada Sistema */
.tab-pane {
  display: none;
  background: var(--paper-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: clamp(30px, 5vw, 60px);
  box-shadow: var(--shadow-md);
}
.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-pane-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 35px;
}

.product-pane-title-group h3 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin: 0 0 14px;
}
.product-pane-title-group h3 em {
  color: var(--orange);
}

.product-pane-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.product-pane-specs {
  background: var(--paper-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.spec-row:last-child {
  border-bottom: none;
}
.spec-row span {
  font-family: var(--font-mono);
  color: var(--text-muted);
}
.spec-row b {
  color: var(--ink);
  text-align: right;
}

/* Grade de Funcionalidades em Bento Grid */
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.feature-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.feature-card.highlight .feature-icon-box {
  background-color: var(--orange);
  color: #fff;
}

.feature-card h4 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  line-height: 1.2;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.feature-bullets li {
  font-size: 0.78rem;
  padding: 4px 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-bullets li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
}

/* Bloco de Integração & Conexão dos 3 Sistemas */
.suite-integration-card {
  background-color: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-md);
  padding: 30px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 30px;
  align-items: center;
}

.suite-integration-card h4 {
  color: #ffffff;
  font-size: 1.45rem;
  margin: 0 0 10px;
}
.suite-integration-card h4 em {
  color: var(--lime);
}
.suite-integration-card p {
  color: var(--text-muted-dark);
  font-size: 0.92rem;
  margin: 0;
}

/* ==========================================================================
   LABORATÓRIO INTERATIVO: DEMONSTRAÇÕES AO VIVO (DEMOS)
   ========================================================================== */

.interactive-lab {
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.lab-selector-row {
  display: flex;
  gap: 12px;
  margin-bottom: 35px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}

.lab-tab-btn {
  background: none;
  border: 1px solid transparent;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.lab-tab-btn:hover {
  color: var(--ink);
  background: var(--paper-subtle);
}
.lab-tab-btn.active {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}

.lab-demo-box {
  display: none;
}
.lab-demo-box.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* DEMO 1: SIMULADOR DE PLENÁRIO */
.plenario-simulator-card {
  background: #ffffff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-retro);
  overflow: hidden;
}

.sim-toolbar {
  background: var(--ink);
  color: var(--paper);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.sim-matter-selector select {
  background: var(--ink-light);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
}

.sim-quorum-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

.sim-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
}

.sim-seats-panel {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.sim-seats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.seat-card {
  background: var(--paper-subtle);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.seat-card .seat-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
}
.seat-card .seat-name {
  font-size: 0.82rem;
  font-weight: 700;
  display: block;
  margin: 4px 0;
}
.seat-card .seat-party {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.seat-vote-actions {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.vote-chip-btn {
  background: #ffffff;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.1s ease;
}
.vote-chip-btn:hover {
  transform: scale(1.08);
}
.vote-chip-btn.active-sim {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}
.vote-chip-btn.active-nao {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.vote-chip-btn.active-abs {
  background: #d97706;
  color: #fff;
  border-color: #d97706;
}

.sim-side-panel {
  padding: 30px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-panel-block h5 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.sim-count-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}

.count-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.count-row:last-child {
  border-bottom: none;
}
.count-row b {
  font-family: var(--font-mono);
  font-size: 1rem;
}

.sim-ruling-badge {
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-top: 10px;
}
.sim-ruling-badge.approved {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #86efac;
}
.sim-ruling-badge.rejected {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid #fca5a5;
}

/* DEMO 2: SIMULADOR DO RADAR DO MANDATO (CRM) */
.radar-simulator-card {
  background: #ffffff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-retro);
  overflow: hidden;
}

.radar-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
}

.radar-map-column {
  padding: 30px;
  background: var(--paper-subtle);
  border-right: 1px solid var(--line);
}

.radar-map-intro h4 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}
.radar-map-intro p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.radar-city-mesh {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.neighborhood-card {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.neighborhood-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}
.neighborhood-card.selected {
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  background: #fffdfa;
}

.zone-status-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}
.zone-status-pill.hot { background: #fee2e2; color: #dc2626; }
.zone-status-pill.growing { background: #dcfce7; color: #15803d; }
.zone-status-pill.orphan { background: #e0f2fe; color: #0369a1; }
.zone-status-pill.stable { background: #f3f4f6; color: #4b5563; }

.neighborhood-card h5 {
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.neighborhood-card small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.radar-intel-column {
  padding: 30px;
  background: #ffffff;
}

.intel-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.intel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.intel-head h4 {
  margin: 0;
  font-size: 1.4rem;
}

.intel-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.intel-metric-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}
.intel-metric-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.intel-metric-item b {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--ink);
}

.intel-diagnostic-box {
  background: #fff;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}
.intel-diagnostic-box b {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.intel-diagnostic-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.intel-cutuca-action {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.intel-cutuca-action small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.intel-cutuca-action p {
  font-size: 0.85rem;
  color: #fff;
  margin: 0;
}

/* DEMO 3: IA DEMANDA -> PROPOSIÇÃO LEGISLATIVA */
.ai-pipeline-card {
  background: #ffffff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-retro);
  overflow: hidden;
}

.ai-pipeline-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0;
}

.ai-input-column {
  padding: 30px;
  background: var(--paper-subtle);
  border-right: 1px solid var(--line);
}
.ai-input-column h4 {
  font-size: 1.35rem;
  margin: 0 0 6px;
}
.ai-input-column p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.citizen-demand-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.demand-sample-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.demand-sample-item:hover {
  border-color: var(--ink);
}
.demand-sample-item.active {
  border-color: var(--ink);
  background: #fffdf5;
  box-shadow: 3px 3px 0 var(--ink);
}

.demand-sample-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.demand-citizen-name {
  font-weight: 700;
  font-size: 0.88rem;
}
.demand-channel-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #25d366;
  font-weight: 700;
}
.demand-text-preview {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.btn-generate-ai {
  width: 100%;
  background: var(--ink);
  color: var(--lime);
  border: 1px solid var(--ink);
  padding: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-generate-ai:hover {
  background: var(--ink-light);
  transform: translateY(-2px);
}

.ai-output-column {
  padding: 30px;
  background: #ffffff;
}

.draft-document-view {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 24px;
  font-family: var(--font-body);
}

.draft-doc-header {
  text-align: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.draft-doc-header small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.draft-doc-header b {
  font-family: var(--font-display);
  font-size: 1.25rem;
  display: block;
  margin-top: 4px;
}

.draft-ementa-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  padding: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 16px;
}

.draft-body-text {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.draft-review-gate {
  background: var(--amber-surface);
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.draft-review-gate p {
  font-size: 0.78rem;
  color: #92400e;
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   ARQUITETURA & SEGURANÇA (INFRAESTRUTURA SOBERANA)
   ========================================================================== */

.architecture-section {
  background-color: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}

.arch-header {
  margin-bottom: 50px;
}
.arch-header .section-title {
  color: #ffffff;
}
.arch-header .section-desc {
  color: var(--text-muted-dark);
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.arch-card {
  background-color: var(--ink-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 30px;
  position: relative;
  transition: all 0.25s ease;
}
.arch-card:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
}

.arch-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--lime);
  background: rgba(216, 248, 90, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 16px;
}

.arch-card h4 {
  font-size: 1.4rem;
  color: #ffffff;
  margin: 0 0 12px;
}

.arch-card p {
  font-size: 0.88rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
  margin: 0 0 20px;
}

.arch-code-snippet {
  background: #061110;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #2dd4bf;
  line-height: 1.5;
  overflow-x: auto;
}

.arch-plain-snippet {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: #d1fae5;
  line-height: 1.75;
  background: rgba(6, 17, 16, 0.85);
  border-left: 3px solid var(--lime);
  padding: 14px 16px;
  white-space: normal;
}
.arch-plain-snippet b {
  color: var(--lime);
}

/* ==========================================================================
   MATRIZ COMPARATIVA DE MERCADO (PARIDADE E DIFERENCIAIS)
   ========================================================================== */

.comparison-section {
  background-color: var(--paper-subtle);
  border-bottom: 1px solid var(--line);
}

.table-responsive-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-retro);
  background: #ffffff;
}

.mobile-table-hint {
  display: none;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  padding: 8px 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.comparison-table th.col-legis {
  background-color: #123835;
  color: var(--lime);
  border-left: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
}

.comparison-table td.col-legis {
  background-color: #f7fee7;
  font-weight: 700;
  color: var(--ink);
  border-left: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.check-icon {
  color: #16a34a;
  font-weight: 800;
  font-size: 1rem;
}
.cross-icon {
  color: #dc2626;
  font-weight: 700;
  font-size: 0.9rem;
}
.partial-icon {
  color: #d97706;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ==========================================================================
   JORNADA DE TRANSIÇÃO E MIGRAÇÃO DE ACERVO HISTÓRICO
   ========================================================================== */

.journey-section {
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.journey-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 40px;
}

.journey-step {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 24px;
  position: relative;
  transition: all 0.25s ease;
}
.journey-step:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.step-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.journey-step h4 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.journey-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   CALCULADORA DE PLANOS & CONFIGURADOR DE PROPOSTA
   ========================================================================== */

.pricing-section {
  background-color: var(--paper-subtle);
  border-bottom: 1px solid var(--line);
}

.configurator-wrapper {
  background: #ffffff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-retro);
  padding: clamp(25px, 4vw, 50px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.config-form-column h3 {
  font-size: 1.8rem;
  margin: 0 0 8px;
}
.config-form-column p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.config-group {
  margin-bottom: 24px;
}
.config-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.module-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.module-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.module-checkbox-label:hover {
  background: #ffffff;
  border-color: var(--ink);
}
.module-checkbox-label input[type="checkbox"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}
.module-item-left {
  display: flex;
  align-items: center;
}
.module-item-info b {
  font-size: 0.92rem;
  display: block;
}
.module-item-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.chamber-size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.chamber-size-btn {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.chamber-size-btn:hover {
  border-color: var(--ink);
}
.chamber-size-btn.active {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
  font-weight: 700;
}

.config-summary-column {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-sm);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-header h4 {
  color: #ffffff;
  font-size: 1.4rem;
  margin: 0 0 6px;
}
.summary-header p {
  color: var(--text-muted-dark);
  font-size: 0.82rem;
  margin-bottom: 20px;
}

.summary-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.summary-items-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}
.summary-items-list li span {
  color: var(--text-muted-dark);
}
.summary-items-list li b {
  color: var(--lime);
}

.summary-cta-box .btn-whatsapp-cta {
  width: 100%;
  background-color: #25d366;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.summary-cta-box .btn-whatsapp-cta:hover {
  background-color: #1eb956;
  transform: translateY(-2px);
}

/* ==========================================================================
   PERGUNTAS FREQUENTES (FAQ ACCORDION)
   ========================================================================== */

.faq-section {
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 50px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color 0.2s ease;
}
.faq-question:hover {
  color: var(--orange);
}

.faq-icon-cross {
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--orange);
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-icon-cross {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  padding-bottom: 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   RODAPÉ FINAL E CHAMADA PARA AÇÃO (CLOSING & FOOTER)
   ========================================================================== */

.closing-banner {
  background-color: var(--lime);
  color: var(--ink);
  padding: clamp(70px, 9vw, 130px) 0;
  text-align: center;
}

.closing-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 20px auto 30px;
  max-width: 880px;
}
.closing-title em {
  color: var(--orange);
  font-style: italic;
}

.closing-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer {
  background-color: var(--ink-dark);
  color: var(--text-muted-dark);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-col p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}

.footer-brasilia-card {
  margin-top: 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 320px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  background-color: #061110;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.footer-brasilia-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
}
.footer-brasilia-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-list li {
  margin-bottom: 10px;
}
.footer-nav-list a {
  color: var(--text-muted-dark);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav-list a:hover {
  color: var(--lime);
}

.footer-bottom-bar {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET BREAKPOINTS)
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-desktop,
  .nav-actions .btn-primary {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
  }
  .statement-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-tabs-nav {
    grid-template-columns: 1fr;
  }
  .features-bento {
    grid-template-columns: 1fr 1fr;
  }
  .sim-grid-layout,
  .radar-grid-layout,
  .ai-pipeline-grid,
  .configurator-wrapper {
    grid-template-columns: 1fr;
  }
  .sim-seats-panel,
  .radar-map-column,
  .ai-input-column {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .arch-grid,
  .journey-timeline,
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }
  .hero-meta-strip {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }
  .section-desc {
    max-width: 100%;
    margin-top: 0;
  }

  /* 03 / Demonstrações Interativas Mobile */
  .lab-selector-row {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 15px;
    margin-bottom: 22px;
  }
  .lab-tab-btn {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    font-size: 0.88rem;
  }
  .sim-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 14px;
  }
  .sim-matter-selector select {
    width: 100%;
    max-width: 100%;
    font-size: 0.82rem;
  }
  .sim-quorum-status {
    text-align: center;
  }
  .sim-seats-panel {
    padding: 18px 12px;
  }
  .sim-seats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .seat-card {
    padding: 8px 4px;
  }
  .seat-card .seat-name {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .seat-vote-actions {
    gap: 3px;
  }
  .vote-chip-btn {
    padding: 3px 4px;
    font-size: 0.65rem;
  }
  .sim-tally-panel {
    padding: 18px 14px;
  }
  .radar-map-column,
  .radar-detail-column,
  .ai-input-column,
  .ai-output-column {
    padding: 18px 14px;
  }
  .radar-city-mesh {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* 05 / Comparativo de Mercado Mobile */
  .mobile-table-hint {
    display: block;
  }
  .comparison-table {
    min-width: 650px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
    font-size: 0.82rem;
  }
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
  }
  .comparison-table th:first-child {
    background-color: var(--ink);
  }
  .comparison-table td:first-child {
    background-color: #ffffff;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.06);
  }

  /* 07 / Proposta Comercial Mobile */
  .configurator-wrapper {
    padding: 18px 14px;
    gap: 24px;
  }
  .config-form-column h3 {
    font-size: 1.45rem;
  }
  .module-checkbox-label {
    padding: 12px;
  }
  .chamber-size-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .config-summary-column {
    padding: 20px 16px;
  }
  .summary-header h4 {
    font-size: 1.3rem;
  }
  .summary-items-list li {
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
  }
  .footer-brasilia-card {
    max-width: 100%;
  }

  .features-bento,
  .arch-grid,
  .journey-timeline,
  .trust-grid,
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .product-pane-header {
    grid-template-columns: 1fr;
  }
  .suite-integration-card {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
