/* ==========================================================================
   WISIONARIUM • SOFTWARE DEVELOPMENT ENGINE
   Paleta: Violeta-Roxo, Branco & Preto
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Fira+Code:wght@400;500&display=swap');

/* ---------- DESIGN TOKENS ---------- */
:root {
  --bg-dark: #07060a;
  --bg-dark-card: #120e1a;
  --bg-purple-panel: #161124;
  
  --purple-vivid: #a855f7;
  --purple-neon: #c084fc;
  --purple-deep: #7c3aed;
  --purple-glow: rgba(168, 85, 247, 0.4);

  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --text-white: #ffffff;
  --text-cream: #fffce1;
  --text-muted: #a1a1aa;
  --text-subtle: #71717a;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

html { scroll-behavior: smooth; }

html, body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--purple-vivid); color: #fff; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #272038; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-vivid); }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 24px 0;
  transition: padding 0.3s, background 0.3s;
}

.site-header.scrolled {
  padding: 14px 0;
  background: rgba(12, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}

.brand-logo {
  display: inline-flex; align-items: center;
  text-decoration: none; cursor: pointer; transition: filter 0.3s;
}
.brand-logo:hover { filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.7)); }

.brand-logo-img { height: 28px; width: auto; object-fit: contain; }

.nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }

.nav-link {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.95rem; font-weight: 500; transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--purple-vivid);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--text-white); }
.nav-link:hover::after { width: 100%; }

/* Hamburger */
.hamburger-btn {
  display: none; flex-direction: column; justify-content: space-between;
  width: 30px; height: 20px; background: transparent;
  border: none; cursor: pointer; padding: 0; z-index: 1002;
}
.hamburger-btn .bar {
  width: 100%; height: 2.5px; background-color: var(--text-white);
  border-radius: 4px; transition: all 0.3s ease-in-out;
}
.hamburger-btn.active .bar:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger-btn.active .bar:nth-child(2) { opacity: 0; }
.hamburger-btn.active .bar:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(7, 6, 10, 0.96); backdrop-filter: blur(20px);
  z-index: 999; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 40px 24px;
}
.mobile-nav-drawer.open { opacity: 1; visibility: visible; pointer-events: auto; }

.mobile-nav-content {
  display: flex; flex-direction: column; align-items: center;
  gap: 32px; text-align: center; width: 100%; max-width: 320px;
}
.mobile-nav-menu { list-style: none; display: flex; flex-direction: column; gap: 24px; width: 100%; }
.mobile-nav-link {
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
  color: var(--text-cream); text-decoration: none;
  transition: color 0.2s, transform 0.2s; display: block;
}
.mobile-nav-link:hover { color: var(--purple-neon); transform: scale(1.05); }
.mobile-nav-cta { width: 100%; justify-content: center; padding: 14px 28px; font-size: 1rem; }

/* Pill Buttons — Glassmorphism Style */
.btn-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px; border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: all 0.35s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.btn-pill::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  pointer-events: none;
}
.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}
.btn-pill:active {
  transform: translateY(0) scale(0.98);
}

.btn-pill-purple {
  border-color: rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.18);
  color: #fff;
  box-shadow:
    0 4px 24px rgba(168, 85, 247, 0.15),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.1);
}
.btn-pill-purple::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
}
.btn-pill-purple:hover {
  background: rgba(168, 85, 247, 0.28);
  border-color: rgba(192, 132, 252, 0.35);
  color: #fff;
  box-shadow:
    0 8px 32px rgba(168, 85, 247, 0.25),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.12);
}
.btn-pill-outline {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  color: var(--text-white);
}
.btn-pill-outline:hover {
  border-color: rgba(192,132,252,0.3);
  background: rgba(168,85,247,0.1);
  color: var(--text-white);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding-top: 120px; padding-bottom: 0;
  position: relative; overflow: hidden;
}

.particle-canvas {
  display: none;
}

.hero-glow {
  display: none;
}

.hero-exact-grid {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; width: 100%; position: relative; z-index: 2;
}

.hero-left-headline { flex: 1.2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-heading); font-size: 0.85rem;
  font-weight: 600; color: var(--purple-neon);
  margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero-badge i { font-size: 0.75rem; }

.hero-headline-exact {
  font-family: var(--font-heading);
  font-size: clamp(3.8rem, 8.5vw, 7.8rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.03em;
}
.line-white { color: var(--text-cream); }
.line-purple {
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 50%, #a855f7 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-style: italic;
}

.hero-subtitle {
  font-size: 1.15rem; color: var(--text-muted); line-height: 1.7;
  max-width: 540px; margin-top: 24px; margin-bottom: 32px;
}

.hero-cta-group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-right-emblem-container {
  flex: 0.85; display: flex; align-items: center; justify-content: center;
}
.hero-emblem-wrapper {
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; max-width: 380px; width: 100%;
}
.emblem-symbol { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.emblem-svg { width: 100%; height: 100%; filter: drop-shadow(0 0 40px rgba(168,85,247,0.25)); }

.star-4point-overlay {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px; z-index: 5;
  pointer-events: none; will-change: left, top;
}
.star-4point-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 20px rgba(192,132,252,0.9));
  /* Rotation removed — star follows mouse only */
}
@keyframes rotateStar { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.emblem-text-logo { display: flex; justify-content: center; width: 100%; }
.emblem-logo-img { height: clamp(28px, 4vw, 42px); width: auto; object-fit: contain; }

/* Stats Bar */
.hero-stats-bar {
  position: relative; z-index: 2; margin-top: 60px;
  padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.06);
}
.stats-grid { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-number-wrap { display: flex; align-items: baseline; gap: 2px; }
.stat-number {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--purple-neon) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-plus { font-family: var(--font-heading); font-size: clamp(1.5rem,3vw,2rem); font-weight: 700; color: var(--purple-neon); }
.stat-label { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.1); }

/* --- Section Header (shared) --- */
.section-header { margin-bottom: 60px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--purple-neon);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading); font-size: clamp(2.2rem,4.5vw,3.8rem);
  font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-subtitle { font-size: 1.15rem; color: var(--text-muted); line-height: 1.6; max-width: 600px; }

/* ==========================================================================
   PORTFÓLIO — PHONE SHOWCASE (v2 - Reference Match)
   ========================================================================== */
.portfolio-section {
  padding: 40px 0 120px;
  position: relative;
  background: var(--bg-dark);
}

/* --- Phone Showcase Layout --- */
.phone-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  min-height: 620px;
}

/* --- Phone Device --- */
.phone-device {
  position: relative;
  flex-shrink: 0;
}

/* Side Buttons */
.phone-side-btn {
  position: absolute;
  background: #2a2a2e;
  border-radius: 2px;
  z-index: 5;
}
.phone-btn-action { width: 3px; height: 26px; left: -2px; top: 110px; }
.phone-btn-volup  { width: 3px; height: 42px; left: -2px; top: 155px; }
.phone-btn-voldn  { width: 3px; height: 42px; left: -2px; top: 207px; }
.phone-btn-power  { width: 3px; height: 60px; right: -2px; top: 175px; }

/* Phone Frame */
.phone-frame {
  width: 310px;
  height: 640px;
  background: linear-gradient(145deg, #303035, #1c1c20, #2a2a2e);
  border-radius: 52px;
  padding: 10px;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phone-frame:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

/* Phone Screen */
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(165deg, #1a0a2e 0%, #0a0a0a 35%, #1a0808 80%, #0d0508 100%);
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Dynamic Island */
.phone-dynamic-island {
  width: 95px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  margin: 10px auto 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.8);
}

/* Status Bar */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 28px 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
}
.status-time { font-size: 0.8rem; font-weight: 700; }
.status-icons { display: flex; gap: 5px; font-size: 0.65rem; }

/* App Grid */
.phone-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 0;
  padding: 28px 16px 0;
  justify-items: center;
  flex: 1;
}

/* App Icon */
.phone-app-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: default;
  transition: transform 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.phone-app-icon.app-is-ours {
  cursor: pointer;
}

.phone-app-icon.app-is-ours:hover {
  transform: scale(1.12);
}

.phone-app-icon.app-is-ours:active {
  transform: scale(0.92);
}

/* App Icon Square */
.app-icon-square {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  position: relative;
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}

/* App icon image (generated icons) */
.app-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}

/* Active app glow ring */
.phone-app-icon.app-active .app-icon-square {
  box-shadow: 0 0 0 2.5px var(--purple-neon), 0 0 20px rgba(168,85,247,0.5);
}

.app-label {
  font-size: 0.55rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-align: center;
  max-width: 58px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Wisionarium App Icon Backgrounds */
.stockpoint-bg {
  background: linear-gradient(145deg, #1a1a1e, #2a2a2e);
  border: 1px solid rgba(255,255,255,0.1);
}
.stockpoint-bg i { color: #fff; }

.logicfrete-bg {
  background: linear-gradient(145deg, #1a2e1a, #0d1a0d);
  border: 1px solid rgba(16,185,129,0.2);
}
.logicfrete-bg i { color: #4ade80; }

/* Filler App Icons */
.app-filler { opacity: 0.45; pointer-events: none; }

.filler-photos {
  background: linear-gradient(145deg, #2e2e0a, #1a1a08);
  border: 1px solid rgba(255,255,255,0.06);
}
.filler-photos i { color: #fbbf24; }

.filler-camera {
  background: linear-gradient(145deg, #1a1a1e, #0d0d10);
  border: 1px solid rgba(255,255,255,0.06);
}
.filler-camera i { color: #94a3b8; }

.filler-mail {
  background: linear-gradient(145deg, #0a1a2e, #08101a);
  border: 1px solid rgba(255,255,255,0.06);
}
.filler-mail i { color: #60a5fa; }

.filler-notes {
  background: linear-gradient(145deg, #2e2e0a, #1a1a08);
  border: 1px solid rgba(255,255,255,0.06);
}
.filler-notes i { color: #fde68a; }

.filler-clock {
  background: linear-gradient(145deg, #0a0a0a, #1a1a1e);
  border: 1px solid rgba(255,255,255,0.06);
}
.filler-clock i { color: #f1f5f9; }

.filler-settings {
  background: linear-gradient(145deg, #1a1a1e, #0d0d10);
  border: 1px solid rgba(255,255,255,0.06);
}
.filler-settings i { color: #94a3b8; }

.filler-appstore {
  background: linear-gradient(145deg, #0a1a2e, #08101a);
  border: 1px solid rgba(255,255,255,0.06);
}
.filler-appstore i { color: #60a5fa; }

.filler-colors {
  background: linear-gradient(145deg, #1a0a2e, #0d081a);
  border: 1px solid rgba(255,255,255,0.06);
}
.filler-colors i { color: #e879f9; }

.filler-music {
  background: linear-gradient(145deg, #2e0a1a, #1a080d);
  border: 1px solid rgba(255,255,255,0.06);
}
.filler-music i { color: #fb7185; }

.filler-map {
  background: linear-gradient(145deg, #0a2e1a, #081a0d);
  border: 1px solid rgba(255,255,255,0.06);
}
.filler-map i { color: #34d399; }

/* Phone Dock */
.phone-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 16px 4px;
  margin: auto 16px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}
.phone-dock .app-icon-square.dock-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

/* Home Indicator */
.phone-home-indicator {
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  margin: 4px auto 10px;
}

/* --- App Detail Panel (v2 - Glassmorphism) --- */
.app-detail-panel {
  width: 520px;
  min-height: 460px;
  background: rgba(30, 28, 40, 0.75);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  box-shadow: 
    0 30px 80px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Panel Content */
.panel-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.panel-content.animate-in {
  animation: panelFadeIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Panel App Header */
.panel-app-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.panel-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.panel-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.panel-app-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

/* Panel Description */
.panel-app-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Panel Features Title */
.panel-features-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 4px;
}

/* Panel Features List */
.panel-features-list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.panel-features-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.panel-features-list li strong {
  color: var(--text-white);
  font-weight: 600;
}

/* Panel Screenshot */
.panel-screenshot-wrap {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  position: absolute;
  right: 28px;
  bottom: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.panel-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.panel-screenshot-wrap:hover .panel-screenshot {
  transform: scale(1.05);
}




/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.services-section {
  padding: 120px 0; position: relative;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0a14 100%);
}
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-dark-card); border: 1px solid rgba(168,85,247,0.1);
  border-radius: var(--radius-lg); padding: 40px 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, transparent, var(--purple-vivid), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--purple-vivid); box-shadow: 0 15px 35px rgba(168,85,247,0.2); }
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(168,85,247,0.12); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--purple-neon);
  margin-bottom: 20px; transition: all 0.3s ease;
}
.service-card:hover .service-icon-wrap {
  background: var(--purple-vivid); color: #fff;
  transform: rotate(-5deg) scale(1.1);
}
.service-num { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; color: var(--purple-neon); margin-bottom: 16px; letter-spacing: 1px; }
.service-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.service-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ==========================================================================
   COMO TRABALHAMOS
   ========================================================================== */
.process-section { padding: 120px 0; position: relative; border-top: 1px solid rgba(255,255,255,0.06); }

.process-timeline {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; margin-top: 60px; position: relative;
}
.process-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; flex: 1; max-width: 280px; padding: 0 16px; position: relative;
}
.step-number-badge {
  font-family: var(--font-heading); font-size: 0.75rem; font-weight: 800;
  color: var(--purple-neon); letter-spacing: 2px; margin-bottom: 16px; opacity: 0.6;
}
.step-icon-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(168,85,247,0.1); border: 2px solid rgba(168,85,247,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--purple-neon);
  margin-bottom: 24px; transition: all 0.4s ease;
  position: relative; z-index: 2;
}
.process-step:hover .step-icon-circle {
  background: var(--purple-vivid); border-color: var(--purple-vivid);
  color: #fff; box-shadow: 0 0 30px rgba(168,85,247,0.5); transform: scale(1.1);
}
.step-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.process-connector {
  flex-shrink: 0; width: 60px; height: 2px;
  background: linear-gradient(90deg, rgba(168,85,247,0.4), rgba(168,85,247,0.15));
  margin-top: 74px; position: relative;
}
.process-connector::after {
  content: ''; position: absolute; right: -3px; top: -3px;
  width: 8px; height: 8px;
  border-right: 2px solid rgba(168,85,247,0.4);
  border-bottom: 2px solid rgba(168,85,247,0.4);
  transform: rotate(-45deg);
}

/* ==========================================================================
   RESPONSIVE & TECH
   ========================================================================== */
.responsive-section { padding: 100px 0; }

.responsive-panel {
  background: var(--bg-purple-panel); color: #fff;
  border: 1px solid rgba(168,85,247,0.3); border-radius: 36px;
  padding: 60px 48px; position: relative; overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
}
.responsive-header { max-width: 800px; margin-bottom: 48px; }
.responsive-tag { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--purple-neon); margin-bottom: 12px; display: block; }
.responsive-title { font-family: var(--font-heading); font-size: clamp(2.5rem,5vw,4.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px; }
.responsive-desc { font-size: 1.2rem; color: var(--text-muted); line-height: 1.6; }

.responsive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.responsive-code-box {
  background: #090710; border: 1px solid rgba(168,85,247,0.2); border-radius: 20px;
  padding: 24px; color: #f4f4f5; font-family: 'Fira Code', monospace; font-size: 0.9rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4); max-width: 100%; overflow: hidden;
}
.responsive-code-box pre { margin: 0; overflow-x: auto; white-space: pre; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.responsive-code-box pre::-webkit-scrollbar { height: 5px; }
.responsive-code-box pre::-webkit-scrollbar-thumb { background: rgba(168,85,247,0.4); border-radius: 4px; }

.code-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.purple { background: var(--purple-vivid); }
.code-filename { font-size: 0.8rem; color: var(--text-muted); margin-left: 8px; }
.code-keyword { color: #f472b6; }
.code-func { color: var(--purple-neon); }
.code-str { color: #e9d5ff; }

.responsive-demo-box { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 380px; }

.viewport-status-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
  background: rgba(168,85,247,0.15); border: 1px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-full); font-family: var(--font-heading);
  font-weight: 700; font-size: 0.9rem; color: var(--text-white); margin-bottom: 24px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple-vivid); box-shadow: 0 0 12px var(--purple-vivid); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.device-frame-wrapper { height: 300px; display: flex; align-items: center; justify-content: center; width: 100%; }
.device-frame {
  border: 3px solid var(--purple-vivid); background: rgba(168,85,247,0.12);
  box-shadow: 0 0 35px rgba(168,85,247,0.35); display: flex; align-items: center;
  justify-content: center; transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: width, height, border-radius;
}
.device-frame.device-mobile  { width: 140px; height: 280px; border-radius: 24px; }
.device-frame.device-tablet  { width: 280px; height: 160px; border-radius: 18px; }
.device-frame.device-desktop { width: 440px; height: 260px; border-radius: 16px; }

.device-inner-flower { width: 60px; height: 60px; animation: rotateFlower 10s linear infinite; filter: drop-shadow(0 0 12px rgba(168,85,247,0.8)); }
@keyframes rotateFlower { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.toggle-control-box { margin-top: 24px; }
.btn-toggle-motion {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px;
  border-radius: var(--radius-full); border: 1.5px solid rgba(168,85,247,0.5);
  background: rgba(168,85,247,0.1); color: var(--text-white);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: all 0.2s;
}
.btn-toggle-motion:hover { background: rgba(168,85,247,0.25); }
.toggle-switch { width: 36px; height: 20px; background: #3f3f46; border-radius: 10px; position: relative; transition: background 0.3s; }
.toggle-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: transform 0.3s; }
.toggle-switch.active { background: var(--purple-vivid); }
.toggle-switch.active::after { transform: translateX(16px); }

/* ==========================================================================
   CTA & FOOTER
   ========================================================================== */
.cta-footer-section { padding: 120px 0 60px 0; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; }
.cta-heading {
  font-family: var(--font-heading); font-size: clamp(2.5rem,6vw,5.5rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 20px;
}
.cta-highlight {
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 50%, #a855f7 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-style: italic;
}
.cta-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 40px; line-height: 1.6; }
.cta-main-btn { padding: 16px 40px; font-size: 1.1rem; }
.footer-copy { margin-top: 60px; color: var(--text-subtle); font-size: 0.85rem; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-exact-grid { flex-direction: column; text-align: center; }
  .hero-left-headline { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-right-emblem-container { margin-top: 30px; width: 100%; }
  .hero-emblem-wrapper { max-width: 320px; }

  /* Phone Showcase */
  .phone-showcase {
    flex-direction: column;
    gap: 40px;
    min-height: auto;
  }

  .phone-frame {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
  }
  .phone-frame:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
  }

  .app-detail-panel {
    width: 100%;
    max-width: 520px;
    min-height: auto;
    padding: 32px 28px;
  }

  .panel-screenshot-wrap {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: 180px;
    margin: 0 auto;
  }

  .responsive-grid { grid-template-columns: 1fr; gap: 32px; }

  .process-timeline { flex-direction: column; align-items: center; gap: 0; }
  .process-step { max-width: 400px; }
  .process-connector {
    width: 2px; height: 40px; margin-top: 0; margin-bottom: 0;
    background: linear-gradient(180deg, rgba(168,85,247,0.4), rgba(168,85,247,0.15));
  }
  .process-connector::after { right: -3px; top: auto; bottom: -3px; transform: rotate(45deg); }
}

@media (max-width: 768px) {
  .site-header { padding: 16px 0; }
  .site-header.scrolled { padding: 12px 0; }
  .desktop-nav, .header-cta-desktop { display: none !important; }
  .hamburger-btn { display: flex; }
  .brand-logo-img { height: 24px; max-width: 160px; }

  .hero-section { min-height: auto; padding-top: 100px; padding-bottom: 0; }
  .hero-headline-exact { font-size: clamp(2.2rem, 8.5vw, 3.8rem); line-height: 1.1; }
  .hero-subtitle { font-size: 1rem; }
  .hero-emblem-wrapper { max-width: 240px; }
  .emblem-logo-img { height: 26px; }
  .hero-cta-group { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-cta-group .btn-pill { width: 100%; justify-content: center; }

  .hero-stats-bar { margin-top: 40px; padding: 30px 0; }
  .stat-divider { display: none; }
  .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-number { font-size: 2rem; }

  /* Portfolio */
  .portfolio-section { padding: 40px 0 60px; }

  .phone-frame {
    width: 260px;
    height: 540px;
    border-radius: 44px;
  }
  .phone-screen { border-radius: 36px; }
  .app-icon-square { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 11px; }
  .app-icon-img { border-radius: 11px; }
  .phone-apps-grid { gap: 14px 0; padding: 20px 12px 0; }
  .phone-dock { margin: auto 12px 10px; padding: 6px 12px 4px; }
  .phone-dock .app-icon-square.dock-icon { width: 42px; height: 42px; }

  .app-detail-panel { padding: 24px 20px; min-height: auto; }
  .panel-app-name { font-size: 1.5rem; }
  .panel-screenshot-wrap {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: 160px;
    margin: 0 auto;
  }

  .services-section { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 20px; }

  .process-section { padding: 60px 0; }
  .process-timeline { margin-top: 40px; }

  .responsive-section { padding: 60px 0; }
  .responsive-panel { padding: 32px 20px; border-radius: 24px; }
  .responsive-title { font-size: clamp(1.8rem,6.5vw,2.8rem); }
  .responsive-desc { font-size: 1rem; }
  .responsive-code-box { padding: 16px; font-size: 0.82rem; }
  .viewport-status-badge { font-size: 0.8rem; padding: 6px 12px; text-align: center; max-width: 100%; }
  .device-frame.device-desktop { width: 280px; height: 160px; }
  .device-frame.device-tablet  { width: 220px; height: 130px; }
  .device-frame.device-mobile  { width: 120px; height: 220px; }

  .cta-footer-section { padding: 60px 0 40px 0; }
  .cta-heading { font-size: clamp(1.8rem,6vw,3rem); }
  .cta-subtitle { font-size: 1rem; }
  .cta-main-btn { width: 100%; max-width: 320px; justify-content: center; padding: 14px 20px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-headline-exact { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-emblem-wrapper { max-width: 200px; }
  .star-4point-overlay { width: 50px; height: 50px; }
  .slide-big-text { font-size: 1.4rem; }
  .gsap-badge { font-size: 0.95rem; padding: 4px 10px; }
  .section-title { font-size: clamp(1.6rem,6vw,2.2rem); }

  .phone-frame { width: 240px; height: 500px; border-radius: 40px; }
  .phone-screen { border-radius: 34px; }
  .app-icon-square { width: 40px; height: 40px; font-size: 1rem; border-radius: 10px; }
  .app-icon-img { border-radius: 10px; }
  .phone-apps-grid { gap: 12px 0; padding: 16px 8px 0; }
  .app-label { font-size: 0.5rem; }
  .phone-dynamic-island { width: 80px; height: 24px; }
  .phone-dock { margin: auto 10px 8px; padding: 5px 10px 3px; border-radius: 18px; }
  .phone-dock .app-icon-square.dock-icon { width: 36px; height: 36px; border-radius: 9px; }

  .panel-app-name { font-size: 1.3rem; }
  .panel-screenshot-wrap { max-width: 140px; }

  .step-icon-circle { width: 60px; height: 60px; font-size: 1.2rem; }
  .process-connector { height: 30px; }
}
