/* =========================================================
   VARIÁVEIS
========================================================= */
:root {
  --bg: #05010d;
  --bg-soft: #0b0220;
  --purple: #6d28d9;
  --purple-glow: #a78bfa;
  --purple-neon: #4f46e5;
  --text: #e5e7eb;
  --text-soft: #a1a1aa;
  --border: #1e1b4b;
}

/* =========================================================
   RESET / BASE
========================================================= */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top, #12042f 0%, var(--bg) 45%);
  color: var(--text);
  position: relative;
  z-index: 0;
}

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

/* =========================================================
   FUNDO DE ESTRELAS (PREMIUM)
========================================================= */
.stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.stars::before,
.stars::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background-repeat: repeat;
  background-size: 3px 3px;
  animation: starsMove 160s linear infinite;
}

.stars::before {
  background-image:
    radial-gradient(circle, rgba(124,58,237,.8) 1px, transparent 1px);
  opacity: 0.12;
}

.stars::after {
  background-image:
    radial-gradient(circle, rgba(79,70,229,.6) 1px, transparent 1px);
  opacity: 0.07;
  animation-duration: 220s;
}

@keyframes starsMove {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,-50%,0); }
}

/* =========================================================
   HEADER
========================================================= */
header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(5,1,13,.75);
  border-bottom: 1px solid var(--border);
  transition: top 0.4s cubic-bezier(0.16,1,0.3,1),
              width 0.4s cubic-bezier(0.16,1,0.3,1),
              max-width 0.4s cubic-bezier(0.16,1,0.3,1),
              border-radius 0.4s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.4s cubic-bezier(0.16,1,0.3,1),
              border 0.4s cubic-bezier(0.16,1,0.3,1);
}

header.scrolled {
  top: 12px;
  width: calc(100% - 48px);
  max-width: 1180px;
  border-radius: 999px;
  border-bottom: none;
  border: 1px solid rgba(124,58,237,.22);
  box-shadow: 0 8px 40px rgba(0,0,0,.5), 0 0 30px rgba(124,58,237,.1);
  background: rgba(11,2,32,.9);
}

.nav {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   LOGO (MICRO ANIMAÇÃO)
========================================================= */
.logo {
  height: 34px;
  filter: brightness(0) invert(1);
  animation: logoGlow 4s ease-in-out infinite;
  transition: transform .3s ease, filter .3s ease;
}

@keyframes logoGlow {
  0%   { filter: brightness(0) invert(1) drop-shadow(0 0 0 rgba(124,58,237,0)); }
  50%  { filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(124,58,237,.6)); }
  100% { filter: brightness(0) invert(1) drop-shadow(0 0 0 rgba(124,58,237,0)); }
}

.logo:hover {
  transform: scale(1.06);
  filter: brightness(0) invert(1)
    drop-shadow(0 0 20px rgba(79,70,229,.9));
}

/* =========================================================
   BOTÕES
========================================================= */
.cta-nav,
.cta-main {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--purple-neon));
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  border: none;
}

.cta-nav {
  padding: 10px 22px;
}

.cta-main {
  padding: 18px 48px;
  font-weight: 800;
  box-shadow: 0 0 45px rgba(167,139,250,.45);
  transition: transform .3s ease, box-shadow .3s ease;
}

.cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 70px rgba(167,139,250,.65);
}

/* =========================================================
   HERO
========================================================= */
.hero {
  padding: 80px 24px 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content:"";
  position:absolute;
  inset:-200px;
  background:
    radial-gradient(circle at 20% 30%, rgba(124,58,237,.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(79,70,229,.25), transparent 40%);
  z-index:-1;
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 3.9rem);
  max-width: 900px;
  margin: auto;
  line-height: 1.1;
}

.hero p {
  max-width: 720px;
  margin: 30px auto 44px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* =========================================================
   CONTAINERS
========================================================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 100px 24px;
}

.subtitle {
  max-width: 580px;
  text-align: center;
  margin: 0 auto 20px;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 1rem;
}

/* =========================================================
   WORKFLOW
========================================================= */
.workflow {
  display: grid;
  gap: 20px;
  max-width: 600px;
}

.step {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border: 1px solid var(--border);
  padding: 20px 26px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

.badge {
  background: rgba(124,58,237,.15);
  color: var(--purple-glow);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .75rem;
}

/* =========================================================
   GRID / CARDS
========================================================= */
.grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 26px;
}

.card,
.service-card {
  background: linear-gradient(180deg, rgba(20,20,20,.9), var(--bg));
  border-radius: 18px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}

.card:hover,
.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 35px 90px rgba(124,58,237,.35),
    0 0 60px rgba(124,58,237,.25);
}

.card p,
.service-card p {
  color: #a0a0a0;
  line-height: 1.6;
}

/* =========================================================
   SERVICES ICON
========================================================= */
.service-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.service-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(129,74,200,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(129,74,200,.35);
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.service-card:hover .service-icon {
  transform: scale(1.15);
  box-shadow:
    0 0 30px rgba(129,74,200,.6),
    0 0 60px rgba(129,74,200,.35);
}

/* =========================================================
   SERVICES HERO
========================================================= */
.services-hero {
  position: relative;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: -200px;
  background:
    radial-gradient(circle at 25% 35%, rgba(124,58,237,.28), transparent 40%),
    radial-gradient(circle at 75% 65%, rgba(79,70,229,.22), transparent 45%);
  z-index: -1;
}

.services-title {
  font-size: clamp(2.6rem, 4.5vw, 3.3rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.services-description {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 56px;
}

/* =========================================================
   FORM
========================================================= */
form {
  max-width: 520px;
  margin: 40px auto 0;
  display: grid;
  gap: 16px;
}

input,
textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.status {
  margin-top: 10px;
  text-align: center;
  color: var(--text-soft);
}

/* =========================================================
   FOOTER
========================================================= */
footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  text-align: center;
  color: var(--text-soft);
}

/* =========================================================
   SCROLL REVEAL
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: .9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.services-hero {
  padding: 80px 24px 100px;
  position: relative;
}

.services-layout {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.services-text {
  max-width: 640px;
}

.services-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #c084fc;
  margin-bottom: 16px;
  display: block;
}

.services-title {
  font-size: clamp(2.6rem, 4.5vw, 3.3rem);
  line-height: 1.15;
  margin-bottom: 28px;
}

.services-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
}

/* Highlights em coluna */
.services-highlights {
  display: grid;
  gap: 20px;
}

.highlight-card {
  background: linear-gradient(
    180deg,
    rgba(124, 58, 237, 0.15),
    rgba(5, 1, 13, 0.6)
  );
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.45),
    0 0 30px rgba(124,58,237,0.15);
  transition: transform .35s ease, box-shadow .35s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 70px rgba(124,58,237,.35),
    0 0 60px rgba(124,58,237,.25);
}

.highlight-card strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.highlight-card span {
  font-size: 0.9rem;
  color: #c7c7d1;
}

/* Responsivo */
@media (max-width: 900px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
/* =========================================================
   FLOW VISUAL (MINIMALISTA)
========================================================= */
.flow-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 24px;
}

/* Linha vertical */
.flow-visual::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(124, 58, 237, 0),
    rgba(124, 58, 237, 0.6),
    rgba(124, 58, 237, 0)
  );
}

/* Cada etapa */
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}

/* Ponto do fluxo */
.flow-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #6d28d9;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.8);
  flex-shrink: 0;
  margin-top: 6px;
}

/* Card */
.flow-card {
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.9),
    rgba(5, 1, 13, 0.9)
  );
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
  min-width: 240px;
}

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

.flow-card span {
  font-size: 0.85rem;
  color: #bdbdd1;
}

/* Hover sutil */
.flow-step:hover .flow-card {
  box-shadow:
    0 0 30px rgba(124, 58, 237, 0.35),
    0 0 60px rgba(124, 58, 237, 0.15);
}

/* Responsivo */
@media (max-width: 900px) {
  .flow-visual {
    padding-left: 0;
  }

  .flow-visual::before {
    display: none;
  }
}
.services-layout {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.services-flow {
  display: flex;
  justify-content: flex-end;
}

/* Responsivo */
@media (max-width: 900px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-flow {
    justify-content: flex-start;
  }
}
/* =========================================================
   HOME FLOW INTERATIVO
========================================================= */
.home-flow {
  width: 100%;
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}



.home-flow-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 18px 0 48px;
  text-align: center;
}

.home-flow-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.home-flow-step {
  background: linear-gradient(
    180deg,
    rgba(20,20,20,.9),
    rgba(5,1,13,.9)
  );
  border: 1px solid rgba(124,58,237,.35);
  border-radius: 14px;
  padding: 14px 22px;
  min-width: 120px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .3s ease;
}

.home-flow-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(124,58,237,.35);
}

.home-flow-step.active {
  background: linear-gradient(
    135deg,
    rgba(124,58,237,.35),
    rgba(79,70,229,.35)
  );
  box-shadow:
    0 0 30px rgba(124,58,237,.6),
    0 0 60px rgba(124,58,237,.25);
}

.home-flow-line {
  width: 30px;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(124,58,237,0),
    rgba(124,58,237,.8),
    rgba(124,58,237,0)
  );
}

/* Conteúdo dinâmico */
.home-flow-content {
  max-width: 640px;
  margin: 48px auto 0;
  padding: 26px 28px;
  background: linear-gradient(
    180deg,
    rgba(20,20,20,.85),
    rgba(5,1,13,.85)
  );
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 18px;
  box-shadow:
    0 20px 60px rgba(0,0,0,.5),
    0 0 40px rgba(124,58,237,.2);
}

.home-flow-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.home-flow-content p {
  color: var(--text-soft);
  line-height: 1.6;
}
/* Animação de troca de conteúdo */
.home-flow-content {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-flow-content.is-changing {
  opacity: 0;
  transform: translateY(10px);
}

/* Mobile */
@media (max-width: 700px) {
  .home-flow-line {
    display: none;
  }
}
/* =========================================================
   WORKFLOW PREMIUM
========================================================= */
.workflow-steps {
  display: grid;
  gap: 26px;
  margin-top: 48px;
}

.workflow-step {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 20, 0.95),
    rgba(5, 1, 13, 0.95)
  );
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 14px; /* mais quadrado */
  padding: 26px 32px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Linha lateral (fluxo) */
.workflow-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    rgba(124, 58, 237, 0),
    rgba(124, 58, 237, 0.8),
    rgba(124, 58, 237, 0)
  );
}

/* Conteúdo */
.workflow-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.workflow-content h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #ffffff;
}

/* Badge */
.workflow-badge {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.35),
    rgba(192, 38, 211, 0.35)
  );
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.75rem;
  box-shadow:
    0 0 20px rgba(124, 58, 237, 0.45),
    inset 0 0 10px rgba(255,255,255,0.05);
}

/* Hover elegante */
.workflow-step:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 70px rgba(124, 58, 237, 0.35),
    0 0 60px rgba(124, 58, 237, 0.25);
}

/* Glow interno no hover */
.workflow-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(124, 58, 237, 0.15),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.workflow-step:hover::after {
  opacity: 1;
}
.n8n-flow-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.35;
}

.n8n-flow-bg svg {
  width: 100%;
  height: 100%;
}

/* Linha do fluxo */
.flow-track path {
  fill: none;
  stroke: rgba(124,58,237,0.85);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 220 1400;
  stroke-dashoffset: 1600;
  animation: flowPulse 6s linear infinite;
}

/* Animação */
@keyframes flowPulse {
  0% {
    stroke-dashoffset: 1600;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.logo-svg {
  height: 34px;
}

/* Linha que percorre o contorno */
.logo-flow {
  fill: none;
  stroke: #7c3aed;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 180;
  stroke-dashoffset: 180;

  filter: drop-shadow(0 0 8px rgba(124,58,237,.8));

  animation: logoTrace 4.5s ease-in-out infinite;
}

@keyframes logoTrace {
  0% {
    stroke-dashoffset: 180;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
.logo-wrapper {
  height: 34px;
  display: flex;
  align-items: center;
}

.logo-png {
  height: 34px;
  width: auto;
  filter: invert(1);
}
.n8n-flow-bg {
  opacity: 0.18; /* antes estava forte demais */
}

.flow-track path {
  stroke-width: 1.4;
  animation-duration: 10s; /* mais lento */
}
.n8n-flow-bg {
  opacity: 0.25;
  transform: translateY(0);
  transition: opacity 0.2s linear, transform 0.2s linear;
}
.logo-png {
  filter: invert(1) drop-shadow(0 0 0 rgba(124,58,237,0));
  transition: filter 0.2s linear;
}
@keyframes logoPulse {
  0%   { filter: invert(1) drop-shadow(0 0 0 rgba(124,58,237,0)); }
  50%  { filter: invert(1) drop-shadow(0 0 14px rgba(124,58,237,0.6)); }
  100% { filter: invert(1) drop-shadow(0 0 0 rgba(124,58,237,0)); }
}

.logo-png {
  animation: logoPulse 1.4s ease-out 0.3s both;
}
.brain-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}

.brain-lines path {
  fill: none;
  stroke: url(#brainGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 200 1200;
  stroke-dashoffset: 1400;
  animation: brainFlow 8s linear infinite;
}

.brain-nodes circle {
  fill: #a78bfa;
  opacity: 0.85;
}

@keyframes brainFlow {
  0%   { stroke-dashoffset: 1400; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
/* =========================================================
   TRUST / LOGOS
========================================================= */
.trust {
  padding: 100px 0; /* +20px geral */
  text-align: center;
}

.trust-title {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  margin-bottom: 48px;
}

/* Container */
.trust-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 80px; /* +20px */
  display: flex;
  align-items: center;
}

/* Fade lateral */
.trust-carousel::before,
.trust-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.trust-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.trust-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

/* Track */
.trust-track {
  display: flex;
  align-items: center;
  gap: 220px; /* +20px */
  width: max-content;
  animation: trustScroll 22s linear infinite;
}

/* Logos base */
.trust-logo {
  height: 60px; /* +20px */
  width: auto;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.15);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Logos com texto (mais largas) */
.trust-logo.text-logo {
  height: 72px; /* +20px */
  opacity: 0.65;
}

/* Hover */
.trust-logo:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

/* Animação infinita correta */
@keyframes trustScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
select {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-soft); /* 🔥 cinza como placeholder */
  font-family: 'Inter', sans-serif;
  appearance: none;
}

/* Quando o usuário seleciona algo */
select:focus,
select:valid {
  color: var(--text); /* branco */
}


.subtitle.small {
  margin-top: 0.2rem; /* controla a distância */
  font-size: 0.85rem;
  color: #9aa0a6;
  opacity: 0.85;
}

/* =========================================================
   MOBILE REFINES
========================================================= */
@media (max-width: 900px) {
  .nav {
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 12px;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    display: none;
    grid-column: 1 / -1;
  }

  .nav-links a {
    text-align: center;
  }

  .cta-nav {
    width: 100%;
    text-align: center;
  }

  .logo,
  .logo-png {
    justify-self: start;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
  }

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

  .hero {
    padding: 60px 18px 100px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 7vw, 3rem);
  }

  .hero p {
    margin: 20px auto 32px;
    font-size: 1rem;
  }

  .container {
    padding: 80px 18px;
  }

  .workflow-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .workflow-badge {
    align-self: flex-start;
  }

  .home-flow-visual {
    flex-direction: column;
    gap: 12px;
  }

  .home-flow-step {
    width: 100%;
  }

  .home-flow-content {
    margin-top: 28px;
    padding: 22px;
  }

  .services-hero {
    padding: 120px 18px;
  }

  .flow-visual {
    gap: 20px;
  }

  .flow-card {
    min-width: 0;
    width: 100%;
  }

  .trust {
    padding: 70px 0;
  }

  .trust-carousel {
    height: 60px;
  }

  .trust-track {
    gap: 120px;
  }

  .trust-logo {
    height: 42px;
  }

  .trust-logo.text-logo {
    height: 52px;
  }

  form {
    margin-top: 30px;
    gap: 12px;
  }

  .cta-main {
    width: 100%;
    padding: 16px 28px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 56px 16px 72px;
  }

  .container {
    padding: 60px 16px;
  }

  .trust-track {
    gap: 90px;
  }
}

/* =========================================================
   TEXT HIGHLIGHT (GRADIENTE)
========================================================= */
.text-highlight {
  background: linear-gradient(135deg, var(--purple-glow), var(--purple-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================================
   HERO TAG (BADGE SUPERIOR)
========================================================= */
.hero-tag {
  display: inline-block;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.35);
  color: var(--purple-glow);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

/* =========================================================
   HERO CTAs (DOIS BOTÕES)
========================================================= */
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cta-ghost {
  padding: 18px 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  transition: border-color .3s ease, background .3s ease;
  cursor: pointer;
}

.cta-ghost:hover {
  border-color: rgba(124,58,237,.5);
  background: rgba(124,58,237,.08);
}

/* HERO PULSE (camada extra de glow animado) */
.hero::after {
  content: "";
  position: absolute;
  inset: -200px;
  background: radial-gradient(circle at 50% 50%, rgba(124,58,237,.1), transparent 55%);
  z-index: -1;
  animation: heroPulse 7s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1);    opacity: 0.6; }
  50%       { transform: scale(1.1); opacity: 1;   }
}

/* =========================================================
   SOCIAL PROOF BAR
========================================================= */
.proof-bar {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.proof-bar-text {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.proof-logos {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
}

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

.proof-logos::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.proof-logos::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.proof-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 200px;
  width: max-content;
  position: absolute;
  animation: trustScroll 22s linear infinite;
}

.proof-logo {
  flex-shrink: 0;
  height: 52px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(1) brightness(1.2);
  transition: opacity .25s ease;
}

.proof-logo.text-logo {
  height: 64px;
}

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

/* =========================================================
   HOW IT WORKS WRAPPER
========================================================= */
.how-it-works {
  max-width: 1200px;
  margin: auto;
  padding: 100px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================================================
   STEPS GRID
========================================================= */
.steps-section {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px 100px;
  text-align: center;
}

.steps-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 16px 0 52px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step-card {
  background: linear-gradient(180deg, rgba(20,20,20,.9), rgba(5,1,13,.9));
  border: 1px solid rgba(124,58,237,.18);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(124,58,237,.28), 0 0 50px rgba(124,58,237,.12);
}

.step-number {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(167,139,250,.35);
  letter-spacing: 0.08em;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  display: block;
}

.step-card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 10px;
}

.step-card p {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

.step-badge {
  background: linear-gradient(135deg, rgba(124,58,237,.28), rgba(79,70,229,.28));
  color: var(--purple-glow);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* =========================================================
   INTEGRAÇÕES — DUAL CAROUSEL
========================================================= */
.integrations-section {
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.integrations-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 16px auto 16px;
  max-width: 800px;
  padding: 0 24px;
}

.integrations-sub {
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 52px;
}

.integ-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

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

.integ-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.integ-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.integ-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  width: max-content;
  position: absolute;
}

.track-left {
  animation: scrollLeft 28s linear infinite;
}

.track-right {
  animation: scrollRight 28s linear infinite;
}

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

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

.integ-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(25,15,40,.95), rgba(5,1,13,.95));
  border: 1px solid rgba(124,58,237,.2);
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.integ-chip:hover {
  border-color: rgba(124,58,237,.5);
  box-shadow: 0 0 20px rgba(124,58,237,.2);
}

.integ-cta {
  display: inline-block;
  margin-top: 52px;
}

/* =========================================================
   SUBTITLE HIGHLIGHT
========================================================= */
.subtitle-highlight {
  color: var(--purple-glow);
  font-weight: 600;
}

/* =========================================================
   CHAT FLUTUANTE
========================================================= */
.chat-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  appearance: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  color: #f8fafc;
  background:
    linear-gradient(145deg, rgba(26,10,58,.97) 0%, rgba(14,8,30,.96) 100%);
  border: 1px solid rgba(139,92,246,.35);
  box-shadow:
    0 0 0 1px rgba(139,92,246,.14),
    0 4px 6px rgba(5,1,13,.22),
    0 20px 48px rgba(5,1,13,.54),
    inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  overflow: hidden;
  isolation: isolate;
  will-change: transform, opacity, filter;
  transition:
    transform .34s cubic-bezier(.22,1,.36,1),
    opacity .24s ease,
    filter .34s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

/* Shimmer sweep */
.chat-float::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(192,132,252,.1) 50%,
    transparent 75%
  );
  background-size: 200% 100%;
  animation: cfShimmer 5s ease-in-out infinite;
  pointer-events: none;
}

/* Inner edge highlight */
.chat-float::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}

.chat-float:hover {
  transform: translateY(-5px);
  border-color: rgba(167,139,250,.65);
  box-shadow:
    0 0 0 1px rgba(139,92,246,.28),
    0 0 55px rgba(124,58,237,.32),
    0 28px 64px rgba(5,1,13,.64),
    inset 0 1px 0 rgba(255,255,255,.1);
}

.chat-float.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.94);
  filter: blur(8px);
}

.chat-float:focus-visible {
  outline: 2px solid rgba(167,139,250,.72);
  outline-offset: 4px;
}

/* ── Avatar Ring (borda girando) ─────────────── */
.chat-float__avatar-ring {
  position: relative;
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
}

.chat-float__avatar-ring::before {
  content: "";
  position: absolute;
  width: 160%;
  height: 160%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    #7C3AED 0deg,
    #A855F7 80deg,
    #EC4899 160deg,
    #C084FC 240deg,
    #7C3AED 360deg
  );
  animation: cfRingRotate 3.5s linear infinite;
  z-index: 0;
}

/* ── Avatar ─────────────────────────────────── */
.chat-float__avatar {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  margin: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, #4C1D95 0%, #6D28D9 50%, #7C3AED 100%);
  overflow: hidden;
}

/* Aurora interna */
.chat-float__avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(192,132,252,.55), transparent 55%),
    radial-gradient(ellipse at 78% 82%, rgba(236,72,153,.28), transparent 55%);
  animation: cfAuroraMove 5s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Gloss no topo */
.chat-float__avatar::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 42%;
  background: linear-gradient(to bottom, rgba(255,255,255,.16), transparent);
  border-radius: 18px 18px 0 0;
  pointer-events: none;
}

.chat-float__icon {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(192,132,252,.8));
  animation: cfIconPulse 3.2s ease-in-out infinite;
}

/* ── Copy ────────────────────────────────────── */
.chat-float__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-float__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(226,232,240,.6);
}

.chat-float__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #34d399, #22c55e);
  box-shadow: 0 0 0 3px rgba(52,211,153,.18);
  animation: cfDotPulse 2.4s ease-in-out infinite;
}

.chat-float__title {
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 700;
  background: linear-gradient(100deg, #f1f5f9 20%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.chat-float__subtitle {
  font-size: 0.76rem;
  line-height: 1.25;
  color: rgba(226,232,240,.58);
  white-space: nowrap;
}

/* ── Arrow ───────────────────────────────────── */
.chat-float__arrow {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #e2e8f0;
  background: linear-gradient(135deg, rgba(124,58,237,.32), rgba(109,40,217,.22));
  border: 1px solid rgba(167,139,250,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}

.chat-float__arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

.chat-float:hover .chat-float__arrow {
  transform: translateX(3px) translateY(-2px);
  background: linear-gradient(135deg, rgba(167,139,250,.52), rgba(124,58,237,.38));
  box-shadow: 0 0 20px rgba(167,139,250,.5), inset 0 1px 0 rgba(255,255,255,.15);
}

.site-chat {
  position: fixed;
  right: 28px;
  bottom: 176px;
  z-index: 998;
  width: min(388px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 180px));
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.97), rgba(10,14,28,.94));
  border: 1px solid rgba(148,163,184,.18);
  box-shadow:
    0 32px 70px rgba(5,1,13,.56),
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 1px rgba(96,165,250,.06);
  backdrop-filter: blur(18px);
  opacity: 0;
  filter: blur(14px);
  transform: translateY(22px) scale(0.965);
  transform-origin: right bottom;
  pointer-events: none;
  will-change: transform, opacity, filter;
  transition:
    opacity .26s ease,
    transform .42s cubic-bezier(.16,1,.3,1),
    filter .34s ease,
    width .42s cubic-bezier(.16,1,.3,1),
    height .42s cubic-bezier(.16,1,.3,1),
    max-height .42s cubic-bezier(.16,1,.3,1),
    right .42s cubic-bezier(.16,1,.3,1),
    bottom .42s cubic-bezier(.16,1,.3,1);
}

.site-chat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 112px;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at top left, rgba(125,211,252,.14), rgba(125,211,252,0) 46%),
    radial-gradient(circle at top right, rgba(167,139,250,.14), rgba(167,139,250,0) 44%);
  pointer-events: none;
}

.site-chat.is-open {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.site-chat.is-expanded {
  right: 28px;
  bottom: 28px;
  width: min(720px, calc(100vw - 56px));
  height: min(760px, calc(100vh - 56px));
  max-height: none;
}

.site-chat.is-expanded .site-chat__messages {
  min-height: 0;
  max-height: none;
  flex: 1 1 auto;
}

.site-chat > * {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity .24s ease,
    transform .42s cubic-bezier(.22,1,.36,1);
}

.site-chat.is-open > * {
  opacity: 1;
  transform: translateY(0);
}

.site-chat.is-open .site-chat__header {
  transition-delay: .04s;
}

.site-chat.is-open .site-chat__messages {
  transition-delay: .08s;
}

.site-chat.is-open .site-chat__quick-actions {
  transition-delay: .12s;
}

.site-chat.is-open .site-chat__composer {
  transition-delay: .16s;
}

.site-chat__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.site-chat__header-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.site-chat__header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-chat__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(191,219,254,.74);
}

.site-chat__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #67e8f9, #22c55e);
  box-shadow: 0 0 0 4px rgba(34,197,94,.14);
}

.site-chat__title {
  font-size: 1rem;
  line-height: 1.1;
  color: #f8fafc;
}

.site-chat__description {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.45;
  color: rgba(226,232,240,.74);
}

.site-chat__expand,
.site-chat__close {
  position: relative;
  flex-shrink: 0;
  appearance: none;
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  color: #f8fafc;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.site-chat__close span {
  position: absolute;
  width: 14px;
  height: 1.8px;
  border-radius: 999px;
  background: currentColor;
}

.site-chat__expand {
  place-items: center;
}

.site-chat__expand-icon {
  width: 16px;
  height: 16px;
}

.site-chat__expand-icon--collapse {
  display: none;
}

.site-chat.is-expanded .site-chat__expand-icon--expand {
  display: none;
}

.site-chat.is-expanded .site-chat__expand-icon--collapse {
  display: block;
}

.site-chat__close span:first-child {
  transform: rotate(45deg);
}

.site-chat__close span:last-child {
  transform: rotate(-45deg);
}

.site-chat__expand:hover,
.site-chat__close:hover {
  background: rgba(255,255,255,.12);
}

.site-chat__close:hover {
  transform: rotate(90deg);
}

.site-chat__messages {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 172px;
  max-height: 286px;
  padding-right: 4px;
  overflow-y: auto;
}

.site-chat__messages:empty {
  display: none;
  min-height: 0;
  max-height: 0;
  padding-right: 0;
  transition: none;
}

.site-chat__message {
  display: flex;
}

.site-chat__message--bot {
  justify-content: flex-start;
}

.site-chat__message--user {
  justify-content: flex-end;
}

.site-chat__bubble {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.site-chat__message--bot .site-chat__bubble {
  background: rgba(15,23,42,.68);
  border: 1px solid rgba(125,211,252,.12);
  color: rgba(241,245,249,.94);
  border-top-left-radius: 8px;
}

.site-chat__message--user .site-chat__bubble {
  background: linear-gradient(135deg, rgba(99,102,241,.92), rgba(125,211,252,.82));
  color: #eff6ff;
  border-top-right-radius: 8px;
  box-shadow: 0 12px 24px rgba(79,70,229,.24);
}

.site-chat__message--typing .site-chat__bubble {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-chat__typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(226,232,240,.88);
  animation: chatTyping 1s ease-in-out infinite;
}

.site-chat__typing-dot:nth-child(2) {
  animation-delay: .12s;
}

.site-chat__typing-dot:nth-child(3) {
  animation-delay: .24s;
}

.site-chat__quick-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-chat__quick-action {
  appearance: none;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.04);
  color: rgba(241,245,249,.9);
  border-radius: 999px;
  padding: 9px 12px;
  font: inherit;
  font-size: 0.78rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.site-chat__quick-action:hover {
  background: rgba(96,165,250,.12);
  border-color: rgba(96,165,250,.28);
  transform: translateY(-1px);
}

.site-chat__quick-action:disabled {
  opacity: .56;
  cursor: not-allowed;
  transform: none;
}

.site-chat__composer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.site-chat__input {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(2,6,23,.58);
  color: #f8fafc;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.site-chat__input::placeholder {
  color: rgba(148,163,184,.72);
}

.site-chat__input:focus {
  border-color: rgba(125,211,252,.34);
  box-shadow: 0 0 0 4px rgba(96,165,250,.1);
}

.site-chat__input:disabled {
  opacity: .74;
  cursor: wait;
}

.site-chat__send {
  appearance: none;
  border: 0;
  border-radius: 16px;
  padding: 13px 16px;
  font: inherit;
  font-weight: 700;
  color: #eff6ff;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}

.site-chat__send:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.site-chat__send:disabled {
  opacity: .72;
  cursor: wait;
  transform: none;
  filter: none;
}

@keyframes chatTyping {
  0%, 100% {
    transform: translateY(0);
    opacity: .45;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes cfDotPulse {
  0%, 100% { box-shadow: 0 0 0 0px rgba(52,211,153,.4); }
  50%       { box-shadow: 0 0 0 5px rgba(52,211,153,.0); }
}

@keyframes cfRingRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes cfAuroraMove {
  0%   { opacity: .65; transform: scale(1) translate(0%, 0%); }
  100% { opacity: 1;   transform: scale(1.2) translate(8%, 6%); }
}

@keyframes cfIconPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 2px 12px rgba(192,132,252,.8));
  }
  50% {
    transform: scale(1.12) rotate(18deg);
    filter: drop-shadow(0 3px 18px rgba(192,132,252,1));
  }
}

@keyframes cfShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes chatFloatTilt {
  0%, 100% {
    transform: rotate(0deg) translateY(0);
  }
  34% {
    transform: rotate(-2.4deg) translateY(-1px);
  }
  70% {
    transform: rotate(.8deg) translateY(0);
  }
}

@media (prefers-color-scheme: light) {
  .chat-float {
    color: #0f172a;
    background:
      linear-gradient(135deg, rgba(255,255,255,.96), rgba(237,242,255,.9));
    border-color: rgba(79,70,229,.12);
    box-shadow:
      0 18px 38px rgba(15,23,42,.16),
      inset 0 1px 0 rgba(255,255,255,.92);
  }

  .chat-float::after {
    border-color: rgba(15,23,42,.05);
  }

  .chat-float__avatar {
    background:
      radial-gradient(circle at 28% 24%, rgba(45,212,191,.16), rgba(45,212,191,0) 30%),
      radial-gradient(circle at 74% 76%, rgba(129,140,248,.14), rgba(129,140,248,0) 34%),
      linear-gradient(180deg, rgba(255,255,255,.92), rgba(226,232,240,.74));
    border-color: rgba(79,70,229,.12);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.94),
      0 12px 26px rgba(15,23,42,.1);
  }

  .chat-float__emoji-shell {
    background:
      linear-gradient(180deg, rgba(255,255,255,.96), rgba(226,232,240,.82));
    border-color: rgba(79,70,229,.12);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.96),
      0 10px 22px rgba(79,70,229,.08);
  }

  .chat-float__emoji-shell::before {
    border-color: rgba(79,70,229,.08);
  }

  .chat-float__eyebrow {
    color: rgba(51,65,85,.7);
  }

  .chat-float__title {
    color: #0f172a;
  }

  .chat-float__subtitle {
    color: rgba(51,65,85,.82);
  }

  .chat-float__arrow {
    color: #0f172a;
    background: rgba(79,70,229,.08);
    border-color: rgba(79,70,229,.12);
  }

  .site-chat {
    background:
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(240,244,255,.94));
    border-color: rgba(79,70,229,.12);
    box-shadow:
      0 24px 52px rgba(15,23,42,.16),
      inset 0 1px 0 rgba(255,255,255,.92);
  }

  .site-chat__title {
    color: #0f172a;
  }

  .site-chat__description {
    color: rgba(51,65,85,.78);
  }

  .site-chat__expand,
  .site-chat__close {
    background: rgba(79,70,229,.08);
    color: #0f172a;
  }

  .site-chat__message--bot .site-chat__bubble {
    background: rgba(255,255,255,.82);
    border-color: rgba(79,70,229,.12);
    color: #0f172a;
  }

  .site-chat__quick-action {
    background: rgba(79,70,229,.04);
    border-color: rgba(79,70,229,.12);
    color: #0f172a;
  }

  .site-chat__input {
    background: rgba(255,255,255,.88);
    border-color: rgba(79,70,229,.12);
    color: #0f172a;
  }

  .site-chat__input::placeholder {
    color: rgba(51,65,85,.62);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-float,
  .chat-float__arrow,
  .site-chat,
  .site-chat__header,
  .site-chat__messages,
  .site-chat__quick-actions,
  .site-chat__composer,
  .site-chat__expand,
  .site-chat__close,
  .site-chat__quick-action,
  .site-chat__send {
    transition: none;
  }

  .chat-float:hover .chat-float__emoji-shell,
  .chat-float:hover .chat-float__emoji {
    animation: none;
  }

  .site-chat__typing-dot {
    animation: none;
  }
}

/* =========================================================
   NAVBAR SCROLL — RESPONSIVO
========================================================= */
@media (max-width: 900px) {
  header.scrolled {
    width: calc(100% - 24px);
    border-radius: 20px;
    top: 8px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .cta-ghost {
    width: 100%;
    text-align: center;
    padding: 16px 28px;
  }

  .how-it-works {
    padding: 80px 18px;
  }

  .steps-section {
    padding: 0 18px 80px;
  }

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

  .integrations-section {
    padding: 80px 0;
  }

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

  .faq-section {
    padding: 80px 18px;
  }
}

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

/* =========================================================
   URGÊNCIA BAR (TOPO)
========================================================= */
.urgency-bar {
  position: relative;
  z-index: 99;
  background: rgba(79,70,229,.12);
  border-bottom: 1px solid rgba(79,70,229,.25);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.82rem;
  color: #c4b5fd;
  margin-top: 70px; /* empurra para baixo do header fixo */
}

.urgency-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 8px;
  animation: dotPulse 1.5s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.3); }
}

.urgency-bar strong {
  color: #fff;
}

.urgency-link {
  color: #a78bfa;
  font-weight: 600;
  margin-left: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.urgency-link:hover {
  color: #fff;
}

/* =========================================================
   HERO PROOF BADGES
========================================================= */
.hero-proof {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-proof span {
  font-size: 0.82rem;
  color: #9ca3af;
  font-weight: 500;
}

/* TYPING ANIMATION */
.typing-wrapper {
  display: inline-block;
}

.typing-text {
  background: linear-gradient(135deg, var(--purple-glow), var(--purple-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-cursor {
  display: inline-block;
  color: var(--purple-glow);
  font-weight: 300;
  animation: blink .75s step-end infinite;
  margin-left: 2px;
  -webkit-text-fill-color: var(--purple-glow);
}

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

/* =========================================================
   STATS SECTION
========================================================= */
.stats-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

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

.stat-card {
  background: linear-gradient(180deg, rgba(20,20,20,.9), rgba(5,1,13,.9));
  border: 1px solid rgba(124,58,237,.18);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(124,58,237,.2);
}

.stat-top {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
}

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple-glow), var(--purple-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-unit {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple-glow);
}

.stat-card p {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}

/* =========================================================
   CARD ICON (para dores)
========================================================= */
.card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

/* =========================================================
   FAQ SECTION
========================================================= */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 24px;
}

.faq-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 16px 0 52px;
  text-align: center;
}

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

.faq-item {
  background: linear-gradient(180deg, rgba(20,20,20,.9), rgba(5,1,13,.9));
  border: 1px solid rgba(124,58,237,.18);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.faq-item.open {
  border-color: rgba(124,58,237,.45);
  box-shadow: 0 0 30px rgba(124,58,237,.1);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-align: left;
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s ease;
}

.faq-q:hover {
  color: var(--purple-glow);
}

.faq-arrow {
  font-size: 1.1rem;
  color: var(--purple-glow);
  transition: transform .35s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(0.16,1,0.3,1),
              padding .4s cubic-bezier(0.16,1,0.3,1);
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a p {
  padding: 0 24px 22px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

.faq-a strong {
  color: var(--purple-glow);
}

/* =========================================================
   CONTATO HEADER
========================================================= */
.contato-header {
  text-align: center;
  margin-bottom: 48px;
}

.contato-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.25);
  color: #86efac;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .urgency-bar {
    font-size: 0.75rem;
    padding: 9px 16px;
    margin-top: 65px;
  }

  .hero-proof {
    gap: 16px;
    margin-top: 24px;
  }

  .faq-section {
    padding: 80px 18px;
  }

  .stats-section {
    padding: 0 18px 60px;
  }
}

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

  .chat-float {
    right: 16px;
    bottom: 16px;
    min-width: 300px;
    gap: 12px;
    padding: 8px 12px 8px 8px;
  }

  .chat-float__avatar {
    width: 98px;
    height: 98px;
  }

  .chat-float__eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
  }

  .chat-float__title {
    font-size: 0.9rem;
  }

  .chat-float__subtitle {
    font-size: 0.74rem;
  }

  .chat-float__arrow {
    width: 30px;
    height: 30px;
  }

  .site-chat {
    right: 16px;
    bottom: 162px;
    width: calc(100vw - 32px);
    max-height: min(560px, calc(100vh - 148px));
    padding: 16px;
  }

  .site-chat.is-expanded {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
    height: min(700px, calc(100vh - 32px));
  }
}

@media (max-width: 420px) {
  .chat-float {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    min-width: 0;
    max-width: 340px;
  }

  .chat-float__avatar {
    width: 88px;
    height: 88px;
  }

  .chat-float__subtitle {
    display: none;
  }

  .site-chat {
    right: 12px;
    bottom: 152px;
    width: calc(100vw - 24px);
    padding: 14px;
    border-radius: 24px;
  }

  .site-chat.is-expanded {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    height: calc(100vh - 24px);
  }

  .site-chat__quick-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-chat__composer {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   HERO — 2 COLUNAS (DESKTOP)
========================================================= */
.hero {
  text-align: left;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.hero-content h1 {
  text-align: left;
  margin: 0 0 24px;
}

.hero-content p {
  text-align: left;
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-content .hero-tag {
  margin-bottom: 24px;
}

.hero-content .hero-ctas {
  justify-content: flex-start;
  margin-top: 0;
}

.hero-content .hero-proof {
  justify-content: flex-start;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content { align-items: center; }
  .hero-content h1 { text-align: center; margin: 0 auto 24px; }
  .hero-content p { text-align: center; margin: 0 auto 32px; }
  .hero-content .hero-ctas { justify-content: center; }
  .hero-content .hero-proof { justify-content: center; }
  .hero-visual { display: none; }
}

/* =========================================================
   HERO DOT GRID BACKGROUND
========================================================= */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(124,58,237,.18) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* =========================================================
   HERO VISUAL — FLOATING TERMINAL
========================================================= */
.hero-visual {
  position: relative;
  animation: visualFloat 6s ease-in-out infinite;
}

@keyframes visualFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

.hero-terminal {
  background: linear-gradient(170deg, rgba(15,8,35,0.97) 0%, rgba(5,1,13,0.97) 100%);
  border: 1px solid rgba(124,58,237,.32);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,.7),
    0 0 80px rgba(124,58,237,.13),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.terminal-bar {
  background: rgba(124,58,237,.09);
  border-bottom: 1px solid rgba(124,58,237,.16);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.terminal-title {
  margin-left: 8px;
  font-size: 0.7rem;
  color: rgba(167,139,250,.5);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.04em;
}

.terminal-body {
  padding: 20px 22px 22px;
  font-family: 'Courier New', 'Fira Code', monospace;
  min-height: 220px;
}

.terminal-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.78rem;
  line-height: 2;
  color: #c4b5fd;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}

.terminal-line.visible {
  opacity: 1;
  transform: translateY(0);
}

.terminal-line.t-success { color: #86efac; }
.terminal-line.t-running { color: #fbbf24; }
.terminal-line.t-dim     { color: rgba(124,58,237,.35); font-size: 0.68rem; }
.terminal-line.t-result  { color: #a78bfa; font-weight: 700; }

.t-time {
  margin-left: auto;
  color: rgba(167,139,250,.4);
  font-size: 0.68rem;
  flex-shrink: 0;
}

.hero-badge-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.hero-badge-chip {
  background: rgba(124,58,237,.08);
  border: 1px solid rgba(124,58,237,.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.73rem;
  color: #c4b5fd;
  font-weight: 500;
  transition: border-color .3s ease, background .3s ease;
  cursor: default;
}

.hero-badge-chip:hover {
  background: rgba(124,58,237,.15);
  border-color: rgba(124,58,237,.45);
}

/* =========================================================
   BUTTON SHIMMER
========================================================= */
.cta-main {
  position: relative;
  overflow: hidden;
}

.cta-main::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btnShimmer {
  0%   { left: -100%; }
  35%  { left: 140%;  }
  100% { left: 140%;  }
}

/* =========================================================
   STAT CARDS — TOP GLOW LINE
========================================================= */
.stat-card {
  position: relative;
  /* overflow: hidden removido — causava clip no conteúdo mobile */
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.75), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

/* =========================================================
   STEP CARDS — INNER MOUSE GLOW  (JS injects --mx --my)
========================================================= */
.step-card {
  will-change: transform;
  transition: transform .12s ease-out, box-shadow .3s ease !important;
  overflow: hidden;
}

.step-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(124,58,237,.16), transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.step-card:hover::after {
  opacity: 1;
}

/* =========================================================
   STEPS CONNECTOR LINE
========================================================= */
.steps-grid {
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 66px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    rgba(124,58,237,.25) 20%,
    rgba(79,70,229,.25) 80%,
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  .steps-grid::before { display: none; }
}

/* =========================================================
   BEFORE / AFTER COMPARISON SECTION
========================================================= */
.compare-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
}

.compare-section h2 {
  margin: 16px 0 52px;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: stretch;
  gap: 0;
}

.compare-col {
  background: linear-gradient(180deg, rgba(20,20,20,.9), rgba(5,1,13,.9));
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
}

.compare-col.before {
  border-color: rgba(239,68,68,.18);
}

.compare-col.before:hover {
  box-shadow: 0 20px 60px rgba(239,68,68,.08);
}

.compare-col.after {
  border-color: rgba(34,197,94,.22);
  background: linear-gradient(180deg, rgba(10,25,12,.95), rgba(5,12,6,.95));
}

.compare-col.after:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(34,197,94,.12), 0 0 60px rgba(34,197,94,.06);
}

.compare-header {
  margin-bottom: 28px;
}

.compare-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.before-label {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  color: #fca5a5;
}

.after-label {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  color: #86efac;
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-list li {
  font-size: 0.91rem;
  color: var(--text-soft);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.compare-list li::before {
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}

.compare-col.before .compare-list li::before {
  content: '✗';
  color: #ef4444;
}

.compare-col.after .compare-list li::before {
  content: '✓';
  color: #22c55e;
}

.compare-col.after .compare-list li {
  color: #d1fae5;
}

.compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: rgba(124,58,237,.5);
}

@media (max-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .compare-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
    font-size: 1.2rem;
  }
  .compare-col {
    padding: 28px 22px;
  }
}

@media (max-width: 900px) {
  .compare-section {
    padding: 80px 18px;
  }
}

/* =========================================================
   CARD ICON — SUBTLE GLOW PULSE
========================================================= */
.card:hover .card-icon {
  animation: iconPulse .5s ease-out;
}

@keyframes iconPulse {
  0%   { transform: scale(1);    }
  40%  { transform: scale(1.25); }
  100% { transform: scale(1);    }
}

/* =========================================================
   FAQ ITEMS — IMPROVED HOVER
========================================================= */
.faq-q:hover .faq-arrow {
  color: var(--purple-glow);
  transform: translateY(2px);
}

.faq-item.open .faq-q:hover .faq-arrow {
  transform: rotate(180deg) translateY(-2px);
}

/* =========================================================
   FOOTER ENHANCED
========================================================= */
footer {
  background: linear-gradient(to top, rgba(5,1,13,1), rgba(11,2,32,.4));
}

/* =========================================================
   INTEGRATIONS CHIP — GLOW ON HOVER
========================================================= */
.integ-chip:hover {
  border-color: rgba(124,58,237,.55);
  box-shadow: 0 0 24px rgba(124,58,237,.22);
  color: #e9d5ff;
}

/* =========================================================
   SECTION TRANSITION — SCROLL REVEAL STAGGER
========================================================= */
.steps-grid .step-card:nth-child(1) { transition-delay: 0ms !important; }
.steps-grid .step-card:nth-child(2) { transition-delay: 80ms !important; }
.steps-grid .step-card:nth-child(3) { transition-delay: 160ms !important; }
.steps-grid .step-card:nth-child(4) { transition-delay: 240ms !important; }

.grid .card:nth-child(1) { transition-delay: 0ms !important; }
.grid .card:nth-child(2) { transition-delay: 60ms !important; }
.grid .card:nth-child(3) { transition-delay: 120ms !important; }
.grid .card:nth-child(4) { transition-delay: 180ms !important; }
.grid .card:nth-child(5) { transition-delay: 240ms !important; }
.grid .card:nth-child(6) { transition-delay: 300ms !important; }

/* =========================================================
   MOBILE FIXES GERAIS (≤ 600px)
========================================================= */
@media (max-width: 600px) {

  /* --- Hero h1: tamanho menor e typing-wrapper sem overflow --- */
  .hero h1 {
    font-size: clamp(1.75rem, 8.5vw, 2.2rem);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .typing-wrapper {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  /* --- Stats: 2 colunas compactas, números menores --- */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 22px 14px;
  }

  .stat-number {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .stat-unit {
    font-size: 1rem;
  }

  .stat-card p {
    font-size: 0.76rem;
  }

  /* --- Espaçamentos de seção menores --- */
  .how-it-works {
    padding: 44px 16px 40px;
  }

  .steps-section {
    padding: 0 16px 44px;
  }

  .compare-section {
    padding: 44px 16px;
  }

  .integrations-section {
    padding: 44px 0;
  }

  .faq-section {
    padding: 44px 16px;
  }

  .stats-section {
    padding: 0 16px 50px;
  }

  /* --- Títulos de seção menores --- */
  .steps-title,
  .home-flow-title,
  .faq-title,
  .compare-section h2,
  .integrations-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  /* --- Compare section: padding interno menor --- */
  .compare-col {
    padding: 24px 18px;
  }

  .compare-list {
    gap: 12px;
  }

  .compare-list li {
    font-size: 0.87rem;
  }

  /* --- Step cards: padding reduzido --- */
  .step-card {
    padding: 26px 20px;
  }

  /* --- Proof bar logo size --- */
  .proof-logo {
    height: 38px;
  }

  .proof-logo.text-logo {
    height: 46px;
  }

  /* --- Urgency bar: não quebrar estranhamente --- */
  .urgency-bar {
    font-size: 0.72rem;
    padding: 8px 12px;
    line-height: 1.5;
  }

  /* --- CTA ghost: menor --- */
  .cta-ghost {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
}
