/* ============================================================
   style-home.css
   Estilos exclusivos da página inicial
   (hero · marquee · serviços · clientes · processo ·
    resultados · cta-final)
   ============================================================ */


/* ── HERO ── */
.hero {
  height: 85vh;
  max-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-glow1 {
  position: absolute;
  top: -15%; right: -8%;
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(0,229,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow2 {
  position: absolute;
  bottom: -10%; left: 5%;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(61,255,160,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0,229,255,0.07);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--g2);
  margin-bottom: 1.4rem;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}

.hero-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--g2);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--g2);
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.25s forwards;
}

.hero-title .block { display: block; }

.hero-strike {
  color: rgba(255,255,255,0.72);
  position: relative;
  display: inline-block;
}

.hero-strike::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 52%;
  height: 4px;
  background: linear-gradient(90deg, #c0392b, #e74c3c, #ff6b6b, #e74c3c);
  transform: translateY(-50%) rotate(-1.8deg);
  border-radius: 3px;
  box-shadow: 0 1px 8px rgba(231, 76, 60, 0.55);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}

.hero-metrics {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.metric { display: flex; flex-direction: column; gap: 0.2rem; }

.metric-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.metric-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
}


/* ── MARQUEE ── */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
  background: rgba(0,229,255,0.02);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

.m-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--g2);
  flex-shrink: 0;
  opacity: 0.6;
}


/* ── SERVIÇOS ── */
.services {
  padding: 6rem 0;
  background: linear-gradient(160deg, #141c2c 0%, #2d6f7f 60%, #142155 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.services-intro {
  max-width: 360px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}

.svc-card {
  background: rgba(8,14,26,0.55);
  backdrop-filter: blur(8px);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.svc-card:hover { background: rgba(8,14,26,0.75); }

.svc-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  background: rgba(0,229,255,0.05);
  transition: border-color 0.3s;
  position: relative;
  z-index: 1;
}

.svc-card:hover .svc-icon { border-color: rgba(0,229,255,0.3); }

.svc-icon svg { width: 22px; height: 22px; }

.svc-n {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.25;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}

.svc-d {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.72;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.svc-num {
  position: absolute;
  top: 1.3rem; right: 1.3rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.05em;
}


/* ── CLIENTES ── */
.clients {
  padding: 5rem 0 4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.clients-header {
  text-align: center;
  margin-bottom: 3rem;
}

.clients-header .section-tag { justify-content: center; }
.clients-header .section-tag::before { display: none; }

.logos-carousel {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.logos-carousel::before,
.logos-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  width: 12rem;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

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

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

.logos-track {
  display: flex;
  width: max-content;
  animation: marquee 33s linear infinite;
  gap: 0;
}

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

.logo-item {
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}

.logo-item img {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.40;
  transition: opacity 0.3s;
}

.logo-item img:hover { opacity: 1; }


/* ── PROCESSO ── */
.process {
  background: var(--bg2);
}

.process-scroll-wrapper {
  height: 300vh;
}

.process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg2);
  clip-path: inset(0);
}

.step-item {
  opacity: 0;
  will-change: transform, opacity;
}

.process-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.process-intro {
  max-width: 360px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

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

.step-item {
  padding: 2.8rem 2.3rem;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.step-item:last-child { border-right: none; }
.step-item:hover { background: rgba(0,229,255,0.03); }

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}

.step-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--muted);
}

.step-arrow { color: var(--g2); font-size: 1.1rem; opacity: 0.5; }

.step-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: 0.02em;
}

.step-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

.step-bg-num {
  position: absolute;
  bottom: -0.5rem; right: 1rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 6.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
}


/* ── RESULTADOS ── */
.results {
  padding: 6rem 0;
  background: linear-gradient(160deg, #142155 0%, #141c2c 40%, #2d6f7f 100%);
  border-top: 1px solid var(--border);
}

.results-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.results-intro {
  max-width: 360px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

.numbers-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.num-card {
  padding: 2.3rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  background: rgba(8,14,26,0.4);
  backdrop-filter: blur(8px);
  transition: background 0.3s;
}

.num-card:last-child { border-right: none; }
.num-card:hover { background: rgba(8,14,26,0.6); }

.r-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.r-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.55;
}

.testi-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}

.testi-card {
  background: rgba(8,14,26,0.5);
  backdrop-filter: blur(8px);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  transition: background 0.2s;
}

.testi-card:hover { background: rgba(8,14,26,0.7); }

.testi-stars {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testi-quote {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  font-weight: 300;
  flex: 1;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #080c14;
  background: var(--gradient);
  flex-shrink: 0;
}

.testi-name { font-size: 0.83rem; font-weight: 600; }
.testi-role { font-size: 0.72rem; color: var(--muted); }


/* ── CTA FINAL ── */
.cta-final {
  padding: 7rem 0;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(0,229,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g2);
  margin-bottom: 1rem;
}

.cta-final-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}

.cta-final-sub {
  font-size: 0.97rem;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.cta-final-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}


/* ── RESPONSIVO — HOME ── */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-scroll-wrapper {
    height: auto;
  }

  .process-sticky {
    position: relative;
    height: auto;
    padding: 4rem 0;
  }

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

  .step-item {
    opacity: 1 !important;
    transform: none !important;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .step-item:last-child {
    border-bottom: none;
  }

  .logos-carousel::before,
  .logos-carousel::after {
    width: 4rem;
  }

  .numbers-row {
    grid-template-columns: 1fr;
  }

  .num-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .num-card:last-child {
    border-bottom: none;
  }
}
