/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --bg: #08080b;
  --bg-soft: #0c0c11;
  --panel: #101017;
  --panel-2: #14141c;
  --border: rgba(255,255,255,.08);
  --border-soft: rgba(255,255,255,.06);
  --text: #f5f5f7;
  --text-dim: #9a9aa5;
  --text-dimmer: #6b6b76;
  --blue: #3b6bff;
  --blue-light: #6f93ff;
  --blue-glow: #4f7bff;
  --radius: 18px;
  --ease: cubic-bezier(.22,1,.36,1);
}

html{ scroll-behavior: auto; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar{ width: 0; height: 0; display: none; }
body::-webkit-scrollbar{ width: 0; height: 0; display: none; }
html.lenis, html.lenis body{ height: auto; }
.lenis.lenis-smooth{ scroll-behavior: auto; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  cursor: default;
  position: relative;
}

/* ---------- Immersion layers ---------- */
.grain{
  position: fixed;
  inset: -100px;
  z-index: 998;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (pointer: fine){
  body{ cursor: none; }
  a, button{ cursor: none; }
}
.cursor-dot, .cursor-ring{
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 1000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot{
  width: 6px; height: 6px;
  background: var(--blue-light);
}
.cursor-ring{
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.35);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.cursor-ring.is-active{
  width: 60px; height: 60px;
  border-color: var(--blue-light);
  background: rgba(59,107,255,.1);
}
@media (pointer: coarse){
  .cursor-dot, .cursor-ring{ display: none; }
}

.container{
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

a{ text-decoration: none; color: inherit; }
button{ font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
svg{ width: 18px; height: 18px; display: block; }

::selection{ background: var(--blue); color: #fff; }

/* ---------- Progress bar ---------- */
.progress-bar{
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 999;
}

/* ---------- Header ---------- */
.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 0;
  transition: padding .5s var(--ease), top .5s var(--ease);
}
.header.is-scrolled{
  top: 14px;
  padding: 0;
}
.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: max-width .5s var(--ease), padding .5s var(--ease), background .5s var(--ease),
    border-color .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s var(--ease);
}
.header.is-scrolled .header__inner{
  max-width: 620px;
  padding: 10px 12px 10px 24px;
  background: rgba(14,14,20,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--border);
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.logo{
  display: flex;
  align-items: center;
}
.logo__img{
  height: 30px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(59,107,255,.35));
  transition: filter .3s var(--ease), transform .3s var(--ease);
}
.logo:hover .logo__img{ filter: drop-shadow(0 0 22px rgba(59,107,255,.6)); transform: translateY(-1px); }
.logo__img--footer{ height: 26px; }
.nav{ display: flex; align-items: center; gap: 12px; }
.nav__icon,
.nav__btn{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.nav__icon svg,
.nav__btn svg{ width: 17px; height: 17px; }
.nav__icon:hover{ background: rgba(111,147,255,.12); border-color: rgba(111,147,255,.5); }
.nav__btn:hover{ background: var(--blue); border-color: var(--blue); }

/* ---------- Section titles / eyebrow ---------- */
.eyebrow{
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
}
.section-title{
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}

/* ---------- Buttons / links ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.btn svg{ width: 16px; height: 16px; }
.btn--primary{
  position: relative;
  isolation: isolate;
  background: radial-gradient(120% 140% at 50% 120%, #7fb0ff 0%, var(--blue-light) 22%, var(--blue) 55%, #16255c 100%);
  color: #fff;
  box-shadow:
    0 2px 0 0 rgba(255,255,255,.18) inset,
    0 -14px 24px -10px rgba(111,147,255,.9) inset,
    0 14px 34px -10px rgba(59,107,255,.75);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s var(--ease);
}
.btn--primary::after{
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -10px;
  height: 22px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(111,147,255,.85), transparent 75%);
  filter: blur(10px);
  z-index: -1;
  opacity: .9;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.btn--primary:hover{
  transform: translateY(-2px);
  box-shadow:
    0 2px 0 0 rgba(255,255,255,.24) inset,
    0 -14px 26px -8px rgba(143,172,255,1) inset,
    0 18px 42px -8px rgba(59,107,255,.9);
}
.btn--primary:hover::after{ opacity: 1; transform: translateY(2px) scale(1.05); }
.btn--ghost{
  padding: 15px 26px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(6px);
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.btn--ghost:hover{
  color: var(--text);
  border-color: rgba(111,147,255,.5);
  background: rgba(111,147,255,.08);
  transform: translateY(-2px);
}
.btn--ghost:hover{ color: var(--text); border-color: var(--text); }

.link-arrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dim);
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow svg{ width: 15px; height: 15px; transition: transform .35s var(--ease); }
.link-arrow:hover{ color: var(--text); gap: 12px; }
.link-arrow:hover svg{ transform: translateX(3px); }
.link-arrow--sm{ font-size: 13px; }

.link-underline{
  font-size: 15px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link-underline:hover{ color: var(--text); border-color: var(--blue-light); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 78% 35%, rgba(59,107,255,.16), transparent 70%),
    var(--bg);
}
.hero__inner{
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__text{ max-width: 460px; }
.hero__title{
  font-size: clamp(32px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.reveal-line{ display: block; overflow: hidden; }
.reveal-line span{ display: inline-block; }
.hero__seven{
  font-style: normal;
  background: linear-gradient(120deg, var(--blue-light), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero__subtitle{
  margin-top: 26px;
  font-size: 17px;
  color: var(--text-dim);
  max-width: 420px;
  line-height: 1.6;
}
.hero__actions{
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero__visual{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  z-index: 1;
  perspective: 1400px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 34%, black 70%, transparent 96%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 34%, black 70%, transparent 96%);
}
.laptop{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  transform-style: preserve-3d;
}
.laptop__glow{
  position: absolute;
  width: 65%;
  height: 65%;
  right: 10%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(79,123,255,.5), transparent 65%);
  filter: blur(50px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.laptop__img{
  position: relative;
  z-index: 1;
  height: 94%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 40px 70px rgba(0,0,0,.55)) drop-shadow(0 0 50px rgba(59,107,255,.22));
}

/* ---------- Marquee CTA (scroll-driven reveal) ---------- */
.marquee-cta{
  position: relative;
  overflow: hidden;
  padding: 46px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(90deg, transparent, rgba(59,107,255,.05), transparent);
}
.marquee-cta__track{
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}
.marquee-cta__track span{
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}
.marquee-cta__outline{
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.6px var(--blue-light);
  paint-order: stroke fill;
  text-shadow: 0 0 1px var(--blue-light);
}
.marquee-cta__dot{
  color: var(--blue-light) !important;
  font-size: clamp(20px, 3vw, 32px) !important;
  -webkit-text-stroke: 0 !important;
}

/* ---------- Services ---------- */
.services{ padding: 160px 0; }
.services__title{ margin-bottom: 64px; }
.services__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: 1200px;
}
.service-card{
  position: relative;
  padding: 34px 28px 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .4s var(--ease), background .4s var(--ease);
  opacity: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card:hover{
  border-color: rgba(111,147,255,.4);
  background: var(--panel-2);
}
.service-card__icon,
.service-card__title,
.service-card__desc{ transform: translateZ(28px); }
.service-card__icon{
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(59,107,255,.12);
  color: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-card__title{ font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.service-card__desc{ font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.service-card__num{
  position: absolute;
  top: 32px; right: 28px;
  font-size: 12px;
  color: var(--text-dimmer);
  font-weight: 600;
}


/* ---------- Process ---------- */
.process{ padding: 100px 0 160px; }
.process__title{ margin-bottom: 90px; }
.process__timeline{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process__line{
  position: absolute;
  top: 22px;
  left: calc(12.5% + 4px);
  right: calc(12.5% + 4px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process__line-fill{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.process__step{
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px) scale(.92);
}
.process__dot{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 26px;
  box-shadow: 0 0 0 6px var(--bg), 0 8px 24px -6px rgba(59,107,255,.7);
}
.process__step h3{ font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.process__step p{ font-size: 14px; color: var(--text-dim); line-height: 1.6; max-width: 220px; }

/* ---------- Testimonials ---------- */
.testimonials{ padding: 100px 0 160px; }
.testimonials__head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}
.testimonials__nav{ display: flex; gap: 10px; }
.carousel-btn{
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.carousel-btn:hover{ background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }

.testimonials__track-wrap{ overflow: hidden; }
.testimonials__track{
  display: flex;
  gap: 24px;
}
.testimonial-card{
  flex: 0 0 calc(33.333% - 16px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 34px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}
.testimonial-card__quote{
  font-size: 46px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
  display: inline-block;
  opacity: 0;
}
.testimonial-card p{
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
}
.testimonial-card__author{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.avatar{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  flex-shrink: 0;
}
.avatar--2{ background: linear-gradient(135deg, #ff9a6f, #ff6b6b); }
.avatar--3{ background: linear-gradient(135deg, #6fffb0, #3bd68a); }
.testimonial-card__author strong{ display: block; font-size: 14px; font-weight: 600; }
.testimonial-card__author span{ font-size: 12px; color: var(--text-dim); }

/* ---------- CTA ---------- */
.cta{
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  background: #05060a;
  text-align: center;
}
.cta::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 320px;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(8,8,11,.6) 45%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.cta__bg{
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(59,107,255,.35), transparent 60%);
  transform: scale(1.4);
  z-index: 0;
}
.cta__lines{
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
  background-image:
    repeating-linear-gradient(115deg, rgba(111,147,255,.08) 0px, rgba(111,147,255,.08) 1px, transparent 1px, transparent 60px);
}
.cta__particles{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cta__particle{
  position: absolute;
  bottom: -10px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 8px 2px rgba(111,147,255,.6);
  opacity: 0;
}
.cta__inner{ position: relative; z-index: 2; }
.cta__title{
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.cta__subtitle{
  margin: 22px auto 0;
  color: var(--text-dim);
  font-size: 16px;
  max-width: 420px;
}
.cta__actions{
  margin-top: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer{ padding: 26px 0; border-top: 1px solid rgba(255,255,255,.05); }
.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy{ font-size: 12px; color: var(--text-dimmer); letter-spacing: .02em; }
.footer__social{ display: flex; gap: 24px; }
.footer__social a{ font-size: 12px; color: var(--text-dimmer); letter-spacing: .02em; transition: color .3s var(--ease); }
.footer__social a:hover{ color: var(--blue-light); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero{ flex-direction: column; align-items: stretch; padding-top: 90px; }
  .hero__visual{
    position: static;
    width: 100%;
    height: 300px;
    right: auto; top: auto; bottom: auto;
    margin-bottom: -40px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 32%, black 62%, transparent 96%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 32%, black 62%, transparent 96%);
  }
  .laptop{ align-items: flex-start; justify-content: center; }
  .laptop__glow{ right: 50%; top: 10%; bottom: auto; transform: translateX(50%); }
  .laptop__img{
    height: auto;
    width: 92%;
    max-width: 480px;
    object-position: top center;
  }
  .hero__inner{ padding-top: 20px; }
  .hero__text{ max-width: 100%; text-align: left; }
  .hero__title{ font-size: clamp(30px, 8.6vw, 40px); line-height: 1.16; }
  .hero__subtitle{ max-width: 100%; }
  .services__grid{ grid-template-columns: 1fr; }
  .process__timeline{ grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process__line{ display: none; }
  .testimonial-card{ flex: 0 0 100%; }
}

@media (max-width: 420px){
  .hero__title{ font-size: 28px; }
}

/* Rodape padrao do site, portado do produto.css com valores literais */
.site-footer { padding: 48px 32px; border-top: 1px solid rgba(255,255,255,0.08); display: grid; gap: 18px; }
.site-footer .foot-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: #FFFFFF; text-decoration: none; }
.site-footer .foot-logo img { height: 28px; width: auto; display: block; }
.site-footer .foot-logo .wordmark > span { color: #5f79ea; }
.site-footer .footer-contact a { color: #A0A0A0; font-size: 14.5px; text-decoration: none; }
.site-footer .footer-contact address { font-style: normal; color: #666666; font-size: 14px; margin-top: 4px; }
.site-footer .footer-copy { color: #666666; font-size: 13px; }
@media (max-width: 640px) { .site-footer { padding: 40px 18px; } }

/* CTA de cada card de solucao */
.service-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 600; color: #6f93ff; text-decoration: none; letter-spacing: .01em; transition: gap .3s cubic-bezier(.22,1,.36,1), color .3s ease; }
.service-card__cta:hover { gap: 10px; color: #9db4ff; }
.service-card__cta svg { width: 13px; height: 13px; flex-shrink: 0; }
