/* ==========================================================================
   Zarifium Labs — Design System & Stylesheet
   ========================================================================== */

:root {
  /* Paleta Base Escura e Moderna */
  --bg-darkest: #06070a;
  --bg-base: #090b10;
  --bg-surface: #0e121a;
  --bg-surface-elevated: #141924;
  --bg-card: rgba(18, 24, 36, 0.75);
  
  /* Cores de Destaque Tecnológico (Emerald + Cyan + Indigo) */
  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-glow: rgba(16, 185, 129, 0.35);
  --accent-glow-cyan: rgba(6, 182, 212, 0.25);
  
  /* Tipografia & Cores de Texto */
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #8492a6;
  --border-line: rgba(255, 255, 255, 0.08);
  --border-line-hover: rgba(6, 182, 212, 0.3);
  
  /* Gradientes */
  --grad-primary: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #6366f1 100%);
  --grad-highlight: linear-gradient(90deg, #34d399, #38bdf8 55%, #818cf8);
  --grad-glow: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);

  /* Raios e Sombras */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 35px rgba(6, 182, 212, 0.18);
  
  --font-mono: "JetBrains Mono", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Grid Container */
.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

/* Tipografia */
h1, h2, h3, h4 {
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.eyebrow--light {
  color: var(--accent-emerald);
}

.highlight {
  background: var(--grad-highlight);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.grad {
  background: linear-gradient(90deg, #10b981, #06b6d4 50%, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Botões e Ações
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 13px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn__icon {
  width: 20px;
  height: 20px;
}

.btn__icon--sm {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn:hover .btn__icon--sm {
  transform: translateX(3px);
}

.btn--small {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn--large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn--primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 12px 32px var(--accent-glow), 0 0 15px rgba(6, 182, 212, 0.4);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.btn--outline-light:hover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  color: #ffffff;
}

.btn--light {
  background: #ffffff;
  color: var(--bg-darkest);
  font-weight: 800;
}

.btn--light:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   Efeito Spotlight para Cards
   ========================================================================== */
.spotlight-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.spotlight-card:hover {
  border-color: var(--border-line-hover);
  box-shadow: var(--shadow-glow);
}

.spotlight {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.spotlight-card:hover .spotlight {
  opacity: 1;
}

/* ==========================================================================
   Cabeçalho / Navbar
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--text-main);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.header--scrolled {
  background: rgba(9, 11, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
}

.brand__icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.4));
}

.brand__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.brand__name {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__name strong {
  font-weight: 800;
  background: var(--grad-highlight);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.94rem;
}

.nav > a:not(.btn) {
  color: var(--text-sub);
  transition: color 0.2s ease;
}

.nav > a:not(.btn):hover {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg-darkest);
  color: var(--text-main);
  padding: 140px 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 65% 55% at 75% 35%, rgba(6, 182, 212, 0.16), transparent 70%),
    radial-gradient(ellipse 45% 45% at 15% 15%, rgba(16, 185, 129, 0.12), transparent 70%),
    linear-gradient(180deg, var(--bg-darkest), var(--bg-base));
}

.hero__bg::after, .section--dark::after, .contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 85%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 50px; /* Espaço confortável e seguro antes do marquee */
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 12px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-sub);
  margin-block: 22px 32px;
  max-width: 540px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero__badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-sub);
  font-size: 0.92rem;
  font-weight: 500;
}

.hero__badges svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Visual / Interactive Stage (Estrutura Perfeitamente Contida)
   ========================================================================== */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  padding: 40px 0 44px;
}

/* Brilho de fundo com pulso suave */
.stage__glow {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.16) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 6s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.08); opacity: 1; }
}

/* Janela do Navegador */
.win {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 18, 27, 0.94);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.win--browser {
  position: relative;
  z-index: 2;
  width: 92%;
  align-self: flex-start;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 20px rgba(6, 182, 212, 0.08);
  animation: float-hero-browser 7s ease-in-out infinite;
}

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

.win__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.dots i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.dots i:nth-child(1) { background: #ef4444; }
.dots i:nth-child(2) { background: #f59e0b; }
.dots i:nth-child(3) { background: #10b981; }

.url {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.url svg {
  width: 13px;
  height: 13px;
  color: var(--accent-emerald);
}

.win__badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Dashboard Interior */
.dash {
  display: grid;
  grid-template-columns: 46px 1fr;
  min-height: 230px;
}

.dash__side {
  background: rgba(0, 0, 0, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}

.dash__side b.active-dot {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--accent-cyan);
  margin-bottom: 8px;
}

.dash__side i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.dash__side i.on {
  background: var(--accent-emerald);
}

.dash__main {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash__head span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  display: block;
}

.dash__head small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.dash__head em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 600;
  background: rgba(6, 182, 212, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

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

.kpi {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kpi small {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.kpi strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.kpi em.up {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.chart {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px;
}

.chart__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.75rem;
}

.chart__head span { font-weight: 600; color: var(--text-sub); }
.chart__head small { color: var(--text-muted); }

.chart__bars {
  display: flex;
  align-items: flex-end;
  height: 50px;
  gap: 8px;
}

.chart__bars span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent-cyan), rgba(16, 185, 129, 0.4));
  transform-origin: bottom;
  animation: grow-bar 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 75ms + 300ms);
}

@keyframes grow-bar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* Janela de Código / Editor (Escalonada em diagonal, com flutuação orgânica) */
.win--code {
  position: relative;
  z-index: 3;
  width: 88%;
  max-width: 440px;
  align-self: flex-end;
  margin-top: -36px;
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(6, 182, 212, 0.18);
  animation: float-hero-code 8s ease-in-out -2.5s infinite;
}

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

.win__bar--dark {
  background: #090c13;
}

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

.tag-ts {
  font-size: 0.7rem;
  color: #38bdf8;
  font-family: var(--font-mono);
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.tag-status {
  font-size: 0.7rem;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.code {
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.6;
  color: #e2e8f0;
  background: #0b0f19;
  overflow-x: auto;
}

.ln {
  display: block;
  opacity: 0;
  animation: typeIn 0.35s ease forwards;
}
.ln:nth-child(1) { animation-delay: 0.2s; }
.ln:nth-child(2) { animation-delay: 0.35s; }
.ln:nth-child(3) { animation-delay: 0.5s; }
.ln:nth-child(4) { animation-delay: 0.65s; }
.ln:nth-child(5) { animation-delay: 0.8s; }
.ln:nth-child(6) { animation-delay: 0.95s; }
.ln:nth-child(7) { animation-delay: 1.1s; }
.ln:nth-child(8) { animation-delay: 1.25s; }

@keyframes typeIn {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}

.k { color: #f472b6; font-weight: 600; }
.f { color: #38bdf8; }
.s { color: #34d399; }
.c { color: #64748b; font-style: italic; }

.caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--accent-cyan);
  vertical-align: middle;
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Floating Chips (Flutuantes com movimento orgânico assíncrono) */
.chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(14, 18, 27, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  pointer-events: none;
}

.chip--deploy {
  top: 0;
  right: 8px;
  border-color: rgba(16, 185, 129, 0.45);
  animation: float-chip-1 5.5s ease-in-out infinite;
}

.chip--api {
  bottom: 0;
  left: 8px;
  border-color: rgba(99, 102, 241, 0.45);
  animation: float-chip-2 6.5s ease-in-out -2s infinite;
}

@keyframes float-chip-1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(1.2deg); }
}

@keyframes float-chip-2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1.2deg); }
}

.chip__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.chip__icon--ok {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
}

.chip__icon--ok svg {
  width: 14px;
  height: 14px;
}

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

/* ==========================================================================
   Marquee Animado (Totalmente Isolado e Limpo)
   ========================================================================== */
.marquee {
  position: relative;
  z-index: 10;
  overflow: hidden;
  border-block: 1px solid var(--border-line);
  background: #080a10; /* Fundo sólido e limpo, sem conflito de blur */
  padding: 16px 0;
}

.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, #080a10, transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, #080a10, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-sub);
}

.marquee__track .dot {
  color: var(--accent-cyan);
  opacity: 0.6;
}

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

/* ==========================================================================
   Seções Gerais
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section--grid {
  background: var(--bg-base);
}

.section--dark {
  background: #07090e;
  border-block: 1px solid var(--border-line);
  position: relative;
  overflow: hidden;
}

.section--tint {
  background: rgba(13, 17, 26, 0.7);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section__head p {
  font-size: 1.12rem;
  color: var(--text-sub);
  margin-top: 16px;
}

/* ==========================================================================
   O que Fazemos (Grid de Serviços)
   ========================================================================== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.svc {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.svc--big {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.svc--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.svc__badge-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.svc__num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.svc__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.svc h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}

.svc p {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.svc__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.svc__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-sub);
}

.svc__list svg {
  width: 17px;
  height: 17px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.svc__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 0.96rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.svc__link:hover {
  gap: 12px;
  color: #ffffff;
}

/* Visual Builder Widget */
.builder {
  background: rgba(10, 13, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.builder__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.88rem;
}

.builder__head b { color: #ffffff; }
.builder__head em { color: var(--accent-emerald); font-style: normal; font-weight: 600; }

.module {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 10px;
}

.module__ic {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.module__ic svg {
  width: 16px;
  height: 16px;
}

.module__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  flex: 1;
}

.toggle {
  width: 38px;
  height: 22px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.toggle.on {
  background: var(--accent-emerald);
}

.toggle.on::after {
  transform: translateX(16px);
}

.toggle--anim {
  animation: toggle-switch 3s infinite alternate;
}

@keyframes toggle-switch {
  0%, 45% { background: var(--accent-cyan); }
  55%, 100% { background: var(--accent-emerald); }
}

.float-chip--builder {
  position: absolute;
  bottom: -14px;
  right: 18px;
  background: rgba(14, 18, 27, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

/* Phone Mockup */
.phone-mock {
  width: 220px;
  margin: 0 auto 20px;
  background: #090c14;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.phone-mock__notch {
  width: 70px;
  height: 12px;
  background: #141924;
  border-radius: 0 0 10px 10px;
  margin: 0 auto 10px;
}

.phone-mock__screen {
  background: #0e131e;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-ui-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 700;
}

.badge-live {
  font-style: normal;
  font-size: 0.65rem;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  padding: 2px 6px;
  border-radius: 4px;
}

.app-ui-balance small {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
}

.app-ui-balance strong {
  font-size: 1rem;
  color: #ffffff;
}

.app-ui-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-ui-btn {
  background: var(--grad-primary);
  color: #ffffff;
  padding: 6px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
}

/* Flow Preview Widget */
.flow-preview {
  background: #090c14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.flow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.dot-ping {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.flow-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.step-icon--core {
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.arrow-sym {
  color: var(--text-muted);
  font-weight: 700;
}

.flow-badge {
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
}

/* Consulting Stats Widget */
.consulting-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-box__val {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad-highlight);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-mono);
}

.stat-box__lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Seção Soluções Reais (Needs)
   ========================================================================== */
.needs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.need {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.need__visual {
  height: 110px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.need__chart {
  width: 100%;
  height: 100%;
}

.need__line {
  fill: none;
  stroke: var(--accent-emerald);
  stroke-width: 2;
}

.need__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

.rows {
  width: 100%;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-sub);
}

.row i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.row span { flex: 1; }

.row em.ok {
  font-style: normal;
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.68rem;
}

.row em.info {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.flow {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.flow__node {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.flow__node--main {
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.flow__node--main svg {
  width: 20px;
  height: 20px;
}

.idea {
  position: relative;
}

.idea__bulb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.idea__bulb svg {
  width: 26px;
  height: 26px;
}

.spark {
  position: absolute;
  color: #f59e0b;
  font-size: 0.9rem;
  animation: pulse-dot 2s infinite ease-in-out;
}
.s1 { top: -4px; right: -8px; }
.s2 { bottom: 4px; left: -10px; animation-delay: 0.6s; }
.s3 { top: 22px; right: -16px; animation-delay: 1.2s; }

.need h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.need p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.pill {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-sub);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.need--cta {
  background: linear-gradient(145deg, rgba(14, 18, 27, 0.8), rgba(6, 182, 212, 0.15));
  border-color: rgba(6, 182, 212, 0.3);
}

.closing {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.closing p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.closing strong {
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
}

/* ==========================================================================
   Como Funciona (3 Etapas)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.step__visual {
  height: 160px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Step 1 Visual */
.msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.76rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.msg--in {
  background: rgba(255, 255, 255, 0.08);
  align-self: flex-start;
  color: var(--text-main);
  border-bottom-left-radius: 2px;
}

.msg--out {
  background: var(--accent-emerald);
  color: #06331a;
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.msg--typing {
  display: flex;
  gap: 4px;
  padding: 6px 12px;
}

.msg--typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing 1.4s infinite ease-in-out;
}
.msg--typing i:nth-child(2) { animation-delay: 0.2s; }
.msg--typing i:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Step 2 Visual */
.progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
}
.progress__head b { color: #ffffff; }
.progress__head span { color: var(--accent-cyan); font-weight: 700; font-family: var(--font-mono); }

.progress__bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress__bar i {
  display: block;
  width: 85%;
  height: 100%;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
}

.progress__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.progress__list li {
  font-size: 0.72rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 6px;
}

.progress__list li.done::before { content: "✓"; color: var(--accent-emerald); font-weight: 800; }
.progress__list li.doing::before { content: "⏳"; font-size: 0.65rem; }

/* Step 3 Visual */
.status {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #ffffff;
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.status__bars {
  display: flex;
  gap: 3px;
  height: 24px;
  align-items: flex-end;
}

.status__bars i {
  flex: 1;
  background: var(--accent-cyan);
  border-radius: 2px;
  height: 100%;
  opacity: 0.85;
}

.status__bars i:nth-child(even) { height: 75%; }
.status__bars i:nth-child(3n) { height: 90%; }
.status__bars i:nth-child(4n) { height: 60%; }

.status__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

.status__foot svg {
  width: 14px;
  height: 14px;
}

.step__num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.step h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ==========================================================================
   Diferenciais / Bento Grid
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento__item {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.bento__item--feature {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: space-between;
}

.bento__item--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.icon,
.icon--glass {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  flex-shrink: 0;
}

.icon svg,
.icon--glass svg {
  width: 24px;
  height: 24px;
}

.bento__item h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.bento__item p {
  color: var(--text-sub);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Chat Visual */
.chat {
  margin-top: 28px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chat__avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--grad-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.chat__head span b { color: #ffffff; display: block; font-size: 0.88rem; }
.chat__head span small { color: var(--accent-emerald); font-size: 0.74rem; display: flex; align-items: center; gap: 4px; }
.chat__head span small i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-emerald); display: inline-block; }

.chat__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.84rem;
  max-width: 88%;
}

.bubble--in {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.bubble--out {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

/* Visual Blocks */
.why__visual--blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
  height: 64px;
}

.why__visual--blocks i {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.why__visual--blocks i.hl {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--accent-emerald);
}

.why__visual--blocks i.hl2 {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent-cyan);
}

/* Visual Cities ticker */
.why__visual--cities {
  overflow: hidden;
  margin-bottom: 20px;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cities {
  display: inline-flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-sub);
  animation: marquee-scroll 24s linear infinite;
}

/* Tickets Visual */
.tickets {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}

.ticket code {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.ticket span { flex: 1; color: var(--text-main); }

.ticket em.ok {
  font-style: normal;
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.74rem;
}

.ticket em.doing {
  font-style: normal;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.74rem;
}

/* ==========================================================================
   FAQ / Perguntas Frequentes
   ========================================================================== */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
  align-items: start;
}

.help-card {
  margin-top: 36px;
  padding: 28px;
  background: rgba(14, 18, 27, 0.9);
}

.help-card__ic {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.help-card__ic svg {
  width: 22px;
  height: 22px;
}

.help-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.help-card p {
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 20px;
}

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

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  transition: all 0.25s ease;
}

.faq details[open] {
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(18, 24, 36, 0.9);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  margin-left: auto;
  color: var(--accent-cyan);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq__n {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.faq details p {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-sub);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ==========================================================================
   Contato & Conversão (Foco em E-mail)
   ========================================================================== */
.contact {
  position: relative;
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-line);
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(6, 182, 212, 0.14), transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(16, 185, 129, 0.1), transparent 70%);
}

.contact__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.contact__text h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-block: 16px;
}

.contact__text p {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-bottom: 36px;
  line-height: 1.6;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(18, 24, 36, 0.85);
  border: 1px solid var(--border-line);
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.contact-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.contact-card__ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__ic svg {
  width: 22px;
  height: 22px;
}

.contact-card__body b {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

.contact-card__body small {
  font-size: 0.88rem;
  color: var(--text-sub);
}

.contact-card__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-email-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.25);
  transition: all 0.2s ease;
}

.btn-email-action:hover {
  background: rgba(6, 182, 212, 0.2);
  color: #ffffff;
}

/* Interactive Email Copy Button */
.btn-copy-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-tag:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.btn-copy-tag.copied {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #06331a;
}

/* Formulário de Contato */
.form {
  padding: 40px;
  background: rgba(14, 18, 28, 0.92);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-line);
}

.form__head {
  margin-bottom: 24px;
}

.form__head h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.form__head p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.form input, .form textarea, .form select {
  background: rgba(6, 8, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}

.form select {
  cursor: pointer;
}

.form select option {
  background: #0d111a;
  color: #ffffff;
}

.form__submit {
  width: 100%;
  margin-top: 10px;
}

/* Feedback do formulário */
.form-feedback {
  margin-top: 20px;
}

.feedback-card {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feedback-card strong {
  color: #ffffff;
  display: block;
  font-size: 0.96rem;
  margin-bottom: 4px;
}

.feedback-card p {
  color: var(--text-sub);
  font-size: 0.88rem;
  line-height: 1.5;
}

.feedback-card b {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.footer {
  background: #050609;
  border-top: 1px solid var(--border-line);
  padding: 60px 0 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand {
  max-width: 360px;
}

.footer__brand p {
  margin-top: 16px;
  line-height: 1.6;
  color: var(--text-sub);
  font-size: 0.92rem;
}

.footer__nav {
  display: flex;
  gap: 60px;
}

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

.footer__col b {
  color: #ffffff;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.footer__col a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--accent-cyan);
}

.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer__back-top {
  color: var(--accent-cyan);
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer__back-top:hover {
  opacity: 0.8;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsividade (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero__visual {
    order: 2;
  }

  .svc--big, .svc--wide {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

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

  .bento__item--wide {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 78px;
    inset-inline: 0;
    bottom: 0;
    background: rgba(9, 11, 16, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 32px 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 99;
  }

  .nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav > a:not(.btn) {
    font-size: 1.2rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav__cta {
    margin-top: 12px;
    text-align: center;
  }

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

  .svc--big, .svc--wide {
    grid-column: span 1;
  }

  .consulting-stats {
    grid-template-columns: 1fr;
  }

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

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

  .bento__item--feature, .bento__item--wide {
    grid-column: span 1;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__nav {
    flex-direction: column;
    gap: 32px;
  }

  .stage {
    min-height: auto;
    gap: 16px;
    padding: 0;
  }

  .win--code {
    width: 100%;
  }

  .chip {
    display: none;
  }
}

/* ==========================================================================
   Movimento nos cards de serviços e soluções
   ========================================================================== */
.builder { animation: float-soft 7s ease-in-out infinite; }
.float-chip--builder { animation: float-chip-2 5.5s ease-in-out -1s infinite; }

.module { animation: module-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.module:nth-of-type(2) { animation-delay: 0.1s; }
.module:nth-of-type(3) { animation-delay: 0.25s; }
.module:nth-of-type(4) { animation-delay: 0.4s; }
.module:nth-of-type(5) { animation-delay: 0.55s; }
.toggle.on::after { animation: toggle-nudge 4s ease-in-out infinite; }

.phone-mock { animation: float-soft 6.5s ease-in-out -1s infinite; }
.mini-card:nth-child(1) { animation: float-soft-sm 4.5s ease-in-out infinite; }
.mini-card:nth-child(2) { animation: float-soft-sm 4.5s ease-in-out -2s infinite; }
.app-ui-btn { animation: btn-glow 3s ease-in-out infinite; }

.flow-line .step-icon { animation: float-soft-sm 3.6s ease-in-out infinite; }
.flow-line .step-icon:nth-child(3) { animation-delay: -1.2s; }
.flow-line .step-icon:nth-child(5) { animation-delay: -2.4s; }
.flow-line .arrow-sym { animation: arrow-slide 1.6s ease-in-out infinite; display: inline-block; }
.step-icon--core { animation: core-pulse 2.4s ease-in-out infinite !important; }
.flow-badge { animation: float-soft-sm 5s ease-in-out -1s infinite; }

.stat-box { animation: float-soft-sm 6s ease-in-out infinite; }
.stat-box:nth-child(2) { animation-delay: -2s; }
.stat-box:nth-child(3) { animation-delay: -4s; }

.need__line {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw-line 5s ease-in-out infinite;
}
.need__area { animation: area-fade 5s ease-in-out infinite; }
.need__badge { animation: float-soft-sm 4s ease-in-out infinite; }

.row { animation: row-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.row:nth-child(1) { animation-delay: 0.1s; }
.row:nth-child(2) { animation-delay: 0.25s; }
.row:nth-child(3) { animation-delay: 0.4s; }
.row:nth-child(4) { animation-delay: 0.55s; }
.row i { animation: pulse-dot 2s ease-in-out infinite; }
.row em.info { animation: blink-soft 2s ease-in-out infinite; }

.flow__node { animation: float-soft-sm 4s ease-in-out infinite; }
.flow__node:nth-child(2) { animation: core-pulse 2.4s ease-in-out infinite; }
.flow__node:nth-child(3) { animation-delay: -2s; }
.flow__dot {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  opacity: 0;
  pointer-events: none;
  animation: dot-travel 2.4s linear infinite;
}
.flow__dot--2 { animation-delay: -1.2s; background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }

.spark, .idea__bulb { animation-play-state: running; }

@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float-soft-sm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes module-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: translateX(0); } }
@keyframes row-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toggle-nudge { 0%, 85%, 100% { transform: translateX(16px) scale(1); } 92% { transform: translateX(16px) scale(1.15); } }
@keyframes btn-glow { 0%, 100% { box-shadow: 0 0 0 rgba(6, 182, 212, 0); } 50% { box-shadow: 0 0 16px rgba(6, 182, 212, 0.45); } }
@keyframes arrow-slide { 0%, 100% { transform: translateX(-2px); opacity: 0.5; } 50% { transform: translateX(3px); opacity: 1; } }
@keyframes core-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(6, 182, 212, 0); } 50% { transform: scale(1.1); box-shadow: 0 0 18px rgba(6, 182, 212, 0.5); } }
@keyframes draw-line { 0% { stroke-dashoffset: 320; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -320; } }
@keyframes area-fade { 0%, 15% { opacity: 0; } 55%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes blink-soft { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes dot-travel { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(98px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

