/* ================================================================
   CLARIÔ | FINANCEIRO — MAIN STYLESHEET
   Stack: HTML + CSS3 + Google Fonts (Plus Jakarta Sans + Inter)
   Grid: 8pt System | Max-width: 1200px
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ----------------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  /* Colors */
  --bg:              #0C1012;
  --bg-card:         #111A1D;
  --bg-surface:      #172025;
  --bg-elevated:     #1C2830;
  --accent:          #00C896;
  --accent-dim:      rgba(0, 200, 150, 0.10);
  --accent-glow:     rgba(0, 200, 150, 0.18);
  --accent-bright:   #00E5AA;
  --accent-dark:     rgba(0, 200, 150, 0.06);
  --text:            #FFFFFF;
  --text-2:          rgba(255, 255, 255, 0.58);
  --text-3:          rgba(255, 255, 255, 0.32);
  --border:          rgba(255, 255, 255, 0.07);
  --border-accent:   rgba(0, 200, 150, 0.28);
  --positive:        #10B981;
  --negative:        #F43F5E;
  --amber:           #F59E0B;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing (8pt grid) */
  --sp-1:  8px;   --sp-2:  16px;  --sp-3:  24px;  --sp-4:  32px;
  --sp-5:  40px;  --sp-6:  48px;  --sp-8:  64px;  --sp-10: 80px;
  --sp-12: 96px;  --sp-16: 128px;

  /* Radii */
  --r-sm:   8px;  --r-md:  12px;  --r-lg:  16px;
  --r-xl:  24px;  --r-pill: 9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.5);
  --shadow-glow:  0 0 48px rgba(0,200,150,0.15);
  --shadow-glow-sm: 0 0 20px rgba(0,200,150,0.12);

  /* Transitions */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:  150ms var(--ease-smooth);
  --t-base:  300ms var(--ease-smooth);
  --t-slow:  600ms var(--ease-spring);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

::selection {
  background: var(--accent-dim);
  color: var(--accent-bright);
}

/* ----------------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------------- */
.font-display { font-family: var(--font-display); }
.font-mono    { font-family: var(--font-mono); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-accent   { color: var(--accent); }
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-italic   { font-style: italic; }
.text-muted    { color: var(--text-2); }

/* ----------------------------------------------------------------
   4. LAYOUT
   ---------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-12) 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-2);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--sp-2);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: var(--sp-8);
}

.section-header.centered {
  text-align: center;
}
.section-header.centered .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Accent line under section-label */
.section-header.centered .section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* ----------------------------------------------------------------
   5. SCROLL REVEAL
   ---------------------------------------------------------------- */
.sr {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  0.7s var(--ease-spring),
    transform 0.7s var(--ease-spring);
  transition-delay: var(--sr-delay, 0ms);
}
.sr.visible {
  opacity: 1;
  transform: translateY(0);
}
.sr-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring); transition-delay: var(--sr-delay, 0ms); }
.sr-right { opacity: 0; transform: translateX(32px);  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring); transition-delay: var(--sr-delay, 0ms); }
.sr-left.visible, .sr-right.visible { opacity:1; transform: translateX(0); }
.sr-scale { opacity:0; transform:scale(0.92); transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring); transition-delay: var(--sr-delay, 0ms); }
.sr-scale.visible { opacity:1; transform:scale(1); }

/* ----------------------------------------------------------------
   6. NAVIGATION
   ---------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 var(--sp-6);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 16, 18, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.nav.scrolled {
  background: rgba(12, 16, 18, 0.94);
  border-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.nav__logo-icon {
  width: 34px; height: 34px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.nav__logo-text span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.nav__links a {
  font-size: 0.9375rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color var(--t-fast);
}
.nav__links a:hover { color: var(--text); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* Hamburger removido — não usar */
.nav__hamburger {
  display: none !important;
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t-base);
}

/* Mobile menu */
.nav__mobile { display: none !important;
  
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(12,16,18,0.97);
  backdrop-filter: blur(24px);
  padding: var(--sp-4) var(--sp-6);
  flex-direction: column;
  gap: var(--sp-3);
  border-bottom: 1px solid var(--border);
  z-index: 999;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
}

/* ----------------------------------------------------------------
   7. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0C1012;
  box-shadow: 0 0 0 0 rgba(0,200,150,0);
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.btn-ghost-accent {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--border-accent);
}
.btn-ghost-accent:hover {
  background: var(--accent-dim);
}

.btn-sm { height: 40px; padding: 0 20px; font-size: 0.875rem; }
.btn-lg { height: 56px; padding: 0 36px; font-size: 1rem; }

/* ----------------------------------------------------------------
   8. HERO SECTION
   ---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 70% at 50% -5%, rgba(0,200,150,0.22) 0%, transparent 62%),
    radial-gradient(ellipse 50% 60% at 85% 55%,  rgba(0,200,150,0.07) 0%, transparent 70%),
    var(--bg);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 120px var(--sp-6) var(--sp-10);
  display: grid;
  grid-template-columns: 52% 48%;
  gap: var(--sp-8);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--sp-4);
  width: fit-content;
}

.hero__title {
  font-size: clamp(2.6rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-3);
}
.hero__title .accent {
  color: var(--accent);
  display: inline;
}
.hero__title .italic {
  font-style: italic;
  font-weight: 700;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: var(--sp-5);
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__avatars {
  display: flex;
}
.hero__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--bg-surface);
  overflow: hidden;
  margin-right: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: linear-gradient(135deg, #1a2e28, #172025);
}
.hero__avatar:last-child { margin-right: 0; }
.hero__proof-text {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-left: 14px;
}
.hero__proof-count {
  font-weight: 700;
  color: var(--text);
}

/* Hero visual side */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 580px;
}
.hero__img-wrap {
  position: absolute;
  right: -48px;
  bottom: 0;
  height: 100%;
  width: 90%;
}
.hero__img-wrap::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 45%;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.hero__glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,200,150,0.22) 0%, transparent 70%);
  top: 50%; right: -60px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ----------------------------------------------------------------
   9. TRUST BAR / TICKER
   ---------------------------------------------------------------- */
.trust-bar {
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
  overflow: hidden;
}
.trust-ticker {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  width: max-content;
}
.trust-ticker:hover { animation-play-state: paused; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  border-right: 1px solid var(--border);
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }
.trust-dot {
  width: 4px; height: 4px;
  background: var(--accent-dim);
  border-radius: 50%;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------
   10. PAIN SECTION
   ---------------------------------------------------------------- */
.pain-section {
  padding: var(--sp-16) 0 var(--sp-12);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}
.pain-center {
  grid-column: span 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  transition: border-color var(--t-base), transform var(--t-base);
}
.pain-card:hover {
  border-color: rgba(244,63,94,0.25);
  transform: translateY(-3px);
}
.pain-icon {
  width: 44px; height: 44px;
  background: rgba(244,63,94,0.08);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-2);
  color: #F43F5E;
}
.pain-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.pain-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ----------------------------------------------------------------
   11. DASHBOARD MOCKUP SECTION
   ---------------------------------------------------------------- */
.dashboard-section {
  padding: var(--sp-12) 0;
}
.dashboard-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}
.dashboard-text h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  margin-bottom: var(--sp-3);
}
.dashboard-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.dashboard-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.55;
}
.dashboard-bullet svg { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.dashboard-bullet strong { color: var(--text); font-weight: 600; }

/* Mockup card */
.mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,200,150,0.06);
  animation: float 4s ease-in-out infinite;
  position: relative;
}
.mockup::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

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

.mockup-header {
  padding: 20px var(--sp-3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.mockup-period {
  display: flex;
  gap: 4px;
}
.mockup-period button {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-3);
  font-family: var(--font-body);
}
.mockup-period button.active {
  background: var(--accent);
  color: #0C1012;
}
.mockup-user {
  font-size: 0.8125rem;
  color: var(--text-2);
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}
.kpi {
  background: var(--bg-card);
  padding: 20px var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi-label {
  font-size: 0.75rem;
  color: var(--text-3);
  font-weight: 500;
}
.kpi-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
}
.kpi-value.positive { color: var(--positive); }
.kpi-value.negative { color: var(--negative); }
.kpi-trend {
  font-size: 0.75rem;
  font-weight: 600;
}
.kpi-trend.up   { color: var(--positive); }
.kpi-trend.down { color: var(--negative); }
.kpi-badge {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(16,185,129,0.15);
  color: var(--positive);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
  width: fit-content;
}

.mockup-txs {
  padding: var(--sp-2) 0;
}
.mockup-tx-title {
  padding: 8px var(--sp-3) 4px;
  font-size: 0.75rem;
  color: var(--text-3);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tx {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--sp-3);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
}
.tx:hover { background: rgba(255,255,255,0.02); }
.tx:last-child { border: none; }
.tx-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.tx-info { flex: 1; min-width: 0; }
.tx-name {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-cat {
  font-size: 0.75rem;
  color: var(--text-3);
}
.tx-val {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.tx-val.p { color: var(--positive); }
.tx-val.n { color: var(--negative); }

/* ----------------------------------------------------------------
   12. FEATURES GRID
   ---------------------------------------------------------------- */
.features-section { background: rgba(255,255,255,0.012); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  cursor: default;
}
.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,200,150,0.08);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-3);
  color: var(--accent);
  transition: background var(--t-base);
}
.feature-card:hover .feature-icon {
  background: rgba(0,200,150,0.18);
}
.feature-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.feature-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }

/* ----------------------------------------------------------------
   13. STATS COUNTER
   ---------------------------------------------------------------- */
.stats-section {
  padding: var(--sp-12) 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,200,150,0.06) 0%, transparent 70%),
    var(--bg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.stat-card {
  text-align: center;
  padding: var(--sp-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.stat-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow-sm);
}
.stat-prefix {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}
.stat-number {
  margin-bottom: 8px;
}
.stat-number-line {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  flex-wrap: nowrap;
}
.stat-value {
  color: var(--text);
}
.stat-suffix {
  color: var(--text);
}
.stat-label {
  font-size: 0.9375rem;
  color: var(--text-2);
}
.hero__avatar--image {
  overflow: hidden;
  padding: 0;
}
.hero__avatar--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----------------------------------------------------------------
   14. HOW IT WORKS
   ---------------------------------------------------------------- */
.hiw-section { padding: var(--sp-16) 0 var(--sp-12); }
.hiw-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: start;
}
.hiw-intro h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  margin-bottom: var(--sp-3);
}
.hiw-intro p { font-size: 1rem; color: var(--text-2); line-height: 1.7; }
.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hiw-step {
  display: flex;
  gap: var(--sp-4);
  position: relative;
  padding-bottom: var(--sp-5);
}
.hiw-step:last-child { padding-bottom: 0; }
.hiw-step__left {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hiw-step__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border-accent);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.hiw-step__line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin: 6px 0;
  min-height: 32px;
}
.hiw-step:last-child .hiw-step__line { display: none; }
.hiw-step__body { padding-top: 10px; }
.hiw-step__body h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
  font-weight: 700;
}
.hiw-step__body p { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }

/* ----------------------------------------------------------------
   15. PRICING
   ---------------------------------------------------------------- */
.pricing-section {
  padding: var(--sp-16) 0;
  background: rgba(255,255,255,0.012);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  align-items: start;
  margin-top: var(--sp-8);
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-5) var(--sp-4);
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0,200,150,0.2), var(--shadow-glow);
  transform: translateY(-8px);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0C1012;
  padding: 4px 16px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
}
.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 4px;
}
.pricing-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.pricing-card.featured .pricing-amount { color: var(--accent); }
.pricing-period {
  font-size: 0.875rem;
  color: var(--text-3);
  margin-bottom: var(--sp-2);
}
.pricing-original {
  text-decoration: line-through;
  color: var(--text-3);
  font-size: 0.875rem;
}
.pricing-savings {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0,200,150,0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: var(--sp-3) 0;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--sp-5);
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.4;
}
.pricing-feature svg { color: var(--positive); flex-shrink: 0; margin-top: 1px; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ----------------------------------------------------------------
   16. TESTIMONIALS
   ---------------------------------------------------------------- */
.testimonials-section { padding: var(--sp-16) 0 var(--sp-12); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--t-base), transform var(--t-base);
}
.testimonial-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.testimonial-quote {
  font-size: 2.5rem;
  color: var(--accent-dim);
  line-height: 1;
  font-family: Georgia, serif;
  border: 1px solid var(--border-accent);
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  font-size: 1rem;
  color: var(--accent);
}
.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--amber);
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial-avatar img { width:100%; height:100%; object-fit:cover; }
.testimonial-name {
  font-size: 0.9375rem;
  font-weight: 700;
}
.testimonial-role { font-size: 0.8125rem; color: var(--text-3); }

/* ----------------------------------------------------------------
   17. FAQ
   ---------------------------------------------------------------- */
.faq-section { padding: var(--sp-16) 0 var(--sp-12); }
.faq-list {
  max-width: 720px;
  margin: var(--sp-8) auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--accent); }
.faq-question.open  { color: var(--accent); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
  font-size: 1rem;
  color: var(--text-3);
  font-weight: 300;
}
.faq-question.open .faq-icon {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth), padding 0.3s var(--ease-smooth);
}
.faq-answer-inner {
  padding-bottom: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ----------------------------------------------------------------
   18. CTA SECTION (Lead Form)
   ---------------------------------------------------------------- */
.cta-section {
  padding: var(--sp-16) 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(0,200,150,0.14) 0%, transparent 65%),
    var(--bg);
}
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  margin-bottom: var(--sp-2);
}
.cta-inner p {
  color: var(--text-2);
  font-size: 1.0625rem;
  margin-bottom: var(--sp-6);
  line-height: 1.7;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.lead-form input {
  height: 52px;
  padding: 0 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.lead-form input::placeholder { color: var(--text-3); }
.lead-form input:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(0,200,150,0.1);
}
.lead-form .btn {
  width: 100%;
  height: 52px;
  font-size: 1rem;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--text-3);
  text-align: center;
  margin-top: 4px;
}

/* Form states */
.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-5);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-xl);
  animation: fadeInUp 0.5s var(--ease-spring);
}
.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.form-success p { color: var(--text-2); }
.form-loading { opacity: 0.6; pointer-events: none; }

/* ----------------------------------------------------------------
   19. FOOTER
   ---------------------------------------------------------------- */
.footer {
  padding: var(--sp-10) 0 var(--sp-5);
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: var(--sp-3);
}
.footer-social {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.footer-social:hover {
  border-color: var(--border-accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: var(--text);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-3);
}
.footer-badge {
  font-size: 0.8125rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-badge span { color: var(--accent); }

/* ----------------------------------------------------------------
   20. KEYFRAMES
   ---------------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Nav animation on load */
.nav { animation: slideDown 0.5s var(--ease-spring) both; }
.hero__content > * { animation: fadeInUp 0.8s var(--ease-spring) both; }
.hero__content > *:nth-child(1) { animation-delay: 0.1s; }
.hero__content > *:nth-child(2) { animation-delay: 0.2s; }
.hero__content > *:nth-child(3) { animation-delay: 0.3s; }
.hero__content > *:nth-child(4) { animation-delay: 0.4s; }
.hero__content > *:nth-child(5) { animation-delay: 0.5s; }

/* ----------------------------------------------------------------
   21. RESPONSIVE — TABLET (max 1024px)
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .container  { padding: 0 var(--sp-5); }
  .hero__inner { grid-template-columns: 1fr; padding: 120px var(--sp-5) var(--sp-10); }
  .hero__visual { display: none; }
  .hero__content { max-width: 640px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-section .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__cta .btn-ghost { display: none; }
}

/* ----------------------------------------------------------------
   22. RESPONSIVE — MOBILE (max 768px)
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --sp-12: 72px;
    --sp-16: 80px;
  }
  .section { padding: 72px 0; }
  .container { padding: 0 var(--sp-3); }

  .hero__inner { padding: 100px var(--sp-3) 72px; }
  .hero__title { font-size: clamp(2.1rem, 8vw, 2.8rem); }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; max-width: 320px; }

  .pain-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: var(--sp-2); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hiw-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section-title { font-size: clamp(1.6rem, 6vw, 2.25rem); }
}

@media (max-width: 480px) {
  .nav { padding: 0 var(--sp-3); }
  .hero__title { font-size: 2rem; }
}

/* ----------------------------------------------------------------
   23. LOADER / SPINNER (used in form submit)
   ---------------------------------------------------------------- */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(12,16,18,0.3);
  border-top-color: #0C1012;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}


/* ── V2: Nav links sempre visíveis, sem hamburger ── */
@media (max-width: 768px) {
  .nav__hamburger { display: none !important; }
  .nav__mobile    { display: none !important; }
  .nav__links     { display: flex !important; gap: 0.75rem; }
  .nav__links a   { font-size: 0.75rem; }
  .nav__cta       { display: flex !important; gap: 0.5rem; }
  .nav__cta .btn  { font-size: 0.75rem; padding: 0.4rem 0.875rem; }
}
@media (max-width: 480px) {
  .nav__links { display: none !important; }
  .nav__cta   { display: flex !important; }
}
