*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --bg: #f8f9fc;
  --bg2: #ffffff;
  --surface: #eef1f8;
  --indigo: #3d52d5;
  --indigo-dark: #2b3aab;
  --indigo-light: #eef0fb;
  --indigo-mid: #c7cdf5;
  --yellow: #f5c518;
  --yellow-dark: #d4a800;
  --text: #111827;
  --text-mid: #374151;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --border: #e5e7eb;
  --border-dark: #d1d5db;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 span.accent { color: var(--indigo); }

h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.015em;
}
h2 span.accent { color: var(--indigo); }

h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

p { color: var(--text-muted); line-height: 1.75; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  background-color: var(--indigo-light);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 60px;
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(248,249,252,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--indigo); }
.nav-cta {
  background-color: var(--indigo);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 8px;
  transition: background-color 0.2s, transform 0.2s;
}
.nav-cta:hover { background-color: var(--indigo-dark); transform: translateY(-1px); }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 40%, rgba(61,82,213,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 56px 80px 72px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background-color: var(--indigo);
  border-radius: 2px;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 460px;
  margin: 20px 0 44px;
  line-height: 1.75;
}

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

.btn-primary {
  background-color: var(--indigo);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover { background-color: var(--indigo-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,82,213,0.25); }

.btn-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-link:hover { color: var(--indigo); }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-value span { color: var(--indigo); }
.stat-label { font-size: 12px; color: var(--text-faint); font-weight: 500; }

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 72px 80px 32px;
  position: relative;
  z-index: 2;
}

/* floating platform badges */
.platforms-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
}

.plat-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  background: var(--indigo);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 20px 60px rgba(61,82,213,0.3);
  animation: float 4s ease-in-out infinite;
}
.plat-center-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.plat-center-value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.plat-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  white-space: nowrap;
  z-index: 5;
}
.plat-badge-icon { font-size: 20px; }
.plat-badge-name { font-size: 13px; font-weight: 700; color: var(--text); }
.plat-badge-sub { font-size: 11px; color: var(--text-faint); font-weight: 500; }

.plat-badge.meta { top: 8%; left: 0%; animation: float 5s ease-in-out infinite; }
.plat-badge.google { top: 8%; right: 0%; animation: float 6s ease-in-out infinite; }
.plat-badge.tiktok { bottom: 18%; left: -2%; animation: float 4.5s ease-in-out infinite; }
.plat-badge.microsoft { bottom: 18%; right: -2%; animation: float 5.5s ease-in-out infinite; }

.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed var(--indigo-mid);
  border-radius: 50%;
}
.orbit-1 { width: 200px; height: 200px; }
.orbit-2 { width: 320px; height: 320px; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -10px); }
}

/* MARQUEE */
.marquee-wrap {
  background: var(--indigo);
  padding: 13px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
  padding-right: 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.marquee-dot { color: var(--yellow); font-size: 12px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* GENERIC SECTION */
.section { padding: 96px 72px; max-width: 1240px; margin: 0 auto; }
.section-alt { background-color: var(--bg2); }
.section-header { margin-bottom: 56px; max-width: 640px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 16px; }

/* SOBRE */
.sobre-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}

.photo-box {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface);
  border-radius: 20px;
  border: 2px dashed var(--border-dark);
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.photo-box-icon {
  width: 64px; height: 64px;
  background: var(--indigo-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.photo-box-icon svg { width: 28px; height: 28px; stroke: var(--indigo); fill: none; stroke-width: 2; }
.photo-box-label {
  font-size: 12px; font-weight: 600;
  color: var(--text-faint); letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 10;
}
.badge-float.bf1 { bottom: -16px; left: -16px; }
.badge-float.bf2 { top: 24px; right: -24px; }
.badge-float-icon { font-size: 18px; }
.badge-float-text { font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.2; }
.badge-float-sub { font-size: 10px; color: var(--text-faint); font-weight: 500; }

.sobre-content h2 { margin-bottom: 8px; }
.sobre-intro {
  font-size: 17px;
  color: var(--text-mid);
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 24px;
  margin-top: 16px;
}
.sobre-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.sobre-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sobre-pill {
  font-size: 12px; font-weight: 600;
  color: var(--indigo);
  background: var(--indigo-light);
  border-radius: 100px;
  padding: 6px 16px;
}

/* PROBLEMA */
.problema-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.prob-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.prob-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--indigo);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.25s;
}
.prob-card:hover { box-shadow: 0 12px 40px rgba(61,82,213,0.1); transform: translateY(-3px); }
.prob-card:hover::before { opacity: 1; }
.prob-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 14px;
  background: var(--indigo-light);
  display: inline-block; padding: 4px 10px; border-radius: 6px;
}
.prob-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.prob-desc { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* PROCESSO */
.processo-list { display: flex; flex-direction: column; gap: 0; }
.proc-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.proc-item:first-child { border-top: 1px solid var(--border); }
.proc-num {
  font-size: 13px; font-weight: 800;
  color: var(--indigo); padding-top: 2px;
}
.proc-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.proc-desc { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* SERVIÇOS */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.serv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.25s;
  position: relative;
}
.serv-card:hover {
  border-color: var(--indigo);
  box-shadow: 0 12px 40px rgba(61,82,213,0.12);
  transform: translateY(-3px);
}
.serv-icon {
  width: 48px; height: 48px;
  background: var(--indigo-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.serv-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.serv-desc { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.serv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.s-tag {
  font-size: 11px; font-weight: 600;
  color: var(--indigo); background: var(--indigo-light);
  border-radius: 100px; padding: 3px 10px;
}

.servicos-carousel { display: none; }

/* EXPERIÊNCIA */
.exp-nicho-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.nicho-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
}
.nicho-tag span { font-size: 16px; }

.empresas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.empresa-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.25s;
  min-height: 120px;
}
.empresa-card:hover {
  border-color: var(--indigo);
  box-shadow: 0 8px 24px rgba(61,82,213,0.1);
}
.empresa-logo-placeholder {
  width: 56px; height: 56px;
  background: var(--indigo-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.empresa-logo-placeholder svg { width: 24px; height: 24px; stroke: var(--indigo); fill: none; stroke-width: 1.5; }
.empresa-name {
  font-size: 13px; font-weight: 700;
  color: var(--text-mid); text-align: center;
}

/* DIFERENCIAIS */
.dif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.dif-content h2 { margin-bottom: 16px; }
.dif-content .lead {
  font-size: 17px; font-weight: 500;
  color: var(--text-mid); margin-bottom: 16px; line-height: 1.75;
}
.dif-content p { font-size: 15px; line-height: 1.85; margin-bottom: 12px; }

.depos { display: flex; flex-direction: column; gap: 16px; }
.depo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
}
.depo::before {
  content: '"';
  position: absolute;
  top: 16px; right: 20px;
  font-size: 48px;
  font-weight: 800;
  color: var(--indigo-light);
  line-height: 1;
  font-family: Georgia, serif;
}
.depo-text { font-size: 14px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; font-style: italic; }
.depo-author {
  display: flex; align-items: center; gap: 10px;
}
.depo-avatar {
  width: 32px; height: 32px;
  background: var(--indigo-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--indigo);
}
.depo-name { font-size: 12px; font-weight: 700; color: var(--text); }
.depo-role { font-size: 11px; color: var(--text-faint); font-weight: 500; }

/* CTA */
.cta-wrap {
  background: var(--indigo);
  border-radius: 24px;
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 72px 96px;
  max-width: 1096px;
  margin-left: auto;
  margin-right: auto;
}
.cta-wrap::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-wrap::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  background: rgba(245,197,24,0.1);
  border-radius: 50%;
}
.cta-inner { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.cta-wrap h2 { color: #fff; margin-bottom: 16px; }
.cta-wrap p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 40px; line-height: 1.75; }
.btn-cta {
  background: var(--yellow);
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 10px;
  display: inline-block;
  transition: all 0.2s;
}
.btn-cta:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.cta-note { display: block; margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.footer-logo { font-size: 15px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.footer-logo span { color: var(--indigo); }
.footer-info { font-size: 12px; color: var(--text-faint); font-weight: 500; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 60px 28px 72px; }
  .hero-stats { gap: 20px; }
  .section { padding: 64px 28px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .photo-box { aspect-ratio: 4/5; width: 100%; max-width: 320px; margin: 0 auto; }
  .badge-float { display: none; }
  .problema-grid { grid-template-columns: 1fr; }
  .servicos-grid { display: none; }
  .servicos-carousel {
    display: flex; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: 16px;
    align-items: flex-start;
  }
  .servicos-carousel::-webkit-scrollbar { height: 3px; }
  .servicos-carousel::-webkit-scrollbar-track { background: var(--surface); }
  .servicos-carousel::-webkit-scrollbar-thumb { background: var(--indigo); border-radius: 2px; }
  .servicos-carousel .serv-card { min-width: 82vw; scroll-snap-align: start; flex-shrink: 0; height: auto; align-self: flex-start; }
  .carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
  .carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-dark); transition: background 0.2s; cursor: pointer; }
  .carousel-dot.active { background: var(--indigo); }
  .empresas-grid { grid-template-columns: repeat(2, 1fr); }
  .dif-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-wrap { margin: 0 24px 72px; padding: 48px 28px; }
  footer { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
}
