/* ==========================================================================
   EMBASE - LANDING PAGE STYLESHEET (DESIGN SYSTEM)
   ========================================================================== */

/* 1. VARIÁVEIS E CONFIGURAÇÕES GERAIS */
:root {
  --ink: #0B0B0C;
  --ink-2: #161618;
  --ink-3: #1E1E22;
  --paper: #F3F1EC;
  --accent: #3D5AFE;
  --accent-dim: #1E2A66;
  --mid: #8A8A90;
  --border-color: #2A2A2E;
  --glow-color: rgba(61, 90, 254, 0.15);
  
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  --max-width: 1200px;
}

/* Reset Básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) var(--ink);
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--ink);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--mid);
}

/* 2. CLASSES DE ASSINATURA VISUAL (BISEL DE 45°) */
/* Corte de 45 graus no canto superior direito */
.bevel-cut {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.bevel-cut-sm {
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

/* Container com borda azul e corte diagonal */
.border-glow-wrapper {
  position: relative;
  background: var(--accent);
  padding: 1px; /* Espessura da borda */
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
}

.border-glow-inner {
  background: var(--ink-2);
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  padding: 32px;
}

/* 3. TIPOGRAFIA */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p {
  color: var(--mid);
  line-height: 1.6;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.font-mono {
  font-family: var(--font-mono);
}

/* 4. COMPONENTES E UTILITÁRIOS */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: var(--paper);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  box-shadow: 0 4px 20px var(--glow-color);
}

.btn-primary:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(243, 241, 236, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--border-color);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.btn-secondary:hover {
  border-color: var(--paper);
  background: rgba(243, 241, 236, 0.03);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Seções */
.section {
  padding: 75px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

/* Background Grids Técnicos */
.tech-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(42, 42, 46, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 42, 46, 0.25) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.glow-point {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(61, 90, 254, 0.22) 0%, rgba(30, 42, 102, 0.1) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(90px);
  -webkit-filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

/* 5. NAV HEADER */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.header-nav.scrolled {
  padding: 8px 0;
  background: rgba(11, 11, 12, 0.95);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
}

.logo-link svg,
.logo-link .logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-link .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.logo-link .logo-text span {
  color: var(--accent);
}

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

.nav-link {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

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

/* Menu Hambúrguer (Mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--paper);
  transition: var(--transition-fast);
}

/* 6. HERO SECTION */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: var(--paper);
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Tech Panel (Terminal & Fluxo) */
.hero-visual {
  width: 100%;
  position: relative;
}

.tech-panel {
  background: var(--ink-2);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.panel-header {
  background: #111113;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.panel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.panel-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  color: #D8D6CF;
  min-height: 320px;
  overflow-y: auto;
}

.panel-body pre {
  margin-bottom: 18px;
}

.syntax-keyword { color: #FF7B72; }
.syntax-def { color: #D2A8FF; }
.syntax-string { color: #A5D6FF; }
.syntax-comment { color: #8B949E; }
.syntax-value { color: #79C0FF; }

/* Fluxo Visual Conectado */
.tech-flow {
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.flow-node {
  background: var(--ink-3);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
  position: relative;
  z-index: 2;
}

.flow-node.active {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(61, 90, 254, 0.2);
}

.node-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.node-label svg {
  color: var(--accent);
}

.node-status {
  font-size: 0.75rem;
  color: var(--mid);
}

.flow-node.active .node-status {
  color: var(--accent);
}

.flow-line-svg {
  position: absolute;
  top: 0;
  left: 36px;
  width: 2px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.flow-line-path {
  stroke-dasharray: 8 4;
  animation: dash 30s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

/* 7. PROBLEMA / SOLUÇÃO */
.intro-text {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.intro-text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--paper);
  margin-bottom: 20px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.problem-card {
  background: rgba(22, 22, 24, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 32px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.problem-card:hover {
  border-color: #333;
  transform: translateY(-4px);
}

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(255, 95, 86, 0.1);
  color: #FF5F56;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.problem-card h3 {
  font-size: 1.3rem;
  color: var(--paper);
  margin-bottom: 12px;
}

/* Transformação Visual: Manual -> Automático */
.transform-section {
  background: rgba(22, 22, 24, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px;
  margin: 40px auto 0 auto;
  max-width: 1000px;
  position: relative;
}

.transform-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}

.transform-state {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.state-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--mid);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.step-box {
  background: var(--ink);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  position: relative;
  transition: var(--transition-normal);
}

.step-box.manual {
  border-left: 3px solid var(--mid);
}

.step-box.auto {
  border-left: 3px solid var(--accent);
  background: rgba(61, 90, 254, 0.02);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--mid);
}

.step-box.auto .step-num {
  color: var(--accent);
}

.transform-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--accent);
}

.transform-connector svg {
  animation: pulse-arrow 2s infinite;
}

@keyframes pulse-arrow {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* 8. O QUE PODEMOS AUTOMATIZAR */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.solution-card {
  background: rgba(22, 22, 24, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px var(--glow-color);
}

.solution-icon {
  width: 52px;
  height: 52px;
  background: rgba(61, 90, 254, 0.1);
  border-radius: 10px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.solution-card h3 {
  font-size: 1.4rem;
  color: var(--paper);
  margin-bottom: 16px;
}

.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.solution-list li {
  font-size: 0.9rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.solution-list li::before {
  content: "→";
  color: var(--accent);
  font-weight: bold;
}

/* 9. TECNOLOGIAS E ANTES/DEPOIS */
.tech-diagram {
  background: rgba(22, 22, 24, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.diagram-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.diagram-node {
  background: var(--ink);
  border: 1px solid var(--border-color);
  padding: 16px 28px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-align: center;
  width: 220px;
  transition: var(--transition-fast);
  position: relative;
  z-index: 2;
}

.diagram-node.highlight {
  border-color: var(--accent);
  background: var(--ink-3);
  box-shadow: 0 0 20px var(--glow-color);
}

.diagram-arrow {
  color: var(--mid);
  z-index: 1;
  transition: var(--transition-fast);
}

.diagram-arrow.highlight {
  color: var(--accent);
}

/* Antes e Depois (Story) */
.split-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.story-column {
  background: rgba(22, 22, 24, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px;
}

.story-column.before {
  border-left: 4px solid #FF5F56;
}

.story-column.after {
  border-left: 4px solid #27C93F;
}

.story-column h4 {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.story-column.before h4 { color: #FF5F56; }
.story-column.after h4 { color: #27C93F; }

.story-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-step {
  background: var(--ink);
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-step span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--mid);
}

/* 10. BENEFÍCIOS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: rgba(22, 22, 24, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px;
  transition: var(--transition-normal);
}

.benefit-card:hover {
  border-color: #333;
}

.benefit-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.benefit-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card h3 {
  font-size: 1.25rem;
  color: var(--paper);
}

/* 11. DEMONSTRAÇÃO DO ADMINISTRADOR (SIMULADOR DE LOGS) */
.console-panel {
  background: #0B0B0C;
  border: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #a9a9b3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.console-header {
  background: var(--ink-2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.console-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #27C93F;
  border-radius: 50%;
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.console-body {
  padding: 20px;
  min-height: 240px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-line {
  display: flex;
  gap: 12px;
  line-height: 1.4;
}

.log-time {
  color: var(--mid);
  flex-shrink: 0;
}

.log-tag {
  color: var(--accent);
  flex-shrink: 0;
}

.log-tag.success { color: #27C93F; }
.log-tag.info { color: var(--accent); }
.log-tag.warn { color: #FFBD2E; }

/* 12. PROCESSO DE CONTRATAÇÃO */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: var(--border-color);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 35px;
  left: 10%;
  width: 0%;
  height: 1px;
  background: var(--accent);
  z-index: 2;
  transition: width 1s ease;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
}

.step-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid var(--border-color);
  color: var(--mid);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-normal);
}

.timeline-step.active .step-badge {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--ink);
  box-shadow: 0 0 20px var(--glow-color);
}

.timeline-step h3 {
  font-size: 1rem;
  color: var(--paper);
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 0.85rem;
}

/* 13. CALCULADORA DE ROI */
.calc-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
}

.calc-inputs {
  background: rgba(22, 22, 24, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--paper);
}

.calc-val-display {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 16px;
}

/* Estilo do input range */
.calc-range {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border-color);
  outline: none;
  border-radius: 2px;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 0 10px rgba(61, 90, 254, 0.4);
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results {
  background: var(--accent-dim);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.calc-results::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.2;
}

.results-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #B5C2FF;
}

.result-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1;
}

.result-number.economy {
  color: #27C93F;
}

/* 14. CARROSSEL DE CLIENTES */
.partners-section {
  padding: 60px 0;
  background: #09090A;
}

.partners-title {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 32px;
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-viewport::before,
.carousel-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel-viewport::before {
  left: 0;
  background: linear-gradient(to right, #09090A, transparent);
}

.carousel-viewport::after {
  right: 0;
  background: linear-gradient(to left, #09090A, transparent);
}

.carousel-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scroll-carousel 28s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.4;
  transition: var(--transition-fast);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.partner-logo:hover {
  opacity: 0.85;
}

.partner-logo svg {
  height: 24px;
  width: auto;
  fill: currentColor;
}

@keyframes scroll-carousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 15. CTA FINAL */
.cta-section {
  text-align: center;
  position: relative;
  background-color: var(--ink);
}

.cta-box {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-section h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--paper);
  margin-bottom: 20px;
}

.cta-section p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* 16. WHATSAPP FLUTUANTE */
.whatsapp-float-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition-normal);
  animation: bounce-float 3s ease-in-out infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Tooltip do WhatsApp no Desktop */
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--ink-2);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: 4px;
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--ink-2);
  border-right: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

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

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

/* 17. FOOTER */
.footer {
  background: #070708;
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border-color);
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
}

.footer-logo span {
  color: var(--accent);
}

.footer-logo svg,
.footer-logo .logo-img-footer {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-text {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--paper);
}

.footer-contact-item {
  color: var(--mid);
  font-size: 0.9rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-item a {
  color: var(--mid);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--paper);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.8rem;
  color: var(--mid);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--mid);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--paper);
}

/* 18. RESPONSIVIDADE (MEDIA QUERIES) */

/* Notebooks / Monitores menores */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-timeline::before,
  .timeline-progress {
    display: none;
  }
  
  .timeline-step {
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }
  
  .step-badge {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .calc-container {
    grid-template-columns: 1fr;
  }
}

/* Tablets / Mobile menu triggers */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .hero-section {
    padding-top: 120px;
    padding-bottom: 50px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--ink);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateY(-120%);
    transition: transform var(--transition-normal) ease-in-out;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-menu.open {
    transform: translateY(0);
  }
  
  .nav-cta {
    width: 100%;
    text-align: center;
  }
  
  .transform-grid {
    grid-template-columns: 1fr;
  }
  
  .transform-connector {
    transform: rotate(90deg);
    margin: 16px 0;
  }
  
  .split-story {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Smartphones pequenos */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .calc-inputs {
    padding: 24px;
  }
  
  .calc-results {
    padding: 24px;
  }
  
  .result-number {
    font-size: 1.8rem;
  }
  
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
  
  .whatsapp-tooltip {
    display: none; /* Esconder tooltip em telas muito pequenas para evitar bugs de toque */
  }
}

/* Suporte para preferência de movimentos reduzidos */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  .carousel-track {
    animation: none;
    overflow-x: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .whatsapp-float-btn {
    animation: none;
  }
  
  .transform-connector svg {
    animation: none;
  }
}

/* 19. CLASSES PARA ANIMAÇÃO NATIVA DE REVELAÇÃO NO SCROLL */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}
