/* ============================================================
   NIMBLETEC — STYLES  |  Light mode default, dark mode opt-in
   ============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ---------- THEME TOKENS — LIGHT (default) ---------- */
:root {
  /* Brand */
  --c-accent:      #f06020;
  --c-accent-h:    #d94510;
  --c-accent-lt:   rgba(240,96,32,0.10);
  --c-accent-glow: rgba(240,96,32,0.22);
  --c-green:       #10b981;
  --c-red:         #ef4444;

  /* Surfaces */
  --c-bg:        #ffffff;
  --c-surface:   #f4f5f8;
  --c-surface-2: #eaeaee;
  --c-border:    rgba(0,0,0,0.07);
  --c-border-2:  rgba(0,0,0,0.12);

  /* Text */
  --c-heading: #0a0c10;
  --c-text:    #44495a;
  --c-muted:   #8a909e;

  /* Grid overlay */
  --c-grid:    rgba(0,0,0,0.04);

  /* Shadows */
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-accent: 0 0 40px rgba(240,96,32,0.14);

  /* Nav */
  --c-nav-bg:  rgba(255,255,255,0.88);

  /* Misc */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 200ms ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- THEME TOKENS — DARK ---------- */
[data-theme="dark"] {
  --c-bg:        #0a0c10;
  --c-surface:   #111318;
  --c-surface-2: #181c24;
  --c-border:    rgba(255,255,255,0.07);
  --c-border-2:  rgba(255,255,255,0.12);

  --c-heading: #ffffff;
  --c-text:    #c8cdd8;
  --c-muted:   #636b7a;

  --c-grid:    rgba(255,255,255,0.025);

  --shadow-sm:     0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.6);
  --shadow-accent: 0 0 40px rgba(240,96,32,0.15);

  --c-nav-bg: rgba(10,12,16,0.88);
}

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

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

/* ---------- TYPOGRAPHY ---------- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-accent-lt);
  border: 1px solid rgba(240,96,32,0.22);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.section-label--light {
  color: #f5a020;
  background: rgba(245,160,32,0.12);
  border-color: rgba(245,160,32,0.25);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--c-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--c-muted);
  max-width: 560px;
  line-height: 1.7;
}

.highlight {
  background: linear-gradient(135deg, #f5a020, #f06020);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-accent-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--c-accent-glow);
}

.btn-ghost {
  color: var(--c-text);
  border: 1px solid var(--c-border-2);
  background: transparent;
}
.btn-ghost:hover {
  color: var(--c-heading);
  border-color: var(--c-accent);
  background: var(--c-accent-lt);
}

.btn-outline-nav {
  color: var(--c-heading);
  border: 1px solid var(--c-border-2);
  padding: 9px 20px;
  font-size: 14px;
  background: transparent;
}
.btn-outline-nav:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

.btn-full { width: 100%; }

/* ---------- NAVIGATION ---------- */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--c-nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.nav-header.scrolled {
  border-bottom-color: var(--c-border);
}

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

/* ---------- LOGO ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--c-heading);
  flex-shrink: 0;
}

.logo-mark {
  height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* PNG logo switching per theme */
.logo-img {
  height: 35px;
  width: auto;
  display: block;
}

/* Light mode: dark mark visible */
.logo-img--light { display: block; }
.logo-img--dark  { display: none; }

/* Dark mode: orange mark visible */
[data-theme="dark"] .logo-img--light { display: none; }
[data-theme="dark"] .logo-img--dark  { display: block; }

.logo-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--c-heading);
  letter-spacing: -0.01em;
}

/* ---------- NAV LINKS ---------- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: 8px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-muted);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--c-heading); }

/* ---------- THEME TOGGLE ---------- */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--c-surface);
  border: 1px solid var(--c-border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  transition: all var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--c-heading);
  border-color: var(--c-accent);
  background: var(--c-accent-lt);
}

.theme-toggle svg { width: 16px; height: 16px; stroke: currentColor; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- NAV MOBILE TOGGLE ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(240,96,32,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(245,160,20,0.06) 0%, transparent 60%);
}

[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(240,96,32,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(245,160,20,0.08) 0%, transparent 60%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--c-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-grid) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-accent-lt);
  border: 1px solid rgba(240,96,32,0.25);
  border-radius: 100px;
  padding: 5px 16px;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 800;
  color: var(--c-heading);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-heading);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--c-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--c-border-2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--c-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- PROBLEMA ---------- */
.problema { background: var(--c-surface); }

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

.pain-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pain-card:hover {
  border-color: rgba(240,96,32,0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pain-icon {
  width: 44px;
  height: 44px;
  background: var(--c-accent-lt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pain-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--c-accent);
}

.pain-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-heading);
  margin-bottom: 10px;
}

.pain-card p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.65;
}

.problema-cta {
  text-align: center;
  padding: 40px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.problema-cta p {
  font-size: 18px;
  color: var(--c-text);
  margin-bottom: 24px;
  font-weight: 500;
}

/* ---------- SOLUÇÃO ---------- */
.solucao { background: var(--c-bg); }

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

.solucao-desc {
  font-size: 16px;
  color: var(--c-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.solucao-quote {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 3px solid var(--c-accent);
  background: var(--c-accent-lt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
  font-style: italic;
  color: var(--c-text);
  line-height: 1.6;
}

.comparison-table {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
}

.comp-col {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-muted);
}

.comp-col-good { color: var(--c-accent); }

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--c-border);
}

.comparison-row:last-child { border-bottom: none; }

.comparison-row .comp-col {
  font-size: 14px;
  font-weight: 400;
  color: var(--c-muted);
  padding: 14px 20px;
  border-right: 1px solid var(--c-border);
}

.comparison-row .comp-col:last-child { border-right: none; }

.comp-good {
  color: var(--c-heading) !important;
  font-weight: 500 !important;
  background: var(--c-accent-lt);
}

/* ---------- SERVIÇOS ---------- */
.servicos { background: var(--c-surface); }

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

.service-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: rgba(240,96,32,0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card--featured {
  border-color: rgba(240,96,32,0.3);
}

.service-card--featured::before {
  content: 'Principal';
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--c-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 0 0 6px 6px;
}

.service-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-bottom: 16px;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--c-accent-lt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--c-accent);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-outcomes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}

.service-outcomes li {
  font-size: 13px;
  color: var(--c-text);
  padding-left: 18px;
  position: relative;
}

.service-outcomes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ---------- MÉTODO ---------- */
.metodo { background: var(--c-bg); }

.method-steps {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
}

.method-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}

.method-connector {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--c-border-2), transparent);
  margin-left: 39px;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--c-accent);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.step-content { padding-top: 20px; padding-bottom: 8px; }

.step-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.step-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-muted);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  padding: 3px 12px;
}

/* ---------- CASES ---------- */
.cases { background: var(--c-surface); }

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

.case-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.case-card:hover {
  border-color: rgba(240,96,32,0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.case-client { display: flex; align-items: center; gap: 14px; }

.case-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.case-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-heading);
}

.case-segment {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 2px;
}

.case-before-after {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-before, .case-after {
  padding: 14px;
  border-radius: var(--radius-sm);
}

.case-before {
  background: rgba(239,68,68,0.05);
  border: 1px solid rgba(239,68,68,0.15);
}

.case-after {
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.18);
}

.label-before, .label-after {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.label-before { color: var(--c-red); }
.label-after  { color: var(--c-green); }

.case-before p, .case-after p {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.6;
}

.case-arrow { display: flex; justify-content: center; }

.case-arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--c-accent);
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}

.case-metric { display: flex; flex-direction: column; gap: 2px; }

.metric-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--c-heading);
  letter-spacing: -0.02em;
}

.metric-label { font-size: 11px; color: var(--c-muted); }

/* ---------- DIFERENCIAIS ---------- */
.diferenciais { background: var(--c-bg); }

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

.diff-item {
  padding: 28px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.diff-item:hover {
  border-color: rgba(240,96,32,0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.diff-icon {
  width: 44px;
  height: 44px;
  background: var(--c-accent-lt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.diff-icon svg { width: 22px; height: 22px; stroke: var(--c-accent); }

.diff-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-heading);
  margin-bottom: 8px;
}

.diff-item p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.65;
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  background: var(--c-surface);
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--c-bg), var(--c-surface));
  border: 1px solid rgba(240,96,32,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-accent);
}

.cta-content { padding: 60px; }

.cta-title {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  color: var(--c-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 16px;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-features { display: flex; flex-direction: column; gap: 12px; }

.cta-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--c-text);
  font-weight: 500;
}

.cta-feature svg {
  width: 18px;
  height: 18px;
  fill: var(--c-green);
  flex-shrink: 0;
}

.cta-form-wrapper {
  background: var(--c-surface);
  border-left: 1px solid var(--c-border);
  padding: 48px 40px;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  background: var(--c-bg);
  border: 1px solid var(--c-border-2);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--c-heading);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder { color: var(--c-muted); }

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-lt);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%238a909e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group select option { background: var(--c-bg); color: var(--c-heading); }

.form-note {
  font-size: 12px;
  color: var(--c-muted);
  text-align: center;
  margin-top: 12px;
}

/* Form success state — hidden by default, shown via JS */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.is-visible {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(16,185,129,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon svg { width: 32px; height: 32px; stroke: var(--c-green); }

.form-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 10px;
}

.form-success p { font-size: 15px; color: var(--c-muted); line-height: 1.6; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 56px 24px 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--c-muted);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 16px;
}

.footer-nav, .footer-contact { display: flex; flex-direction: column; }

.footer-nav a,
.footer-contact a {
  font-size: 14px;
  color: var(--c-muted);
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-contact a:hover { color: var(--c-heading); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-top: 1px solid var(--c-border);
}

.footer-bottom p { font-size: 13px; color: var(--c-muted); }

/* ---------- UTILITÁRIOS ---------- */
.is-hidden { display: none !important; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .solucao-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; }
  .cta-content { padding: 48px 40px; }
  .cta-form-wrapper { border-left: none; border-top: 1px solid var(--c-border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--c-nav-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c-border);
    padding: 16px 24px;
    margin-right: 0;
  }

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

  .nav-links a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-text);
  }

  .nav-links a:last-child { border-bottom: none; margin-top: 8px; width: auto; }

  .nav-toggle { display: flex; }

  .pain-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }

  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }

  .method-step { grid-template-columns: 60px 1fr; gap: 20px; }
  .step-number { width: 60px; height: 60px; font-size: 15px; }
  .method-connector { margin-left: 29px; }

  .cta-content { padding: 40px 28px; }
  .cta-form-wrapper { padding: 36px 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
