/* Theme variables */
:root {
  --primary: #5a57ff;
  --primary-600: #4a47d6;
  --secondary: #0e0e2c;
  --accent: #ff7a57;
  --text: #2a2a2a;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

/* Utilities */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
}

.text-muted { color: var(--muted) !important; }

.section {
  padding: 80px 0;
}

.section-sm { padding: 56px 0; }

.section-header {
  margin-bottom: 32px;
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Header */
.navbar-brand span.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #8a87ff);
  color: #fff;
  border-radius: 10px;
  margin-right: 10px;
  font-weight: 800;
}

/* Hero */
.hero {
  padding: 120px 0 80px;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(90,87,255,0.12), transparent),
              radial-gradient(800px 400px at -10% 20%, rgba(255,122,87,0.08), transparent),
              var(--bg);
}
.hero .lead { max-width: 680px; }

.hero-illus {
  position: relative;
}
.hero-blob {
  position: absolute;
  inset: -20px;
  background: radial-gradient(closest-side, rgba(90,87,255,0.18), transparent),
              radial-gradient(closest-side, rgba(255,122,87,0.14), transparent);
  filter: blur(30px);
  border-radius: 24px;
  z-index: 0;
}
.hero-figure {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(14,14,44,0.15);
  animation: float 3s ease-in-out infinite;
}

/* Animação de flutuação suave horizontal */
@keyframes float {
  0%, 100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(10px);
  }
}

/* Cards */
.feature-card {
  background: var(--bg);
  border: 1px solid #eceff6;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(14,14,44,0.08);
}
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f2ff;
  color: var(--primary);
  margin-bottom: 12px;
}

/* Project grid */
.project-card img { border-radius: 12px; }

/* Testimonials */
.testimonial {
  background: var(--bg);
  border: 1px solid #eceff6;
  border-radius: 16px;
  padding: 24px;
}

/* Footer */
footer {
  background: var(--secondary);
  color: #cfd3e0;
}
footer a { color: #e6e8f2; text-decoration: none; }
footer a:hover { color: #ffffff; }

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hero { padding: 96px 0 64px; }
}

@media (max-width: 575.98px) {
  .section { padding: 56px 0; }
}

/* Tabs */
.nav-tabs {
  border-bottom: 2px solid #eceff6;
}
.nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  padding: 16px 24px;
  font-weight: 500;
  transition: all .2s ease;
}
.nav-tabs .nav-link:hover {
  border-bottom-color: rgba(90,87,255,0.3);
  color: var(--primary);
}
.nav-tabs .nav-link.active {
  color: var(--primary);
  background: transparent;
  border-bottom-color: var(--primary);
  font-weight: 600;
}
.tab-pane {
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* WhatsApp Floating Button */
.whatsapp-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 1040;
  text-decoration: none;
}
.whatsapp-fab:hover { background: #1ebe5d; color: #ffffff; }
.whatsapp-fab i { font-size: 24px; line-height: 1; }


