/* Layout da pagina (era tudo style="" inline em index.html). Cores e valores
   copiados 1:1 dos estilos inline originais — nenhuma mudanca visual aqui,
   so organizacao. Ordem das secoes segue a ordem do HTML. */

/* Utilitario reaproveitado nos poucos lugares que so trocavam a cor do azul
   da marca (estrela do logo, ponto do marquee, estrela do rodape). */
.text-accent { color: #4D7DFF; }

.page-root {
  font-family: 'Sora', 'Space Grotesk', sans-serif;
  color: #EEF2FC;
  overflow: clip;
  position: relative;
}

/* Container generico reaproveitado por Servicos/Sobre (padding simetrico) e
   por Configurador/Depoimentos (sem padding no topo, secao anterior ja fecha
   o respiro). */
.section-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 130px 40px;
}
.section-container-flush {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px 130px;
}

/* Barra/preenchimento de progresso reaproveitados pelo Processo e pelo
   Portfolio horizontal (mesmo visual, telas diferentes). */
.progress-fill {
  width: 100%;
  height: 100%;
  background: #4D7DFF;
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- Starfield ambiente ---------- */
.bg-fixed {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.bg-radial-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(77,125,255,0.10), transparent 70%);
}
.star-field {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2000px;
  height: 2000px;
  overflow: hidden;
  opacity: 0.65;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #070B14;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-letters {
  display: flex;
  overflow: hidden;
}
.preloader-letter {
  display: inline-block;
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.preloader-letter--accent {
  display: inline-block;
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 700;
  color: #4D7DFF;
}
.preloader-count {
  position: absolute;
  bottom: 36px;
  right: 44px;
  font-size: 15px;
  color: #4D7DFF;
  font-weight: 600;
}

/* ---------- Barra de progresso de scroll ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #4D7DFF;
  transform-origin: left;
  transform: scaleX(0);
  z-index: 120;
}

/* ---------- Cursor customizado ---------- */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid #4D7DFF;
  border-radius: 50%;
  pointer-events: none;
  z-index: 150;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: #4D7DFF;
  border-radius: 50%;
  pointer-events: none;
  z-index: 150;
  transform: translate(-50%, -50%);
  opacity: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,19,34,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(77,125,255,0.25);
  border-radius: 100px;
  padding: 8px 8px 8px 24px;
  color: #EEF2FC;
}
.nav-logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-right: 16px;
}
.nav-link {
  color: #EEF2FC;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 100px;
}
.nav-cta {
  color: #070B14;
  background: #4D7DFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 100px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 40px;
  position: relative;
  box-sizing: border-box;
}
.hero-orb-1 {
  position: absolute;
  top: -10%;
  left: -8%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77,125,255,0.22), transparent 65%);
  pointer-events: none;
  animation: pulseGlowB2 7s ease-in-out infinite;
}
.hero-orb-2 {
  position: absolute;
  bottom: 6%;
  right: -6%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,130,246,0.16), transparent 65%);
  pointer-events: none;
  animation: pulseGlowB2 9s ease-in-out infinite;
}
.hero-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.08;
  margin: 0;
  text-transform: uppercase;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line-inner {
  display: block;
  transform-origin: left bottom;
}
.hero-line-inner--accent {
  display: block;
  transform-origin: left bottom;
  color: #6E96FF;
}
.hero-highlight {
  background: #4D7DFF;
  color: #070B14;
  padding: 0 18px;
  border-radius: 16px;
  display: inline-block;
  box-shadow: 0 0 60px rgba(77,125,255,0.5);
}
.hero-sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 8px 40px;
}
.hero-sub-text {
  font-size: 18px;
  line-height: 1.55;
  max-width: 44ch;
  margin: 0;
  color: rgba(238,242,252,0.65);
}
.hero-sub-cta {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: #6E96FF;
}

/* ---------- Marquee duplo ---------- */
.marquee-wrap {
  transform: rotate(-1.2deg) scale(1.02);
  margin: 20px 0;
}
.marquee-row-top {
  background: #4D7DFF;
  color: #070B14;
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track-top {
  display: inline-flex;
  gap: 48px;
  animation: marqueeB2 18s linear infinite;
  will-change: transform;
}
.marquee-item-top {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee-row-bottom {
  border-top: 1px solid rgba(77,125,255,0.35);
  border-bottom: 1px solid rgba(77,125,255,0.35);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  background: #070B14;
}
.marquee-track-bottom {
  display: inline-flex;
  gap: 48px;
  animation: marqueeB2r 24s linear infinite;
  will-change: transform;
}
.marquee-item-bottom {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(238,242,252,0.45);
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

/* ---------- Servicos ---------- */
.services-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(28px, 3.8vw, 52px);
  margin: 0 0 60px;
  text-transform: uppercase;
  line-height: 1;
}
.services-list {
  display: flex;
  flex-direction: column;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr 60px;
  gap: 24px;
  align-items: center;
  padding: 36px 20px;
  border-top: 1px solid rgba(238,242,252,0.15);
  transition: background 0.35s, padding-left 0.35s, color 0.35s;
}
.service-num {
  font-size: 15px;
  font-weight: 600;
  opacity: 0.55;
}
.service-title {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}
.service-desc {
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.75;
}
.service-arrow {
  font-size: 28px;
  justify-self: end;
}
.services-divider {
  border-top: 1px solid rgba(238,242,252,0.15);
}

/* ---------- Processo ---------- */
.process-section {
  background: #0D1322;
  border-top: 1px solid rgba(77,125,255,0.2);
  border-bottom: 1px solid rgba(77,125,255,0.2);
  overflow: clip;
  height: 240vh;
}
.process-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
  padding: 100px 40px;
}
.process-label {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4D7DFF;
  font-weight: 600;
  margin: 0 0 24px;
}
.process-counter {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.process-num {
  font-size: clamp(70px, 7vw, 110px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #4D7DFF;
  line-height: 1;
  text-shadow: 0 0 60px rgba(77,125,255,0.4);
}
.process-total {
  font-size: 28px;
  font-weight: 600;
  color: rgba(238,242,252,0.35);
}
.process-bar {
  width: 220px;
  height: 2px;
  background: rgba(238,242,252,0.15);
  margin-top: 36px;
}
.process-hint {
  font-size: 14px;
  color: rgba(238,242,252,0.45);
  margin: 18px 0 0;
}
.process-steps {
  position: relative;
  min-height: 360px;
}
.process-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.process-step-label {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4D7DFF;
  font-weight: 600;
}
.process-step-title {
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.process-step-desc {
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
  color: rgba(238,242,252,0.7);
  max-width: 52ch;
}

/* ---------- Portfolio ---------- */
.portfolio-section {
  background: #0D1322;
  overflow: clip;
  border-top: 1px solid rgba(77,125,255,0.2);
  border-bottom: 1px solid rgba(77,125,255,0.2);
  position: relative;
}
.portfolio-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
  display: flex;
  align-items: center;
}
.portfolio-track {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 100px 40px;
  width: max-content;
}
.portfolio-intro {
  flex-shrink: 0;
  width: 380px;
}
.portfolio-label {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4D7DFF;
  font-weight: 600;
  margin: 0 0 14px;
}
.portfolio-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 42px;
  margin: 0;
  text-transform: uppercase;
  line-height: 1;
}
.portfolio-hint {
  font-size: 15px;
  color: rgba(238,242,252,0.5);
  margin: 20px 0 0;
}
.portfolio-card {
  flex-shrink: 0;
  width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.portfolio-card-media {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(77,125,255,0.3);
}
.portfolio-card-slot {
  position: absolute;
  inset: 0;
  transform: scale(1.18);
  will-change: transform;
}
/* Substitui o antigo <image-slot> (drag-and-drop do no-code tool, sem
   equivalente aqui) por uma caixa estática — trocar por <img> quando
   houver print real do projeto. */
.portfolio-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
  padding: 24px;
  text-align: center;
  border: 1px dashed rgba(238,242,252,0.25);
  border-radius: 16px;
  color: rgba(238,242,252,0.4);
  font-size: 14px;
}
.portfolio-card-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.portfolio-card-name {
  font-size: 24px;
  font-weight: 600;
}
.portfolio-card-kind {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4D7DFF;
}
.portfolio-progress {
  position: absolute;
  bottom: 32px;
  left: 40px;
  width: 200px;
  height: 2px;
  background: rgba(238,242,252,0.15);
}

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(26px, 3.2vw, 44px);
  margin: 0;
  text-transform: uppercase;
  line-height: 1.02;
}
.about-text {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(238,242,252,0.7);
  margin: 0 0 48px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  background: #0D1322;
  border: 1px solid rgba(77,125,255,0.25);
  border-radius: 20px;
  padding: 28px 22px;
  will-change: transform;
}
.stat-value {
  font-size: 40px;
  font-weight: 700;
  color: #4D7DFF;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: rgba(238,242,252,0.6);
  margin-top: 6px;
}

/* ---------- Configurador ---------- */
.configurator-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(28px, 3.8vw, 52px);
  margin: 0 0 16px;
  text-transform: uppercase;
  line-height: 1;
}
.configurator-lead {
  font-size: 18px;
  color: rgba(238,242,252,0.65);
  margin: 0 0 60px;
  max-width: 56ch;
  line-height: 1.6;
}
.configurator-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.configurator-options {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.option-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.option-label {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4D7DFF;
  font-weight: 600;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Chip: cor/estado eram inline via {{ c.bg }}/{{ c.fg }}/{{ c.bd }} calculados
   no JS a cada render. Agora o JS so decide se aplica a classe
   "chip-selected"; as cores ficam fixas aqui. */
.chip {
  font-family: inherit;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 100px;
  background: transparent;
  color: #EEF2FC;
  border: 1.5px solid rgba(238,242,252,0.25);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s;
}
.chip.chip-selected {
  background: #4D7DFF;
  color: #070B14;
  border-color: #4D7DFF;
}
.configurator-cta {
  text-decoration: none;
  align-self: flex-start;
  background: #4D7DFF;
  color: #070B14;
  padding: 18px 34px;
  border-radius: 100px;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.preview-panel {
  background: #0D1322;
  border: 1px solid rgba(77,125,255,0.3);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.preview-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(238,242,252,0.1);
  background: rgba(238,242,252,0.03);
}
.preview-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.preview-dot--red { background: #FF5F57; }
.preview-dot--yellow { background: #FEBC2E; }
.preview-dot--green { background: #28C840; }
.preview-url {
  margin-left: 14px;
  font-size: 13px;
  color: rgba(238,242,252,0.5);
  background: rgba(238,242,252,0.07);
  border-radius: 100px;
  padding: 6px 16px;
}
.preview-body {
  padding: 44px 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.preview-kicker {
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #4D7DFF;
  border: 1px solid rgba(77,125,255,0.4);
  border-radius: 100px;
  padding: 7px 14px;
}
.preview-headline {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  margin: 0;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.preview-sub {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: rgba(238,242,252,0.65);
}
.preview-cta {
  align-self: flex-start;
  background: #4D7DFF;
  color: #070B14;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 100px;
  box-shadow: 0 0 30px rgba(77,125,255,0.35);
}
.preview-skeleton {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.skeleton-line {
  height: 10px;
  border-radius: 100px;
  background: rgba(238,242,252,0.08);
}
.skeleton-line--1 { width: 92%; }
.skeleton-line--2 { width: 78%; }
.skeleton-line--3 { width: 84%; }
.preview-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(238,242,252,0.1);
  padding-top: 20px;
}
.preview-extras-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(238,242,252,0.4);
  align-self: center;
}
.extra-tag {
  font-size: 13px;
  font-weight: 600;
  color: #6E96FF;
  border: 1px solid rgba(77,125,255,0.4);
  border-radius: 100px;
  padding: 6px 14px;
}

/* ---------- Depoimentos ---------- */
.testimonials-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(26px, 3.2vw, 44px);
  margin: 0 0 60px;
  text-transform: uppercase;
  line-height: 1;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.testimonial-card {
  margin: 0;
  background: #0D1322;
  border: 1px solid rgba(238,242,252,0.12);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.testimonial-quote {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}
.testimonial-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}
.testimonial-name {
  font-weight: 700;
  font-size: 15px;
}
.testimonial-role {
  font-size: 13px;
  color: rgba(238,242,252,0.5);
}

/* ---------- Contato / CTA final ---------- */
.cta-section {
  background: #0D1322;
  padding: 140px 40px 60px;
  border-radius: 48px 48px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(77,125,255,0.25);
}
.cta-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77,125,255,0.18), transparent 65%);
  pointer-events: none;
  animation: pulseGlowB2 6s ease-in-out infinite;
}
.cta-inner {
  position: relative;
  will-change: transform;
}
.cta-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(34px, 5vw, 72px);
  margin: 0 0 24px;
  text-transform: uppercase;
  line-height: 0.98;
}
.cta-title-accent {
  color: #4D7DFF;
  text-shadow: 0 0 50px rgba(77,125,255,0.6);
}
.cta-desc {
  font-size: 18px;
  color: rgba(238,242,252,0.6);
  margin: 0 auto 48px;
  max-width: 46ch;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn-primary {
  text-decoration: none;
  background: #4D7DFF;
  color: #070B14;
  padding: 20px 40px;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn-secondary {
  text-decoration: none;
  border: 2px solid rgba(238,242,252,0.3);
  color: #EEF2FC;
  padding: 20px 40px;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.2s, border-color 0.2s;
}
.cta-footer {
  border-top: 1px solid rgba(238,242,252,0.12);
  margin-top: 110px;
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.footer-logo {
  font-weight: 700;
  font-size: 18px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(238,242,252,0.45);
}
