/* ===================================
   P&B / PKR&BRN — Portfolio Premium
   CSS Stylesheet
=================================== */

/* --- VARIABLES --- */
:root {
  --blue-deep: #081B5A;
  --blue-vivid: #0E8BFF;
  --white: #FFFFFF;
  --graphite: #1E293B;
  --silver: #CBD5E1;
  --bg-dark: #060F2E;
  --bg-mid: #0a1a4a;
  --card-bg: rgba(8, 27, 90, 0.4);
  --border: rgba(14, 139, 255, 0.15);
  --border-strong: rgba(14, 139, 255, 0.3);
  --text-muted: #94a3b8;
  --text-body: #cbd5e1;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-blue: 0 8px 32px rgba(14, 139, 255, 0.2);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- PARTICLES CANVAS --- */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* --- LOADING SCREEN --- */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loading-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: pulse-glow 2s ease infinite;
}
.loading-brand {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}
.loading-bar {
  width: 240px;
  height: 3px;
  background: rgba(14, 139, 255, 0.2);
  border-radius: 99px;
  overflow: hidden;
}
.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-vivid));
  border-radius: 99px;
  animation: loadbar 2s ease forwards;
}
.loading-text {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
@keyframes loadbar { from { width: 0 } to { width: 100% } }
@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(14,139,255,0.4)); }
  50% { filter: drop-shadow(0 0 24px rgba(14,139,255,0.8)); }
}

/* --- CONTAINER --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* --- UTILITIES --- */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-vivid), #60b4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.amp { color: var(--blue-vivid); }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 139, 255, 0.1);
  border: 1px solid var(--border-strong);
  color: var(--blue-vivid);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue-vivid), #0066cc);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(14, 139, 255, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a9bff, #0088ff);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(14, 139, 255, 0.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary.full-w { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(14, 139, 255, 0.1);
  border-color: var(--blue-vivid);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--white); border-color: var(--border); transform: translateY(-2px); }

/* --- NAVBAR --- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(6, 15, 46, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}
.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--blue-vivid);
  transition: width 0.3s;
}
.nav-links a:not(.nav-cta):hover { color: var(--white); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--blue-vivid), #0066cc);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 13px;
  transition: var(--transition) !important;
  box-shadow: 0 4px 16px rgba(14,139,255,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(14,139,255,0.5); }
.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 99px;
  transition: var(--transition);
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(6, 15, 46, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 16px 40px 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.nav-mobile-menu.open { max-height: 400px; }
.nav-mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: var(--white); }

/* --- HERO SECTION --- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 139, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 139, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 139, 255, 0.08);
  border: 1px solid var(--border-strong);
  color: var(--blue-vivid);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 99px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}
.hero-logo-block {
  max-width: 96px;
  margin-bottom: 28px;
}
.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--blue-vivid);
  border-radius: 50%;
  animation: blink 2s ease infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero-stats { display: flex; align-items: center; gap: 32px; }
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
}
.stat span { font-size: 22px; color: var(--blue-vivid); }
.stat p { font-size: 12px; color: var(--text-muted); margin-top: 2px; white-space: nowrap; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* --- HERO MOCKUP --- */
.hero-mockup { position: relative; }
.mockup-browser {
  background: rgba(8, 27, 90, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 60px rgba(14,139,255,0.15);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.browser-bar {
  background: rgba(6, 15, 46, 0.8);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }
.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.browser-content { padding: 20px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash-title { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--white); }
.dash-live { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #27c93f; }
.live-dot { width: 6px; height: 6px; background: #27c93f; border-radius: 50%; animation: blink 1.5s ease infinite; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi-card {
  background: rgba(14, 139, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.kpi-card p { font-size: 10px; color: var(--text-muted); margin-bottom: 4px; }
.kpi-val { font-family: var(--font-heading); font-size: 20px; font-weight: 800; color: var(--white); }
.kpi-trend { font-size: 10px; margin-top: 2px; }
.kpi-trend.up { color: #27c93f; }
.kpi-trend.down { color: #ff5f56; }
.dash-chart { margin-bottom: 16px; }
.chart-label { font-size: 10px; color: var(--text-muted); margin-bottom: 10px; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.bar {
  flex: 1;
  background: rgba(14, 139, 255, 0.2);
  border-radius: 4px 4px 0 0;
  position: relative;
  height: var(--h);
  animation: bar-grow 1s cubic-bezier(0.4, 0, 0.2, 1) var(--d) both;
  cursor: default;
  transition: background 0.2s;
}
.bar:hover { background: rgba(14, 139, 255, 0.45); }
.bar.active { background: var(--blue-vivid); }
.bar span { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--text-muted); white-space: nowrap; }
@keyframes bar-grow { from { height: 0; } to { height: var(--h); } }
.dash-metrics { display: flex; flex-direction: column; gap: 8px; }
.metric { display: flex; align-items: center; gap: 10px; }
.m-label { font-size: 10px; color: var(--text-muted); white-space: nowrap; width: 140px; flex-shrink: 0; }
.m-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.m-fill { height: 100%; background: linear-gradient(90deg, var(--blue-deep), var(--blue-vivid)); border-radius: 99px; width: var(--w); animation: fill-anim 1.5s ease both; }
@keyframes fill-anim { from { width: 0 } }
.m-val { font-size: 10px; color: var(--white); font-weight: 600; width: 28px; text-align: right; }
.floating-card {
  position: absolute;
  background: rgba(8, 27, 90, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-blue);
  white-space: nowrap;
}
.floating-card div p { font-size: 10px; color: var(--text-muted); }
.floating-card div strong { font-size: 14px; font-family: var(--font-heading); color: var(--white); font-weight: 700; }
.fc1 { bottom: -20px; left: -30px; animation: float 5s ease-in-out infinite 0.5s; }
.fc2 { top: 20px; right: -30px; animation: float 5s ease-in-out infinite 1s; }

/* --- TRUSTED SECTION --- */
.trusted-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.trusted-label { text-align: center; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 28px; }
.trusted-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; align-items: center; }
.trust-item {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.trust-item:hover { color: rgba(255,255,255,0.5); }

/* --- SECTIONS GENERAL --- */
section:not(#hero):not(.trusted-section) {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

/* --- SERVICES SECTION --- */
#servicos { background: linear-gradient(180deg, transparent 0%, rgba(8,27,90,0.15) 50%, transparent 100%); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-vivid), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  background: linear-gradient(135deg, rgba(14, 139, 255, 0.12), rgba(8, 27, 90, 0.6));
  border-color: var(--border-strong);
}
.service-image {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.08);
}
.service-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.service-badge-top {
  position: absolute;
  top: 20px; right: 20px;
  background: linear-gradient(135deg, var(--blue-vivid), #0066cc);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(14, 139, 255, 0.1);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-vivid);
  transition: var(--transition);
}
.service-card:hover .service-icon { background: rgba(14, 139, 255, 0.2); transform: scale(1.05); }
.service-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.service-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.service-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--blue-vivid);
  border-radius: 50%;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-vivid);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

/* --- BI SECTION --- */
#bi { background: linear-gradient(180deg, transparent, rgba(14,139,255,0.04), transparent); }
.bi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.bi-left h2 { font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 18px; }
.bi-left p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.bi-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.bi-feat { display: flex; align-items: flex-start; gap: 14px; }
.bi-feat-icon {
  width: 40px; height: 40px;
  background: rgba(14, 139, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bi-feat strong { display: block; font-family: var(--font-heading); font-size: 14px; color: var(--white); margin-bottom: 4px; }
.bi-feat p { font-size: 13px; color: var(--text-muted); margin: 0; }
.bi-dashboard {
  background: rgba(6, 15, 46, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow), 0 0 80px rgba(14,139,255,0.1);
}
.bi-dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.bi-dash-header span { font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--white); }
.bi-filters { display: flex; gap: 6px; }
.bi-filter {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.bi-filter.active, .bi-filter:hover { background: rgba(14,139,255,0.15); border-color: var(--blue-vivid); color: var(--white); }
.bi-kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.bi-kpi {
  background: rgba(8,27,90,0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.bi-kpi p { font-size: 10px; color: var(--text-muted); margin-bottom: 6px; }
.bi-kpi h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--white); }
.bi-change { font-size: 11px; font-weight: 600; }
.bi-change.pos { color: #27c93f; }
.bi-change.neg { color: #ff5f56; }
.bi-area-chart { margin-bottom: 20px; }
.area-label { font-size: 10px; color: var(--text-muted); margin-bottom: 8px; }
.area-svg { width: 100%; height: 100px; }
.area-fill { animation: fade-in 1s ease; }
.area-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw-line 2s ease forwards 0.5s; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.chart-legend { display: flex; gap: 16px; margin-top: 6px; }
.chart-legend span { font-size: 10px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.chart-legend em { display: block; width: 14px; height: 2px; border-radius: 99px; }
.bi-donut-row { display: flex; align-items: center; gap: 20px; }
.bi-donut-chart { width: 120px; flex-shrink: 0; }
.donut-svg { width: 100%; }
.donut-arc { transform-origin: 60px 60px; transform: rotate(-90deg); stroke-dasharray: 0 283; animation: donut-fill 1.5s ease forwards 0.8s; }
.donut-arc2 { transform-origin: 60px 60px; transform: rotate(-90deg); }
@keyframes donut-fill { to { stroke-dasharray: 198 84; } }
.bi-segments { display: flex; flex-direction: column; gap: 10px; }
.seg { display: flex; align-items: center; gap: 8px; }
.seg-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.seg p { font-size: 12px; color: var(--text-muted); }
.seg strong { color: var(--white); }

/* --- PORTFOLIO SECTION --- */
#portfolio { background: linear-gradient(180deg, transparent, rgba(8,27,90,0.2), transparent); padding: 80px 0; }
.portfolio-filters { 
  display: flex; 
  justify-content: center; 
  gap: 12px; 
  margin-bottom: 48px; 
  flex-wrap: wrap;
  padding: 0 20px;
}
.pf-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
  white-space: nowrap;
}
.pf-btn.active, .pf-btn:hover { 
  background: rgba(14,139,255,0.12); 
  border-color: var(--blue-vivid); 
  color: var(--white); 
}
.portfolio-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.portfolio-card.large { grid-column: span 2; }
.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.portfolio-card:hover { 
  border-color: var(--border-strong); 
  transform: translateY(-6px); 
  box-shadow: var(--shadow-blue); 
}
.pc-img { 
  height: 180px; 
  position: relative; 
  overflow: hidden; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  flex-shrink: 0;
}
.portfolio-card.large .pc-img { height: 200px; }
.pc-content { 
  padding: 24px; 
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.pc-tag {
  display: inline-block;
  background: rgba(14,139,255,0.1);
  border: 1px solid var(--border);
  color: var(--blue-vivid);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
  font-weight: 600;
  width: fit-content;
}
.pc-content h3 { 
  font-family: var(--font-heading); 
  font-size: 16px; 
  font-weight: 700; 
  color: var(--white); 
  margin-bottom: 8px;
  line-height: 1.3;
}
.pc-content p { 
  font-size: 13px; 
  color: var(--text-muted); 
  line-height: 1.6; 
  margin-bottom: 16px;
  flex-grow: 1;
}
.pc-tech { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 6px;
  margin-top: auto;
  margin-bottom: 10px;
}
.pc-tech span {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--silver);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}
/* Portfolio Mockups */
.pc-mock-bi { display: flex; align-items: flex-end; gap: 10px; height: 100px; }
.pcb-bar { width: 30px; border-radius: 4px 4px 0 0; background: rgba(14,139,255,0.35); animation: bar-grow 0.8s ease both; }
.pcb-bar.active { background: var(--blue-vivid); }
.pc-mock-erp { display: flex; gap: 8px; width: 200px; height: 120px; }
.erp-sidebar { width: 40px; background: rgba(14,139,255,0.2); border-radius: 6px; }
.erp-main { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.erp-row { height: 12px; background: rgba(255,255,255,0.1); border-radius: 4px; }
.erp-row.short { width: 60%; }
.erp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; flex: 1; }
.erp-cell { background: rgba(14,139,255,0.15); border-radius: 4px; }
.pc-mock-web { width: 180px; }
.web-hero-bar { height: 40px; background: rgba(14,139,255,0.2); border-radius: 6px; margin-bottom: 10px; }
.web-content-bars { display: flex; flex-direction: column; gap: 6px; }
.wcb { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; }
.wcb.short { width: 60%; }
.pc-mock-crm { width: 180px; }
.crm-line { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-bottom: 8px; }
.crm-line.short { width: 50%; }
.crm-dots { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.crmd { width: 18px; height: 18px; border-radius: 50%; background: rgba(14,139,255,0.2); }
.crmd.active { background: var(--blue-vivid); width: 22px; height: 22px; }
.pc-mock-clinic { width: 180px; }
.clinic-header { height: 30px; background: rgba(14,139,255,0.2); border-radius: 6px; margin-bottom: 10px; }
.clinic-cards { display: flex; gap: 8px; }
.clinic-c { flex: 1; height: 50px; background: rgba(14,139,255,0.12); border-radius: 6px; border: 1px solid var(--border); }
.pc-mock-admin { width: 200px; }
.admin-nav { height: 20px; background: rgba(14,139,255,0.25); border-radius: 4px; margin-bottom: 10px; }
.admin-table { display: flex; flex-direction: column; gap: 5px; }
.at-row { height: 16px; background: rgba(255,255,255,0.05); border-radius: 3px; }
.at-row.header { background: rgba(14,139,255,0.2); }

/* --- DIFERENCIAIS SECTION --- */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.diff-left h2 { font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.diff-left p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.diff-list { display: flex; flex-direction: column; gap: 14px; }
.diff-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-body); }
.diff-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.diff-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.diff-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.dc-icon {
  width: 44px; height: 44px;
  background: rgba(14,139,255,0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.diff-card h4 { font-family: var(--font-heading); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.diff-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* --- PROCESS SECTION --- */
#processo { background: linear-gradient(180deg, transparent, rgba(8,27,90,0.15), transparent); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tl-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.tl-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-vivid), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.tl-item:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.tl-item:hover::after { opacity: 1; }
.tl-num {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: rgba(14,139,255,0.15);
  line-height: 1;
  margin-bottom: 16px;
}
.tl-icon {
  width: 44px; height: 44px;
  background: rgba(14,139,255,0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.tl-content h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.tl-content p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* --- RESULTS SECTION --- */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.result-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}
.result-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.result-card.featured {
  background: linear-gradient(135deg, rgba(14,139,255,0.15), rgba(8,27,90,0.6));
  border-color: var(--border-strong);
}
.rc-num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--blue-vivid);
  line-height: 1;
  margin-bottom: 12px;
}
.result-card h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.result-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* --- CONTACT SECTION --- */
#contato { background: linear-gradient(180deg, transparent, rgba(8,27,90,0.2), transparent); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-left h2 { font-family: var(--font-heading); font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.contact-left p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.ci-item { display: flex; align-items: center; gap: 14px; }
.ci-icon {
  width: 42px; height: 42px;
  background: rgba(14,139,255,0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-item strong { display: block; font-size: 12px; color: var(--white); font-family: var(--font-heading); margin-bottom: 2px; }
.ci-item p { font-size: 13px; color: var(--text-muted); margin: 0; }
.contact-form {
  background: rgba(8,27,90,0.4);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--silver); font-family: var(--font-heading); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  transition: border-color 0.25s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(148,163,184,0.5); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-vivid); background: rgba(14,139,255,0.06); }
.form-group select option { background: var(--bg-dark); }
.form-group textarea { resize: vertical; min-height: 110px; }

.contact-form.contact-details {
  background: rgba(8,27,90,0.4);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-instruction {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.contact-actions {
  display: grid;
  gap: 16px;
}

.social-disabled {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  opacity: 0.55;
  cursor: not-allowed;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.footer-link-disabled {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.6;
  cursor: default;
}

/* --- ADVANCED ANIMATIONS --- */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes subtle-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.service-card.featured {
  background: linear-gradient(135deg, rgba(14, 139, 255, 0.12), rgba(8, 27, 90, 0.6));
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

/* --- ENHANCED BUTTONS --- */
.btn-primary {
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::after {
  left: 100%;
}

/* --- SCROLL INDICATORS --- */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* --- CI-ITEM --- */


/* --- FOOTER --- */
footer { position: relative; z-index: 1; }
.ci-item p a {
  color: var(--blue-vivid);
  font-weight: 600;
  transition: var(--transition);
}
.ci-item p a:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.footer-top {
  padding: 70px 0 50px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(8,27,90,0.2));
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; max-width: 280px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  font-family: var(--font-heading);
}
.social-links a:hover { border-color: var(--blue-vivid); color: var(--blue-vivid); background: rgba(14,139,255,0.1); }
.footer-col h4 { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-col { display: flex; flex-direction: column; }
.footer-col a { font-size: 14px; color: var(--text-muted); padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* --- FOUNDERS SECTION --- */
.founders-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(8,27,90,0.1));
}
.founders-header { text-align: center; margin-bottom: 60px; }
.founders-badge { 
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.founders-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.founders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.founder-card {
  background: var(--card-bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  text-align: center;
}
.founder-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); animation: subtle-glow 0.5s ease; }
@keyframes subtle-glow {
  0% { box-shadow: var(--shadow-blue); }
  50% { box-shadow: 0 8px 40px rgba(14, 139, 255, 0.4); }
  100% { box-shadow: var(--shadow-blue); }
}
.founder-image {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  border-radius: 20px;
  overflow: hidden;
}
.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue-vivid), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  border: 2px solid var(--border-strong);
  box-shadow: inset 0 0 20px rgba(14,139,255,0.2);
  animation: float 4s ease-in-out infinite;
}
.image-glow {
  position: absolute;
  inset: -8px;
  background: radial-gradient(circle, rgba(14,139,255,0.3), transparent);
  border-radius: 24px;
  filter: blur(12px);
  opacity: 0.6;
  animation: glow-pulse 3s ease infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}
.founder-info h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.founder-role {
  color: var(--blue-vivid);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.founder-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.founder-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.founder-skills span {
  background: rgba(14,139,255,0.1);
  border: 1px solid var(--border);
  color: var(--blue-vivid);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
}

/* --- TECHNOLOGIES SECTION --- */
#tecnologias { background: linear-gradient(180deg, transparent, rgba(8,27,90,0.15), transparent); }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-bottom: 60px; }
.tech-category {
  background: var(--card-bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.tech-category:hover { transform: translateY(-3px); box-shadow: var(--shadow-blue); }
.tech-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.tech-category-header svg { color: var(--blue-vivid); flex-shrink: 0; }
.tech-category-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.tech-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tech-item {
  background: rgba(6,15,46,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}
.tech-item:hover { border-color: var(--blue-vivid); background: rgba(14,139,255,0.08); }
.tech-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue-vivid), var(--blue-deep));
  border-radius: 10px;
  margin: 0 auto 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  font-size: 18px;
}
.tech-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.tech-desc {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}
.tech-integrations {
  background: linear-gradient(135deg, rgba(14,139,255,0.12), rgba(8,27,90,0.6));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.tech-integrations h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
}
.integration-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.integration-badge {
  background: rgba(6,15,46,0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-vivid);
  transition: var(--transition);
}
.integration-badge:hover { border-color: var(--blue-vivid); background: rgba(14,139,255,0.08); transform: translateY(-2px); }
.integration-badge svg { width: 14px; height: 14px; }

/* --- SCROLL REVEAL ANIMATIONS --- */
[data-reveal], [data-reveal-right] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal-right] { transform: translateX(40px); }
[data-reveal].visible { opacity: 1; transform: translateY(0); }
[data-reveal-right].visible { opacity: 1; transform: translateX(0); }

/* --- RESPONSIVE --- */
/* ============================================
   MEDIA QUERIES: Breakpoints para diferentes tamanhos de tela
   - 1024px: Tablets grandes
   - 900px: Tablets e grandes celulares (landscape)
   - 768px: Tablets e celulares grandes (landscape)
   - 640px: Celulares (portrait)
   - 480px: Celulares pequenos
   ============================================ */

/* TABLET GRANDE (1024px) */
@media (max-width: 1024px) {
  .hero-container { gap: 50px; }
  .bi-grid, .diff-grid, .contact-grid { gap: 50px; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* TABLET E CELULARES LANDSCAPE (900px) */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-mobile-menu { display: flex; }
  .hero-container { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
  .hero-right { display: none; }
  .hero-headline { font-size: 42px; line-height: 1.2; }
  .hero-sub { font-size: 15px; }
  .services-grid { grid-template-columns: 1fr; }
  .bi-grid { grid-template-columns: 1fr; gap: 40px; }
  .diff-grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .portfolio-card.large { grid-column: span 1; }
  .pc-content { padding: 16px; }
  .pc-content h3 { font-size: 15px; }
  .pc-content p { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founders-grid { grid-template-columns: 1fr; gap: 24px; }
  .tech-grid { grid-template-columns: 1fr; }
  .integration-badges { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* CELULARES GRANDES E TABLETS (768px) */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .nav-logo { font-size: 16px; gap: 8px; }
  .brand-logo { width: 32px; height: 32px; }
  .nav-mobile-menu { padding: 12px 16px 20px; }
  section { padding: 50px 0 !important; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: clamp(24px, 5vw, 36px); margin-bottom: 12px; }
  .section-header p { font-size: 14px; }
  .hero-container { padding: 0 16px; gap: 30px; min-height: calc(100vh - 80px); }
  .hero-headline { font-size: 36px; margin-bottom: 16px; }
  .hero-sub { font-size: 14px; margin-bottom: 28px; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-stats .stat-divider { display: none; }
  .hero-btns { gap: 10px; }
  .btn-primary, .btn-secondary, .btn-ghost { padding: 12px 20px; font-size: 13px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-img { height: 140px; }
  .portfolio-card.large .pc-img { height: 140px; }
  .pc-content { padding: 14px; }
  .pc-tag { font-size: 10px; padding: 2px 8px; }
  .pc-content h3 { font-size: 14px; margin-bottom: 6px; }
  .pc-content p { font-size: 11px; margin-bottom: 10px; }
  .pc-tech span { font-size: 10px; padding: 2px 6px; }
  .bi-kpi-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .diff-cards { grid-template-columns: 1fr; gap: 14px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tl-item { padding: 20px 16px; }
  .results-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-form { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .founders-grid { gap: 20px; }
  .founder-card { padding: 20px; }
  .founder-image { width: 100%; height: 200px; }
  .tech-items { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .integration-badges { grid-template-columns: 1fr; gap: 10px; }
  .portfolio-filters { gap: 8px; margin-bottom: 32px; }
  .pf-btn { padding: 6px 16px; font-size: 12px; }
  .service-card { padding: 20px; }
}

/* CELULARES (640px) */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .nav-logo { font-size: 15px; }
  .brand-logo { width: 32px; height: 32px; }
  .nav-mobile-menu { padding: 12px 16px 20px; }
  .nav-mobile-menu a { padding: 10px 0; font-size: 14px; }
  section:not(#hero):not(.trusted-section) { padding: 50px 0; }
  .hero-container { padding: 0 16px; gap: 24px; }
  .hero-headline { font-size: 32px; margin-bottom: 14px; line-height: 1.3; }
  .hero-sub { font-size: 13px; margin-bottom: 24px; }
  .hero-stats { flex-direction: column; gap: 10px; }
  .stat-num { font-size: 28px; }
  .stat span { font-size: 18px; }
  .stat p { font-size: 11px; }
  .hero-btns { flex-direction: column; gap: 8px; }
  .btn-primary, .btn-secondary, .btn-ghost { width: 100%; padding: 12px 16px; font-size: 13px; text-align: center; justify-content: center; }
  .hero-badge { font-size: 11px; padding: 6px 12px; margin-bottom: 20px; }
  /* Portfolio Section Mobile Optimizations */
  .portfolio-grid { grid-template-columns: 1fr; gap: 14px; }
  .portfolio-card { border-radius: 12px; overflow: hidden; }
  .portfolio-card.large { grid-column: span 1; }
  .pc-img { height: 160px; }
  .portfolio-card.large .pc-img { height: 160px; }
  .pc-content { padding: 16px; }
  .pc-tag { font-size: 10px; padding: 3px 8px; margin-bottom: 8px; }
  .pc-content h3 { font-size: 15px; margin-bottom: 6px; font-weight: 700; }
  .pc-content p { font-size: 12px; line-height: 1.5; margin-bottom: 10px; }
  .pc-tech { gap: 4px; }
  .pc-tech span { font-size: 10px; padding: 2px 6px; }
  .service-link { font-size: 12px; }
  .portfolio-filters { gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
  .pf-btn { padding: 6px 14px; font-size: 12px; font-weight: 500; }
  .timeline { grid-template-columns: 1fr; gap: 14px; }
  .tl-item { padding: 18px 14px; border-radius: 12px; }
  .tl-num { font-size: 28px; }
  .results-grid { grid-template-columns: 1fr; gap: 14px; }
  .result-item h3 { font-size: 14px; }
  .result-item p { font-size: 11px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-form { padding: 18px 16px; border-radius: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .form-row.full { grid-column: 1; }
  input, textarea { padding: 10px 12px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-bottom p { font-size: 12px; }
  .founders-grid { grid-template-columns: 1fr; gap: 18px; }
  .founder-card { padding: 18px; border-radius: 12px; }
  .founder-image { width: 100%; height: 180px; }
  .founder-info h3 { font-size: 16px; }
  .founder-role { font-size: 12px; }
  .founder-desc { font-size: 12px; line-height: 1.5; }
  .founder-skills { gap: 6px; flex-wrap: wrap; }
  .founder-skills span { font-size: 11px; padding: 4px 8px; }
  .tech-items { grid-template-columns: 1fr; gap: 10px; }
  .tech-item { padding: 14px; font-size: 13px; }
  .tech-grid { grid-template-columns: 1fr; }
  .integration-badges { grid-template-columns: 1fr; gap: 10px; }
  .badge { padding: 12px 16px; font-size: 12px; }
  .bi-kpi-row { grid-template-columns: 1fr; gap: 12px; }
  .bi-kpi { padding: 14px; }
  .bi-kpi p { font-size: 11px; }
  .bi-kpi h3 { font-size: 18px; }
  .diff-cards { grid-template-columns: 1fr; gap: 12px; }
  .diff-card { padding: 16px; border-radius: 12px; }
  .diff-card h4 { font-size: 14px; }
  .diff-card p { font-size: 12px; }
  .service-card { padding: 18px; border-radius: 12px; }
  .service-card h3 { font-size: 15px; }
  .service-card p { font-size: 12px; }
  .service-list { font-size: 12px; }
}

/* CELULARES PEQUENOS (480px) */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .nav-container { padding: 0 14px; }
  .nav-logo { font-size: 14px; gap: 6px; }
  .brand-logo { width: 28px; height: 28px; }
  .nav-mobile-menu { padding: 10px 14px 16px; }
  section { padding: 40px 0 !important; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 24px; margin-bottom: 10px; }
  .section-header p { font-size: 13px; line-height: 1.5; }
  .hero-logo-block { max-width: 80px; margin-bottom: 20px; }
  .hero-logo { border-radius: 14px; }
  .hero-headline { font-size: 28px; margin-bottom: 12px; line-height: 1.2; letter-spacing: 0; }
  .hero-sub { font-size: 12px; margin-bottom: 20px; line-height: 1.6; }
  .hero-stats { gap: 8px; }
  .stat { text-align: center; }
  .stat-num { font-size: 24px; }
  .stat span { font-size: 16px; }
  .stat p { font-size: 10px; }
  .hero-btns { flex-direction: column; gap: 6px; margin-bottom: 32px; }
  .btn-primary, .btn-secondary, .btn-ghost { width: 100%; padding: 11px 14px; font-size: 12px; }
  .hero-badge { font-size: 10px; padding: 5px 10px; }
  /* Portfolio - Ultra Mobile */
  .portfolio-grid { grid-template-columns: 1fr; gap: 10px; }
  .pc-img { height: 140px; }
  .pc-content { padding: 12px; }
  .pc-tag { font-size: 9px; padding: 2px 6px; margin-bottom: 6px; }
  .pc-content h3 { font-size: 14px; margin-bottom: 4px; }
  .pc-content p { font-size: 11px; line-height: 1.4; margin-bottom: 8px; }
  .pc-tech span { font-size: 9px; padding: 2px 5px; }
  .portfolio-filters { gap: 4px; margin-bottom: 24px; }
  .pf-btn { padding: 5px 12px; font-size: 11px; }
  .timeline { grid-template-columns: 1fr; gap: 10px; }
  .tl-item { padding: 14px 12px; }
  .tl-num { font-size: 24px; }
  .results-grid { grid-template-columns: 1fr; gap: 10px; }
  .result-item h3 { font-size: 13px; }
  .result-item p { font-size: 10px; }
  .contact-form { padding: 14px 12px; }
  .form-row { gap: 10px; }
  input, textarea { padding: 9px 10px; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-bottom p { font-size: 11px; }
  .founders-grid { gap: 14px; }
  .founder-card { padding: 14px; }
  .founder-image { height: 140px; }
  .founder-info h3 { font-size: 15px; margin-bottom: 2px; }
  .founder-role { font-size: 11px; }
  .founder-desc { font-size: 11px; line-height: 1.4; }
  .founder-skills span { font-size: 10px; padding: 3px 6px; }
  .tech-items { gap: 8px; }
  .tech-item { padding: 10px 12px; font-size: 12px; }
  .badge { padding: 10px 12px; font-size: 11px; }
  .bi-kpi { padding: 10px 12px; }
  .bi-kpi p { font-size: 10px; }
  .bi-kpi h3 { font-size: 16px; }
  .diff-card { padding: 12px; }
  .diff-card h4 { font-size: 13px; }
  .diff-card p { font-size: 11px; }
  .service-card { padding: 14px; }
  .service-card h3 { font-size: 14px; }
  .service-card p { font-size: 11px; }
}

