/* ===== ELEVEN SOLUÇÕES — DESIGN SYSTEM ===== */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --bg-card-hover: #273449;
  --accent-blue: #1e6fd9;
  --accent-blue-light: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-green: #16a34a;
  --accent-gradient: linear-gradient(135deg, #1e6fd9, #06b6d4);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(59,130,246,0.3);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(30,111,217,0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: var(--transition); border: none; white-space: nowrap;
  font-family: var(--font);
}
.btn-primary {
  background: var(--accent-gradient); color: #fff;
  box-shadow: 0 4px 20px rgba(30,111,217,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(30,111,217,0.55); }
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--border-accent);
}
.btn-outline:hover { background: rgba(59,130,246,0.1); border-color: var(--accent-blue-light); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.45); }
.btn-full { width: 100%; justify-content: center; }

/* ===== BADGE ===== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(30,111,217,0.12); border: 1px solid rgba(30,111,217,0.3);
  color: var(--accent-blue-light); padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  text-transform: uppercase; margin-bottom: 20px;
}

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header h2 {
  font-size: clamp(26px, 4vw, 42px); font-weight: 800;
  line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-header p { font-size: 17px; color: var(--text-secondary); line-height: 1.7; }

/* ===== HEADER / NAV ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: var(--transition); }
.header.scrolled {
  background: rgba(15,23,42,0.92); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }

/* LOGO */
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 44px; width: auto; display: block; mix-blend-mode: screen; filter: drop-shadow(0 0 8px rgba(30,111,217,0.4)); }
.nav-logo-img-fallback {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-icon {
  width: 40px; height: 40px; background: var(--accent-gradient);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-weight: 900; font-size: 17px;
  color: #fff; box-shadow: 0 4px 16px rgba(30,111,217,0.4); flex-shrink: 0;
}
.nav-logo-text { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.nav-logo-text span { color: var(--accent-blue-light); }
.nav-logo-sub { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; color: #22c55e; text-transform: uppercase; display: block; line-height: 1; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }

.nav-cta { display: flex; gap: 12px; }

.nav-mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 4px; transition: var(--transition); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(9,16,33,0.98); backdrop-filter: blur(24px);
  z-index: 1100; flex-direction: column; align-items: center;
  justify-content: center; gap: 28px; padding: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 22px; font-weight: 700; color: var(--text-primary);
  transition: var(--transition); text-align: center;
}
.mobile-menu a:hover { color: var(--accent-blue-light); }
.mobile-menu .btn { font-size: 16px; padding: 14px 32px; }
.mobile-menu-close {
  position: absolute; top: 20px; right: 20px; font-size: 28px;
  cursor: pointer; background: var(--bg-secondary); border: 1px solid var(--border);
  color: var(--text-primary); width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.mobile-menu-logo { margin-bottom: 8px; }
.mobile-menu-logo .nav-logo-img { height: 48px; margin: 0 auto; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding: 120px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.12; }
.hero-orb-1 { width: 600px; height: 600px; background: var(--accent-blue); top: -200px; right: -150px; }
.hero-orb-2 { width: 400px; height: 400px; background: var(--accent-cyan); bottom: -100px; left: -100px; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,111,217,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,111,217,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,111,217,0.1); border: 1px solid rgba(30,111,217,0.25);
  color: var(--accent-blue-light); padding: 8px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 28px; animation: fadeInDown 0.6s ease forwards;
}
.hero-tag-dot { width: 6px; height: 6px; background: var(--accent-cyan); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 {
  font-size: clamp(36px, 5.5vw, 68px); font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 24px; animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px); color: var(--text-secondary); max-width: 540px;
  line-height: 1.7; margin-bottom: 40px; animation: fadeInUp 0.7s ease 0.2s both;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; animation: fadeInUp 0.7s ease 0.3s both; }
.hero-trust { display: flex; align-items: center; gap: 12px; animation: fadeInUp 0.7s ease 0.4s both; }
.hero-trust-avatars { display: flex; }
.hero-trust-avatars span {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg-primary);
  display: flex; align-items: center; justify-content: center; font-size: 11px;
  font-weight: 700; margin-left: -8px; background: var(--accent-gradient); color: #fff;
}
.hero-trust-avatars span:first-child { margin-left: 0; }
.hero-trust p { font-size: 14px; color: var(--text-secondary); }
.hero-trust strong { color: var(--text-primary); }
.hero-price-anchor { margin-top: 6px; font-size: 13px; color: var(--text-muted); }
.hero-price-anchor strong { color: var(--accent-cyan); }

/* ===== SERVICES ===== */
.services { background: var(--bg-secondary); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: rgba(15,23,42,0.6); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; background: var(--accent-gradient);
  opacity: 0; transition: var(--transition); border-radius: inherit;
}
.service-card:hover { border-color: var(--accent-blue); transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.service-card:hover::before { opacity: 0.05; }
.service-icon {
  width: 50px; height: 50px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 18px;
  font-size: 22px; position: relative; z-index: 1;
}
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; position: relative; z-index: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px;
  font-weight: 600; color: var(--accent-blue-light); margin-top: 18px;
  transition: var(--transition); position: relative; z-index: 1;
}
.service-link:hover { gap: 10px; }

/* ===== WHY US ===== */
.why-us { background: var(--bg-primary); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-card-preview {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card);
}
.why-card-preview-header { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.why-dot { width: 10px; height: 10px; border-radius: 50%; }
.why-dot-red { background: #ef4444; }
.why-dot-yellow { background: #f59e0b; }
.why-dot-green { background: #22c55e; }
.why-metric { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.why-metric:last-of-type { border-bottom: none; }
.why-metric-label { font-size: 13px; color: var(--text-secondary); }
.why-metric-value { font-size: 14px; font-weight: 700; color: #22c55e; }
.why-bar-wrap { height: 4px; background: var(--border); border-radius: 4px; margin-top: 6px; overflow: hidden; }
.why-bar { height: 100%; border-radius: 4px; background: var(--accent-gradient); }
.why-floating-badge {
  position: absolute; background: var(--bg-secondary); border: 1px solid var(--border-accent);
  border-radius: 12px; padding: 12px 18px; box-shadow: var(--shadow-card); font-size: 13px;
}
.why-floating-badge strong { display: block; font-size: 22px; font-weight: 800; }
.why-floating-1 { bottom: -20px; right: -20px; }
.why-floating-2 { top: -20px; left: -20px; }
.why-visual { position: relative; }
.why-items { display: flex; flex-direction: column; gap: 24px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-item-icon {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(30,111,217,0.1);
  border: 1px solid rgba(30,111,217,0.2); display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.why-item-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.why-item-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ===== STATS ===== */
.stats { background: var(--bg-secondary); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
}
.stat-item { background: var(--bg-secondary); padding: 48px 24px; text-align: center; transition: var(--transition); }
.stat-item:hover { background: var(--bg-card-hover); }
.stat-number { font-size: clamp(36px, 4vw, 52px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--text-secondary); font-weight: 500; }

/* ===== PACKAGES ===== */
.packages { background: var(--bg-primary); }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.package-card {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  display: flex; flex-direction: column; position: relative;
  transition: var(--transition); overflow: hidden;
}
.package-card:hover { border-color: var(--accent-blue); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.package-card.featured {
  border-color: var(--accent-blue); background: var(--bg-card);
  box-shadow: 0 0 0 1px var(--accent-blue), var(--shadow-glow);
}
.package-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent-gradient);
}
.package-badge-popular {
  position: absolute; top: -1px; right: 24px;
  background: var(--accent-gradient); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}
.package-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: rgba(30,111,217,0.12); border: 1px solid rgba(30,111,217,0.2);
}
.package-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px; }
.package-title { font-size: 22px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; }
.package-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }
.package-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.package-entry-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-cyan); margin-bottom: 16px;
}
.package-group-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin: 16px 0 8px;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.package-group-label:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.package-sla {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px; margin: 20px 0 0;
}
.package-sla i { color: var(--accent-cyan); font-size: 14px; flex-shrink: 0; }
.package-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 0; flex: 1; }
.package-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-secondary);
}
.package-feature i { color: #22c55e; font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.package-feature.disabled { opacity: 0.4; }
.package-feature.disabled i { color: var(--text-muted); }
.package-cta { margin-top: 20px; }

/* ===== CALCULADORA — Plano Start ===== */
.calc-box { background: rgba(255,255,255,0.025); border: 1px solid var(--border); border-radius: 10px; padding: 16px 16px 18px; margin-bottom: 20px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.calc-row label { font-size: 12.5px; color: var(--text-secondary); font-weight: 600; }
.calc-count { font-size: 15px; font-weight: 800; color: var(--accent-cyan); font-variant-numeric: tabular-nums; }
.calc-box input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 4px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan)); outline: none; cursor: pointer; margin: 8px 0 4px; }
.calc-box input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent-blue); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.calc-box input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent-blue); cursor: pointer; }
.calc-scale { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--text-muted); margin-top: 2px; }
.calc-toggle { display: flex; align-items: center; gap: 9px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); cursor: pointer; user-select: none; }
.calc-toggle input { width: 15px; height: 15px; accent-color: var(--accent-cyan); cursor: pointer; flex-shrink: 0; }
.calc-toggle span { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.calc-redirect { display: none; font-size: 12px; color: var(--text-primary); background: rgba(30,111,217,0.12); border: 1px solid rgba(30,111,217,0.3); border-radius: 8px; padding: 10px 12px; margin-top: 12px; line-height: 1.5; }
.calc-redirect b { color: var(--accent-cyan); }
.calc-redirect.show { display: block; }
.calc-live.hide { opacity: 0.35; pointer-events: none; }

/* ===== MATRIZ COMPARATIVA DE PLANOS ===== */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-secondary); margin-top: 32px; }
table.matrix { width: 100%; border-collapse: collapse; min-width: 640px; }
table.matrix caption { text-align: left; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); padding: 20px 24px 4px; }
table.matrix th, table.matrix td { padding: 13px 20px; font-size: 13.5px; text-align: center; border-bottom: 1px solid var(--border); }
table.matrix th { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 700; }
table.matrix td:first-child, table.matrix th:first-child { text-align: left; color: var(--text-secondary); font-weight: 600; font-size: 13.5px; }
table.matrix th:not(:first-child) { color: var(--text-primary); }
table.matrix tr:last-child td { border-bottom: none; }
table.matrix .mx-yes { color: #22c55e; }
table.matrix .mx-no { color: var(--text-muted); }
.col-featured { background: rgba(30,111,217,0.05); }

/* ===== SYSTEM TEASER ===== */
.system-teaser { background: var(--bg-secondary); }
.system-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.system-badge-soon {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22,163,74,0.12); border: 1px solid rgba(22,163,74,0.3);
  color: #22c55e; padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.system-badge-soon span { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
.system-content h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px; }
.system-content p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.system-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.system-feature { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.system-feature i { color: var(--accent-cyan); font-size: 18px; }
.system-preview {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.system-preview-bar {
  background: #0a0f1e; padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.system-preview-bar span { width: 10px; height: 10px; border-radius: 50%; }
.system-preview-body { padding: 20px; }
.system-preview-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-secondary); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 10px;
  border: 1px solid var(--border);
}
.system-preview-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  flex-shrink: 0;
}
.system-preview-info h5 { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.system-preview-info p { font-size: 11px; color: var(--text-muted); }
.system-preview-val {
  margin-left: auto; font-size: 13px; font-weight: 700; color: #22c55e;
  background: rgba(22,163,74,0.1); padding: 4px 10px;
  border-radius: 6px; white-space: nowrap;
}
.system-preview-coming {
  text-align: center; padding: 16px; border: 1px dashed var(--border-accent);
  border-radius: 10px; font-size: 13px; color: var(--text-muted); margin-top: 4px;
}

/* ===== FAQ ===== */
.faq-section { background: var(--bg-secondary); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s; }
.faq-item:hover { border-color: var(--accent-blue); }
.faq-item.open { border-color: var(--accent-cyan); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: none; border: none; cursor: pointer; text-align: left; font-size: 15px; font-weight: 600; color: var(--text-primary); font-family: inherit; }
.faq-question span { flex: 1; }
.faq-icon { font-size: 20px; color: var(--accent-cyan); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 24px; }
.faq-answer p { font-size: 14px; color: var(--text-secondary); line-height: 1.75; padding-bottom: 20px; margin: 0; }
.faq-answer strong { color: var(--text-primary); }
.faq-item.open .faq-answer { max-height: 300px; padding-top: 0; }

/* ===== PROCESS ===== */
.process { background: var(--bg-primary); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 27px; left: 12%; right: 12%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--accent-blue), transparent); opacity: 0.3;
}
.process-step { text-align: center; position: relative; }
.process-step-num {
  width: 54px; height: 54px; border-radius: 50%; background: var(--bg-secondary);
  border: 2px solid var(--border-accent); display: flex; align-items: center;
  justify-content: center; font-size: 17px; font-weight: 800; color: var(--accent-blue-light);
  margin: 0 auto 18px; position: relative; z-index: 1; transition: var(--transition);
}
.process-step:hover .process-step-num { background: var(--accent-blue); color: #fff; transform: scale(1.1); }
.process-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ===== CTA SECTION ===== */
.cta-section { background: var(--bg-primary); padding: 96px 0; }
.cta-box {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 24px; padding: 72px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(30,111,217,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 16px; position: relative; }
.cta-box p { font-size: 17px; color: var(--text-secondary); max-width: 480px; margin: 0 auto 40px; line-height: 1.7; position: relative; }
.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; position: relative; }
.cta-info { margin-top: 24px; font-size: 13px; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer { background: #080e1a; border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-logo-img { height: 48px; width: auto; mix-blend-mode: screen; filter: drop-shadow(0 0 6px rgba(30,111,217,0.3)); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--transition);
}
.footer-social a:hover { background: var(--accent-blue); border-color: var(--accent-blue); }
.footer-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { font-size: 14px; color: var(--text-secondary); transition: var(--transition); }
.footer-col ul a:hover { color: var(--text-primary); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 13px; color: var(--text-muted); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--text-secondary); }

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 54px; height: 54px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4); transition: var(--transition);
  animation: floatPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.55); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(4, 8, 20, 0.85); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 24px; width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 4px; }
.modal-header {
  padding: 28px 28px 20px; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--border); position: sticky; top: 0;
  background: var(--bg-secondary); border-radius: 24px 24px 0 0; z-index: 1;
}
.modal-header-left { display: flex; align-items: center; gap: 16px; }
.modal-header-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.modal-header h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.01em; }
.modal-header-sub { font-size: 13px; color: var(--text-secondary); }
.modal-close {
  width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.06);
  border: 1px solid var(--border); color: var(--text-secondary); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  flex-shrink: 0; transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.modal-body { padding: 24px 28px 28px; }
.modal-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 24px; }
.modal-section { margin-bottom: 24px; }
.modal-section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.modal-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.modal-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal-benefit {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px;
  background: rgba(30,111,217,0.06); border: 1px solid rgba(30,111,217,0.12);
  border-radius: 10px; font-size: 13px; line-height: 1.4;
}
.modal-benefit i { color: #22c55e; font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.modal-includes { display: flex; flex-direction: column; gap: 8px; }
.modal-include { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.modal-include i { color: var(--accent-blue-light); font-size: 15px; flex-shrink: 0; }
.modal-cta-area { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .modal-box { border-radius: 20px 20px 0 0; max-height: 92vh; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-header { padding: 20px 20px 16px; }
  .modal-body { padding: 20px 20px 24px; }
  .modal-benefits { grid-template-columns: 1fr; }
  .modal-cta-area { flex-direction: column; }
  .modal-cta-area .btn { justify-content: center; }
}

/* ===== OUTSOURCING BENEFITS ===== */
.outsourcing { background: var(--bg-primary); }
.outsourcing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outsourcing-card {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; transition: var(--transition);
  position: relative; overflow: hidden;
}
.outsourcing-card:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.outsourcing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent-gradient); opacity: 0; transition: var(--transition);
}
.outsourcing-card:hover::before { opacity: 1; }
.outsourcing-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 22px;
  margin-bottom: 16px; background: rgba(30,111,217,0.1);
  border: 1px solid rgba(30,111,217,0.15);
}
.outsourcing-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.outsourcing-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.outsourcing-stat {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--accent-cyan); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}

@media (max-width: 1024px) { .outsourcing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .outsourcing-grid { grid-template-columns: 1fr; } }

/* ===== PACKAGE PRICING ===== */
.package-price { margin: 0 0 20px; }
.package-price-label { font-size: 11px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.package-price-value { font-size: 32px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.package-price-value span { font-size: 14px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0; }
.package-price-note { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ===== ICON COLORS ===== */
.icon-blue { background: rgba(30,111,217,0.15); }
.icon-cyan { background: rgba(6,182,212,0.15); }
.icon-purple { background: rgba(139,92,246,0.15); }
.icon-green { background: rgba(34,197,94,0.15); }
.icon-orange { background: rgba(249,115,22,0.15); }
.icon-pink { background: rgba(236,72,153,0.15); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes floatPulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== SENIOR DESIGN UPGRADES ===== */

/* 1. NOISE TEXTURE — profundidade sutil no background */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
body > * { position: relative; z-index: 1; }

/* 2. HEADER — glassmorphism calibrado */
.header.scrolled {
  background: rgba(15,23,42,0.80) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 32px rgba(0,0,0,0.3) !important;
}

/* 3. GRADIENT TEXT no hero h1 */
.hero h1 .grad {
  background: linear-gradient(135deg, #fff 0%, #93c5fd 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 4. SOMBRAS COM COR em cards */
.service-card:hover {
  box-shadow: 0 20px 60px rgba(30,111,217,0.22), 0 4px 16px rgba(30,111,217,0.12) !important;
  border-color: rgba(30,111,217,0.5) !important;
}
.package-card:hover {
  box-shadow: 0 24px 64px rgba(30,111,217,0.24), 0 4px 16px rgba(30,111,217,0.12) !important;
}
.package-card.featured {
  box-shadow: 0 0 0 1px var(--accent-blue), 0 24px 64px rgba(30,111,217,0.28) !important;
}
.outsourcing-card:hover {
  box-shadow: 0 16px 48px rgba(6,182,212,0.18), 0 2px 12px rgba(6,182,212,0.08) !important;
  border-color: rgba(6,182,212,0.35) !important;
}
.btn-primary {
  box-shadow: 0 4px 20px rgba(30,111,217,0.45), 0 0 0 0 rgba(30,111,217,0) !important;
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(30,111,217,0.6), 0 2px 8px rgba(30,111,217,0.3) !important;
}

/* 5. HOVER MICRO-STATE — translateY nos cards */
.service-card:hover    { transform: translateY(-6px) !important; }
.outsourcing-card:hover { transform: translateY(-5px) !important; }
.why-item-icon { transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), background 0.3s ease; }
.why-item:hover .why-item-icon { transform: scale(1.12) rotate(-4deg); background: rgba(30,111,217,0.2); }

/* 6. BORDER ANIMADO no card featured */
@keyframes border-spin {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.package-card.featured::after {
  content: '';
  position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, #1e6fd9, #06b6d4, #7c3aed, #1e6fd9);
  background-size: 300% 300%;
  animation: border-spin 4s ease infinite;
  z-index: -1;
  opacity: 0.35;
}
.package-card.featured { z-index: 0; }

/* 7. STAGGER — revelar cards em cascata */
.stagger-child { opacity: 0; transform: translateY(28px); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.stagger-child.visible { opacity: 1; transform: translateY(0); }

/* 8. SKELETON HERO — entrada progressiva */
@keyframes hero-entry {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tag     { animation: hero-entry 0.55s cubic-bezier(0.16,1,0.3,1) 0.05s both; }
.hero h1      { animation: hero-entry 0.65s cubic-bezier(0.16,1,0.3,1) 0.15s both; }
.hero-subtitle { animation: hero-entry 0.65s cubic-bezier(0.16,1,0.3,1) 0.25s both; }
.hero-cta     { animation: hero-entry 0.65s cubic-bezier(0.16,1,0.3,1) 0.35s both; }
.hero-trust   { animation: hero-entry 0.65s cubic-bezier(0.16,1,0.3,1) 0.45s both; }
.ellie        { animation: ellie-float 5s cubic-bezier(0.45,0,0.55,1) infinite, hero-entry 0.9s cubic-bezier(0.16,1,0.3,1) 0.5s both; }

/* 9. STAT NUMBERS — gradient */
.stat-number { background: linear-gradient(135deg, #f8fafc 30%, #93c5fd 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* 10. PROCESS STEP — glow no hover */
.process-step:hover .process-step-num {
  background: var(--accent-gradient) !important;
  color: #fff !important;
  box-shadow: 0 0 24px rgba(30,111,217,0.5) !important;
  transform: scale(1.12) !important;
}

/* PARALLAX ELLIE */
.ellie-parallax { will-change: transform; }


/* ===== CONTACT FORM ===== */
.cta-form-wrap {
  margin-top: 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.cta-form-title {
  font-size: 18px; font-weight: 700; margin-bottom: 24px;
  text-align: center;
  color: var(--text-primary);
}
.cta-form { display: flex; flex-direction: column; gap: 16px; }
.cta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-form-field { display: flex; flex-direction: column; gap: 6px; }
.cta-form-field label {
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.cta-form-field input,
.cta-form-field select,
.cta-form-field textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.cta-form-field input:focus,
.cta-form-field select:focus,
.cta-form-field textarea:focus {
  border-color: var(--accent-blue-light);
  box-shadow: 0 0 0 3px rgba(30,111,217,0.18);
}
.cta-form-field input::placeholder,
.cta-form-field textarea::placeholder { color: var(--text-muted); }
.cta-form-field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M12 15l-7-7h14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.cta-form-field select option { background: #1e293b; }
.cta-form-field textarea { resize: vertical; min-height: 80px; }
.btn-full { width: 100%; }
.cta-form-note {
  font-size: 11px; color: var(--text-muted); text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .sites-highlights { grid-template-columns: repeat(2, 1fr); }
  .sites-split { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sites-highlights { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .cta-form-row { grid-template-columns: 1fr; }
  .cta-form-wrap { padding: 24px 16px; }
  .portfolio-filters { gap: 6px; }
  .pf-btn { padding: 7px 14px; font-size: 12px; }
}


/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 1024px) {
  .sites-featured { grid-template-columns: 1fr; gap: 40px; }
  .sites-browser-wrap { max-width: 520px; margin: 0 auto; }
  .pf-featured { grid-template-columns: 1fr; }
  .pf-featured-visual { min-height: 180px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .pf-featured-body { padding: 24px 20px; }
  .pf-featured-stats { gap: 16px; flex-wrap: wrap; }
  .sites-featured-stats { gap: 16px; }
  .sites-segments-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
  .portfolio-filters { gap: 6px; }
  .pf-btn { padding: 7px 14px; font-size: 12px; }
}



/* ═══ RESPONSIVE ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sites-pillars { grid-template-columns: 1fr; }
  .sites-pillar { border-bottom: 1px solid var(--border); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .sites-includes-grid { grid-template-columns: 1fr; }
  .sites-includes-footer { flex-direction: column; align-items: flex-start; }
  .sites-includes-cta { width: 100%; }
  .sites-includes-cta .btn { flex: 1; justify-content: center; }
  .portfolio-result-big { font-size: 36px; }
  .sites-pillar { padding: 28px 24px; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SITES SECTION ━━━━━━━━━━━━━━━━━━━━ */
.sites-section { padding: var(--section-padding) 0; }

.sites-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 56px 0 64px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sites-number-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px;
  gap: 8px;
  transition: background 0.25s;
}
.sites-number-item:hover { background: rgba(30,111,217,0.06); }
.sites-number {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.sites-number-label {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}
.sites-number-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

.sites-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.sites-diferenciais h3,
.sites-incluso h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.sites-dif-list { display: flex; flex-direction: column; gap: 24px; }
.sites-dif {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.sites-dif-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(30,111,217,0.1);
  border: 1px solid rgba(30,111,217,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--accent-blue-light);
  flex-shrink: 0;
}
.sites-dif strong {
  display: block;
  font-size: 14px; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.sites-dif p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.sites-checklist {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.sites-checklist li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.sites-checklist li:last-child { border-bottom: none; }
.sites-checklist li i { color: #22c55e; font-size: 16px; flex-shrink: 0; }

.sites-segmentos {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
}
.sites-seg-title {
  display: block;
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.sites-seg-row {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.sites-seg-row span {
  font-size: 12px; color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 12px;
  cursor: default;
}
.sites-incluso-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ PORTFOLIO ━━━━━━━━━━━━━━━━━━━━━━━━━ */
.portfolio-section { padding: var(--section-padding) 0; }

.portfolio-filters {
  display: flex; gap: 8px; justify-content: center;
  margin: 32px 0 40px; flex-wrap: wrap;
}
.pf-btn {
  padding: 8px 22px; border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent; color: var(--text-secondary);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all 0.25s; font-family: inherit;
}
.pf-btn:hover { border-color: rgba(30,111,217,0.4); color: var(--text-primary); }
.pf-btn.active { background: var(--accent-gradient); border-color: transparent; color: #fff; }

/* Lista editorial de projetos */
.pf-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pf-item {
  display: grid;
  grid-template-columns: 160px 1px 1fr auto;
  align-items: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  cursor: default;
}
.pf-item:last-child { border-bottom: none; }
.pf-item:hover { background: var(--bg-primary); }
.pf-item.hidden { display: none; }

.pf-item-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  text-align: center;
  gap: 6px;
}
.pf-result-num {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pf-result-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: center;
}

.pf-item-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

.pf-item-content {
  padding: 24px 28px;
}
.pf-item-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.pf-item-period {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.pf-item-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}
.pf-item-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.pf-item-arrow {
  padding: 0 24px;
  font-size: 20px;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}
.pf-item:hover .pf-item-arrow {
  color: var(--accent-blue-light);
  transform: translate(2px, -2px);
}

.portfolio-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.tag-site    { background: rgba(6,182,212,0.1);  color: #22d3ee; border: 1px solid rgba(6,182,212,0.2);   }
.tag-sistema { background: rgba(30,111,217,0.1); color: #60a5fa; border: 1px solid rgba(30,111,217,0.25); }
.tag-ia      { background: rgba(52,211,153,0.1); color: #34d399; border: 1px solid rgba(52,211,153,0.2);  }

.portfolio-cta { text-align: center; margin-top: 48px; }
.portfolio-cta p { color: var(--text-secondary); margin-bottom: 20px; font-size: 15px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ RESPONSIVE ━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
  .sites-body { grid-template-columns: 1fr; }
  .sites-numbers { flex-wrap: wrap; }
  .sites-number-item { min-width: 140px; }
  .sites-number-divider { display: none; }
  .pf-item { grid-template-columns: 130px 1px 1fr auto; }
}
@media (max-width: 640px) {
  .sites-number { font-size: 32px; }
  .pf-item { grid-template-columns: 1fr; }
  .pf-item-divider { display: none; }
  .pf-item-result {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px 20px 0;
    text-align: left;
  }
  .pf-result-desc { text-align: left; }
  .pf-item-content { padding: 12px 20px 20px; }
  .pf-item-arrow { display: none; }
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .system-grid { grid-template-columns: 1fr; }
  .system-preview { max-width: 480px; }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .container { padding: 0 16px; }

  /* Nav */
  .nav { padding: 12px 0; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-logo-img { height: 40px; }

  /* Hero */
  .hero { padding: 90px 0 56px; min-height: auto; }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .hero-subtitle { font-size: 16px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-wrap: wrap; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 22px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 32px 16px; }
  .stat-number { font-size: 36px; }

  /* Packages */
  .packages-grid { grid-template-columns: 1fr; max-width: 100%; }
  .package-card { padding: 28px 20px; }
  /* Sem reorder — mantém Start primeiro mesmo no mobile, âncora no valor mais baixo */

  /* System teaser */
  .system-grid { grid-template-columns: 1fr; gap: 40px; }
  .system-preview { display: none; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-step { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; text-align: left; align-items: start; }
  .process-step-num { margin: 0; }
  .process-step h4, .process-step p { grid-column: 2; }
  .process-step h4 { margin-top: 14px; }

  /* Section headers */
  .section-header { margin-bottom: 40px; }
  .section-header p { font-size: 15px; }

  /* CTA */
  .cta-box { padding: 36px 20px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 16px; }

  /* Why us */
  .why-items { gap: 20px; }

  /* Float btn */
  .whatsapp-float { bottom: 20px; right: 16px; width: 50px; height: 50px; font-size: 22px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 30px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
}

/* ===== IA & AGENTES AUTÔNOMOS ===== */
.ai-section { background: var(--bg-secondary); position: relative; overflow: hidden; }
.ai-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.08; pointer-events: none; }
.ai-glow-1 { width: 600px; height: 600px; background: #7c3aed; top: -200px; right: -100px; }
.ai-glow-2 { width: 500px; height: 500px; background: #06b6d4; bottom: -150px; left: -150px; }
.ai-inner { position: relative; z-index: 1; }
.ai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ai-badge-purple {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.3);
  color: #a78bfa; padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  text-transform: uppercase; margin-bottom: 20px;
}
.ai-title { font-size: clamp(26px,4vw,42px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px; }
.ai-gradient { background: linear-gradient(135deg,#8b5cf6,#06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ai-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; }
.ai-highlights { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.ai-highlight { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.ai-highlight i { color: #a78bfa; font-size: 19px; flex-shrink: 0; }
.btn-ai { background: linear-gradient(135deg,#7c3aed,#06b6d4); color: #fff; box-shadow: 0 4px 20px rgba(124,58,237,0.4); }
.btn-ai:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.55); }
.ai-agents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ai-agent-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; transition: var(--transition);
  position: relative; overflow: hidden;
}
.ai-agent-card:hover { border-color: rgba(139,92,246,0.4); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(139,92,246,0.12); }
.ai-agent-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,#8b5cf6,#06b6d4); opacity: 0; transition: var(--transition); }
.ai-agent-card:hover::before { opacity: 1; }
.ai-agent-emoji { font-size: 28px; margin-bottom: 12px; display: block; }
.ai-agent-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.ai-agent-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 10px; }
.ai-agent-tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; background: rgba(139,92,246,0.15); color: #a78bfa; padding: 3px 8px; border-radius: 6px; }

/* Service card AI badge */
.service-ai-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; background: rgba(139,92,246,0.15);
  color: #a78bfa; padding: 3px 9px; border-radius: 6px; margin-bottom: 14px;
}
.service-link { background: none; font-family: var(--font); cursor: pointer; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg-primary); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; transition: var(--transition);
  position: relative; overflow: hidden;
}
.testimonial-card:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.testimonial-quote-mark {
  position: absolute; top: 12px; right: 20px; font-size: 80px;
  color: rgba(59,130,246,0.08); line-height: 1; font-family: Georgia,serif;
  pointer-events: none; user-select: none;
}
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 14px; color: #f59e0b; font-size: 14px; }
.testimonial-text { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 22px; position: relative; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0; }
.testimonial-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }
.testimonial-tag { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.testimonial-tag i { color: var(--accent-blue-light); font-size: 14px; }

/* ===== CHAMADOS BUTTON ===== */
.btn-chamados {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid rgba(249,115,22,0.4);
}
.btn-chamados:hover { background: rgba(249,115,22,0.1); border-color: #f97316; color: #f97316; }

/* ===== EM BREVE NAV BADGE ===== */
.nav-em-breve {
  display: flex; align-items: center; gap: 6px; font-size: 14px;
  font-weight: 500; color: var(--text-secondary); transition: var(--transition);
  cursor: pointer; background: none; border: none; font-family: var(--font);
}
.nav-em-breve:hover { color: var(--text-primary); }
.badge-em-breve {
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  background: rgba(22,163,74,0.15); color: #22c55e; border: 1px solid rgba(22,163,74,0.3);
  padding: 2px 6px; border-radius: 6px; white-space: nowrap;
}

/* ===== EM BREVE SECTION ===== */
.em-breve-section { background: var(--bg-secondary); padding: 80px 0; }
.em-breve-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 0; }
.em-breve-card {
  background: var(--bg-primary); border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden;
  transition: var(--transition);
}
.em-breve-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-3px); }
.em-breve-card-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(22,163,74,0.12); border: 1px solid rgba(22,163,74,0.25);
  color: #22c55e; padding: 3px 10px; border-radius: 100px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 16px;
}
.em-breve-card-tag span { width: 5px; height: 5px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
.em-breve-card-emoji { font-size: 32px; margin-bottom: 12px; display: block; }
.em-breve-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.em-breve-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.em-breve-card-blur {
  position: absolute; inset: 0; backdrop-filter: blur(1px);
  background: rgba(15,23,42,0.35); display: flex; align-items: center;
  justify-content: center; border-radius: inherit;
}
.em-breve-card-blur span {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 16px; font-size: 12px; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .em-breve-grid { grid-template-columns: 1fr; }
}

/* ===== FEATURED IA SERVICE CARD ===== */
.service-featured-wrapper { margin-bottom: 20px; }
.service-card-ia {
  background: linear-gradient(135deg, rgba(124,58,237,0.07) 0%, rgba(6,182,212,0.05) 100%);
  border: 1px solid rgba(139,92,246,0.25); border-radius: var(--radius-lg);
  padding: 32px 36px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center; transition: var(--transition); position: relative; overflow: hidden;
}
.service-card-ia::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
}
.service-card-ia:hover { border-color: rgba(139,92,246,0.45); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(124,58,237,0.12); }
.service-ia-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.3);
  color: #a78bfa; padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 14px; width: fit-content;
}
.service-card-ia h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.service-card-ia p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 18px; }
.service-ia-points { display: flex; flex-direction: column; gap: 10px; }
.service-ia-point { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-secondary); }
.service-ia-point i { color: #a78bfa; font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.service-ia-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-ia-example {
  background: rgba(15,23,42,0.6); border: 1px solid rgba(139,92,246,0.15);
  border-radius: var(--radius); padding: 14px 16px;
}
.service-ia-example-emoji { font-size: 20px; margin-bottom: 6px; display: block; }
.service-ia-example h5 { font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.service-ia-example p { font-size: 11px; color: var(--text-muted); line-height: 1.4; margin: 0; }

/* ===== QUEM SOMOS ===== */
.about-story {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; margin-bottom: 48px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
}
.about-story-main { grid-column: 1 / 3; }
.about-story-main p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; }
.about-values { display: flex; flex-direction: column; gap: 16px; }
.about-value { display: flex; align-items: flex-start; gap: 12px; }
.about-value-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(30,111,217,0.1); border: 1px solid rgba(30,111,217,0.2); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.about-value h5 { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.about-value p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 1024px) {
  .ai-layout { gap: 48px; }
  .about-story { grid-template-columns: 1fr; }
  .about-story-main { grid-column: 1; }
}
@media (max-width: 768px) {
  .ai-layout { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .service-card-ia { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .service-ia-examples { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ai-agents-grid { grid-template-columns: 1fr; }
  .service-ia-examples { grid-template-columns: 1fr; }
}

/* ===== FIBER CANVAS ===== */
#fiber-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 9998;
}

/* ===== MINI ELLIE ===== */
.mini-ellie-wrap {
  position: fixed; bottom: 100px; right: 20px; z-index: 8000;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  opacity: 0; transform: translateY(16px) scale(0.85);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.mini-ellie-wrap.visible {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}
.mini-ellie-avatar {
  width: 64px; height: 70px; cursor: pointer;
  animation: mini-float 4.5s ease-in-out infinite;
  filter: drop-shadow(0 6px 18px rgba(30,111,217,0.5));
  transition: transform 0.2s ease;
}
.mini-ellie-avatar:hover { transform: scale(1.1); }
.mini-ellie-avatar svg { width: 100%; height: 100%; }
@keyframes mini-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}
.mini-ellie-bubble {
  background: var(--bg-secondary); border: 1px solid var(--border-accent);
  border-radius: 14px 14px 4px 14px; padding: 9px 13px;
  font-size: 13px; font-weight: 500; color: var(--text-primary);
  max-width: 200px; text-align: right; line-height: 1.4;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  opacity: 0; transform: scale(0.85) translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.mini-ellie-bubble.show {
  opacity: 1; transform: scale(1) translateY(0);
}

/* Chat badge abaixo da Ellie */
.ellie-chat-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  color: #fff; background: linear-gradient(135deg, #1e6fd9, #06b6d4);
  padding: 3px 11px; border-radius: 20px;
  box-shadow: 0 2px 12px rgba(30,111,217,0.45);
  cursor: pointer; user-select: none;
  animation: badge-glow 2.8s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 2px 12px rgba(30,111,217,0.45); }
  50%       { box-shadow: 0 2px 20px rgba(6,182,212,0.75); }
}

/* Ellie proximity bounce */
@keyframes ellie-bounce {
  0%   { transform: translateY(0) scale(1) rotate(0deg); }
  25%  { transform: translateY(-22px) scale(1.06) rotate(2deg); }
  50%  { transform: translateY(-10px) scale(0.97) rotate(-1deg); }
  75%  { transform: translateY(-16px) scale(1.02) rotate(1deg); }
  100% { transform: translateY(0) scale(1) rotate(0deg); }
}
.ellie.bouncing {
  animation: ellie-bounce 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 9999;
  background: linear-gradient(90deg, #1e6fd9, #06b6d4, #3b82f6);
  width: 0%; transition: width 0.08s linear;
  box-shadow: 0 0 8px rgba(6,182,212,0.6);
}

/* ===== HERO 2-COLUMN LAYOUT ===== */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
  position: relative; z-index: 1;
}
.hero-content { max-width: 600px; }

/* Cursor glow */
.hero-cursor-glow {
  position: fixed; pointer-events: none; z-index: 0;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,111,217,0.07) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease;
  will-change: left, top;
}

/* ===== ELLIE MASCOT ===== */
.hero-mascot {
  display: flex; align-items: center; justify-content: center;
}
.ellie-wrap {
  position: relative; width: 260px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.ellie {
  width: 220px; height: auto;
  animation: ellie-float 5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  filter: drop-shadow(0 24px 48px rgba(30,111,217,0.45));
  will-change: transform;
}
@keyframes ellie-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  30%       { transform: translateY(-14px) rotate(1.2deg); }
  70%       { transform: translateY(-10px) rotate(-0.8deg); }
}

/* Particles around Ellie */
.ellie-particle {
  position: absolute; border-radius: 50%;
  background: var(--accent-gradient);
  animation: ellie-orbit linear infinite;
  opacity: 0.7;
}
.ellie-particle.p1 { width: 8px; height: 8px; top: 20%; left: 5%; animation-duration: 6s; }
.ellie-particle.p2 { width: 5px; height: 5px; top: 60%; right: 8%; animation-duration: 8s; animation-delay: -2s; }
.ellie-particle.p3 { width: 6px; height: 6px; bottom: 20%; left: 15%; animation-duration: 7s; animation-delay: -3.5s; }
.ellie-particle.p4 { width: 4px; height: 4px; top: 35%; right: 3%; animation-duration: 5.5s; animation-delay: -1.5s; }
@keyframes ellie-orbit {
  0%   { transform: translateY(0px) scale(1); opacity: 0.7; }
  50%  { transform: translateY(-12px) scale(1.3); opacity: 1; }
  100% { transform: translateY(0px) scale(1); opacity: 0.7; }
}

/* ===== ENHANCED REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ===== 3D TILT (applied via JS) ===== */
.service-card, .package-card, .testimonial-card, .outsourcing-card {
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

/* ===== RIPPLE ===== */
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute; pointer-events: none;
  width: 0; height: 0; border-radius: 50%;
  background: rgba(255,255,255,0.28);
  transform: translate(-50%, -50%);
  animation: btn-ripple-anim 0.6s ease-out forwards;
}
@keyframes btn-ripple-anim {
  to { width: 240px; height: 240px; opacity: 0; }
}

/* ===== FEATURED PACKAGE PULSE ===== */
.package-card.featured {
  animation: featured-pulse 3s ease-in-out infinite;
}
@keyframes featured-pulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--accent-blue), 0 0 20px rgba(30,111,217,0.2); }
  50%       { box-shadow: 0 0 0 1px var(--accent-blue), 0 0 40px rgba(30,111,217,0.4); }
}

/* ===== NAV GLASS ENHANCEMENT ===== */
.header.scrolled {
  background: rgba(15,23,42,0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

/* ===== HERO RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 280px; gap: 24px; }
  .ellie-wrap { width: 220px; height: 280px; }
  .ellie { width: 190px; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-mascot { order: -1; }
  .hero-content { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .ellie-wrap { width: 160px; height: 210px; }
  .ellie { width: 150px; }
  .ellie-particle { display: none; }
}
