/* ==========================================================================
   SILVA LIMA TECNOLOGIA - DESIGN SYSTEM & STYLESHEET
   Empresa: SILVA LIMA COMERCIO E SERVICOS EMPRESARIAIS LTDA
   Paleta: Cyber-Enterprise Dark Mode (Slate / Electric Cyan / Sapphire / Emerald)
   ========================================================================== */

:root {
  /* Cores Principais */
  --bg-primary: #070b14;
  --bg-secondary: #0d1527;
  --bg-tertiary: #131f38;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(26, 38, 66, 0.85);
  --bg-glass: rgba(13, 21, 39, 0.65);
  
  /* Acentos Tecnológicos */
  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.25);
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;

  /* Tipografia e Cores de Texto */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;

  /* Bordas e Divisores */
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-glow: rgba(0, 229, 255, 0.35);
  --border-focus: rgba(0, 229, 255, 0.6);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.25);

  /* Transições e Curvas */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Raios de Borda */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Fontes */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #101c3d 0%, var(--bg-primary) 70%);
}

/* Background Grid & Circuit Effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
  pointer-events: none;
  z-index: 0;
}

/* Container Responsivo */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Tipografia */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
}

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

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
  background: rgba(7, 11, 20, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(7, 11, 20, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(0, 229, 255, 0.15);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-icon-box {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1e3a8a, #0284c7);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.logo-icon-box svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 2;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-title span {
  color: var(--accent-cyan);
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

/* Nav Menu Centralizado e com espaçamento generoso */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.45rem 0.2rem;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-action-btn {
  flex-shrink: 0;
}

/* Oculta estritamente menu mobile em Desktop */
.mobile-nav-menu {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
  border-color: var(--accent-cyan);
}

.btn-cyan {
  background: linear-gradient(135deg, #00e5ff 0%, #0284c7 100%);
  color: #04101e;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 229, 255, 0.55);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.25) 0%, rgba(0, 229, 255, 0.1) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(14, 28, 56, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.badge-tag svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-cyan) 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

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

/* Quick Metrics Bar */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.65rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
}

.stat-number span {
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
}

/* ==========================================================================
   SECTIONS SHARED HEADER
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES SECTION (6 Pilares com Fotos Reais)
   ========================================================================== */
.services-section {
  padding: 5rem 0;
  position: relative;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 35px -8px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.service-card-image-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #0b1324;
}

.service-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image {
  transform: scale(1.08);
}

.service-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  backdrop-filter: blur(8px);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.service-excerpt {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.service-tag-pill {
  font-size: 0.725rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-muted);
}

.service-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap var(--transition-fast);
}

.btn-text-link:hover {
  gap: 0.65rem;
  color: #fff;
}

.btn-text-link svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   MISSION, VISION & VALUES SECTION
   ========================================================================== */
.about-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 21, 39, 0.5) 50%, transparent 100%);
  position: relative;
}

.mvv-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.mvv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.mvv-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.mvv-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mvv-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(0, 229, 255, 0.1));
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.mvv-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.mvv-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.mvv-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.value-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-4px);
  background: rgba(20, 31, 56, 0.7);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE IT DIAGNOSTIC CALCULATOR (SIMULADOR DE SOLUÇÃO)
   ========================================================================== */
.calculator-section {
  padding: 5.5rem 0;
  position: relative;
}

.calculator-wrapper {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 16, 31, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.calculator-wrapper::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.calculator-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.calc-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.calc-step-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-cyan);
  color: #04101e;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Company Scale Selectors */
.scale-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.scale-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.scale-btn:hover {
  border-color: var(--accent-cyan);
  color: #fff;
  background: rgba(0, 229, 255, 0.05);
}

.scale-btn.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

/* Service Checkbox Cards */
.calc-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.calc-service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.calc-service-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.3);
}

.calc-service-item.selected {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--accent-cyan);
}

.calc-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.calc-service-item.selected .calc-checkbox {
  background-color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.calc-checkbox svg {
  display: none;
  width: 12px;
  height: 12px;
  stroke: #04101e;
  stroke-width: 3;
}

.calc-service-item.selected .calc-checkbox svg {
  display: block;
}

.calc-service-info {
  display: flex;
  flex-direction: column;
}

.calc-service-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.calc-service-sub {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Calculator Result Panel */
.calc-result-card {
  background: rgba(7, 11, 20, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  position: relative;
}

.calc-result-header {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.calc-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  margin-bottom: 0.75rem;
}

.calc-rec-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.calc-rec-body {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.calc-specs-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-spec-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.calc-spec-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   CONTACT & PROPOSAL FORM
   ========================================================================== */
.contact-section {
  padding: 5.5rem 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-direct-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-method:last-child {
  margin-bottom: 0;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-icon-box svg {
  width: 22px;
  height: 22px;
}

.contact-method-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.contact-method-value {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* Form Styles */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  position: relative;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label span.required {
  color: var(--accent-cyan);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(11, 19, 36, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
  background: rgba(15, 27, 52, 0.9);
}

.form-control::placeholder {
  color: var(--text-muted);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  cursor: pointer;
}

select.form-control option {
  background-color: var(--bg-secondary);
  color: #fff;
}

.form-help {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SPA MODAL FOR DETAILED SERVICE PREVIEW
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-header-img {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.modal-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(7, 11, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-cyan);
  color: #04101e;
  transform: rotate(90deg);
}

.modal-body {
  padding: 2.25rem;
}

.modal-service-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.modal-full-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.modal-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.modal-spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.modal-spec-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

/* ==========================================================================
   TOAST NOTIFICATION COMPONENT
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 440px;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(13, 21, 39, 0.95);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  animation: slideInToast 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all var(--transition-normal);
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.success {
  border-color: var(--accent-emerald);
}

.toast.error {
  border-color: #ef4444;
}

.toast-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.toast.success .toast-icon {
  color: var(--accent-emerald);
}

.toast.error .toast-icon {
  color: #ef4444;
}

.toast-content {
  flex-grow: 1;
}

.toast-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.toast-msg {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040812;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  position: relative;
}

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

.footer-company-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem;
  max-width: 380px;
}

.footer-legal-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Container e Espaçamentos Globais */
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  /* Header & Mobile Toggle */
  .site-header {
    padding: 0.7rem 0;
  }

  .nav-links, .nav-action-btn {
    display: none !important;
  }

  .brand-logo {
    gap: 0.65rem;
  }

  .logo-icon-box {
    width: 38px;
    height: 38px;
  }

  .logo-icon-box svg {
    width: 20px;
    height: 20px;
  }

  .brand-title {
    font-size: 1.025rem;
  }

  .brand-subtitle {
    font-size: 0.625rem;
    letter-spacing: 1px;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-glow);
    color: var(--accent-cyan);
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .mobile-nav-toggle:hover, .mobile-nav-toggle.active {
    background: rgba(0, 229, 255, 0.15);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
  }

  .mobile-nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glow);
    padding: 1.25rem 1.15rem 1.75rem;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    animation: slideDownMobile 0.25s ease-out;
  }

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

  .mobile-nav-menu.open {
    display: flex;
  }

  .mobile-nav-menu .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    color: var(--text-primary);
    transition: all var(--transition-fast);
  }

  .mobile-nav-menu .nav-link:hover,
  .mobile-nav-menu .nav-link.active {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.25);
    color: var(--accent-cyan);
    transform: translateX(4px);
  }

  .mobile-nav-menu .nav-link::after {
    display: none;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding-top: 6.25rem;
    padding-bottom: 3.5rem;
  }

  .badge-tag {
    font-size: 0.72rem;
    padding: 0.4rem 0.85rem;
    letter-spacing: 0.3px;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 1.25rem;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.75rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
  }

  /* Stats Grid Mobile */
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .stat-item {
    padding: 0.5rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .stat-item:nth-child(even)::after {
    display: none;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Serviços Mobile */
  .services-section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-description {
    font-size: 0.925rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .service-card-image-wrap {
    height: 190px;
  }

  .service-card-body {
    padding: 1.35rem;
  }

  .service-title {
    font-size: 1.15rem;
  }

  /* Modal SPA Mobile */
  .modal-overlay {
    padding: 1rem;
  }

  .modal-window {
    max-width: 100%;
    max-height: 88vh;
    border-radius: var(--radius-md);
  }

  .modal-header-img {
    height: 170px;
  }

  .modal-body {
    padding: 1.35rem;
  }

  .modal-title {
    font-size: 1.35rem;
  }

  .modal-full-desc {
    font-size: 0.9rem;
  }

  .modal-specs-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1rem;
  }

  .modal-actions .btn {
    width: 100%;
  }

  /* Missão, Visão e Valores Mobile */
  .about-section {
    padding: 3.5rem 0;
  }

  .mvv-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .mvv-card {
    padding: 1.5rem;
  }

  .mvv-title {
    font-size: 1.25rem;
  }

  .mvv-text {
    font-size: 0.925rem;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .value-card {
    padding: 1.25rem;
  }

  .value-name {
    font-size: 1.05rem;
  }

  .value-desc {
    font-size: 0.825rem;
  }

  /* Simulador Mobile */
  .calculator-section {
    padding: 3.5rem 0;
  }

  .calculator-wrapper {
    padding: 1.35rem;
    border-radius: var(--radius-md);
  }

  .calc-step-title {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .scale-options {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
  }

  .scale-btn {
    padding: 0.75rem 0.35rem;
    font-size: 0.8rem;
  }

  .calc-services-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .calc-service-item {
    padding: 0.85rem;
  }

  .calc-result-card {
    padding: 1.35rem;
    margin-top: 1rem;
  }

  .calc-rec-title {
    font-size: 1.2rem;
  }

  .calc-rec-body {
    font-size: 0.875rem;
  }

  /* Contato e Formulário Mobile */
  .contact-section {
    padding: 3.5rem 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-direct-card {
    padding: 1.35rem;
    margin-top: 1.25rem;
  }

  .contact-method {
    margin-bottom: 1.25rem;
  }

  .contact-method-title {
    font-size: 0.75rem;
  }

  .contact-method-value {
    font-size: 0.9rem;
    word-break: break-word;
  }

  .form-card {
    padding: 1.35rem;
  }

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

  /* Tamanho de fonte 16px para evitar auto-zoom no Safari iOS */
  .form-control {
    font-size: 16px;
    padding: 0.85rem 1rem;
  }

  #submitBtn {
    font-size: 0.95rem;
    padding: 0.95rem 1rem;
  }

  /* Toasts Mobile */
  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .toast {
    min-width: unset;
    width: 100%;
    max-width: 100%;
    padding: 0.95rem 1.1rem;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

/* Telas Ultra-Compactas (Smartphones Pequenos <= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

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

  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 1rem 0.75rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .scale-options {
    grid-template-columns: 1fr 1fr;
  }
}
