/* ==============================================================================
   CONSTRUFORTE — DESIGN SYSTEM & ESTILOS DO SITE INSTITUCIONAL
   ==============================================================================
   Paleta corporativa padronizada com o aplicativo ObraForte / ConstruForte:
   - Primária: Slate Escuro Profundo (#0F172A, #1E293B)
   - Accent / Construção: Âmbar / Laranja Industrial (#D97706, #B45309)
   - Sucesso: Esmeralda (#059669, #10B981)
   - Fundos: Off-white (#F8FAFC) e Branco Puro (#FFFFFF)
   ============================================================================== */

:root {
  --primary: #0F172A;
  --primary-light: #1E293B;
  --primary-card: #151D2A;
  --accent: #D97706;
  --accent-hover: #B45309;
  --accent-light: #FEF3C7;
  --accent-glow: rgba(217, 119, 6, 0.25);
  
  --success: #059669;
  --success-light: #D1FAE5;
  --danger: #DC2626;
  --danger-light: #FEE2E2;
  --info: #0284C7;
  --info-light: #E0F2FE;
  
  --bg-page: #F8FAFC;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --border: #E2E8F0;
  --border-focus: #CBD5E1;
  
  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 25px rgba(217, 119, 6, 0.35);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

button, input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* Utilitários de Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Botões Globais */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--accent);
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--surface);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--surface-alt);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 24px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: var(--accent-light);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

/* ============================================================================
   TOP ANNOUNCEMENT
   ============================================================================ */
.top-announcement {
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 0.85rem;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.announcement-content i {
  color: var(--accent);
}

.announcement-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}

.announcement-link:hover {
  color: #FBBF24;
}

/* ============================================================================
   NAVBAR
   ============================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-name strong {
  color: var(--accent);
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 8px 0;
}

.nav-item:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-login {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  padding: 10px 16px;
}

.btn-login:hover {
  color: var(--accent);
}

.btn-portal-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--surface-alt);
  color: var(--primary);
  border: 1.5px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-portal-nav:hover {
  background-color: #E2E8F0;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-portal-nav i {
  color: var(--accent);
}

.btn-nav {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.mobile-toggle {
  display: none;
  background: none;
  font-size: 1.4rem;
  color: var(--primary);
  cursor: pointer;
  padding: 6px;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, rgba(15, 23, 42, 0.03) 60%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 920px;
  margin-bottom: 22px;
}

.highlight-text {
  background: linear-gradient(135deg, var(--accent) 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 740px;
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.hero-guarantees {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 60px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero Mockup Card */
.hero-mockup-wrapper {
  width: 100%;
  max-width: 1080px;
  position: relative;
}

.mockup-card {
  background-color: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  text-align: left;
}

.mockup-header {
  background-color: var(--primary);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background-color: #EF4444; }
.dot.yellow { background-color: #F59E0B; }
.dot.green { background-color: #10B981; }

.mockup-title-bar {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-live {
  font-size: 0.75rem;
  font-weight: 700;
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-live i {
  font-size: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

.mockup-body {
  padding: 24px;
  background-color: #F8FAFC;
  position: relative;
}

.mock-top-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.mock-stat-box {
  background-color: var(--surface);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.stat-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat-sub {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 18px;
}

.mock-card-panel {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

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

.panel-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-pill {
  font-size: 0.7rem;
  font-weight: 700;
  background-color: var(--surface-alt);
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.mock-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 130px;
  padding: 10px 0 6px;
  border-bottom: 1px dashed var(--border);
}

.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.chart-col span {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.bar {
  width: 18px;
  border-radius: 4px 4px 0 0;
}
.bar-prev { background-color: #CBD5E1; }
.bar-real { background-color: var(--accent); }

.chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.legend-color {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 4px;
}
.legend-color.prev { background-color: #CBD5E1; }
.legend-color.real { background-color: var(--accent); }

.badge-status-approved {
  background-color: var(--success-light);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.mock-vistoria-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vistoria-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background-color: var(--surface-alt);
}

.vistoria-icon {
  width: 36px;
  height: 36px;
  background-color: var(--surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.vistoria-info {
  flex: 1;
}

.vistoria-info strong {
  display: block;
  font-size: 0.82rem;
  color: var(--primary);
}

.vistoria-info small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.vistoria-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background-color: rgba(217, 119, 6, 0.15);
  color: var(--accent-hover);
}

.vistoria-badge.success {
  background-color: var(--success-light);
  color: var(--success);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.floating-badge i {
  font-size: 1.5rem;
}

.floating-badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
}

.floating-badge small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-roi {
  bottom: -20px;
  left: -20px;
  animation: float 4s ease-in-out infinite;
}

.badge-pdf {
  top: 80px;
  right: -25px;
  animation: float 4s ease-in-out infinite 2s;
}

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

/* ============================================================================
   SOCIAL PROOF BAR
   ============================================================================ */
.social-proof-bar {
  padding: 40px 0;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.proof-lead {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 24px;
}

.proof-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

.client-logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.85;
  transition: var(--transition);
}

.client-logo:hover {
  opacity: 1;
  color: var(--primary);
}

/* ============================================================================
   COMPARISON SECTION (DORES VS SOLUÇÃO)
   ============================================================================ */
.comparison-section {
  padding: 100px 0;
  background-color: var(--bg-page);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.comparison-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.card-chaos {
  border: 1.5px solid #FCA5A5;
  background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 100%);
}

.card-solution {
  border: 2px solid #34D399;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.1);
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.tag-chaos {
  background-color: var(--danger-light);
  color: var(--danger);
}

.tag-solution {
  background-color: var(--success-light);
  color: var(--success);
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.comparison-list li i {
  font-size: 1.25rem;
  margin-top: 2px;
}

.comparison-list li strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.comparison-list li p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================================
   MÓDULOS & FUNCIONALIDADES (ABAS)
   ============================================================================ */
.modules-section {
  padding: 100px 0;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Header de auxílio e contagem */
.module-selector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0 4px;
  flex-wrap: wrap;
  gap: 12px;
}

.selector-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.selector-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  background-color: var(--surface-alt);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.selector-pill i {
  color: var(--accent);
}

.selector-hint {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.selector-hint i {
  color: var(--accent);
  animation: pulseHand 1.8s infinite ease-in-out;
}

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

.selector-active-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  background: #F8FAFC;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

.selector-active-label strong {
  color: var(--primary);
}

/* Grid de 8 Cards dos Módulos (Sem nenhum card oculto para a direita) */
.module-tabs-grid,
.module-tabs {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin-bottom: 36px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  overflow: visible !important;
}

.module-tabs::-webkit-scrollbar {
  display: none;
}

.tab-card-btn {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 16px !important;
  border-radius: var(--radius-md) !important;
  background-color: var(--surface) !important;
  border: 2px solid var(--border) !important;
  color: var(--text-body) !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  box-shadow: var(--shadow-sm) !important;
  width: 100% !important;
}

.tab-card-btn:hover {
  border-color: #CBD5E1 !important;
  background-color: #F8FAFC !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

.tab-card-btn:hover .tab-card-icon {
  transform: scale(1.08);
}

/* Estado Ativo do Card */
.tab-card-btn.active {
  border-color: var(--primary) !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%) !important;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.12), 0 0 0 1px var(--primary) !important;
  transform: translateY(-2px) !important;
}

.tab-card-btn.active .tab-card-title {
  color: var(--primary) !important;
}

.tab-card-btn.active .tab-card-check {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Indicador sutil de seleção para o grid multi-linhas */
.tab-card-btn.active::after {
  display: none !important;
}

/* Ícone com fundo colorido temático por módulo */
.tab-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.icon-kanban { background: #EEF2FF; color: #4F46E5; }
.icon-equipes { background: #FFF7ED; color: #EA580C; }
.icon-fin { background: #ECFDF5; color: #0D9488; }
.icon-compras { background: #EFF6FF; color: #2563EB; }
.icon-epis { background: #F0F9FF; color: #0284C7; }
.icon-medicoes { background: #FFFBEB; color: #D97706; }
.icon-relatorios { background: #F5F3FF; color: #7C3AED; }
.icon-alertas { background: #FEF2F2; color: #EF4444; }
.icon-equip { background: #FEF3C7; color: #D97706; }
.icon-frotas { background: #EFF6FF; color: #2563EB; }
.icon-vistorias { background: #ECFDF5; color: #059669; }
.icon-portal { background: #FEF3C7; color: #B45309; }
.icon-obras { background: #EFF6FF; color: #2563EB; }

/* Textos e Badges do Card */
.tab-card-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.tab-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-card-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.tab-card-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-mini-new {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  background-color: var(--accent);
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.tab-card-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* Moldura refinada para o container de conteúdo ativo */
.tab-content-wrapper {
  background-color: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.35s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.pane-text {
  text-align: left;
}

.pane-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pane-text h3 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.pane-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.pane-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pane-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.pane-bullets li i {
  color: var(--success);
  margin-top: 4px;
}

/* Feature Mock Cards */
.feature-mock-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.mock-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.mock-progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 20px;
}

.progress-fill {
  height: 100%;
  background-color: var(--accent);
  border-radius: var(--radius-pill);
}

.mock-task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
}

.task-row.done i { color: var(--success); }
.task-row.active i { color: var(--accent); }
.task-row.pending i { color: var(--text-light); }

.task-row span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mock-fin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
  background-color: var(--surface);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.mock-fin-stats div small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mock-fin-stats div strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.mock-trans-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trans-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.trans-val.neg { color: var(--danger); }
.trans-val.pos { color: var(--success); }

.mock-table-quote {
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.quote-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 10px 12px;
  background-color: var(--surface-alt);
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}

.quote-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.quote-row:last-child {
  border-bottom: none;
}

.quote-row .best {
  color: var(--success);
  font-weight: 800;
}

.quote-savings {
  background-color: var(--success-light);
  color: var(--success);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-bm-calc {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}

.bm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bm-row.total {
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  font-size: 0.95rem;
}

.mock-checklist-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.chk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
}

.chk-item.warn {
  border-color: #FCA5A5;
  background-color: #FEF2F2;
}

.mock-pdf-btn {
  background-color: var(--primary);
  color: var(--text-white);
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mock-epi-list, .mock-equip-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.epi-item, .equip-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.epi-item span:first-child, .equip-item strong {
  display: block;
  font-weight: 700;
  color: var(--primary);
}

.epi-item small, .equip-item small {
  display: block;
  color: var(--text-muted);
}

.status-ok {
  color: var(--success);
  font-weight: 700;
  background-color: var(--success-light);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.status-warn {
  color: var(--danger);
  font-weight: 700;
  background-color: var(--danger-light);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* Mockup Portal do Cliente */
.pane-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.mock-portal-card {
  border-top: 4px solid var(--accent);
}

.portal-header-accent {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: var(--text-white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
}

.portal-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.badge-code {
  background-color: rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.mock-portal-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: 12px;
}

.portal-hero-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.portal-hero-info small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.progress-circle-mock {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  background-color: var(--accent-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}

.progress-circle-mock span {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.progress-circle-mock small {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mock-portal-tabs {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.p-tab {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--surface-alt);
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.p-tab.active {
  background-color: var(--primary);
  color: var(--text-white);
}

.mock-portal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.portal-photo-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.photo-thumb {
  height: 64px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 4px 6px;
}

.photo-concrete {
  background: linear-gradient(135deg, #64748B 0%, #475569 100%);
}

.photo-brick {
  background: linear-gradient(135deg, #D97706 0%, #92400E 100%);
}

.photo-finish {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
}

.photo-tag {
  font-size: 0.65rem;
  font-weight: 800;
  background-color: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.portal-photo-item small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-portal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.portal-secure-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-portal-contact {
  background-color: #22C55E;
  color: var(--text-white);
  border: none;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-portal-contact:hover {
  background-color: #16A34A;
}

/* ============================================================================
   ESTILOS DE MOCKUP PARA OS 12 MÓDULOS
   ============================================================================ */

/* Mockup Kanban Board */
.mock-kanban-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kanban-mini-col {
  background-color: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.col-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.col-tag.todo { color: var(--text-muted); }
.col-tag.doing { color: #D97706; }
.col-tag.done { color: #16A34A; }

.col-count {
  font-size: 0.7rem;
  font-weight: 800;
  background-color: var(--surface);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.kanban-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.kanban-item.active {
  border-left: 3px solid #EF4444;
}

.kanban-item.done {
  border-left: 3px solid #16A34A;
  opacity: 0.9;
}

.k-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
  text-transform: uppercase;
}
.k-tag.arch { background: #EEF2FF; color: #4F46E5; }
.k-tag.masonry { background: #FEF3C7; color: #B45309; }
.k-tag.struct { background: #FEE2E2; color: #DC2626; }
.k-tag.ok { background: #DCFCE7; color: #16A34A; }

.kanban-item strong {
  font-size: 0.78rem;
  color: var(--primary);
  line-height: 1.3;
}

.k-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

/* Mockup Equipes & Canteiro */
.mock-team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.team-stat-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-stat-item .t-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.team-stat-item strong {
  font-size: 0.92rem;
}

.mock-team-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.team-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--surface-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.team-info {
  flex: 1;
  min-width: 0;
}

.team-info strong {
  display: block;
  font-size: 0.82rem;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-info small {
  display: block;
  font-size: 0.73rem;
  color: var(--text-muted);
}

.status-presente {
  background-color: var(--success-light);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Mockup Relatórios & PDF (RDO) */
.mock-rdo-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rdo-header-mock {
  padding: 10px 12px;
  background-color: var(--surface-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.rdo-brand {
  font-size: 0.82rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rdo-header-mock small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.rdo-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-body);
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.rdo-meta-grid div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rdo-photo-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rdo-thumb {
  height: 80px;
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 6px 8px;
}

.rdo-thumb.thumb-2 {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.tag-photo-caption {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.65);
  color: #FFFFFF;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Mockup Central de Alertas */
.badge-status-danger {
  background-color: #FEF2F2;
  color: #EF4444;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.mock-alert-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--surface);
}

.alert-item.alert-danger {
  border-left: 4px solid #EF4444;
  background-color: #FFF5F5;
}

.alert-item.alert-warning {
  border-left: 4px solid #F59E0B;
  background-color: #FFFDF5;
}

.alert-item.alert-info {
  border-left: 4px solid #3B82F6;
  background-color: #F8FAFC;
}

.alert-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.alert-danger .alert-icon-box { background: #FEE2E2; color: #DC2626; }
.alert-warning .alert-icon-box { background: #FEF3C7; color: #D97706; }
.alert-info .alert-icon-box { background: #EFF6FF; color: #2563EB; }

.alert-text-box {
  flex: 1;
  min-width: 0;
}

.alert-text-box strong {
  display: block;
  font-size: 0.82rem;
  color: var(--primary);
}

.alert-text-box p {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin: 0;
}

.alert-action-btn {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  white-space: nowrap;
}

/* Mockup Frotas & Veículos */
.mock-fleet-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fleet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.fleet-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #EFF6FF;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.fleet-info {
  flex: 1;
  min-width: 0;
}

.fleet-info strong {
  display: block;
  font-size: 0.82rem;
  color: var(--primary);
}

.fleet-info small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.fleet-status.ok {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}

.fleet-metrics-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 12px;
  background-color: var(--surface-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-align: center;
}

.fleet-metrics-box small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.fleet-metrics-box strong {
  font-size: 0.85rem;
  color: var(--primary);
}

/* ============================================================================
   CALCULADORA DE ROI
   ============================================================================ */
.calculator-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-page) 0%, #FFFFFF 100%);
}

.calc-wrapper {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  box-shadow: var(--shadow-xl);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.calc-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.calc-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.calc-slider-box {
  background-color: var(--surface-alt);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 36px;
}

.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
}

.slider-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  background-color: var(--surface);
  padding: 4px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.slider-input {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: var(--border);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.5);
  transition: transform 0.15s ease;
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-markers {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.calc-card {
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.calc-card i {
  font-size: 2rem;
  margin-bottom: 12px;
}

.calc-card-lbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calc-card-val {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.calc-card small {
  font-size: 0.75rem;
  color: var(--text-light);
}

.calc-card.highlight {
  background: linear-gradient(135deg, #ECFDF5 0%, #FFFFFF 100%);
  border: 2px solid var(--success);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.12);
}

.calc-cta p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ============================================================================
   PLANOS & PREÇOS (PRICING)
   ============================================================================ */
.pricing-section {
  padding: 100px 0;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
}

.pricing-toggle-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.toggle-lbl {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}

.toggle-lbl.active {
  color: var(--primary);
}

.discount-badge {
  background-color: var(--accent-light);
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--primary);
  border-radius: 34px;
  transition: 0.3s;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider-round {
  background-color: var(--accent);
}

input:checked + .slider-round:before {
  transform: translateX(26px);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-bottom: 40px;
}

.pricing-card {
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 15px 35px var(--accent-glow);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF9 100%);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: var(--text-white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.4);
}

.plan-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  background-color: var(--surface-alt);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.plan-tag.tag-featured {
  color: var(--accent-hover);
  background-color: var(--accent-light);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  min-height: 44px;
  margin-bottom: 24px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.price-val {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.frequency {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.price-billed-note {
  font-size: 0.75rem;
  color: var(--text-light);
  display: block;
  margin-bottom: 28px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.pricing-features li.muted {
  color: var(--text-light);
}

.pricing-features li.muted i {
  color: #CBD5E1;
}

.pricing-guarantee-box {
  background-color: var(--surface-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.guarantee-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.guarantee-content i {
  font-size: 2.2rem;
}

.guarantee-content strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.guarantee-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================================
   DEPOIMENTOS (TESTIMONIALS)
   ============================================================================ */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--bg-page);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.test-quote {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background-color: var(--surface-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================================
   FAQ (PERGUNTAS FREQUENTES)
   ============================================================================ */
.faq-section {
  padding: 100px 0;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-page);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  background: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.faq-question i {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.08);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
  padding: 0 24px;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 24px;
  opacity: 1;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================================
   BANNER FINAL CTA
   ============================================================================ */
.final-cta-section {
  padding: 80px 0;
  background-color: var(--bg-page);
}

.final-cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.15rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.btn-glow {
  box-shadow: var(--shadow-glow);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
}

.cta-footer-note {
  font-size: 0.85rem;
  color: #94A3B8;
  display: block;
}

/* ============================================================================
   RODAPÉ
   ============================================================================ */
.footer {
  background-color: var(--primary);
  color: #94A3B8;
  padding-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}

.brand-col .brand-name {
  color: var(--text-white);
}

.brand-mission {
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 20px 0 24px;
  color: #94A3B8;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: #94A3B8;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--accent);
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #CBD5E1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.82rem;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.bottom-legal-links {
  display: flex;
  gap: 20px;
}

.bottom-legal-links a:hover {
  color: var(--accent);
}

/* ============================================================================
   MODAL DE CAPTAÇÃO / TESTE GRÁTIS
   ============================================================================ */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--surface);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-logo {
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: var(--accent);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.modal-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 14px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.input-with-icon input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background-color: var(--bg-page);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-main);
  transition: var(--transition);
}

.input-with-icon input:focus {
  border-color: var(--accent);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn-modal {
  margin-top: 8px;
}

.modal-terms {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

.modal-terms a {
  text-decoration: underline;
  color: var(--primary);
}

.modal-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 3.5rem;
  color: var(--success);
  margin-bottom: 16px;
}

.modal-success h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.modal-success p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Modal do Portal do Cliente */
.portal-modal-card {
  max-width: 480px;
}

.portal-logo {
  background-color: #0F172A;
  color: #38BDF8;
}

.btn-demo-code:hover {
  background-color: var(--primary) !important;
  color: var(--text-white) !important;
}

/* ============================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ============================================================================ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .mock-top-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mock-grid {
    grid-template-columns: 1fr;
  }
  
  .pane-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .calc-results-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .module-tabs-grid,
  .module-tabs {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 768px) {
  .btn-portal-nav span {
    display: none;
  }

  .btn-portal-nav {
    padding: 8px 10px;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--surface);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .btn-nav {
    display: none;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    display: none;
  }

  .calc-wrapper {
    padding: 30px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  /* Módulo Selector no Mobile / Tablet */
  .module-selector-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .module-tabs-grid,
  .module-tabs {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .tab-card-btn {
    padding: 12px 10px !important;
    gap: 10px !important;
  }

  .tab-card-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.05rem !important;
    border-radius: 10px !important;
  }

  .tab-card-title {
    font-size: 0.85rem !important;
  }

  .tab-card-desc {
    font-size: 0.70rem !important;
  }

  .tab-card-check {
    display: none !important;
  }

  .tab-content-wrapper {
    padding: 24px 18px !important;
    border-radius: var(--radius-lg) !important;
  }
}

@media (max-width: 600px) {
  .module-tabs-grid,
  .module-tabs {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .tab-card-btn {
    padding: 10px 8px !important;
    gap: 8px !important;
  }

  .tab-card-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.92rem !important;
    border-radius: 8px !important;
  }

  .tab-card-title {
    font-size: 0.79rem !important;
  }

  .tab-card-desc {
    display: none !important;
  }

  .mock-kanban-board {
    grid-template-columns: 1fr !important;
  }

  .mock-team-stats,
  .rdo-meta-grid,
  .fleet-metrics-box {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
}
