/* ═══════════════════════════════════════════════════════
   clientGo — CSS Principal
   Cores: Azul Royal #4460EF | Rosa #F82586 | Roxo #3A0CA3
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cg-blue:        #4460EF;
  --cg-blue-dark:   #2d46c9;
  --cg-pink:        #F82586;
  --cg-pink-dark:   #d01870;
  --cg-purple-dark: #3A0CA3;
  --cg-purple-mid:  #7B2FBE;
  --cg-cyan:        #4BC9F1;
  --cg-black:       #0f172a;
  --cg-gray-600:    #475569;
  --cg-gray-200:    #e2e8f0;
  --cg-gray-50:     #f8fafc;
  --radius:         16px;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:      0 8px 32px rgba(68,96,239,0.14);
  --shadow-lg:      0 24px 64px rgba(68,96,239,0.18);
  --transition:     all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--cg-black);
  background: white;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ── Botões ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cg-pink);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--cg-pink-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(248,37,134,0.35); }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.55);
  cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: white; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--cg-blue);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  border: 2px solid var(--cg-blue);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--cg-blue); color: white; }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}
.badge-blue  { background: rgba(68,96,239,0.1); color: var(--cg-blue); }
.badge-white { background: rgba(255,255,255,0.18); color: white; border: 1px solid rgba(255,255,255,0.3); }
.badge-pink  { background: rgba(248,37,134,0.1); color: var(--cg-pink); }
.badge-cyan  { background: rgba(75,201,241,0.15); color: var(--cg-cyan); }

/* ── Dots pattern ── */
.dots-pattern {
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── Cards ── */
.card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--cg-gray-200);
  padding: 1.75rem;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

/* ── Seção: cabeçalho padrão ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; color: var(--cg-black); margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; color: var(--cg-gray-600); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 1px 0 var(--cg-gray-200);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.10); }

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}
.navbar-logo img { height: 36px; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.navbar-links a {
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: none;
  color: var(--cg-gray-600);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-links a:hover, .navbar-links a.active { color: var(--cg-blue); background: rgba(68,96,239,0.07); }

.navbar-cta { margin-left: 1rem; font-size: 0.88rem; padding: 0.6rem 1.3rem; }

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cg-black);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-mobile {
  display: none;
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--cg-gray-200);
  background: white;
}
.navbar-mobile ul { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 0.5rem; }
.navbar-mobile a {
  display: block;
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  text-transform: none;
  color: var(--cg-gray-600);
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-mobile a:hover { color: var(--cg-blue); background: rgba(68,96,239,0.07); }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  background: var(--cg-blue);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(7rem, 16vw, 10rem);
  max-width: min(720px, 100%);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.12;
}
.hero p {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: min(580px, 100%);
}
.hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Decorações do hero */
.hero-circle-1 {
  position: absolute; top: 10%; right: -5%;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 56px solid rgba(255,255,255,0.08);
  pointer-events: none;
}
.hero-circle-2 {
  position: absolute; bottom: -10%; left: -8%;
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 44px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

/* Stats bar */
.stats-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--cg-purple-dark);
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
}
.stat-item {
  padding: clamp(1rem, 3vw, 1.5rem) clamp(0.75rem, 2vw, 1.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.stat-item:last-child { border-right: none; }
.stat-icon { color: var(--cg-cyan); margin-bottom: 0.25rem; }
.stat-value {
  font-weight: 900;
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  color: white;
  line-height: 1;
}
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.65); font-weight: 600; }

/* ══════════════════════════════════════════
   SEÇÕES GERAIS
   ══════════════════════════════════════════ */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-gray { background: var(--cg-gray-50); }
.section-blue { background: var(--cg-blue); }
.section-purple { background: var(--cg-purple-dark); }

/* Grid de serviços */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

/* Grid de pilares */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Grid de clientes */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
}

.client-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--cg-gray-200);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.client-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.client-initials {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--cg-blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 900; font-size: 1.1rem; color: white; letter-spacing: 0.05em;
}
.client-stars { display: flex; justify-content: center; gap: 3px; margin-top: 0.5rem; }
.star { color: var(--cg-pink); font-size: 0.75rem; }

/* Seção Quem Somos */
.quem-somos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 1rem;
}
.value-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1.25rem;
}
.value-card h4 { font-weight: 800; font-size: 0.95rem; color: white; margin-bottom: 0.3rem; }
.value-card p { font-size: 0.82rem; color: rgba(255,255,255,0.62); line-height: 1.5; }

/* CTA box */
.cta-box {
  background: var(--cg-blue);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-box h3 { font-weight: 800; font-size: 1.25rem; color: white; margin-bottom: 0.4rem; }
.cta-box p { color: rgba(255,255,255,0.78); font-size: 0.95rem; }

/* ══════════════════════════════════════════
   HERO INTERNO (Produtos, Contato, etc.)
   ══════════════════════════════════════════ */
.page-hero {
  background: var(--cg-blue);
  padding-top: clamp(100px, 14vw, 140px);
  padding-bottom: clamp(50px, 8vw, 80px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: rgba(255,255,255,0.80);
  max-width: min(560px, 100%);
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   PRODUTOS
   ══════════════════════════════════════════ */
.app-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  border: 1px solid var(--cg-gray-200);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--cg-black);
  transition: var(--transition);
}
.feature-item:hover { border-color: var(--cg-blue); box-shadow: var(--shadow-sm); }
.feature-check { color: var(--cg-blue); flex-shrink: 0; font-size: 1.1rem; }

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}
.integration-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--cg-gray-200);
  padding: 1.75rem;
  transition: var(--transition);
}
.integration-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.integration-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.4rem;
  color: white;
}
.integration-features { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.integration-features li { font-size: 0.85rem; color: var(--cg-gray-600); display: flex; align-items: center; gap: 0.4rem; }
.integration-features li::before { content: "✓"; color: var(--cg-blue); font-weight: 700; }

/* Vídeo */
.video-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(68,96,239,0.22);
  max-width: 860px;
  margin: 0 auto;
}
.video-wrapper video { width: 100%; display: block; aspect-ratio: 16/9; }

/* Mockup */
.app-mockup {
  display: flex;
  justify-content: center;
}
.app-mockup img {
  width: clamp(220px, 42vw, 320px);
  height: auto;
  filter: drop-shadow(0 32px 64px rgba(68,96,239,0.35)) drop-shadow(0 8px 24px rgba(58,12,163,0.2));
}

/* ══════════════════════════════════════════
   FORMULÁRIOS
   ══════════════════════════════════════════ */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.form-card {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--cg-gray-200);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cg-black);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--cg-gray-200);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--cg-black);
  background: white;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cg-blue);
  box-shadow: 0 0 0 3px rgba(68,96,239,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Contato info */
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--cg-gray-200);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-sm); }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

/* ══════════════════════════════════════════
   TRABALHE CONOSCO
   ══════════════════════════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.benefit-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
}
.benefit-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.benefit-card h3 { font-weight: 800; font-size: 1rem; color: white; margin-bottom: 0.4rem; }
.benefit-card p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  background: var(--cg-purple-dark);
  color: rgba(255,255,255,0.75);
  padding-top: clamp(3rem, 7vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 260px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--cg-blue); }

.footer-col h4 {
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.9rem; transition: var(--transition); }
.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.82rem; }

/* ══════════════════════════════════════════
   WHATSAPP FLOAT
   ══════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.55); }

/* ══════════════════════════════════════════
   RESPONSIVO
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .navbar-links, .navbar-cta { display: none; }
  .navbar-toggle { display: flex; }
  .navbar-mobile.open { display: block; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-circle-1, .hero-circle-2 { display: none; }
  .quem-somos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
}

/* ══════════════════════════════════════════
   ANIMAÇÕES (fade-in ao scroll)
   ══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.23,1,0.32,1), transform 0.6s cubic-bezier(0.23,1,0.32,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-delay-1 { transition-delay: 0.08s; }
.fade-in-delay-2 { transition-delay: 0.16s; }
.fade-in-delay-3 { transition-delay: 0.24s; }
.fade-in-delay-4 { transition-delay: 0.32s; }
