/* =========================================================================
   VARIÁVEIS & RESET GLOBAL — Dark Mode Profissional
   ========================================================================= */
:root {
  --cyan:        #00d4b8;
  --cyan-hover:  #00b8a0;
  --cyan-dim:    rgba(0, 212, 184, 0.12);
  --cyan-glow:   rgba(0, 212, 184, 0.07);

  /* Fundos em camadas escuras */
  --bg:      #080d12;
  --bg2:     #0c1319;
  --bg3:     #101b24;
  --bg4:     #162030;

  /* Textos em hierarquia clara */
  --text:        #e8f1f8;
  --text-mid:    #8da6bb;
  --text-dim:    #4e6476;

  /* Bordas */
  --border:      rgba(255,255,255,0.07);
  --border-mid:  rgba(255,255,255,0.13);
  --border-cyan: rgba(0,212,184,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg);
}

/* Grid de fundo sutil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,184,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,184,0.028) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* =========================================================================
   COMPONENTES REUTILIZÁVEIS
   ========================================================================= */
.container  { max-width: 1100px; margin: 0 auto; }
.wide-container { max-width: 1200px; margin: 0 auto; }
.center-header  { text-align: center; margin-bottom: 4rem; }

.section-tag {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text);
  line-height: 1.15;
}

.section-desc {
  color: var(--text-mid);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-title em {
  font-style: normal;
  color: var(--cyan);
}

.hero-subtitle {
  color: var(--text-mid);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--cyan);
  color: #050d10;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background-color: #00f5d4;
  box-shadow: 0 0 24px rgba(0,212,184,0.35);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--text);
  padding: 0.85rem 1.75rem;
  border: 1px solid var(--border-mid);
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background-color: var(--bg3);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* =========================================================================
   NAVEGAÇÃO
   ========================================================================= */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background-color: rgba(8,13,18,0.9);
  backdrop-filter: blur(16px);
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.nav-logo img {
  height: 36px;
  margin-right: 0.6rem;
  filter: drop-shadow(0 0 6px rgba(0,212,184,0.4));
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta {
  background-color: var(--cyan-dim);
  color: var(--cyan);
  padding: 0.45rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--border-cyan);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.nav-links .nav-cta:hover {
  background-color: var(--cyan);
  color: #050d10;
}

/* =========================================================================
   SELETOR DE IDIOMA
   ========================================================================= */
.lang-dropdown-container { position: relative; display: inline-block; }

.lang-text-btn {
  background: transparent;
  border: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-mid);
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 4px;
  user-select: none;
  transition: color 0.2s;
}

.lang-text-btn:hover { color: var(--text); }

.lang-text-btn .arrow-down {
  font-size: 0.5rem;
  color: var(--text-dim);
  transition: transform 0.2s;
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 50%;
  transform: translateX(50%);
  background-color: var(--bg3);
  border: 1px solid var(--border-mid);
  border-radius: 6px;
  min-width: 58px;
  z-index: 1000;
  padding: 4px 0;
  margin-top: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.lang-dropdown-container.show .lang-dropdown-menu { display: block; }
.lang-dropdown-container.show .arrow-down { transform: rotate(180deg); }

.dropdown-item {
  width: 100%;
  background: transparent;
  border: none;
  text-align: center;
  padding: 7px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.dropdown-item:hover { background-color: var(--bg4); color: var(--text); }
.dropdown-item.active { color: #050d10; background-color: var(--cyan); }

/* =========================================================================
   HERO
   ========================================================================= */
#home {
  position: relative;
  z-index: 1;
  padding: 7rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.18;
}

.orb1 {
  width: 450px; height: 450px;
  background: var(--cyan);
  top: -80px; right: -60px;
  animation: orbPulse 7s ease-in-out infinite;
}

.orb2 {
  width: 320px; height: 320px;
  background: #2563eb;
  bottom: -60px; left: -60px;
  animation: orbPulse 9s ease-in-out infinite reverse;
}

@keyframes orbPulse {
  0%,100% { transform: scale(1); opacity: 0.18; }
  50% { transform: scale(1.12); opacity: 0.28; }
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: 100%;
}

.hero-text-side { flex: 1 1 54%; }

.hero-kicker {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
  font-size: 0.78rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.85;
}

.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg2);
}

.hero-metric {
  flex: 1;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--border);
}

.hero-metric:last-child { border-right: none; }

.hm-val {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
}

.hm-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-mid);
  margin-top: 0.3rem;
  font-weight: 400;
}

.hm-divider { display: none; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-terminal-side { flex: 1 1 46%; min-width: 300px; }

/* Terminal */
.hero-terminal {
  background-color: #050c14;
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,212,184,0.08);
}

.terminal-topbar {
  background-color: var(--bg3);
  padding: 0.7rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.terminal-dots span {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.terminal-dots span:nth-child(1) { background: #ff5f56; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #27c93f; }

.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  line-height: 2;
}

.t-prompt { color: var(--cyan); margin-right: 0.5rem; }
.t-cmd    { color: #e2e8f0; }
.t-val    { color: #c084fc; }
.t-arrow  { color: var(--text-dim); margin: 0 0.5rem; }
.t-key    { color: var(--text-mid); }
.t-ok     { color: #34d399; }

.t-line {
  opacity: 0;
  transform: translateY(4px);
  animation: fadeInTerminal 0.25s ease forwards;
}

.t-delay-1 { animation-delay: 0.5s; }
.t-delay-2 { animation-delay: 1.1s; }
.t-delay-3 { animation-delay: 1.7s; }
.t-delay-4 { animation-delay: 2.3s; }
.t-delay-5 { animation-delay: 2.9s; }

@keyframes fadeInTerminal { to { opacity: 1; transform: translateY(0); } }

.t-cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--text);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* =========================================================================
   SERVIÇOS
   ========================================================================= */
.services-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  background-color: var(--bg2);
  border-top: 1px solid var(--border);
}

.services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.services-grid-two {
  display: flex;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s, border-color 0.25s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover { background: var(--bg4); border-color: var(--border-mid); }
.service-card:hover::before { transform: scaleX(1); }

.services-grid-two .service-card:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.services-grid-two .service-card:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-left: none;
}

.service-card-header { margin-bottom: 1.25rem; }

.service-num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.service-title { font-size: 1.35rem; font-weight: 700; color: var(--text); }

.service-card .service-desc {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.service-features { list-style: none; }

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.service-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.scope-alert-text {
  color: var(--text-dim);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 3rem;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.6;
}

/* =========================================================================
   CASOS DE ESTUDO
   ========================================================================= */
.premium-cases-section {
  position: relative;
  z-index: 1;
  padding: 8rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.cases-wrapper {
  display: flex;
  flex-direction: column;
  gap: 7rem;
  margin-top: 4rem;
}

.case-row {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.case-row > div { flex: 1 1 50%; }
.case-row.row-reverse { flex-direction: row-reverse; }

.case-project-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.case-project-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.case-project-desc {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.case-image-side {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  height: 320px;
  width: 100%;
  padding: 12px;
}

.case-image-side img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 6px;
}

.case-image-side::after { display: none !important; content: "" !important; }

.construction-img { border-left: 3px solid var(--cyan); }
.missions-img     { border-left: 3px solid #3b82f6; }

.transformation-box {
  display: flex;
  gap: 1.5rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.t-before, .t-after { flex: 1; }

.transformation-box strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.t-before strong { color: #f87171; }
.t-after strong  { color: var(--cyan); }

.transformation-box ul { list-style: none; }

.transformation-box li {
  font-size: 0.83rem;
  line-height: 1.5;
  margin-bottom: 0.4rem;
  color: var(--text-mid);
}

.t-before li::before { content: "✕ "; color: #f87171; }
.t-after  li::before { content: "✓ "; color: var(--cyan); }

/* =========================================================================
   PILARES
   ========================================================================= */
.pillars-section {
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 6rem 2rem;
}

.pillars-grid { display: flex; gap: 1.5rem; }

.pillar-card {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s;
}

.pillar-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-3px);
}

.pillar-tech-tag {
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.pillar-card-title {
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.pillar-card-desc {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* =========================================================================
   DIAGNÓSTICO / DEMO
   ========================================================================= */
.demo-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.demo-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.demo-badge {
  display: inline-block;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  border: 1px solid var(--border-cyan);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.demo-section .section-desc {
  margin: 0 auto 3rem;
  max-width: 700px;
}

.demo-grid {
  display: flex;
  gap: 1.5rem;
  text-align: left;
}

.demo-box {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.demo-box:hover { border-color: var(--border-cyan); }

.demo-box h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-weight: 700;
}

.demo-box p {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.65;
}

.demo-action-btn { margin-top: 3rem; }

/* =========================================================================
   SEGMENTOS
   ========================================================================= */
.segments-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.segments-grid { display: flex; gap: 2rem; }

.segment-item {
  flex: 1;
  border-left: 2px solid var(--cyan);
  padding-left: 1.5rem;
}

.segment-item-title {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.segment-item-desc {
  color: var(--text-mid);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* =========================================================================
   METODOLOGIA
   ========================================================================= */
#projetos {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.growth-inner { max-width: 1200px; margin: 0 auto; }
.growth-header { margin-bottom: 4rem; }
.growth-grid { display: flex; gap: 2rem; }

.growth-card {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.growth-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-3px);
}

.growth-card-num {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(0,212,184,0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.growth-card-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.growth-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.growth-card-desc {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* =========================================================================
   FAQ — COM ACCORDION
   ========================================================================= */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.faq-container { max-width: 780px; margin: 0 auto; }

.faq-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-card:hover { border-color: var(--border-mid); }
.faq-card.open   { border-color: var(--border-cyan); }

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-question-text {
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

.faq-icon {
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-card.open .faq-icon { transform: rotate(45deg); }

.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =========================================================================
   CTA / CONTATO
   ========================================================================= */
#contato {
  position: relative;
  z-index: 1;
  padding: 7rem 2rem;
  text-align: center;
  background: var(--bg);
}

.cta-inner { max-width: 680px; margin: 0 auto; position: relative; }

.cta-inner::before {
  content: 'TZORI';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10rem;
  font-weight: 800;
  color: rgba(0,212,184,0.025);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
}

.cta-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.cta-title span { color: var(--cyan); }

.cta-desc {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   DISCLAIMER & FOOTER
   ========================================================================= */
.terms-disclaimer-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
  text-align: center;
}

.disclaimer-text {
  color: var(--text-dim);
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}

footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg2);
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
}

.footer-logo img {
  height: 36px;
  margin-right: 0.6rem;
  filter: drop-shadow(0 0 5px rgba(0,212,184,0.3));
}

.footer-links { display: flex; list-style: none; gap: 1.5rem; flex-wrap: wrap; }

.footer-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-projects {
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.9;
}

.projects-title { color: var(--cyan); font-weight: 600; margin-right: 0.5rem; }

.footer-projects a {
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}

.footer-projects a:hover { color: var(--text); }

.projects-sep { color: var(--border-mid); padding: 0 0.6rem; }

footer .footer-copy {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-top: 0.5rem;
}

/* =========================================================================
   WHATSAPP FLUTUANTE
   ========================================================================= */
.wa-float {
  position: fixed;
  width: 54px; height: 54px;
  bottom: 28px; right: 28px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 100;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVIDADE
   ========================================================================= */
@media (max-width: 992px) {
  .hero-container { flex-direction: column; }
  .hero-text-side, .hero-terminal-side { width: 100%; }
  .case-row, .case-row.row-reverse { flex-direction: column !important; gap: 2.5rem !important; }
  .case-image-side { height: 260px !important; padding: 10px !important; }
}

@media (max-width: 768px) {
  nav { flex-direction: column; align-items: flex-start; padding: 1rem 1.25rem; }
  .nav-links { flex-direction: column; align-items: flex-start; width: 100%; gap: 0.85rem; }
  .nav-links li, .nav-links .nav-cta { width: 100%; }
  .nav-links .nav-cta { text-align: center; display: block; }

  .lang-dropdown-menu {
    position: relative; right: auto; transform: none;
    box-shadow: none; border: none; background: transparent;
    display: flex; gap: 12px; margin-top: 0.25rem; padding: 0;
  }

  .dropdown-item {
    width: auto; padding: 4px 10px; border-radius: 4px;
    background: var(--bg3);
  }

  #home { padding: 5rem 1.25rem 3rem; }

  .hero-title { font-size: 2.1rem; }
  .section-title { font-size: 1.75rem; }
  .services-grid-two, .pillars-grid, .demo-grid, .segments-grid, .growth-grid { flex-direction: column; gap: 1.25rem; }
  .services-grid-two .service-card:first-child,
  .services-grid-two .service-card:last-child {
    border-radius: 8px !important;
    border: 1px solid var(--border) !important;
  }
  .hero-metrics { flex-direction: column; border-radius: 8px; }
  .hero-metric { border-right: none !important; border-bottom: 1px solid var(--border); }
  .hero-metric:last-child { border-bottom: none; }
  footer { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 0.6rem; }
  .cta-title { font-size: 1.75rem; }
}

/* =========================================================================
   POSICIONAMENTO (seção "Não vendemos software")
   ========================================================================= */
.positioning-section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  text-align: center;
}

.positioning-section .section-title { color: var(--text); }
.positioning-section .section-desc  { color: var(--text-mid); max-width: 700px; margin: 0 auto; }

/* =========================================================================
   META TAGS DOS CASOS
   ========================================================================= */
.case-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.meta-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  line-height: 1.4;
}

.security-tag {
  color: var(--cyan);
  border-color: var(--border-cyan);
  background: var(--cyan-glow);
}
