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

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

html {
  scroll-behavior: smooth;
}

:root {
  --bg-primary:      #050d0d;
  --bg-secondary:    #0a1a1a;
  --bg-card:         #0d2020;
  --cyan:            #0d6e6e;
  --amber:           #f59e0b;
  --amber-dim:       rgba(245, 158, 11, 0.10);
  --cyan-dim:        rgba(13, 110, 110, 0.10);
  --cyan-border:     rgba(13, 110, 110, 0.12);
  --cyan-border-md:  rgba(13, 110, 110, 0.15);
  --cyan-border-lg:  rgba(13, 110, 110, 0.25);
  --text-primary:    #f5f5f5;

  /* ── Aliases — variáveis do sistema antigo ── */
  --color-cyan:    #0d6e6e;
  --color-navy:    #050d0d;
  --color-royal:   #0a1a1a;
  --color-steel:   #52687d;
  --color-light:   #f5f5f5;
  --color-black:   #050d0d;
  --color-dark:    #2e2e2e;
  --card-bg:       #0d2020;
  --card-border:   rgba(13, 110, 110, 0.15);
  --radius-sm:     4px;
  --radius-md:     8px;
  --transition:    0.2s ease;
  --text-muted:      #52687d;
  --font-sans:       'Inter', system-ui, sans-serif;
  --font-mono:       'JetBrains Mono', 'Courier New', monospace;
  --radius:          4px;
  --container:       1200px;
  --section-pad:     120px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::-webkit-scrollbar            { width: 6px; }
::-webkit-scrollbar-track      { background: var(--bg-primary); }
::-webkit-scrollbar-thumb      { background: var(--cyan-border-lg); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover{ background: rgba(0,191,255,0.4); }

/* ─── NAVBAR ─────────────────────────────────────────────── */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 64px;
  background: rgba(5,13,13,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,110,110,0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
  background: rgba(5,13,13,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.navbar-logo img {
  height: 32px;
  width: auto;
}

.navbar-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.navbar-links a {
  font-size: 14px;
  font-weight: 700;
  color: rgba(245,245,245,0.7);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: var(--text-primary);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  background: transparent;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-nav-cta:hover {
  background: var(--cyan-dim);
}

/* ─── HAMBURGER ──────────────────────────────────────────── */

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

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

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

/* ─── MOBILE MENU ────────────────────────────────────────── */

#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-primary);
  padding: 96px 24px 48px;
  flex-direction: column;
  gap: 8px;
}

#mobile-menu.open {
  display: flex;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-links a {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--cyan-border);
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.mobile-menu-links a:hover {
  color: var(--cyan);
}

.mobile-menu-cta {
  margin-top: 32px;
}

/* ─── LAYOUT ─────────────────────────────────────────────── */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-pad) 0;
}

section.bg-alt {
  background-color: var(--bg-secondary);
}

/* ─── SECTION LABEL ──────────────────────────────────────── */

.section-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
  gap: 12px;
}

/* As linhas horizontais são geradas pelo HTML como ——— no texto,
   então NÃO adicionamos ::before/::after aqui */

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */

.headline {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.headline-lg {
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.headline-md {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.headline-sm {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.headline-accent {
  color: var(--cyan);
}

.headline-highlight {
  display: inline-block;
  background: var(--amber);
  color: #050d0d;
  padding: 4px 16px;
  border-radius: var(--radius);
}

.subheadline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

.text-cyan   { color: var(--cyan); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }

/* ─── BUTTONS ────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: #050d0d;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

/* ► já está no HTML — sem duplicação */

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-secondary:hover {
  background: var(--cyan-dim);
  transform: translateY(-1px);
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── NUMBERED CARDS ─────────────────────────────────────── */

.numbered-card {
  background: var(--bg-card);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

a.numbered-card p,
a.numbered-card .card-desc {
  color: var(--text-muted);
  text-decoration: none;
}

a.numbered-card .card-title {
  color: var(--text-primary);
  text-decoration: none;
}

a.numbered-card .card-bullet li {
  color: var(--text-muted);
}

a.numbered-card:hover {
  border-color: var(--cyan-border-lg);
}

.numbered-card:hover {
  border-color: var(--cyan-border-lg);
}

.card-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--cyan-border-md);
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.card-bullet {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-bullet li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

/* ► vem do HTML — sem duplicação */
.card-bullet li::before {
  content: none;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ─── GHOST BACKGROUND TEXT ──────────────────────────────── */

.ghost-bg-wrap {
  position: relative;
  overflow: hidden;
}

.ghost-bg {
  position: absolute;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(80px, 12vw, 160px);
  color: var(--text-primary);
  opacity: 0.04;
  line-height: 1;
  white-space: nowrap;
  z-index: 0;
}

.ghost-bg-top-right  { top: 0; right: -40px; }
.ghost-bg-bottom-left{ bottom: 0; left: -40px; }
.ghost-bg-center     { top: 50%; left: 50%; transform: translate(-50%, -50%); }

.ghost-bg-wrap > *:not(.ghost-bg) {
  position: relative;
  z-index: 1;
}

/* ─── TERMINAL MOCKUP ────────────────────────────────────── */

.terminal-mockup {
  background: #0a1a1a;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--cyan-border);
}

.terminal-header {
  background: var(--bg-card);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dot          { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.terminal-dot-red      { background: #ff5f57; }
.terminal-dot-yellow   { background: #febc2e; }
.terminal-dot-green    { background: #28c840; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
}

.terminal-comment { color: rgba(255,255,255,0.3); }
.terminal-cmd     { color: var(--cyan); font-weight: 700; }
.terminal-output  { color: rgba(255,255,255,0.7); }
.terminal-success { color: #4ade80; }
.terminal-prompt  { color: var(--text-muted); }

/* ─── METRICS STRIP ──────────────────────────────────────── */

.metrics-strip {
  border-top: 1px solid rgba(13,110,110,0.15);
  border-bottom: 1px solid rgba(13,110,110,0.15);
  padding: 48px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-value {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── CHECK LIST ─────────────────────────────────────────── */

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  font-size: 16px;
  color: rgba(245,245,245,0.85);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 900;
  font-size: 15px;
}

/* ─── FEATURE ROW ────────────────────────────────────────── */

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

.feature-row.reverse > *:first-child { order: 2; }
.feature-row.reverse > *:last-child  { order: 1; }

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ─── STEPS PROCESS ──────────────────────────────────────── */

.steps-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-item {
  padding: 32px;
  border: 1px solid var(--cyan-border);
  background: var(--bg-card);
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.3s ease;
}

.step-item:hover {
  border-color: var(--cyan-border-lg);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── CLIENTS GRID ───────────────────────────────────────── */

.clients-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.client-tag {
  background: var(--bg-card);
  border: 1px solid var(--cyan-border);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  transition: border-color 0.2s ease, color 0.2s ease;
  cursor: default;
}

.client-tag:hover {
  border-color: var(--cyan-border-lg);
  color: var(--text-primary);
}

/* ─── SECTION HEADER ─────────────────────────────────────── */

.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .subheadline {
  margin: 0 auto;
}

.section-header .headline-md {
  margin-bottom: 16px;
}

/* ─── ICON BOX ───────────────────────────────────────────── */

.icon-box {
  width: 48px;
  height: 48px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border-md);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 20px;
  flex-shrink: 0;
}

/* ─── TAG ────────────────────────────────────────────────── */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border-md);
  color: var(--cyan);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius);
  text-transform: uppercase;
}

/* ─── HIGHLIGHT BOX ──────────────────────────────────────── */

.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--cyan-border-md);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  padding: 20px 24px;
}

/* ─── FORM ───────────────────────────────────────────────── */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-input,
.form-textarea,
.form-select {
  background: var(--bg-card);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
  outline: none;
  width: 100%;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(13,110,110,0.6);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid-full {
  grid-column: 1 / -1;
}

/* ─── HERO ───────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 760px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,110,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,110,110,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,110,110,0.10) 0%, transparent 70%);
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ─── DIVIDER ────────────────────────────────────────────── */

.divider {
  border: none;
  border-top: 1px solid var(--cyan-border);
  margin: 0;
}

/* ─── FOOTER ─────────────────────────────────────────────── */

footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--cyan-border);
  padding: 64px 0 32px;
}

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

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

.footer-col h4 {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.footer-col a {
  font-size: 14px;
  color: rgba(245,245,245,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

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

/* ─── ANIMATIONS ─────────────────────────────────────────── */

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

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

/* ─── UTILITIES ──────────────────────────────────────────── */

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.justify-center{ justify-content: center; }
.justify-between{ justify-content: space-between; }
.flex-wrap     { flex-wrap: wrap; }

.w-full    { width: 100%; }
.max-w-560 { max-width: 560px; }
.max-w-720 { max-width: 720px; }

.font-mono  { font-family: var(--font-mono); }
.font-bold  { font-weight: 700; }
.font-black { font-weight: 900; }

.uppercase    { text-transform: uppercase; }
.tracking-wide{ letter-spacing: 0.1em; }

.border-cyan { border: 1px solid var(--cyan-border); }
.bg-card     { background: var(--bg-card); }
.rounded     { border-radius: var(--radius); }
.p-32        { padding: 32px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ─── MEDIA QUERIES ──────────────────────────────────────── */

@media (max-width: 1024px) {
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
  }

  .navbar-links                 { display: none; }
  .navbar-actions .btn-nav-cta  { display: none; }
  .hamburger                    { display: flex; }

  .headline    { font-size: clamp(36px, 10vw, 60px); }
  .headline-lg { font-size: clamp(40px, 11vw, 72px); }
  .headline-md { font-size: clamp(28px, 7vw, 40px); }

  .cards-grid    { grid-template-columns: 1fr; }
  .cards-grid-2  { grid-template-columns: 1fr; }
  .cards-grid-4  { grid-template-columns: 1fr; }

  .feature-row { grid-template-columns: 1fr; gap: 48px; }
  .feature-row.reverse > *:first-child { order: unset; }
  .feature-row.reverse > *:last-child  { order: unset; }

  .steps-process { grid-template-columns: 1fr; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); }

  .form-grid { grid-template-columns: 1fr; }

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

  .btn-group { flex-direction: column; align-items: flex-start; }

  .hero-bg-glow { opacity: 0.5; right: -200px; }

  .ghost-bg { font-size: clamp(48px, 15vw, 80px); }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }

  .btn-primary,
  .btn-secondary { width: 100%; justify-content: center; }

  .btn-group { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   ALIASES — compatibilidade com HTML gerado
   ═══════════════════════════════════════════════════════════ */

/* Navbar */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: rgba(245,245,245,0.7);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
}

/* Hamburger via ID */
#mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

#mobile-menu-btn svg {
  stroke: var(--text-primary);
}

@media (max-width: 768px) {
  .nav-links         { display: none !important; }
  .nav-cta-desktop   { display: none !important; }
  #mobile-menu-btn   { display: flex !important; }
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(245,245,245,0.7);
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  font-family: var(--font-sans);
  padding: 0;
}

.nav-dropdown-toggle:hover {
  color: var(--text-primary);
}

.nav-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  z-index: 200;
}

.nav-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: rgba(245,245,245,0.7);
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
  background: var(--cyan-dim);
  color: var(--cyan);
}

/* Mobile menu link */
.mobile-nav-link {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--cyan-border);
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--cyan);
}

.mobile-nav-link--active { color: var(--cyan); }

/* Hero section aliases */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero-headline {
  font-size: clamp(44px, 7vw, 90px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  font-family: var(--font-mono);
}

.trust-dot {
  opacity: 0.4;
}

/* Ghost bg — div.ghost-bg = container absoluto dentro de uma seção
   section.ghost-bg = a própria seção tem overflow hidden + relative */
div.ghost-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 1; /* neutraliza .ghost-bg { opacity:0.04 } do sistema antigo */
}

section.ghost-bg {
  position: relative;
  overflow: hidden;
  opacity: 1; /* neutraliza .ghost-bg { opacity:0.04 } do sistema antigo */
}

section.ghost-bg > .ghost-words,
section.ghost-bg > [aria-hidden="true"] {
  pointer-events: none;
  user-select: none;
}

section.ghost-bg > *:not([aria-hidden]):not(.ghost-words):not(.bg-grid) {
  position: relative;
  z-index: 1;
}

.ghost-word {
  position: absolute;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-sans);
  font-weight: 900;
  color: var(--text-primary);
  opacity: 0.04;
  line-height: 1;
  white-space: nowrap;
  z-index: 0;
}

/* Garante que container dentro de seção com ghost-bg fica acima */
.hero-section .container,
.hero-section .hero-content,
section > .container {
  position: relative;
  z-index: 1;
}

/* Profile photo */
.profile-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 32px rgba(13,110,110,0.35);
}

/* CTA section */
.cta-section {
  background: var(--bg-secondary);
  text-align: center;
  border-top: 1px solid var(--cyan-border);
  border-bottom: 1px solid var(--cyan-border);
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-sub {
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* BI Mockup */
.bi-mockup {
  background: var(--bg-card);
  border: 1px solid var(--cyan-border);
  border-radius: 8px;
  overflow: hidden;
  padding: 24px;
}

.bi-mockup-header {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cyan-border);
}

.bi-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.bi-metric {
  background: var(--bg-secondary);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius);
  padding: 16px;
}

.bi-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.bi-value {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: -0.02em;
}

.bi-delta {
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.bi-delta.positive { color: #4ade80; }
.bi-delta.negative { color: #f87171; }

.bi-progress-wrap {
  margin-top: 4px;
}

.bi-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.bi-progress-bar {
  background: var(--bg-secondary);
  border-radius: 2px;
  height: 6px;
  overflow: hidden;
}

.bi-progress-fill {
  background: var(--cyan);
  height: 100%;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .hero-headline { font-size: clamp(32px, 10vw, 54px); }
  .profile-photo { width: 200px; height: 200px; }
  .bi-metrics    { grid-template-columns: 1fr; }
}

/* ─── ALIASES ADICIONAIS ─────────────────────────────────── */

/* Seções */
.section        { padding: var(--section-pad) 0; }
.section-sm     { padding: 60px 0; }
.section-alt    { background: var(--bg-secondary); }
.section-border { border-top: 1px solid var(--cyan-border); border-bottom: 1px solid var(--cyan-border); }

/* Grid aliases */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Mobile nav CTA */
.mobile-nav-cta {
  color: var(--cyan) !important;
  font-weight: 800;
}

/* Métricas — flex row com dividers verticais */
.metrics-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  text-align: center;
  border-top: 1px solid rgba(13,110,110,0.15);
  border-bottom: 1px solid rgba(13,110,110,0.15);
  padding: 48px 0;
}

.metric-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

/* Alias: metric-number = metric-value */
.metric-number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
}

.metric-divider {
  width: 1px;
  background: rgba(13,110,110,0.2);
  align-self: stretch;
  margin: 8px 0;
}

/* Tipografia de seção */
.section-headline {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0;
}

.feature-paragraph {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.feature-link:hover { opacity: 0.8; }

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CTA headline */
.cta-headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}

/* Botão grande */
.btn-primary-lg {
  padding: 20px 48px;
  font-size: 17px;
}

/* Section header centralizado */
.section-header-center {
  text-align: center;
}

/* Footer aliases */
.footer-brand img {
  max-height: 44px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 260px;
  line-height: 1.6;
}

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

.footer-nav-title {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-link {
  font-size: 14px;
  color: rgba(245,245,245,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover { color: var(--cyan); }

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,110,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,110,110,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Metrics mobile */
@media (max-width: 768px) {
  .metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .metric-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
