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

/* ── TOKENS — LIGHT ── */
:root {
  --brand:         #10b981;
  --brand-dark:    #059669;
  --brand-light:   #d1fae5;
  --brand-glow:    rgba(16, 185, 129, 0.18);
  --brand-glow-lg: rgba(16, 185, 129, 0.08);
  --bg:            #f8fafc;
  --surface:       #ffffff;
  --surface-2:     #f1f5f9;
  --text:          #0f172a;
  --text-secondary:#64748b;
  --border:        #e2e8f0;
  --border-hover:  rgba(16, 185, 129, 0.35);
  --nav-bg:        rgba(248, 250, 252, 0.85);
  --nav-border:    rgba(226, 232, 240, 0.7);
  --mobile-menu-bg:rgba(248, 250, 252, 0.97);
  --radius-sm:     8px;
  --radius:        12px;
  --radius-lg:     16px;
  --shadow-sm:     0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow:        0 4px 16px rgba(15,23,42,0.08), 0 1px 4px rgba(15,23,42,0.04);
  --shadow-lg:     0 12px 48px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.06);
  --shadow-brand:  0 8px 32px rgba(16,185,129,0.22);
  --transition:    150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-md: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── TOKENS — DARK ── */
[data-theme="dark"] {
  --bg:            #0c1117;
  --surface:       #141b25;
  --surface-2:     #1a2333;
  --text:          #f0f4f8;
  --text-secondary:#8b9eb5;
  --border:        #1e2d40;
  --border-hover:  rgba(16, 185, 129, 0.4);
  --nav-bg:        rgba(12, 17, 23, 0.88);
  --nav-border:    rgba(30, 45, 64, 0.8);
  --mobile-menu-bg:rgba(12, 17, 23, 0.97);
  --brand-glow-lg: rgba(16, 185, 129, 0.06);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow:        0 4px 16px rgba(0,0,0,0.35), 0 1px 4px rgba(0,0,0,0.2);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--transition-md), color var(--transition-md);
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── NAVBAR ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 0 1.5rem;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  transition: background var(--transition-md), border-color var(--transition-md);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width var(--transition-md);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ── BUTTONS ── */
.btn-login {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.375rem 0.25rem;
  border-bottom: 1.5px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-login:hover {
  color: var(--text);
  border-bottom-color: var(--border);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #022c22;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(16,185,129,0.3);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: var(--shadow-brand);
}

.btn-primary:active  { transform: translateY(0) scale(0.98); }
.btn-primary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--brand);
  background: rgba(16, 185, 129, 0.06);
  transform: translateY(-1px);
}

.btn-secondary:active  { transform: translateY(0) scale(0.98); }
.btn-secondary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  /* Dark hero — subtle radial glow from bottom */
  background: radial-gradient(
    120% 80% at 50% 115%,
    #000d07  25%,
    #032b18  50%,
    #064a2c  62%,
    #0a6640  72%,
    rgba(16,185,129,0.4) 82%,
    transparent 92%
  ), #070f09;
}

/* Decorative light-ray lines (subtle) */
.hero-ray {
  position: absolute;
  pointer-events: none;
  border-radius: 9999px;
}

.hero-ray-1 {
  width: 1px;
  height: 55%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-16deg);
  transform-origin: bottom center;
  background: linear-gradient(to top, rgba(16,185,129,0.35), transparent);
  filter: blur(1.5px);
}

.hero-ray-2 {
  width: 1px;
  height: 45%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(16deg);
  transform-origin: bottom center;
  background: linear-gradient(to top, rgba(52,211,153,0.28), transparent);
  filter: blur(1.5px);
}

.hero-ray-3 {
  width: 560px;
  height: 280px;
  bottom: -140px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(16,185,129,0.14) 0%, transparent 70%);
  filter: blur(35px);
}

/* Override text/button colors inside hero for dark bg */
.hero .hero-badge {
  background: rgba(16,185,129,0.15);
  border-color: rgba(16,185,129,0.3);
  color: #6ee7b7;
}

.hero h1 { color: #f0fdf4; }
.hero h1 .highlight { color: #34d399; }
.hero-content > p { color: rgba(240,253,244,0.65); }

.hero .btn-secondary {
  color: rgba(240,253,244,0.85);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}

.hero .btn-secondary:hover {
  border-color: rgba(16,185,129,0.6);
  background: rgba(16,185,129,0.1);
  color: #6ee7b7;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

[data-theme="dark"] .hero-badge { color: var(--brand); }

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero h1 .highlight { color: var(--brand); }

.hero-content > p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-ctas .btn-primary,
.hero-ctas .btn-secondary {
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
}

/* ── CHAT MOCKUP ── */
.chat-mockup-wrap {
  position: relative;
  display: inline-block;
  max-width: 380px;
  width: 100%;
}

.chat-mockup-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 28px;
  background: radial-gradient(ellipse, rgba(16,185,129,0.1) 0%, transparent 70%);
  z-index: -1;
}

.chat-mockup {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  overflow: hidden;
  text-align: left;
  animation: float 4s ease-in-out infinite;
}

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

.chat-header {
  background: #075e54;
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #34d399);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.chat-header-info strong { display: block; color: #fff; font-size: 0.875rem; font-weight: 600; }

.chat-status {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  animation: pulse-dot 2s ease-in-out infinite;
}

.chat-body {
  background: #ece5dd;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 200px;
}

.bubble {
  max-width: 82%;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.bubble.client {
  background: #fff;
  align-self: flex-start;
  border-top-left-radius: 2px;
  color: #222;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.bubble.bot {
  background: #dcf8c6;
  align-self: flex-end;
  border-top-right-radius: 2px;
  color: #222;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.bubble-time {
  font-size: 0.62rem;
  color: rgba(0,0,0,0.4);
  text-align: right;
  margin-top: 3px;
}

.typing-indicator {
  align-self: flex-end;
  background: #dcf8c6;
  border-radius: 10px;
  border-top-right-radius: 2px;
  padding: 0.6rem 0.85rem;
  display: flex;
  gap: 4px;
  align-items: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  animation: typing 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

/* ── SOCIAL PROOF ── */
.social-proof {
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background var(--transition-md), border-color var(--transition-md);
}

.social-proof p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.segments {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.segment-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.825rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.segment-tag:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: rgba(16,185,129,0.07);
}

[data-theme="dark"] .segment-tag:hover { color: var(--brand); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.visible           { opacity: 1; transform: translateY(0); }
.reveal-delay-1           { transition-delay: 80ms; }
.reveal-delay-2           { transition-delay: 160ms; }
.reveal-delay-3           { transition-delay: 240ms; }
.reveal-delay-4           { transition-delay: 320ms; }
.reveal-delay-5           { transition-delay: 400ms; }
.reveal-delay-6           { transition-delay: 480ms; }

/* ── SECTION COMMON ── */
section { padding: 5.5rem 1.5rem; }

.container { max-width: 1120px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 0.875rem;
  background: rgba(16,185,129,0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  border: 1px solid rgba(16,185,129,0.18);
}

.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}

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

/* ── PROBLEMA → SOLUÇÃO ── */
.problem { background: var(--surface); transition: background var(--transition-md); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition-md), border-color var(--transition-md), transform var(--transition-md), background var(--transition-md);
}

.problem-card:hover {
  box-shadow: 0 6px 24px rgba(16,185,129,0.1), 0 2px 8px rgba(0,0,0,0.06);
  border-color: rgba(16,185,129,0.25);
  transform: translateY(-2px);
}

.problem-card .icon { font-size: 1.625rem; margin-bottom: 0.875rem; display: block; }
.problem-card h3   { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; line-height: 1.3; }
.problem-card p    { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

.solution-bridge {
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(16,185,129,0.07), rgba(52,211,153,0.04));
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.solution-bridge .icon { font-size: 2rem; flex-shrink: 0; }
.solution-bridge h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--brand-dark); }
.solution-bridge p  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

[data-theme="dark"] .solution-bridge h3 { color: var(--brand); }

/* ── BENTO GRID ── */
.features-section { background: var(--bg); transition: background var(--transition-md); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1rem;
  margin-top: 2.5rem;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow var(--transition-md), border-color var(--transition-md), transform var(--transition-md), background var(--transition-md);
  cursor: default;
  overflow: hidden;
  position: relative;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at top left, var(--brand-glow-lg), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-md);
  pointer-events: none;
}

.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
  box-shadow: 0 8px 32px rgba(16,185,129,0.13), 0 2px 8px rgba(0,0,0,0.07), 0 0 0 1px var(--border-hover);
  border-color: transparent;
  transform: translateY(-3px);
}

.bento-card:nth-child(1) { grid-column: span 5; }
.bento-card:nth-child(2) { grid-column: span 7; }
.bento-card:nth-child(3) { grid-column: span 4; }
.bento-card:nth-child(4) { grid-column: span 4; }
.bento-card:nth-child(5) { grid-column: span 4; }
.bento-card:nth-child(6) { grid-column: span 12; }

.bento-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.bento-card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.25; color: var(--text); }
.bento-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }

/* Featured card */
.bento-card.featured {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
  border-color: rgba(16,185,129,0.3);
}

.bento-card.featured h3 { color: rgba(255,255,255,0.93); }
.bento-card.featured p  { color: rgba(255,255,255,0.6); }
.bento-card.featured .bento-card-icon {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.bento-card.featured::before {
  background: radial-gradient(ellipse at top right, rgba(52,211,153,0.15), transparent 60%);
  opacity: 1;
}

/* Full-width card */
.bento-card.full {
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  min-height: auto;
  grid-row: auto;
}

.bento-card.full .bento-card-text { flex: 1; }

.bento-card.full .bento-card-stats {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
}

.stat-block { text-align: center; }
.stat-block .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-block .stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* ── COMO FUNCIONA ── */
.how-it-works { background: var(--surface); transition: background var(--transition-md); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 23px;
  left: calc(50% / 4);
  right: calc(50% / 4);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand), var(--brand-light));
  border-radius: 2px;
  z-index: 0;
}

.step { text-align: center; padding: 0 1.5rem 1.5rem; position: relative; z-index: 1; }

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #022c22;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(16,185,129,0.3), 0 0 0 4px var(--surface), 0 0 0 6px var(--brand-light);
}

[data-theme="dark"] .step-number {
  box-shadow: 0 4px 16px rgba(16,185,129,0.3), 0 0 0 4px var(--surface), 0 0 0 6px rgba(16,185,129,0.15);
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ── MÉTRICAS ── */
.metrics { text-align: center; background: var(--bg); transition: background var(--transition-md); }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  transition: box-shadow var(--transition-md), transform var(--transition-md), background var(--transition-md), border-color var(--transition-md);
}

.metric-card:hover {
  box-shadow: 0 8px 32px rgba(16,185,129,0.13), 0 2px 8px rgba(0,0,0,0.07), 0 0 0 1px rgba(16,185,129,0.2);
  transform: translateY(-3px);
}

.metric-value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 0.625rem;
}

.metric-label { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }

/* ── PREÇOS ── */
.pricing { background: var(--surface); text-align: center; transition: background var(--transition-md); }

.pricing-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(52,211,153,0.06));
  border: 1px dashed rgba(16,185,129,0.3);
  border-radius: var(--radius-lg);
  padding: 2rem 3rem;
  margin-top: 2rem;
}

.pricing-pill h3 { font-size: 1.25rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 0.35rem; }
.pricing-pill p  { font-size: 0.9rem; color: var(--text-secondary); }

[data-theme="dark"] .pricing-pill h3 { color: var(--brand); }

/* ── CTA FINAL ── */
.cta-final {
  position: relative;
  overflow: hidden;
  background: #0a0f1a;
  text-align: center;
  padding: 7rem 1.5rem;
}

.cta-final::before {
  content: '';
  position: absolute;
  width: 900px;
  height: 500px;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse,
    rgba(16,185,129,0.22) 0%,
    rgba(16,185,129,0.08) 40%,
    transparent 70%
  );
  filter: blur(50px);
  pointer-events: none;
}

/* Second orb — top subtle */
.cta-final::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 200px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(52,211,153,0.06) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-final h2 {
  position: relative;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-final > .container > p {
  position: relative;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.25rem;
  font-size: 1rem;
}

.cta-final .btn-primary {
  position: relative;
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
  box-shadow: 0 8px 32px rgba(16,185,129,0.35);
}

.cta-note {
  position: relative;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
}

/* ── FOOTER ── */
footer {
  background: #0a0f1a;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand .logo {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* Footer nav — scoped, no stacking */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
}

.footer-nav a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-nav a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255,255,255,0.25);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover { background: rgba(0,0,0,0.05); }
[data-theme="dark"] .hamburger:hover { background: rgba(255,255,255,0.05); }

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

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .bento-card:nth-child(1) { grid-column: span 12; }
  .bento-card:nth-child(2) { grid-column: span 12; }
  .bento-card:nth-child(3) { grid-column: span 6; }
  .bento-card:nth-child(4) { grid-column: span 6; }
  .bento-card:nth-child(5) { grid-column: span 6; }
  .bento-card:nth-child(6) { grid-column: span 12; }

  .bento-card.full {
    flex-direction: column;
    align-items: flex-start;
  }

  .bento-card.full .bento-card-stats {
    width: 100%;
    justify-content: space-around;
  }

  .steps::before { display: none; }
}

@media (max-width: 640px) {
  .bento-card:nth-child(3),
  .bento-card:nth-child(4),
  .bento-card:nth-child(5) { grid-column: span 12; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--mobile-menu-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
  }

  .nav-links.open { display: flex; }

  .site-nav { position: relative; }

  .hamburger { display: flex; }

  .nav-cta .btn-primary { display: none; }

  .solution-bridge { flex-direction: column; text-align: center; }

  .footer-top { flex-direction: column; }

  .pricing-pill { padding: 1.5rem; }

  .hero    { padding: 4rem 1.5rem 3rem; }
  section  { padding: 4rem 1.5rem; }
}
