/* ==========================================================================
   SALVUM EPM - FOLHA DE ESTILOS UNIFICADA (styles.css)
   Paleta Institucional: #059669 / #064e3b / #34d399
   Tipografia: Inter & JetBrains Mono (Google Fonts)
   Layout Responsivo, Glassmorphism e Componentes Corporativos
   ========================================================================== */

:root {
  /* Paleta Verde Institucional Salvum */
  --primary-deep: #022c22;
  --primary-dark: #064e3b;
  --primary: #059669;
  --primary-light: #10b981;
  --accent: #34d399;
  --accent-soft: rgba(52, 211, 153, 0.12);
  --accent-glow: rgba(52, 211, 153, 0.25);
  
  /* Cores Google Workspace */
  --google-green: #0f9d58;
  --google-green-light: #34a853;
  --google-green-glow: rgba(15, 157, 88, 0.22);
  
  /* Dark Mode & Superfícies */
  --bg-dark: #071310;
  --bg-dark-card: #0c1f19;
  --bg-dark-elevated: #132a23;
  --bg-surface: #0e1e19;
  --border-dark: rgba(52, 211, 153, 0.2);
  --border-dark-hover: rgba(52, 211, 153, 0.45);
  
  /* Light Mode & Neutros */
  --bg-light: #f8fafc;
  --bg-light-alt: #f1f5f9;
  --bg-card-light: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-light-hover: #cbd5e1;
  --white: #ffffff;
  
  /* Sistema de Destaques & Status */
  --status-success: #10b981;
  --status-warning: #f59e0b;
  --status-danger: #ef4444;
  --status-info: #3b82f6;
  --code-bg: #030a08;
  
  /* Tipografia */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, Menlo, monospace;
  
  /* Sombras & Transições */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(52, 211, 153, 0.2);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
}

/* ==========================================================================
   RESET & BASE GLOBAL
   ========================================================================== */

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

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

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

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

.container-narrow {
  max-width: 960px;
}

/* ==========================================================================
   HEADER & NAVEGAÇÃO GLOBAL UNIFICADA
   ========================================================================== */

header.site-header {
  position: sticky;
  top: 0;
  background: rgba(7, 19, 16, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(52, 211, 153, 0.16);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 1.25rem;
  min-height: 52px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.logo-img {
  height: 27px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(52, 211, 153, 0.3));
}

.logo-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Links de Navegação */
nav.main-nav {
  display: flex;
  align-items: center;
}

nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

nav.main-nav ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

nav.main-nav ul li a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

nav.main-nav ul li a.active {
  color: var(--accent);
  background: rgba(52, 211, 153, 0.12);
  font-weight: 600;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

/* Navbar Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--white);
  font-size: 1.25rem;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Drawer Mobile */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  width: 100%;
  background: rgba(7, 19, 16, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
  animation: slideDown 0.25s ease-out;
}

.mobile-drawer.open {
  display: flex;
}

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

.mobile-drawer a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer a.active {
  background: rgba(52, 211, 153, 0.15);
  color: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   BOTÕES E COMPONENTES DE AÇÃO
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.45);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary-deep);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(52, 211, 153, 0.4);
}

.btn-accent:hover {
  background: #6ee7b7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 211, 153, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: var(--border-dark);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--border-light);
}

.btn-outline-light:hover {
  background: var(--bg-light-alt);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-google {
  background: var(--google-green);
  color: var(--white);
  box-shadow: 0 2px 10px var(--google-green-glow);
}

.btn-google:hover {
  background: var(--google-green-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 157, 88, 0.4);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
}

/* ==========================================================================
   SEÇÕES GERAIS E TIPOGRAFIA
   ========================================================================== */

section {
  padding: 5rem 0;
  position: relative;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section-dark-elevated {
  background: var(--bg-surface);
  color: var(--white);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-main);
}

.section-white {
  background: var(--white);
  color: var(--text-main);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: rgba(5, 150, 105, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(5, 150, 105, 0.25);
  margin-bottom: 1rem;
}

.section-dark .section-tag {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--border-dark);
}

.section-header h2 {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin-bottom: 1rem;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-dark .section-header p {
  color: var(--text-light);
}

/* ==========================================================================
   HERO SECTIONS (HOME, TÉCNICA E PLUGIN)
   ========================================================================== */

.hero-base {
  background: radial-gradient(circle at 50% 0%, #0d382d 0%, #071310 70%);
  color: var(--white);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

.hero-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-badge-pill span {
  font-weight: 700;
}

.hero-base h1 {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin-bottom: 1.35rem;
}

.hero-base h1 span.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-base p.lead-text {
  font-size: 1.18rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 840px;
  margin: 0 auto 2.2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Barra de Estatísticas Hero */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: rgba(12, 31, 25, 0.85);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 1.6rem;
  backdrop-filter: blur(12px);
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 0 0.75rem;
  border-right: 1px solid rgba(52, 211, 153, 0.15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item .stat-value {
  font-size: 2.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-item .stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ==========================================================================
   CARDS EXECUTIVOS & PROPOSTA DE VALOR (HOME)
   ========================================================================== */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.value-card {
  background: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.12);
}

.value-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.value-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.value-card ul.card-bullets {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.value-card ul.card-bullets li {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.value-card ul.card-bullets li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   VITRINE DOS PILARES DE NEGÓCIO (HOME)
   ========================================================================== */

.pillars-showcase {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.pillar-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.pillar-row.reverse {
  direction: rtl;
}

.pillar-row.reverse > * {
  direction: ltr;
}

.pillar-content h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-dark .pillar-content h3 {
  color: var(--white);
}

.pillar-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.section-dark .pillar-content p {
  color: var(--text-light);
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: rgba(5, 150, 105, 0.12);
  color: var(--primary);
  font-weight: 600;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.section-dark .pillar-tag {
  background: rgba(52, 211, 153, 0.1);
  color: var(--accent);
  border-color: var(--border-dark);
}

.pillar-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-dark);
  background: var(--bg-dark-card);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.pillar-visual:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(52, 211, 153, 0.2);
  border-color: var(--accent);
}

.pillar-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.pillar-visual .zoom-hint {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(7, 19, 16, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border-dark);
  pointer-events: none;
}

/* ==========================================================================
   BANNER DESTAQUE GOOGLE SHEETS (HOME)
   ========================================================================== */

.spotlight-banner-home {
  background: linear-gradient(135deg, #064e3b 0%, #071310 100%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 16px;
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  margin: 3rem 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.spotlight-banner-home::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(15, 157, 88, 0.25), transparent 70%);
  pointer-events: none;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 157, 88, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #a7f3d0;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 1rem;
}

.spotlight-banner-home h3 {
  font-size: 2rem;
  color: var(--white);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.spotlight-banner-home p {
  color: #d1fae5;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.spotlight-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.spotlight-thumb-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.spotlight-thumb-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   SEÇÃO DE SEGURANÇA E GOVERNANÇA (HOME & TÉCNICA)
   ========================================================================== */

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.security-box {
  background: rgba(12, 31, 25, 0.7);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 2.2rem;
  transition: all var(--transition-normal);
}

.security-box:hover {
  border-color: var(--accent);
  background: rgba(12, 31, 25, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(52, 211, 153, 0.15);
}

.security-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.security-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.security-box p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ==========================================================================
   ESPECIFICAÇÕES TÉCNICAS & ARQUITETURA (tecnica.html)
   ========================================================================== */

.tech-hero {
  background: radial-gradient(circle at 50% 0%, #032b21 0%, #071310 70%);
  border-bottom: 1px solid var(--border-dark);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stack-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  transition: all var(--transition-normal);
}

.stack-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(52, 211, 153, 0.15);
}

.stack-card .stack-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.stack-card h4 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stack-card p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Módulos de Especificação Técnica Detalhada */
.tech-spec-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0;
}

.tech-spec-section:last-child {
  border-bottom: none;
}

.tech-spec-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.tech-spec-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.tech-spec-info p.desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.spec-pills {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.spec-pill-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
}

.spec-pill-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.spec-pill-item span {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.code-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: #021a14;
  color: #6ee7b7;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

/* Telas / Mockups Técnicos */
.mockup-container {
  background: var(--code-bg);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.mockup-header {
  background: #081a15;
  border-bottom: 1px solid var(--border-dark);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 0.35rem;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-light);
}

.mockup-body {
  padding: 1.25rem;
}

/* Árvore de Membros (manage_members.jsp Mockup) */
.tree-view {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: #e2e8f0;
}

.tree-node {
  padding: 0.35rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px;
  transition: background var(--transition-fast);
}

.tree-node:hover {
  background: rgba(52, 211, 153, 0.1);
}

.tree-node.depth-1 { padding-left: 1.5rem; }
.tree-node.depth-2 { padding-left: 2.75rem; }
.tree-node.depth-3 { padding-left: 4rem; }

.node-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.node-badges {
  display: flex;
  gap: 0.35rem;
}

.node-badge {
  font-size: 0.68rem;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-store { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.badge-shared { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.4); }
.badge-type { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }

/* Grid Operacional Mockup (general_module.jsp) */
.mockup-grid-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.mockup-grid-table th,
.mockup-grid-table td {
  border: 1px solid rgba(52, 211, 153, 0.15);
  padding: 0.45rem 0.65rem;
  text-align: right;
}

.mockup-grid-table th {
  background: #0b221b;
  color: var(--accent);
  font-weight: 600;
  text-align: center;
}

.mockup-grid-table td.col-header {
  text-align: left;
  font-weight: 600;
  color: #e2e8f0;
  background: #091a14;
}

.cell-write {
  background: rgba(16, 185, 129, 0.08);
  color: #e2e8f0;
}

.cell-locked,
.grid-cell-locked {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #f87171 !important;
  cursor: not-allowed;
  position: relative;
}

.cell-readonly {
  background: rgba(100, 116, 139, 0.12);
  color: #94a3b8;
}

/* Auditoria de Célula Mockup (APP_CELL_AUDIT_LOG) */
.audit-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.audit-table th {
  background: #081d17;
  color: var(--accent);
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-dark);
}

.audit-table td {
  padding: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.val-diff {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.val-old {
  color: #f87171;
  text-decoration: line-through;
}

.val-new {
  color: #34d399;
  font-weight: 700;
}

/* ==========================================================================
   PLUG-IN DO GOOGLE SHEETS (sheets-plugin.html)
   ========================================================================== */

.plugin-hero {
  background: radial-gradient(circle at 50% 0%, #063c2c 0%, #071310 70%);
}

.plugin-hero-frame {
  margin: 3.5rem auto 0;
  max-width: 1080px;
  background: #0b1a15;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

.browser-bar {
  background: #061510;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dark);
}

.browser-url {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 6px;
  padding: 0.25rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #a7f3d0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 450px;
  width: 100%;
}

.plugin-hero-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Galeria de Telas & UI do Plugin */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(52, 211, 153, 0.2);
}

.gallery-card-img {
  position: relative;
  overflow: hidden;
  background: #040d0a;
  aspect-ratio: 16 / 10;
}

.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.gallery-card-content {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.gallery-card-content .badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.gallery-card-content h4 {
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

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

/* Guia Passo a Passo (Passo a Passo Visual) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 2.2rem;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--google-green);
  box-shadow: 0 10px 25px rgba(15, 157, 88, 0.12);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--google-green);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px var(--google-green-glow);
}

.step-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.65rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* FAQ Técnico do Plugin */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.faq-item {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 1.75rem;
}

.faq-item h4 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.faq-item h4::before {
  content: 'Q:';
  color: var(--accent);
  font-family: var(--font-mono);
}

.faq-item p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================================
   SEÇÃO DE CONTATO & FORMULÁRIO INTERATIVO (FUNCIONAMENTO REAL)
   ========================================================================== */

.contact-section-wrapper {
  background: linear-gradient(135deg, #04241b 0%, #071310 100%);
  border-top: 1px solid var(--border-dark);
  padding: 5.5rem 0;
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-col h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-info-col p.lead {
  font-size: 1.08rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.contact-direct-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.direct-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--white);
  transition: all var(--transition-fast);
}

.direct-card:hover {
  background: rgba(52, 211, 153, 0.1);
  border-color: var(--accent);
  transform: translateX(4px);
}

.direct-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(5, 150, 105, 0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.direct-text strong {
  display: block;
  font-size: 0.95rem;
}

.direct-text span {
  font-size: 0.84rem;
  color: var(--text-light);
}

/* Card do Formulário */
.contact-form-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.contact-form-card p.subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.45rem;
}

.form-group label span.req {
  color: var(--accent);
}

.form-control {
  width: 100%;
  background: #051410;
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
  background: #081a15;
}

.form-control::placeholder {
  color: #64748b;
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  padding: 0.95rem;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* ==========================================================================
   MODAL DE SUCESSO DE CONTATO & LIGHTBOX
   ========================================================================== */

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #0c201a;
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  animation: modalScale 0.25s ease-out;
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-icon-success {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 2px solid #34d399;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.35);
}

.modal-card h3 {
  font-size: 1.65rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.modal-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.protocol-box {
  background: #051410;
  border: 1px dashed var(--border-dark);
  border-radius: 8px;
  padding: 0.85rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent);
}

.modal-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--white);
}

/* Lightbox para Imagens */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2100;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 1rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  text-align: center;
  max-width: 800px;
  font-family: var(--font-sans);
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER UNIFICADO
   ========================================================================== */

footer.site-footer {
  background: #040d0a;
  color: var(--text-light);
  border-top: 1px solid var(--border-dark);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.2px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

.footer-bottom p.tagline {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   PÁGINA DE POLÍTICAS E TERMOS (politicas.html)
   ========================================================================== */

.policy-hero {
  background: radial-gradient(circle at 50% 0%, #063c2c 0%, #071310 70%);
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--border-dark);
}

.policy-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin: 2rem 0 0;
  flex-wrap: wrap;
}

.policy-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  padding: 0.6rem 1.35rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.policy-tab-link:hover,
.policy-tab-link.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.policy-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  scroll-margin-top: 75px;
}

.policy-box h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.6px;
  margin-bottom: 0.35rem;
}

.update-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

.policy-content {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.8;
}

.policy-content p {
  margin-bottom: 1.25rem;
}

.policy-content strong {
  color: var(--white);
}

.policy-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin: 2.5rem 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(52, 211, 153, 0.2);
  letter-spacing: -0.3px;
}

.policy-content ul {
  margin: 0.85rem 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.policy-content ul li {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
}

.highlight-notice {
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.highlight-notice strong {
  color: var(--accent);
}

.policy-dpo-card {
  background: #051410;
  border: 1px dashed var(--border-dark);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVIDADE (BREAKPOINTS)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-base h1 {
    font-size: 2.6rem;
  }
  .value-grid,
  .security-grid,
  .gallery-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  nav.main-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-base {
    padding: 3.5rem 0 3rem;
  }
  .hero-base h1 {
    font-size: 2.1rem;
  }
  .hero-base p.lead-text {
    font-size: 1rem;
  }
  .pillar-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .spotlight-banner-home {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .tech-spec-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .value-grid,
  .security-grid,
  .gallery-grid,
  .steps-grid,
  .faq-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(52, 211, 153, 0.15);
    padding-bottom: 1rem;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
