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

:root {
  --primary: #6C63FF;
  --primary-dark: #5548e0;
  --primary-light: #8B85FF;
  --accent: #00D4AA;
  --dark: #0A0A0F;
  --dark-2: #111118;
  --dark-3: #1A1A24;
  --card-bg: #16161F;
  --text: #E8E8F0;
  --text-muted: #9090A8;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 40px rgba(108,99,255,0.25);
  --transition: 0.25s ease;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-dark { background: var(--dark-2); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 17px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary-light); color: var(--primary-light); }

.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo-bracket { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.btn-nav {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 10px 20px !important;
}
.btn-nav:hover { background: var(--primary-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108,99,255,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,212,170,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 80px 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 22px; font-weight: 800; color: var(--text); }
.stat span { font-size: 13px; color: var(--text-muted); }

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}
.hero-scroll span {
  display: block;
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scroll-dot 2s infinite;
}
@keyframes scroll-dot {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 22px; }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text .section-label { margin-bottom: 12px; }
.about-text h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
.about-text p strong { color: var(--text); }

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.skill-tag {
  padding: 6px 14px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-light);
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formation-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.formation-card:hover { border-color: rgba(108,99,255,0.3); transform: translateY(-2px); }

.formation-icon { font-size: 32px; margin-bottom: 12px; }
.formation-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.formation-card p { font-size: 14px; color: var(--primary-light); font-weight: 500; margin-bottom: 8px; }
.formation-card small { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}
.service-card:hover { border-color: rgba(108,99,255,0.4); transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.service-card.featured {
  border-color: rgba(108,99,255,0.5);
  background: linear-gradient(135deg, rgba(108,99,255,0.08) 0%, var(--card-bg) 100%);
}

.service-badge {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-icon { font-size: 36px; margin-bottom: 16px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card > p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; line-height: 1.6; }

.service-card ul { display: flex; flex-direction: column; gap: 8px; }
.service-card ul li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== PROCESS ===== */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.step {
  display: flex;
  gap: 24px;
  padding: 0 0 40px 0;
  position: relative;
  z-index: 1;
}

.step-number {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(108,99,255,0.15), 0 0 0 8px var(--dark);
}

.step:last-child { padding-bottom: 0; }

.step-content { padding-top: 12px; }
.step-content h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step-content p { color: var(--text-muted); font-size: 15px; }

/* ===== DIFERENCIAIS ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.diff-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.diff-card:hover { border-color: rgba(108,99,255,0.3); transform: translateY(-3px); }

.diff-icon { font-size: 32px; margin-bottom: 14px; }
.diff-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.diff-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== PRICING TABLE ===== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pricing-table thead {
  background: rgba(108,99,255,0.1);
}

.pricing-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: rgba(255,255,255,0.02); }

.pricing-table td:first-child { color: var(--text); }
.pricing-table td strong { color: var(--text); font-weight: 600; }

.price-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-light);
  white-space: nowrap;
}

.pricing-note {
  background: rgba(0,212,170,0.06);
  border: 1px solid rgba(0,212,170,0.15);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.pricing-note strong { color: var(--accent); }

.pricing-cta { text-align: center; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-card:hover { transform: translateX(4px); }

.contact-card.whatsapp:hover { border-color: #25D366; box-shadow: 0 4px 20px rgba(37,211,102,0.15); }
.contact-card.email:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(108,99,255,0.15); }

.contact-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 24px; height: 24px; }

.whatsapp .contact-icon { background: rgba(37,211,102,0.1); color: #25D366; }
.email .contact-icon { background: rgba(108,99,255,0.1); color: var(--primary-light); }

.contact-card strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.contact-card span { font-size: 14px; color: var(--text-muted); }

/* ===== FORM ===== */
.contact-form-wrap {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(108,99,255,0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.6; }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select option { background: var(--dark-3); color: var(--text); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer p { font-size: 14px; color: var(--text-muted); }
.footer-copy { font-size: 13px; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 30px; height: 30px; color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}

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

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a { padding: 12px 16px; }

  .hamburger { display: flex; }

  .hero-content { padding: 60px 24px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { justify-content: center; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }

  .process-steps::before { left: 26px; }
  .step-number { width: 52px; height: 52px; }

  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .contact-form-wrap { padding: 24px; }
}

/* ===== FADE-IN ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
