/* ============================================
   datavk — Tecnologia & Consultoria
   Identidade: azul/branco, profissional, limpo
   ============================================ */

:root {
  /* Cores — paleta azul marinho alinhada à logo datavk */
  --blue-50:  #eef2fa;
  --blue-100: #d8e0f0;
  --blue-200: #b3c0db;
  --blue-300: #859ac0;
  --blue-400: #5a73a3;
  --blue-500: #3d568a;
  --blue-600: #2c4374;
  --blue-700: #233863;
  --blue-800: #1c2d52;
  --blue-900: #141f3d;
  --ink-900:  #0d1730;   /* tom principal da logo */
  --ink-800:  #1a2545;
  --ink-700:  #2a3658;
  --ink-500:  #5e6a87;
  --ink-400:  #8590ab;
  --ink-300:  #b0b9cd;
  --ink-200:  #d4dae7;
  --ink-100:  #e8ecf3;
  --ink-50:   #f5f7fb;
  --white:    #ffffff;

  /* Fontes */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "Geist Mono", "SF Mono", Monaco, monospace;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(13, 23, 48, 0.04);
  --shadow:    0 4px 12px rgba(13, 23, 48, 0.06), 0 1px 3px rgba(13, 23, 48, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(13, 23, 48, 0.18), 0 8px 16px rgba(13, 23, 48, 0.06);
  --shadow-glow: 0 0 0 1px rgba(44, 67, 116, 0.1), 0 16px 40px -8px rgba(44, 67, 116, 0.25);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--ink-100);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.logo-mark {
  font-family: var(--font-mono);
  color: var(--blue-600);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.05em;
  transform: translateY(0);
}
.logo-text {
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-700);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--blue-600); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-700);
  padding: 10px 18px;
  border: 1px solid var(--blue-200);
  border-radius: 100px;
  background: var(--blue-50);
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background: var(--blue-100);
  border-color: var(--blue-300);
  transform: translateY(-1px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafe 0%, #ffffff 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 109, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 109, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(91, 135, 255, 0.18) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
  filter: blur(40px);
}
.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--blue-200);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-800);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.7s ease both;
}
.pulse {
  width: 7px;
  height: 7px;
  background: var(--blue-500);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(59, 109, 255, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 109, 255, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(59, 109, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 109, 255, 0); }
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue-600);
  font-feature-settings: "ss01";
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-500);
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 80px;
  animation: fadeUp 1s 0.3s ease both;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 14px -2px rgba(45, 91, 255, 0.4);
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(45, 91, 255, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-700);
  border: 1px solid var(--ink-200);
}
.btn-ghost:hover {
  border-color: var(--blue-400);
  color: var(--blue-700);
  background: var(--blue-50);
}
.btn-full { width: 100%; }

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  padding-top: 40px;
  border-top: 1px solid var(--ink-100);
  animation: fadeUp 1.1s 0.4s ease both;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--ink-900);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

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

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 120px 0; }
.section-alt {
  background: linear-gradient(180deg, var(--ink-50) 0%, var(--white) 100%);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--blue-200); }
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--ink-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--blue-50);
  border-radius: 12px;
  color: var(--blue-600);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: var(--blue-600);
  color: var(--white);
  transform: scale(1.05);
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--ink-500);
  margin-bottom: 20px;
  line-height: 1.55;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: 100px;
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   DIFERENCIAIS
   ============================================ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}
.diff-item {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid var(--ink-200);
}
.diff-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-600);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.diff-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.diff-item p {
  font-size: 0.9375rem;
  color: var(--ink-500);
  line-height: 1.55;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 16px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--blue-100);
  font-weight: 700;
}
.testimonial:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow);
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-800);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-100);
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  color: var(--ink-900);
  font-size: 0.9375rem;
}
.testimonial-role {
  font-size: 0.8125rem;
  color: var(--ink-400);
}

/* ============================================
   CONTATO
   ============================================ */
.section-contact {
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--blue-900) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 135, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.contact-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left .section-title { color: var(--white); }
.contact-sub {
  font-size: 1.0625rem;
  color: var(--ink-300);
  margin: 16px 0 40px;
  line-height: 1.6;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  transition: all 0.2s ease;
  width: fit-content;
}
.contact-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--blue-400);
  transform: translateX(4px);
}
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(10px);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-300);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s ease;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-400); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(91, 135, 255, 0.15);
}

/* Mensagem de feedback do formulário */
.form-message {
  margin-top: 16px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  min-height: 20px;
  transition: all 0.3s ease;
}
.form-message.success {
  color: #6ee7b7;
  padding: 12px;
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 10px;
}
.form-message.error {
  color: #fca5a5;
  padding: 12px;
  background: rgba(252, 165, 165, 0.08);
  border: 1px solid rgba(252, 165, 165, 0.2);
  border-radius: 10px;
}

/* Botão desabilitado durante envio */
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.logo-light { color: var(--white); }
.logo-light .logo-text { color: var(--white); }
.logo-light .logo-mark { color: var(--blue-300); }
.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-400);
  max-width: 380px;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: var(--ink-400);
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 14px 20px; }
  .hero { padding: 60px 0 80px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-direction: column; gap: 28px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-form { padding: 28px 24px; }
  .footer-meta { flex-direction: column; gap: 12px; text-align: center; }
}

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