/* ========================================
   BBOX DIGITAL — Estilos Principais
   "O Painel de Controle do Seu Crescimento"
   ======================================== */

/* ===== VARIÁVEIS ===== */
:root {
  --navy: #0C2647;
  --navy-dark: #071a38;
  --navy-deep: #050f20;
  --navy-light: #12305a;
  --cyan: #48A6DC;
  --cyan-dark: #3a8fbf;
  --cyan-glow: rgba(72, 166, 220, 0.25);
  --teal: #58B4BA;
  --teal-dark: #47999f;
  --white: #FFFFFF;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-15: rgba(255, 255, 255, 0.15);
  --white-08: rgba(255, 255, 255, 0.08);
  --white-05: rgba(255, 255, 255, 0.05);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-hover: rgba(72, 166, 220, 0.35);
  --shadow-cyan: 0 0 40px rgba(72, 166, 220, 0.25);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar customizada */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-dark); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 3px; }

/* Tipografia base */
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: 'Outfit', sans-serif; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 100px 0; }

/* ===== UTILITÁRIOS ===== */
.text-cyan { color: var(--cyan); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--white-70); }

.section-label {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--white-70);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.75;
}

/* ===== BOTÕES ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cyan);
  color: var(--navy);
  padding: 17px 34px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 17px 34px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--white-40);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--navy);
  padding: 17px 34px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-teal:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(88, 180, 186, 0.4);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #25D366;
  color: #fff;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
  letter-spacing: 0.3px;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.35);
}

/* ===== NAVEGAÇÃO ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition-slow);
}

.nav.scrolled {
  background: rgba(5, 15, 32, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 15px 0;
  border-bottom: 1px solid var(--glass-border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-mark svg {
  width: 20px;
  height: 20px;
}

.nav-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  color: var(--white);
}

.nav-logo-text span { color: var(--cyan); }

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-70);
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.nav-links a:hover { color: var(--white); }

.nav-cta-link {
  background: var(--cyan) !important;
  color: var(--navy) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
}

.nav-cta-link:hover {
  background: #fff !important;
  box-shadow: var(--shadow-cyan);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

#hex-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(72, 166, 220, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 20%, rgba(88, 180, 186, 0.06) 0%, transparent 60%),
    linear-gradient(to bottom, transparent 60%, var(--navy) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(72, 166, 220, 0.08);
  border: 1px solid rgba(72, 166, 220, 0.28);
  color: var(--cyan);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(72,166,220,0.4); }
  50% { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 5px rgba(72,166,220,0); }
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 26px;
  letter-spacing: -1.5px;
}

.hero-title .highlight {
  color: var(--cyan);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  border-radius: 2px;
  opacity: 0.5;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--white-70);
  max-width: 600px;
  margin-bottom: 44px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 44px;
  border-top: 1px solid var(--glass-border);
}

.hero-stat {
  flex: 1;
  min-width: 140px;
  padding-right: 32px;
  border-right: 1px solid var(--glass-border);
  margin-right: 32px;
}

.hero-stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.hero-stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: -1px;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--white-70);
  margin-top: 6px;
  line-height: 1.4;
}

/* ===== PROBLEMA ===== */
.problem {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.problem::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(72, 166, 220, 0.04) 0%, transparent 65%);
  pointer-events: none;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}

.problem-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.problem-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.problem-card:hover::before { transform: scaleX(1); }

.problem-icon {
  width: 56px;
  height: 56px;
  background: rgba(72, 166, 220, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.problem-icon svg { width: 26px; height: 26px; color: var(--cyan); }

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--white-90);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--white-70);
  line-height: 1.7;
}

.problem-solution {
  background: linear-gradient(135deg, rgba(72, 166, 220, 0.08), rgba(88, 180, 186, 0.06));
  border: 1px solid rgba(72, 166, 220, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.problem-solution-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-solution-icon svg { width: 30px; height: 30px; color: var(--navy); }

.problem-solution-text h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--cyan); }
.problem-solution-text p { color: var(--white-70); font-size: 0.95rem; line-height: 1.7; }

/* ===== SERVIÇOS ===== */
.services { position: relative; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.service-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  cursor: pointer;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(72, 166, 220, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(72, 166, 220, 0.12);
}

.service-card:hover .service-card-glow { opacity: 1; }

.service-icon {
  width: 62px;
  height: 62px;
  background: rgba(72, 166, 220, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  background: rgba(72, 166, 220, 0.18);
  box-shadow: 0 0 0 6px rgba(72, 166, 220, 0.06);
}

.service-icon svg { width: 30px; height: 30px; color: var(--cyan); }

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card-desc {
  font-size: 0.88rem;
  color: var(--white-70);
  line-height: 1.7;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.service-metric {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(72, 166, 220, 0.08);
  border: 1px solid rgba(72, 166, 220, 0.18);
  color: var(--cyan);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.service-metric::before {
  content: '↑';
  font-size: 0.85rem;
  color: var(--teal);
}

.service-card:hover .service-metric {
  background: rgba(72, 166, 220, 0.16);
}

/* ===== BBOX CONNECT ===== */
.bbox-connect {
  background: linear-gradient(160deg, #071a38 0%, #091e3a 40%, #07263a 100%);
  border-top: 1px solid rgba(88, 180, 186, 0.18);
  border-bottom: 1px solid rgba(88, 180, 186, 0.18);
  position: relative;
  overflow: hidden;
}

.bbox-connect-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bbox-connect-particles::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(88, 180, 186, 0.07) 0%, transparent 65%);
}

.bbox-connect-particles::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(72, 166, 220, 0.05) 0%, transparent 65%);
}

.bbox-connect-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.bbox-connect-content .section-label { color: var(--teal); }
.bbox-connect-content .section-title span { color: var(--teal); }

.connect-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.connect-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.connect-feature-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: rgba(88, 180, 186, 0.1);
  border: 1px solid rgba(88, 180, 186, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connect-feature-icon svg { width: 22px; height: 22px; color: var(--teal); }
.connect-feature-text h4 { font-size: 0.98rem; margin-bottom: 4px; }
.connect-feature-text p { font-size: 0.87rem; color: var(--white-70); }

.connect-market-stat {
  background: rgba(88, 180, 186, 0.07);
  border: 1px solid rgba(88, 180, 186, 0.18);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.connect-market-stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  white-space: nowrap;
}

.connect-market-stat-text {
  font-size: 0.9rem;
  color: var(--white-70);
  line-height: 1.55;
}

.connect-market-stat-text strong { color: var(--white); }

/* Mockup de celular */
.phone-mockup-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 40px 0;
}

.phone-frame {
  width: 270px;
  height: 550px;
  background: #0a1d38;
  border-radius: 38px;
  border: 2px solid rgba(88, 180, 186, 0.25);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

.phone-notch {
  width: 90px;
  height: 22px;
  background: #050f20;
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-notch::after {
  content: '';
  width: 50px;
  height: 5px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}

.phone-screen {
  padding: 16px 14px;
  height: calc(100% - 22px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.phone-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.phone-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--navy);
  flex-shrink: 0;
}

.phone-contact-name { font-size: 0.8rem; font-weight: 600; color: var(--white); }
.phone-contact-status { font-size: 0.65rem; color: #25D366; }

.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.bubble {
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.74rem;
  line-height: 1.5;
  max-width: 88%;
  opacity: 0;
  animation: bubbleIn 0.4s ease forwards;
}

.bubble.in {
  background: rgba(255,255,255,0.07);
  color: var(--white-90);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.bubble.out {
  background: rgba(37, 211, 102, 0.12);
  color: #d0f0da;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.bubble.bot-msg {
  background: rgba(72, 166, 220, 0.12);
  border: 1px solid rgba(72, 166, 220, 0.18);
  color: var(--white-90);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.bubble-d1 { animation-delay: 0.4s; }
.bubble-d2 { animation-delay: 1.0s; }
.bubble-d3 { animation-delay: 1.7s; }
.bubble-d4 { animation-delay: 2.4s; }
.bubble-d5 { animation-delay: 3.2s; }

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.phone-stats {
  background: rgba(72, 166, 220, 0.08);
  border: 1px solid rgba(72, 166, 220, 0.15);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone-stat-item { text-align: center; }
.phone-stat-val { font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--cyan); }
.phone-stat-lbl { font-size: 0.6rem; color: var(--white-70); }

/* Floating badges */
.phone-badge {
  position: absolute;
  background: rgba(7, 26, 56, 0.96);
  border: 1px solid rgba(72, 166, 220, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.phone-badge-1 { top: 40px; right: -20px; animation: floatBadge 3.5s ease-in-out infinite; }
.phone-badge-2 { bottom: 90px; left: -30px; animation: floatBadge 3.5s ease-in-out infinite 1.75s; }

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

.phone-badge svg { width: 15px; height: 15px; color: var(--cyan); }
.phone-badge-val { font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--white); }
.phone-badge-lbl { font-size: 0.62rem; color: var(--white-70); }

/* ===== CASES ===== */
.cases { background: var(--navy-dark); }

.cases-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }

.cases-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--white-70);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
  font-weight: 700;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.case-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.case-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.case-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.case-card:hover::after { transform: scaleX(1); }

.case-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

.case-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
}

.case-segment-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(88, 180, 186, 0.1);
  border: 1px solid rgba(88, 180, 186, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.case-challenge {
  font-size: 0.88rem;
  color: var(--white-70);
  line-height: 1.65;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--glass-border);
}

.case-result {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.case-result-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: -1px;
}

.case-result-desc {
  font-size: 0.88rem;
  color: var(--white-70);
  line-height: 1.45;
}

/* ===== PROCESSO ===== */
.process { position: relative; overflow: hidden; }

.process::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(72, 166, 220, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.process-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 64px;
  padding-bottom: 20px;
}

.process-connector {
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: var(--glass-border);
  z-index: 0;
}

.process-connector-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  transition: width 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0 10px;
}

.process-step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  border: 1.5px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  position: relative;
  transition: var(--transition-slow);
}

.process-step-circle::before {
  content: attr(data-num);
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  background: var(--cyan);
  border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step.is-active .process-step-circle {
  border-color: var(--cyan);
  background: rgba(72, 166, 220, 0.08);
  box-shadow: 0 0 0 10px rgba(72, 166, 220, 0.05);
}

.process-step-circle svg { width: 32px; height: 32px; color: var(--white-40); transition: var(--transition); }
.process-step.is-active .process-step-circle svg { color: var(--cyan); }

.process-step-body { text-align: center; }
.process-step-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.process-step-desc { font-size: 0.82rem; color: var(--white-70); line-height: 1.55; }

/* ===== DEPOIMENTOS ===== */
.testimonials { background: var(--navy-dark); overflow: hidden; }

.testimonials-carousel-wrap {
  margin-top: 60px;
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  min-width: calc(33.333% - 16px);
  margin-right: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  flex-shrink: 0;
  transition: var(--transition);
}

.testimonial-card:hover { border-color: rgba(72, 166, 220, 0.2); }

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}

.testimonial-stars svg { width: 16px; height: 16px; fill: #F59E0B; color: #F59E0B; }

.testimonial-result {
  font-family: 'Poppins', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 16px;
  line-height: 1.1;
}

.testimonial-quote {
  font-size: 0.88rem;
  color: var(--white-70);
  line-height: 1.75;
  margin-bottom: 26px;
  font-style: italic;
  position: relative;
  padding-left: 22px;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 2.5rem;
  font-family: 'Poppins', sans-serif;
  color: var(--cyan);
  opacity: 0.25;
  line-height: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--glass-border);
}

.testimonial-ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  flex-shrink: 0;
}

.testimonial-ava-info h4 { font-size: 0.9rem; font-weight: 600; }
.testimonial-ava-info p { font-size: 0.78rem; color: var(--white-70); }

.testimonials-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.t-dots { display: flex; gap: 8px; }

.t-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--glass-border);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.t-dot.is-active { background: var(--cyan); width: 22px; border-radius: 4px; }

.t-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--white-70);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.t-arrow:hover { border-color: var(--cyan); color: var(--cyan); }
.t-arrow svg { width: 18px; height: 18px; }

/* ===== CTA / FORMULÁRIO ===== */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(72, 166, 220, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.cta-content h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 18px; }
.cta-content h2 span { color: var(--cyan); }
.cta-content p { color: var(--white-70); line-height: 1.75; margin-bottom: 36px; font-size: 1rem; }

.cta-checklist { display: flex; flex-direction: column; gap: 14px; }

.cta-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--white-70);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(72, 166, 220, 0.1);
  border: 1px solid rgba(72, 166, 220, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-icon svg { width: 12px; height: 12px; color: var(--cyan); }

.cta-form-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 42px;
}

.cta-form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.cta-form-card > p { font-size: 0.85rem; color: var(--white-70); margin-bottom: 30px; line-height: 1.5; }

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white-70);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}

.form-group input, .form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder { color: var(--white-40); }

.form-group input:focus, .form-group select:focus {
  border-color: var(--cyan);
  background: rgba(72, 166, 220, 0.04);
  box-shadow: 0 0 0 3px rgba(72, 166, 220, 0.08);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2348A6DC' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-group select option { background: #071a38; color: var(--white); }

.form-privacy {
  text-align: center;
  font-size: 0.72rem;
  color: var(--white-40);
  margin-top: 14px;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep);
  padding: 72px 0 32px;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 56px;
}

.footer-brand-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.4px;
}

.footer-logo span { color: var(--cyan); }
.footer-logo-connect span { color: var(--teal); }

.footer-divider {
  width: 1px;
  height: 22px;
  background: var(--glass-border);
}

.footer-tagline {
  font-size: 0.87rem;
  color: var(--white-70);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 260px;
}

.footer-address {
  font-size: 0.8rem;
  color: var(--white-40);
  line-height: 1.6;
  margin-bottom: 22px;
}

.footer-socials { display: flex; gap: 10px; }

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-70);
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover { background: rgba(72, 166, 220, 0.1); border-color: var(--cyan); color: var(--cyan); }
.social-btn svg { width: 16px; height: 16px; }

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--white-70);
  margin-bottom: 22px;
}

.footer-nav-links { display: flex; flex-direction: column; gap: 11px; }

.footer-nav-links a {
  font-size: 0.87rem;
  color: var(--white-70);
  transition: var(--transition);
}

.footer-nav-links a:hover { color: var(--cyan); }

.footer-newsletter p {
  font-size: 0.85rem;
  color: var(--white-70);
  line-height: 1.65;
  margin-bottom: 18px;
}

.newsletter-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-input-wrap input {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.87rem;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.newsletter-input-wrap input::placeholder { color: var(--white-40); }
.newsletter-input-wrap input:focus { border-color: var(--cyan); }

.newsletter-input-wrap button {
  background: var(--cyan);
  color: var(--navy);
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-input-wrap button:hover { background: var(--white); }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p { font-size: 0.78rem; color: var(--white-40); }
.footer-bottom a { color: var(--cyan); transition: var(--transition); }
.footer-bottom a:hover { color: var(--white); }

.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ===== ANIMAÇÕES DE REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== RESPONSIVO ===== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .bbox-connect-inner { gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-timeline { gap: 10px; }
}

@media (max-width: 900px) {
  section { padding: 80px 0; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 50px; }
  .testimonial-card { min-width: calc(50% - 12px); }
}

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

  /* Nav mobile */
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 15, 32, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
  }

  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 1.15rem; color: var(--white-70); }
  .nav-links .nav-cta-link { font-size: 1rem; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero-stats { gap: 0; }
  .hero-stat { min-width: 120px; padding-right: 20px; margin-right: 20px; }
  .hero-stat-number { font-size: 1.9rem; }

  /* Sections */
  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .bbox-connect-inner { grid-template-columns: 1fr; gap: 50px; }
  .phone-mockup-wrap { display: none; }

  /* Process */
  .process-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .process-connector { display: none; }
  .process-step { flex-direction: row; gap: 20px; padding: 0; align-items: flex-start; }
  .process-step-circle { margin-bottom: 0; flex-shrink: 0; }
  .process-step-body { text-align: left; }

  /* Testimonials */
  .testimonial-card { min-width: calc(100% - 24px); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-stat { border-right: none; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--glass-border); padding-bottom: 20px; }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .problem-solution { flex-direction: column; }
  .cta-form-card { padding: 28px 24px; }
  .cases-filter { gap: 8px; }
  .filter-btn { padding: 7px 14px; font-size: 0.8rem; }
  .cases-header { flex-direction: column; align-items: flex-start; }
}
