/* =========================================
   NovaTech — style.css
   ========================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  /* Colors */
  --bg-primary:     #070B13;
  --bg-secondary:   #0A0F1C;
  --bg-card:        #0D1526;
  --bg-card-hover:  #111A2E;

  --blue:           #38BDF8;
  --blue-dark:      #0EA5E9;
  --purple:         #818CF8;
  --purple-dark:    #6366F1;

  --gradient:       linear-gradient(135deg, var(--blue-dark) 0%, var(--purple) 100%);
  --gradient-text:  linear-gradient(135deg, #7DD3FC 0%, #A5B4FC 100%);

  --text-primary:   #F0F6FF;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;

  --border:         rgba(148,163,184,0.08);
  --border-hover:   rgba(56,189,248,0.4);

  --glow-blue:      0 0 24px rgba(14,165,233,0.3);
  --glow-purple:    0 0 24px rgba(129,140,248,0.25);
  --glow-card:      0 0 40px rgba(56,189,248,0.1);

  /* Spacing */
  --section-py:     100px;
  --container-max:  1200px;
  --container-px:   24px;

  /* Typography */
  --font:           'Inter', sans-serif;

  /* Radius */
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  /* Transitions */
  --transition:     0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14,165,233,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(14,165,233,0.45);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
  background: rgba(99,102,241,0.1);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
}

.btn-ghost:hover {
  color: var(--blue);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.18);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* =========================================
   HEADER / NAVBAR
   ========================================= */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background: rgba(7,11,19,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  padding: 12px 0;
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: transparent;
  border: none;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(255,255,255,0.06);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 11, 19, 0.82);
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  z-index: 999;
  padding: 100px 32px 48px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid rgba(56,189,248,0.1);
  overflow: hidden;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 280px;
  background: radial-gradient(ellipse at top right, rgba(56,189,248,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.mobile-menu::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(ellipse at bottom left, rgba(129,140,248,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a:not(.btn) {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition), padding-left var(--transition);
  position: relative;
}

.mobile-menu a:not(.btn):hover {
  color: var(--text-primary);
  padding-left: 6px;
}

.mobile-menu .btn {
  margin-top: 32px;
  justify-content: center;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* =========================================
   HERO
   ========================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: var(--blue);
  top: -100px;
  right: -100px;
}

.hero-blob-2 {
  width: 500px;
  height: 500px;
  background: var(--purple);
  bottom: -50px;
  left: -80px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

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

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.22);
  padding: 6px 16px 6px 6px;
  border-radius: 50px;
  margin-bottom: 32px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-badge-dot {
  width: 24px;
  height: 24px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.hero-h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-actions .btn {
  font-size: 1rem;
  padding: 15px 32px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dashboard Mockup */
.dashboard-mockup {
  width: 100%;
  max-width: 400px;
  background: #0A0F1C;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), var(--glow-card);
  animation: float 6s ease-in-out infinite;
}

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

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #0D1526;
  border-bottom: 1px solid var(--border);
}

.dash-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-title i {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4ADE80;
}

.dash-dot {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

.dash-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dash-stat-card {
  background: #0F1A2E;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

.dash-stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dash-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0F1A2E;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  animation: feedSlide 0.5s ease both;
}

.dash-feed-delay-1 { animation-delay: 0.6s; }
.dash-feed-delay-2 { animation-delay: 1.0s; }
.dash-feed-delay-3 { animation-delay: 1.4s; }

@keyframes feedSlide {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.dash-feed-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.dash-feed-icon.wpp  { background: #25D366; }
.dash-feed-icon.cal  { background: var(--blue); }
.dash-feed-icon.fup  { background: var(--purple); }

.dash-feed-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dash-feed-text span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-feed-text small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.dash-feed-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
  flex-shrink: 0;
}

.dash-feed-badge.green  { background: rgba(74,222,128,0.12); color: #4ADE80; }
.dash-feed-badge.blue   { background: rgba(56,189,248,0.12); color: #60A5FA; }
.dash-feed-badge.purple { background: rgba(139,92,246,0.12); color: #A78BFA; }

.dash-rate {
  background: #0F1A2E;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}

.dash-rate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.dash-rate-header span:first-child {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.dash-rate-value {
  font-size: 0.88rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dash-rate-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.dash-rate-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.8s;
}

.dash-rate-fill.animated {
  width: 98%;
}

/* =========================================
   ANALYTICS PANEL (hero visual)
   ========================================= */

/* Tab pills */
.an-tabs {
  display: flex;
  gap: 4px;
  background: #0D1526;
  border-radius: var(--radius-sm);
  padding: 3px;
}

.an-tab {
  flex: 1;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 5px;
  border: none;
  cursor: default;
  color: var(--text-muted);
  background: transparent;
  font-family: var(--font);
  transition: var(--transition);
}

.an-tab.active {
  background: var(--gradient);
  color: #fff;
}

/* KPI cards */
.an-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.an-kpi {
  background: #0F1A2E;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.an-kpi-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: #fff;
  margin-bottom: 2px;
  background: var(--gradient);
}

.an-kpi-icon.bolt { background: linear-gradient(135deg, #F59E0B, #D97706); }
.an-kpi-icon.cal  { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.an-kpi-icon.up   { background: linear-gradient(135deg, #10B981, #059669); }

.an-kpi-value {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.an-kpi-label {
  font-size: 0.64rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Bar chart */
.an-chart {
  background: #0F1A2E;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
}

.an-chart-label {
  display: block;
  font-size: 0.71rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 10px;
}

.an-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 56px;
}

.an-bar {
  flex: 1;
  background: rgba(56,189,248,0.15);
  border-radius: 3px 3px 0 0;
  height: 0;
  transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.an-bar.animated {
  height: var(--h);
}

.an-bar-active {
  background: var(--gradient) !important;
}

.an-chart-times {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.an-chart-times span {
  font-size: 0.61rem;
  color: var(--text-muted);
}

/* Live contacts */
.an-live {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.an-live-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0F1A2E;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  animation: feedSlide 0.5s ease both;
}

.an-live-delay-1 { animation-delay: 0.6s; }
.an-live-delay-2 { animation-delay: 1.0s; }
.an-live-delay-3 { animation-delay: 1.4s; }

.an-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.an-live-dot.green  { background: #4ADE80; box-shadow: 0 0 6px rgba(74,222,128,0.7); }
.an-live-dot.yellow { background: #FBBF24; box-shadow: 0 0 6px rgba(251,191,36,0.7); }
.an-live-dot.purple { background: #A78BFA; box-shadow: 0 0 6px rgba(167,139,250,0.7); }

.an-live-name {
  flex: 1;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.an-live-badge {
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  flex-shrink: 0;
}

.an-live-badge.blue   { background: rgba(56,189,248,0.12); color: #60A5FA; }
.an-live-badge.yellow { background: rgba(251,191,36,0.12);  color: #FBBF24; }
.an-live-badge.purple { background: rgba(139,92,246,0.12);  color: #A78BFA; }

/* =========================================
   PROBLEM SECTION
   ========================================= */
#problema {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

#problema::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(56,189,248,0.06) 0%, transparent 70%);
}

.problem-header {
  text-align: center;
  margin-bottom: 64px;
}

.problem-header .section-sub {
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

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

.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239,68,68,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.problem-card:hover {
  border-color: rgba(239,68,68,0.3);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(239,68,68,0.1);
}

.problem-icon {
  width: 48px;
  height: 48px;
  background: rgba(239,68,68,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #F87171;
  font-size: 1.3rem;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.problem-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
#servicos {
  padding: var(--section-py) 0;
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-sub {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(56,189,248,0.15), 0 24px 48px rgba(0,0,0,0.3);
  background: var(--bg-card-hover);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* =========================================
   HOW IT WORKS
   ========================================= */
#como-funciona {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

#como-funciona::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(129,140,248,0.06) 0%, transparent 70%);
}

.how-header {
  text-align: center;
  margin-bottom: 72px;
}

.how-header .section-sub {
  margin: 0 auto;
}

.steps-wrapper {
  position: relative;
}

.steps-line {
  position: absolute;
  top: 36px;
  left: calc(12.5% + 36px);
  right: calc(12.5% + 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  opacity: 0.3;
  z-index: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--bg-card);
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 24px;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(56,189,248,0.12);
}

.step-number span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =========================================
   DIFFERENTIALS
   ========================================= */
#diferenciais {
  padding: var(--section-py) 0;
  position: relative;
}

.diff-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.diff-content .section-sub {
  margin-bottom: 40px;
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.diff-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.diff-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.diff-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.diff-text p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Metrics panel */
.diff-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.metric-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-card);
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(34,197,94,0.1);
  color: #4ADE80;
  border: 1px solid rgba(34,197,94,0.2);
  padding: 3px 10px;
  border-radius: 50px;
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-bar-wrap {
  margin-top: 14px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.metric-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   ABOUT
   ========================================= */
#sobre {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

#sobre::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(56,189,248,0.05) 0%, transparent 70%);
}

.about-header {
  text-align: center;
  margin-bottom: 24px;
}

.about-desc {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Founders duo layout */
.founders-duo {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.founders-duo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.founders-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.founder-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.founder-avatar {
  width: 100px;
  height: 100px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 0 4px var(--bg-card), 0 0 0 6px rgba(56,189,248,0.2);
  margin-bottom: 4px;
}

.founder-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--bg-card), 0 0 0 6px rgba(56,189,248,0.2);
  margin-bottom: 4px;
}

.founders-plus {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
  flex-shrink: 0;
}

.founder-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.founder-role {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.founders-bio {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

/* =========================================
   CTA FINAL
   ========================================= */
#cta-final {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: linear-gradient(135deg, rgba(14,165,233,0.12) 0%, rgba(99,102,241,0.12) 100%);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(56,189,248,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box .section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.cta-box .section-sub {
  margin: 0 auto 40px;
  font-size: 1.1rem;
  max-width: 520px;
}

.cta-box .btn {
  font-size: 1.1rem;
  padding: 18px 40px;
}

/* =========================================
   FOOTER
   ========================================= */
#footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--text-primary);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  transition: color var(--transition);
}

.footer-contact-item:hover {
  color: var(--text-primary);
}

.footer-contact-item i {
  color: var(--blue);
  font-size: 1rem;
  width: 18px;
}

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

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.social-btn {
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.65);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 6px 24px rgba(37,211,102,0.5), 0 0 0 14px rgba(37,211,102,0); }
}

.whatsapp-tooltip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 48px;
  }

  .diff-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 72px;
  }

  .nav-links,
  .nav-cta .btn:not(.btn-ghost) {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: 1;
  }

  .chat-mockup {
    max-width: 320px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .steps-line {
    display: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-item {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    align-items: flex-start;
  }

  .step-number {
    margin-bottom: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box {
    padding: 52px 28px;
  }

  .cta-box .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .founders-photos {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 24px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float-btn {
    width: 54px;
    height: 54px;
    font-size: 1.4rem;
  }
}
