/* ============================================
   PORTFÓLIO PROFISSIONAL - DESIGN SYSTEM
   ============================================ */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-card-hover: #20202e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --text-primary: #ffffff;
  --text-secondary: #a8a8b8;
  --text-muted: #6b6b80;

  --accent-1: #8b5cf6;
  --accent-2: #3b82f6;
  --accent-3: #ec4899;
  --accent-green: #10b981;
  --accent-yellow: #fbbf24;

  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --gradient-hero: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15) 0%, transparent 50%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(139, 92, 246, 0.15);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.hidden { display: none; }

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  padding: 14px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
}
.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}
.nav-links {
  display: flex;
  gap: clamp(28px, 3.2vw, 56px);
  align-items: center;
  justify-content: flex-end;
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}
.nav-links a:not(.btn-nav) {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.btn-nav {
  background: var(--gradient-primary);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.nav-links a.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-content { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-green);
  margin-bottom: 28px;
}
.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  position: relative;
}
.pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent-green);
  opacity: 0.4;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2); opacity: 0; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.6);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--accent-1);
}
.btn-full { width: 100%; }

/* Trust block */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trust-avatars { display: flex; }
.trust-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  font-size: 0.95rem;
}
.trust-avatar:not(:first-child) { margin-left: -12px; }
.trust-avatar.grad-java { background: linear-gradient(135deg, #f89820, #5382a1); font-size: 1.2rem; }
.trust-avatar.grad-spring { background: linear-gradient(135deg, #6db33f, #5fa233); font-size: 1.2rem; }
.trust-avatar.grad-js { background: linear-gradient(135deg, #f7df1e, #d4ba00); color: #000; font-size: 0.85rem; }
.trust-avatar.grad-db { background: linear-gradient(135deg, #4479a1, #336791); font-size: 0.85rem; }
.trust-stars { color: var(--accent-yellow); letter-spacing: 2px; font-size: 0.95rem; }
.hero-trust p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 2px;
}

/* Hero visual / mockup */
.hero-visual {
  position: relative;
  perspective: 1500px;
}
.hero-mockup { position: relative; }

.mockup-browser {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: var(--transition);
}
.hero-mockup:hover .mockup-browser {
  transform: rotateY(-4deg) rotateX(2deg);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border);
}
.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #febc2e; }
.browser-dot.green { background: #28c840; }
.browser-url {
  flex: 1;
  background: var(--bg-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 12px;
}
.browser-content {
  padding: 24px;
  min-height: 280px;
  background: linear-gradient(180deg, #1a1a25 0%, #12121a 100%);
}
.mockup-header {
  height: 24px;
  background: linear-gradient(90deg, var(--accent-1) 0%, var(--accent-2) 100%);
  border-radius: 6px;
  width: 60%;
  margin-bottom: 20px;
  opacity: 0.4;
}
.mockup-hero { margin-bottom: 20px; }
.mockup-title {
  height: 28px;
  background: var(--text-primary);
  opacity: 0.15;
  border-radius: 6px;
  width: 80%;
  margin-bottom: 12px;
}
.mockup-text {
  height: 10px;
  background: var(--text-primary);
  opacity: 0.08;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 6px;
}
.mockup-text.short { width: 65%; }
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mockup-card {
  height: 80px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.1));
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Code block dentro do mockup */
.code-block {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #d4d4d4;
}
.code-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.code-line.indent { padding-left: 16px; }
.code-line.indent2 { padding-left: 32px; }
.code-key { color: #c586c0; font-weight: 600; }
.code-class { color: #4ec9b0; }
.code-fn { color: #dcdcaa; }
.code-string { color: #ce9178; }

.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: floatCard 4s ease-in-out infinite;
}
.floating-card.card-1 {
  top: -20px;
  left: -40px;
}
.floating-card.card-2 {
  bottom: -20px;
  right: -30px;
  animation-delay: 2s;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.floating-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-sm);
}
.floating-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.floating-card span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat span { color: var(--text-muted); font-size: 0.85rem; }

/* ============================================
   SECTIONS GERAIS
   ============================================ */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-secondary); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-1);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: white;
}
.icon-1 { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.icon-2 { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.icon-3 { background: linear-gradient(135deg, #10b981, #059669); }
.icon-4 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.icon-5 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.icon-6 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
.service-tech {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.service-tech span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 3px 10px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--accent-1);
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* ============================================
   STACK SECTION
   ============================================ */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.stack-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stack-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-1);
  transform: translateY(-4px);
}
.stack-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}
.stack-item strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}
.stack-item span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   PORTFÓLIO
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.portfolio-mockup {
  height: 260px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.portfolio-mockup.has-image {
  padding: 0;
  background: #0a0a0a;
}
.portfolio-mockup .proj-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}
.portfolio-card:hover .proj-image {
  transform: scale(1.08);
}
.portfolio-mockup.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 40%);
  pointer-events: none;
  z-index: 1;
}
.portfolio-category {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.gradient-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.gradient-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.gradient-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.gradient-4 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.gradient-5 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.gradient-6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

/* Cores específicas por projeto */
.proj-saldox { background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%); }
.proj-farmacia { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #155e75 100%); }
.proj-bank { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 50%, #4c1d95 100%); }
.proj-clinica { background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #9d174d 100%); }
.proj-media { background: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #c2410c 100%); }
.proj-mercado { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%); }

/* Ícone grande no card de projeto */
.proj-icon {
  font-size: 5.5rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .proj-icon {
  transform: scale(1.1) rotate(-5deg);
}
.portfolio-mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Link "Ver no GitHub" */
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}
.portfolio-link:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-2px);
}

.portfolio-link-private {
  background: transparent;
  border: 1px dashed var(--border-strong);
  color: var(--text-secondary);
  cursor: default;
}
.portfolio-link-private:hover {
  background: transparent;
  border-color: var(--border-strong);
  transform: none;
}

.portfolio-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.portfolio-actions .portfolio-link {
  margin-top: 0;
  padding: 9px 16px;
  font-size: 0.85rem;
}
.portfolio-link-demo {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}
.portfolio-link-demo:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Botão "Ver todos no GitHub" no final */
.portfolio-cta {
  text-align: center;
  margin-top: 48px;
}
.portfolio-cta .btn-secondary {
  display: inline-flex;
  background: var(--bg-card);
}

/* Mini browser inside portfolio card */
.mini-browser {
  width: 88%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: rotate(-2deg) translateY(8px);
  transition: var(--transition);
}
.portfolio-card:hover .mini-browser {
  transform: rotate(-1deg) translateY(0);
}
.mini-bar {
  display: flex;
  gap: 4px;
  padding: 7px 10px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}
.mini-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.mini-bar span:nth-child(1) { background: #ff5f57; }
.mini-bar span:nth-child(2) { background: #febc2e; }
.mini-bar span:nth-child(3) { background: #28c840; }
.mini-content {
  padding: 12px;
  background: white;
  min-height: 130px;
}
.mini-header {
  height: 10px;
  width: 70%;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6);
  border-radius: 3px;
  margin-bottom: 10px;
}
.mini-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}
.mini-block {
  height: 50px;
  background: #e5e7eb;
  border-radius: 4px;
}
.mini-block.big { grid-row: span 2; height: 106px; }
.mini-block.small { height: 30px; }
.mini-grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.mini-card-img {
  height: 50px;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  border-radius: 4px;
}
.mini-hero-block {
  height: 60px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  opacity: 0.5;
  border-radius: 4px;
  margin-bottom: 8px;
}
.mini-video {
  height: 70px;
  background: #111827;
  border-radius: 4px;
  margin-bottom: 8px;
  position: relative;
}
.mini-video::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 10px solid white;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.mini-table {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
  margin-top: 6px;
}
.mini-table::before, .mini-table::after, .mini-table {
  background: #f3f4f6;
}
.mini-table {
  height: 38px;
  background: repeating-linear-gradient(
    180deg,
    #f3f4f6 0px,
    #f3f4f6 10px,
    #e5e7eb 10px,
    #e5e7eb 12px
  );
  border-radius: 4px;
}

.portfolio-content { padding: 28px; }
.portfolio-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.portfolio-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.portfolio-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.portfolio-tags span {
  padding: 4px 12px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--accent-1);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}

/* ============================================
   PROCESSO
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
}
.process-step:hover {
  border-color: var(--accent-1);
  transform: translateY(-4px);
}
.process-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  margin-bottom: 12px;
}
.process-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.process-step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.process-time {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* ============================================
   PREÇOS
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.pricing-card.featured {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  transform: scale(1.04);
  box-shadow: 0 30px 60px rgba(139, 92, 246, 0.2);
}
.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-glow);
}
.pricing-header { margin-bottom: 24px; }
.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.pricing-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.pricing-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-price > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-from {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
.price-currency {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.price-value {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}
.pricing-card.featured .price-value {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-green);
  flex-shrink: 0;
}
.pricing-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-secondary);
}
.pricing-note a {
  color: var(--accent-1);
  font-weight: 600;
  text-decoration: underline;
}

/* ============================================
   SOBRE
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-image { position: relative; }
.about-image-wrap {
  aspect-ratio: 1;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.15) 0%, transparent 50%);
}
.about-emoji {
  font-size: 8rem;
  position: relative;
  z-index: 1;
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.6s ease;
}
.about-image:hover .about-photo {
  transform: scale(1.05);
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-badge span { color: var(--text-secondary); font-size: 0.85rem; }
.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 16px 0 24px;
}
.about-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-content strong { color: var(--text-primary); font-weight: 600; }
.about-features { list-style: none; margin-top: 32px; display: grid; gap: 16px; }
.about-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.about-features svg {
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.education-card {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.education-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.05;
  pointer-events: none;
}
.education-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}
.education-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  z-index: 1;
}
.education-info { position: relative; z-index: 1; }
.education-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 6px;
}
.education-info h4 {
  font-size: 1.1rem;
  margin: 0 0 4px;
  color: var(--text-primary);
}
.education-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testimonial:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.stars {
  color: var(--accent-yellow);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial p {
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}
.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--border-strong);
}
.faq-item[open] {
  border-color: rgba(139, 92, 246, 0.4);
}
.faq-item summary {
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow {
  transition: transform 0.3s ease;
  color: var(--accent-1);
  flex-shrink: 0;
}
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-item p {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CONTATO + FORMULÁRIO
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 16px 0 20px;
}
.contact-info > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.7;
}
.contact-methods { display: grid; gap: 14px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.contact-method:not(.static):hover {
  border-color: var(--accent-1);
  transform: translateX(6px);
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.whatsapp-icon { background: #25d366; }
.email-icon { background: var(--gradient-primary); }
.clock-icon { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.github-icon { background: linear-gradient(135deg, #24292e, #1a1e22); }
.linkedin-icon { background: linear-gradient(135deg, #0077b5, #00569e); }
.location-icon { background: linear-gradient(135deg, #ec4899, #db2777); }

/* Botões de ação no Sobre */
.about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.about-actions .btn-secondary {
  padding: 12px 22px;
  font-size: 0.95rem;
}
.contact-method strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-method span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-intro {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.5;
}
.form-group { margin-bottom: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  cursor: pointer;
  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='none' stroke='%23a8a8b8' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
}
.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-brand p {
  color: var(--text-secondary);
  margin: 16px 0 20px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}
.footer-links h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: var(--transition);
  font-size: 0.95rem;
}
.footer-links a:hover { color: var(--accent-1); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.9rem; }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: var(--transition);
  animation: bounce 3s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   ANIMAÇÕES SCROLL
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.error-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 16px;
}
.error-page p {
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .floating-card.card-1 { left: 0; }
  .floating-card.card-2 { right: 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 968px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-image { max-width: 400px; margin: 0 auto; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-4px); }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: var(--bg-secondary);
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    padding: 48px 36px;
    gap: 28px;
    align-items: flex-start;
    border-left: 1px solid var(--border);
    transition: right 0.4s ease;
  }
  .nav-links.active { right: 0; }
  .nav-links a.btn-nav { width: 100%; text-align: center; }
  .menu-toggle { display: flex; }
  .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

  .hero { padding: 120px 0 60px; }
  .hero-stats { padding: 24px; }
  .stat strong { font-size: 1.6rem; }

  .section { padding: 70px 0; }
  .section-header { margin-bottom: 48px; }

  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-content { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }

  .whatsapp-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .service-card, .portfolio-content, .testimonial, .pricing-card { padding: 24px; }
  .pricing-card { padding: 32px 24px; }
  .floating-card { padding: 10px 14px; }
  .floating-card strong { font-size: 0.9rem; }
  .floating-card span { font-size: 0.7rem; }
}
