:root {
  --blue-900: #0a1628;
  --blue-800: #0f2240;
  --blue-700: #143260;
  --blue-600: #1a4a8a;
  --blue-500: #2068b8;
  --blue-400: #3a8dd9;
  --blue-300: #5faee8;
  --blue-200: #8ecaf0;
  --blue-100: #c5e3f8;
  --blue-50: #eaf4fd;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.15);
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 24px rgba(10,22,40,0.08);
  padding: 0.6rem 0;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 38px; transition: height 0.3s; }
.navbar.scrolled .nav-logo img { height: 32px; }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--white); text-decoration: none;
  transition: color 0.3s;
  text-transform: uppercase;
}
.navbar.scrolled .nav-links a { color: var(--gray-600); }
.nav-links a:hover { color: var(--accent); }
.navbar.scrolled .nav-links a:hover { color: var(--blue-500); }
.nav-cta {
  background: var(--accent);
  color: var(--blue-900) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-weight: 700 !important;
  transition: transform 0.3s, box-shadow 0.3s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,212,255,0.35); color: var(--blue-900) !important; }
.navbar.scrolled .nav-cta { background: var(--blue-500); color: var(--white) !important; }
.navbar.scrolled .nav-cta:hover { color: var(--white) !important; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.navbar.scrolled .burger span { background: var(--gray-700); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 40%, var(--blue-600) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(0,212,255,0.08), transparent),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(32,104,184,0.15), transparent);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black, transparent);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; pointer-events: none;
}
.hero-orb-1 { width: 500px; height: 500px; background: var(--blue-500); top: -100px; right: -100px; }
.hero-orb-2 { width: 350px; height: 350px; background: var(--accent); bottom: -80px; left: -60px; opacity: 0.15; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--blue-300));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: var(--blue-200);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 540px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--blue-900);
  box-shadow: 0 4px 24px rgba(0,212,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,212,255,0.35); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ─── SECTION COMMON ─── */
section { padding: 6rem 0; }
.section-label {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 560px;
}
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ─── ABOUT ─── */
#sobre { background: var(--gray-50); }
.about-text .section-subtitle { max-width: 100%; margin-bottom: 1.5rem; }
.about-features { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.5rem; }
.about-feature {
  display: flex; gap: 1rem; align-items: flex-start;
}
.about-feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.about-feature-icon svg { width: 22px; height: 22px; color: var(--blue-500); }
.about-feature h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--blue-900); margin-bottom: 0.15rem; }
.about-feature p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.5; }

/* ─── SERVICES ─── */
#servicos { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 2.2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--accent));
  transform: scaleX(0); transition: transform 0.4s;
  transform-origin: left;
}
.service-card:hover {
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(10,22,40,0.1);
  transform: translateY(-4px);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 28px; height: 28px; color: var(--blue-500); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.6rem;
}
.service-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.65; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.service-tag {
  font-size: 0.72rem; font-weight: 600;
  color: var(--blue-500);
  background: var(--blue-50);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* ─── GROUP ─── */
#grupo { background: var(--blue-900); color: var(--white); }
#grupo .section-label { color: var(--accent); }
#grupo .section-title { color: var(--white); }
#grupo .section-subtitle { color: var(--blue-300); }
.group-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.group-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2.2rem;
  text-align: center;
  transition: all 0.35s;
  backdrop-filter: blur(4px);
}
.group-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,212,255,0.2);
  transform: translateY(-4px);
}
.group-card-icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(32,104,184,0.15));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
}
.group-card-icon svg { width: 30px; height: 30px; color: var(--accent); }
.group-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.group-card p { font-size: 0.88rem; color: var(--blue-300); line-height: 1.6; }

/* ─── CLIENTS (dark bg) ─── */
#clientes { background: var(--blue-800); }
#clientes .section-label { color: var(--accent); }
#clientes .section-title { color: var(--white); }
#clientes .section-subtitle { color: var(--blue-300); }
.clients-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 2rem 0;
}
.client-logo {
  display: flex; align-items: center; justify-content: center;
  
  transition: all 0.4s;
  height: 48px;
}
.client-logo:hover { filter: brightness(0) invert(1) opacity(1); }
.client-logo img { max-height: 48px; max-width: 150px; object-fit: contain; }
.client-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.45);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.3s;
}
.client-logo:hover .client-logo-text { color: var(--white); }

/* ─── CTA ─── */
.cta-section {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(0,212,255,0.1), transparent);
}
.cta-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-content p { color: var(--blue-200); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; }

/* ─── CONTACT ─── */
#contato { background: var(--gray-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.8rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: var(--blue-50);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 22px; height: 22px; color: var(--blue-500); }
.contact-item h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--blue-900); margin-bottom: 0.2rem; }
.contact-item p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.5; }
.contact-item a { color: var(--blue-500); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(10,22,40,0.06);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; margin-bottom: 0.4rem;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--gray-600);
}
.form-group input, .form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  background: var(--gray-50);
  color: var(--gray-700);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(32,104,184,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  width: 100%;
  background: var(--blue-500);
  color: var(--white);
  padding: 0.9rem;
  border: none;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s;
}
.btn-submit:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(32,104,184,0.3); }

.social-links { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-link {
  width: 42px; height: 42px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  text-decoration: none;
}
.social-link:hover { background: var(--blue-500); }
.social-link svg { width: 18px; height: 18px; color: var(--blue-500); }
.social-link:hover svg { color: var(--white); }

/* ─── FOOTER ─── */
footer {
  background: var(--blue-900);
  padding: 2.5rem 0;
  text-align: center;
}
footer p { color: var(--blue-400); font-size: 0.85rem; }
footer a { color: var(--accent); text-decoration: none; }

/* ─── MOBILE MENU ─── */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--white); text-decoration: none;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; cursor: pointer;
}
.mobile-close svg { width: 28px; height: 28px; color: var(--white); }

/* ─── SCROLL ANIMATIONS ─── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid, .group-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .services-grid, .group-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .clients-strip { gap: 2rem; }
  section { padding: 4rem 0; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  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: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; color: white; }
