/* ═══════════════════════════════════════════════════
   eFact Hotsite - Visão Computacional
   Pure CSS - Zero frameworks
   ═══════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-font-smoothing: antialiased; }
body { font-family: 'DM Sans', system-ui, -apple-system, sans-serif; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; background: none; }

/* ── CSS Variables ── */
:root {
  --cyan: #00C4B3;
  --cyan-dark: #00A89A;
  --blue-deep: #000D3A;
  --blue-mid: #001560;
  --blue-light: #0A2463;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #eab308;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Dark Theme (default) ── */
body.dark {
  --bg-primary: #000D3A;
  --bg-secondary: #001050;
  --bg-card: rgba(0, 21, 96, 0.5);
  --bg-card-hover: rgba(0, 21, 96, 0.8);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.5);
  --border-color: rgba(0, 196, 179, 0.15);
  --border-hover: rgba(0, 196, 179, 0.4);
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* ── Light Theme ── */
body.light {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255,255,255,0.8);
  --bg-card-hover: rgba(255,255,255,1);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: rgba(0, 13, 58, 0.1);
  --border-hover: rgba(0, 196, 179, 0.4);
  background: var(--bg-primary);
  color: var(--text-primary);
}
body.light .logo-dark { display: none !important; }
body.light .logo-light { display: block !important; }
body.dark .logo-dark { display: block; }
body.dark .logo-light { display: none; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--cyan); color: var(--blue-deep);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  transition: var(--transition);
}
.btn-primary:hover { background: var(--cyan-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,196,179,0.3); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--text-primary);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  border: 2px solid var(--border-hover); transition: var(--transition);
}
.btn-outline:hover { background: rgba(0,196,179,0.1); border-color: var(--cyan); }
.btn-outline.light { color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline.light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════════════ */
#loading-screen {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
#loading-screen.exit { opacity: 0; transform: scale(1.05); pointer-events: none; }
#loading-screen.hidden { display: none; }
#loading-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.loading-content { position: relative; z-index: 2; text-align: center; }
.loading-logo { height: 48px; margin: 0 auto 1rem; filter: drop-shadow(0 0 30px rgba(0,196,179,0.4)); animation: loadPulse 2s ease-in-out infinite; }
.loading-subtitle { color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 0.2em; margin-bottom: 1.5rem; }
.loading-bar-wrap { width: 200px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 3px; margin: 0 auto; overflow: hidden; }
.loading-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--cyan), #00E5D0); border-radius: 3px; transition: width 0.3s ease; }
.loading-scanline { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: scanLine 2s linear infinite; opacity: 0.3; }
@keyframes loadPulse { 0%,100% { filter: drop-shadow(0 0 20px rgba(0,196,179,0.3)); } 50% { filter: drop-shadow(0 0 40px rgba(0,196,179,0.6)); } }
@keyframes scanLine { 0% { top: 0; } 100% { top: 100%; } }

/* ═══════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(0, 13, 58, 0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
body.light #header { background: rgba(255,255,255,0.9); }
#header.scrolled { box-shadow: var(--shadow-lg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.header-logo img { height: 32px; width: auto; }
.header-nav { display: flex; gap: 1.5rem; }
.header-nav a {
  font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition); position: relative;
}
.header-nav a:hover, .header-nav a.active { color: var(--cyan); }
.header-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--cyan); transition: width 0.3s ease;
}
.header-nav a:hover::after, .header-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 1rem; }

/* Language Selector */
.lang-selector { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 0.4rem;
  color: var(--text-secondary); font-size: 0.8rem; font-weight: 600;
  padding: 0.4rem 0.6rem; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.lang-btn:hover { color: var(--cyan); background: rgba(0,196,179,0.08); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-sm); padding: 0.25rem;
  min-width: 140px; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: var(--transition);
  box-shadow: var(--shadow-xl);
}
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: block; width: 100%; text-align: left;
  padding: 0.5rem 0.75rem; font-size: 0.85rem;
  color: var(--text-secondary); border-radius: 6px;
  transition: var(--transition);
}
.lang-option:hover { background: rgba(0,196,179,0.1); color: var(--cyan); }
.lang-option.active { color: var(--cyan); font-weight: 600; }

/* Mobile Menu */
.mobile-toggle { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; }
.mobile-toggle span { display: block; height: 2px; width: 100%; background: var(--text-primary); transition: var(--transition); border-radius: 2px; }
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; flex-direction: column; gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem; background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 0.75rem 0; font-size: 0.95rem; color: var(--text-secondary); border-bottom: 1px solid var(--border-color); }
.mobile-menu a:hover { color: var(--cyan); }
.mobile-menu .btn-primary { margin-top: 0.5rem; text-align: center; justify-content: center; }

/* Theme Toggle */
.theme-toggle {
  position: fixed; top: 84px; right: 1.5rem; z-index: 999;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cyan); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,196,179,0.3);
  transition: var(--transition);
}
body.light .theme-toggle { background: var(--blue-deep); color: #fff; }
.theme-toggle:hover { transform: scale(1.1); }
body.dark .icon-sun { display: block; }
body.dark .icon-moon { display: none; }
body.light .icon-sun { display: none; }
body.light .icon-moon { display: block; }

/* Scroll to Top */
.scroll-top-btn {
  position: fixed; bottom: 2rem; right: 1.5rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cyan); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,196,179,0.3);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: var(--transition);
}
.scroll-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,196,179,0.4); }

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero-section {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 100px 0 60px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,13,58,0.92) 0%, rgba(0,13,58,0.8) 50%, rgba(0,13,58,0.7) 100%);
}
body.light .hero-overlay {
  background: linear-gradient(135deg, rgba(248,250,252,0.95) 0%, rgba(248,250,252,0.85) 50%, rgba(248,250,252,0.75) 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(var(--cyan) 1px, transparent 1px), linear-gradient(90deg, var(--cyan) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; }
.hero-grid-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* Hero animations */
.anim-hero { opacity: 0; transform: translateY(30px); }
body.loaded .anim-hero {
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,196,179,0.1); border: 1px solid rgba(0,196,179,0.3);
  padding: 0.5rem 1rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
  color: var(--cyan); margin-bottom: 1.5rem;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }

.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-accent { color: var(--cyan); display: block; }
.typewriter { display: inline; }
.type-cursor { display: inline-block; width: 3px; height: 1em; background: var(--cyan); margin-left: 2px; animation: blink 0.7s step-end infinite; vertical-align: text-bottom; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.hero-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 540px; margin-bottom: 2rem; line-height: 1.7; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
}
.scroll-mouse {
  width: 24px; height: 40px; border: 2px solid rgba(0,196,179,0.4);
  border-radius: 12px; display: flex; justify-content: center; padding-top: 8px;
}
.scroll-dot {
  width: 3px; height: 8px; background: var(--cyan); border-radius: 3px;
  animation: scrollDot 1.5s ease-in-out infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* ── Vision Simulation (Hero right side) ── */
.vision-sim {
  background: rgba(0,0,0,0.3); border: 1px solid rgba(0,196,179,0.3);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 0 40px rgba(0,196,179,0.1);
}
.vision-frame { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.vision-bg { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.vision-overlay { position: absolute; inset: 0; background: rgba(0,13,58,0.3); }
.vision-scanline {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 15px var(--cyan); opacity: 0.8; top: 0;
  transition: top 0.05s linear;
}
.vision-boxes { position: absolute; inset: 0; }
.vision-box {
  position: absolute; border: 2px solid; border-radius: 4px;
  opacity: 0; transition: opacity 0.3s ease;
}
.vision-box.visible { opacity: 1; }
.vision-box-label {
  position: absolute; top: -22px; left: 0;
  font-size: 0.65rem; font-weight: 700; padding: 2px 6px;
  border-radius: 3px; white-space: nowrap; color: #fff;
}
.vision-hud-tl, .vision-hud-tr, .vision-hud-bl, .vision-hud-br {
  position: absolute; width: 20px; height: 20px;
  border-color: var(--cyan); border-style: solid; border-width: 0;
}
.vision-hud-tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.vision-hud-tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.vision-hud-bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.vision-hud-br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }
.vision-rec {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.65rem; font-weight: 700; color: var(--red);
  display: flex; align-items: center; gap: 4px;
}
.rec-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1s ease-in-out infinite; }
.vision-fps { position: absolute; top: 12px; right: 12px; font-size: 0.65rem; color: var(--cyan); font-weight: 700; }
.vision-cam { position: absolute; bottom: 12px; left: 12px; font-size: 0.6rem; color: rgba(255,255,255,0.5); font-family: monospace; }
.vision-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(0,196,179,0.1);
}
.stat-item { padding: 0.75rem; text-align: center; background: rgba(0,13,58,0.8); }
.stat-label { display: block; font-size: 0.6rem; color: var(--text-muted); letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.stat-value { display: block; font-size: 1.2rem; font-weight: 800; color: var(--cyan); font-variant-numeric: tabular-nums; }
.stat-ok { color: var(--green); }
.stat-defect { color: var(--red); }
.stat-eff { color: var(--cyan); }

/* ═══════════════════════════════════════════════════
   SECTIONS COMMON
   ═══════════════════════════════════════════════════ */
.section { padding: 5rem 0; }
.bg-base { background: var(--bg-primary); }
.bg-gradient { background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; color: var(--cyan); text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.section-line { width: 60px; height: 3px; background: var(--cyan); margin: 0 auto 1rem; border-radius: 3px; }
.section-desc { font-size: 1rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.text-white { color: #fff !important; }
.text-white-70 { color: rgba(255,255,255,0.7) !important; }

/* Scroll Reveal */
.scroll-reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════
   COMO FUNCIONA
   ═══════════════════════════════════════════════════ */
.steps-grid { display: flex; align-items: flex-start; gap: 0; justify-content: center; flex-wrap: wrap; }
.step-card {
  flex: 1; min-width: 200px; max-width: 260px; text-align: center;
  padding: 2rem 1.5rem; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  transition: var(--transition); position: relative;
}
.step-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-4px); }
.step-number { position: absolute; top: 12px; right: 16px; font-size: 2rem; font-weight: 800; color: var(--cyan); opacity: 0.15; }
.step-icon { color: var(--cyan); margin: 0 auto 1rem; }
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.step-arrow { display: flex; align-items: center; color: var(--cyan); opacity: 0.4; padding: 0 0.5rem; margin-top: 3rem; }

/* ═══════════════════════════════════════════════════
   FUNCIONALIDADES
   ═══════════════════════════════════════════════════ */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: center; margin-bottom: 4rem;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--cyan); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; margin-bottom: 1rem;
}
.feature-text h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.feature-text p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.feature-img {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}
.feature-img img { width: 100%; height: auto; }
.feature-metrics { display: flex; gap: 2rem; }
.feature-metrics > div { text-align: center; }
.metric-value { display: block; font-size: 1.3rem; font-weight: 800; color: var(--cyan); }
.metric-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: var(--text-secondary); }
.check-item svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.check-list.light .check-item { color: rgba(255,255,255,0.8); }
.check-list.light .check-item svg { color: var(--cyan); }

/* ═══════════════════════════════════════════════════
   SIMULAÇÃO DE ENVASE
   ═══════════════════════════════════════════════════ */
.simulation-wrap {
  background: rgba(0,0,0,0.3); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem;
}
body.light .simulation-wrap { background: var(--gray-100); }
#bottling-canvas { width: 100%; height: auto; display: block; }
.sim-controls { padding: 1rem; text-align: center; background: rgba(0,13,58,0.5); }
body.light .sim-controls { background: var(--gray-200); }

.demo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.demo-card {
  padding: 1.5rem; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: var(--radius);
  transition: var(--transition); text-align: center;
}
.demo-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.demo-card svg { color: var(--cyan); margin: 0 auto 1rem; }
.demo-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.demo-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ═══════════════════════════════════════════════════
   INTEGRAÇÃO
   ═══════════════════════════════════════════════════ */
.integ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.integ-card {
  padding: 2rem; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  transition: var(--transition); position: relative; overflow: hidden;
}
.integ-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.integ-card.featured { border-color: rgba(0,196,179,0.3); }
.integ-top-line { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.gradient-lr { background: linear-gradient(90deg, var(--cyan), transparent); }
.gradient-rl { background: linear-gradient(90deg, transparent, var(--cyan)); }
.integ-icon { color: var(--cyan); margin-bottom: 1rem; }
.integ-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.75rem; }
.integ-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; }
.integ-items { display: flex; flex-direction: column; gap: 0.6rem; }
.integ-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); }
.integ-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }
.integ-img-wrap { text-align: center; }
.integ-img { max-width: 500px; margin: 0 auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }

/* ═══════════════════════════════════════════════════
   RESULTADOS
   ═══════════════════════════════════════════════════ */
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.metric-card {
  padding: 2rem; text-align: center; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  transition: var(--transition);
}
.metric-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.metric-big { font-size: 2.5rem; font-weight: 800; color: var(--cyan); margin-bottom: 0.5rem; font-variant-numeric: tabular-nums; }
.metric-card p { font-size: 0.85rem; color: var(--text-secondary); }

.result-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.result-card {
  padding: 2rem; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  transition: var(--transition);
}
.result-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.result-card svg { color: var(--cyan); margin-bottom: 1rem; }
.result-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.result-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ═══════════════════════════════════════════════════
   IA EMBARCADA
   ═══════════════════════════════════════════════════ */
.edge-section { position: relative; overflow: hidden; }
.edge-bg { position: absolute; inset: 0; }
.edge-bg img { width: 100%; height: 100%; object-fit: cover; }
.edge-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,13,58,0.93) 0%, rgba(0,13,58,0.88) 100%); }
.edge-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.edge-card {
  padding: 1.5rem; background: rgba(0,21,96,0.5);
  border: 1px solid rgba(0,196,179,0.15); border-radius: var(--radius);
  transition: var(--transition);
}
.edge-card:hover { border-color: rgba(0,196,179,0.4); transform: translateY(-4px); background: rgba(0,21,96,0.8); }
.edge-card svg { color: var(--cyan); margin-bottom: 1rem; }
.edge-card h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.edge-card p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

.edge-details { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.edge-detail h3 { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.edge-detail > p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════════════
   SEGMENTOS
   ═══════════════════════════════════════════════════ */
.segments-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.segment-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer;
  transition: var(--transition);
}
.segment-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.segment-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.segment-card:hover img { transform: scale(1.1); }
.segment-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,13,58,0.9) 100%);
}
.segment-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.segment-info svg { color: var(--cyan); margin-bottom: 0.5rem; }
.seg-name { display: block; font-size: 0.85rem; font-weight: 700; color: #fff; }
.seg-desc { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }

/* ═══════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════ */
.cta-section { position: relative; padding: 6rem 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,13,58,0.93) 0%, rgba(0,13,58,0.85) 100%); }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 1.5rem; line-height: 1.2; }
.cta-desc { font-size: 1.05rem; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cta-note { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ============================================
   FOOTER (estilo adaptado do site antigo)
   ============================================ */
.footer {
  background: var(--blue-deep);
  border-top: 1px solid rgba(0, 196, 179, 0.15);
  padding: 3rem 0 2rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-logo {
  height: 32px;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--cyan);
  color: var(--blue-deep);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a,
.footer-col p a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-col p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.footer-col p svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
}

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

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--cyan);
}

/* Responsividade */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-description {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-col p {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}

/* Estilos dos Modais (adaptados do site antigo) */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
}
.modal-content {
  position: relative;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  animation: fadeIn 0.3s ease;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.modal-header h3 {
  font-size: 1.2rem;
  color: var(--cyan);
}
.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-body {
  padding: 1.5rem;
}
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.legal-content h4 {
  color: var(--cyan);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.legal-content p, .legal-content ul {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}
.legal-content ul {
  margin-left: 1.5rem;
}

/* ═══════════════════════════════════════════════════
   TILT CARD EFFECT
   ═══════════════════════════════════════════════════ */
.tilt-card { transform-style: preserve-3d; perspective: 800px; }

/* ═══════════════════════════════════════════════════
   FORMULÁRIO DE CONTATO
   ═══════════════════════════════════════════════════ */
.contact-section {
  background: var(--bg-secondary);
}

.contact-form-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.contact-form {
  width: 100%;
}

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

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.input-group input,
.input-group select,
.input-group textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0, 196, 179, 0.2);
}

.input-group input.error,
.input-group select.error,
.input-group textarea.error {
  border-color: var(--red);
}

.full-width {
  grid-column: span 2;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--cyan);
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.form-checkbox label a {
  color: var(--cyan);
  text-decoration: underline;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.form-success {
  text-align: center;
  padding: 2rem;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success h3 {
  color: var(--green);
  margin-bottom: 0.5rem;
}

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

.field-error {
  color: var(--red);
  font-size: 0.7rem;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .full-width {
    grid-column: span 1;
  }
  .contact-form-wrap {
    padding: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid-layout { grid-template-columns: 1fr; gap: 2rem; }
  .hero-simulation { max-width: 500px; }
  .steps-grid { flex-wrap: wrap; gap: 1rem; }
  .step-arrow { display: none; }
  .step-card { min-width: 45%; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .edge-cards { grid-template-columns: repeat(2, 1fr); }
  .edge-details { grid-template-columns: 1fr; }
  .segments-grid { grid-template-columns: repeat(3, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .result-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-actions .btn-primary { display: none; }
  .mobile-toggle { display: flex; }
  .theme-toggle { top: auto; bottom: 5rem; }
  .hero-section { padding: 90px 0 40px; }
  .hero-grid-layout { gap: 1.5rem; }
  .hero-title { font-size: 1.8rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta a { text-align: center; justify-content: center; }
  .section { padding: 3rem 0; }
  .integ-grid { grid-template-columns: 1fr; }
  .demo-cards { grid-template-columns: 1fr; }
  .edge-cards { grid-template-columns: 1fr; }
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .vision-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .step-card { min-width: 100%; }
  .metrics-grid { grid-template-columns: 1fr; }
  .segments-grid { grid-template-columns: 1fr; }
  .feature-metrics { flex-direction: column; gap: 1rem; }
}
