/* LS Technology — identidade profissional */
:root {
  --brand: #5b21b6;
  --brand-soft: #7c3aed;
  --accent: #65a30d;
  --accent-hover: #4d7c0f;
  --bg: #fafafa;
  --bg-elevated: #ffffff;
  --bg-dark: #111113;
  --text: #18181b;
  --text-secondary: #52525b;
  --text-muted: #71717a;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --radius: 6px;
  --radius-lg: 10px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.container {
  width: min(1140px, 90vw);
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-link img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.logo-link__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-link__name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-link__tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a:not(.btn) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav a:not(.btn):hover,
.nav a:not(.btn).active {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-soft);
  color: #fff;
}

.btn--secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--text-muted);
  background: var(--bg);
}

.btn--whatsapp {
  background: #128c7e;
  color: #fff;
}

.btn--whatsapp:hover {
  background: #0d7368;
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  border-bottom: 1px solid var(--border);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.125rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.hero__lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 42ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero__stat strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.hero__stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero__visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 380px;
}

.hero__visual img {
  max-height: min(420px, 58vh);
  width: auto;
  object-fit: contain;
  object-position: bottom center;
}

/* Clientes (faixa de logos) */
.clients {
  padding: 2.75rem 0 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
}

.clients__title {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.clients__marquee {
  margin-top: 1.75rem;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}

.clients__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 3.5rem;
  width: max-content;
  padding: 0.25rem 0;
  animation: clients-scroll var(--marquee-duration, 18s) linear infinite;
  will-change: transform;
}

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

.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 100px;
  padding: 0 0.5rem;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
}

.client-logo:hover {
  opacity: 0.9;
  filter: grayscale(0%);
}

.client-logo img {
  height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.client-logo--text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .clients__marquee {
    mask-image: none;
  }
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section--alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section__head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section__head p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--bg-elevated);
  padding: 1.75rem;
  transition: background 0.2s var(--ease);
}

.service-card:hover {
  background: var(--bg);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--brand);
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-card--featured {
  background: var(--bg);
}

.service-card--featured .service-card__icon {
  color: var(--accent);
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

.about__brand img {
  width: 200px;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.about__content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.about__content > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 52ch;
}

.about__points {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.about__points li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
}

.about__points li strong {
  color: var(--text);
  font-weight: 600;
}

/* Process */
.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process__item {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--brand);
}

.process__item span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.process__item h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.process__item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CTA */
.cta {
  background: var(--bg-dark);
  color: #fafafa;
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.cta p {
  font-size: 0.9375rem;
  color: #a1a1aa;
}

.cta .btn--primary {
  background: var(--accent);
  flex-shrink: 0;
}

.cta .btn--primary:hover {
  background: var(--accent-hover);
}

/* Contact page */
.page-header {
  padding: calc(var(--header-h) + 3.5rem) 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 40ch;
}

.contact-section {
  padding: 3.5rem 0 5rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
}

.contact__aside h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.contact__item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.contact__item:first-of-type {
  padding-top: 0;
}

.contact__item h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact__item a,
.contact__item p {
  font-size: 0.9375rem;
  color: var(--text);
}

.contact__item a:hover {
  color: var(--brand);
}

.contact__mascot {
  margin-top: 2rem;
  text-align: center;
}

.contact__mascot img {
  max-width: 180px;
  margin-inline: auto;
}

.form-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-panel h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.form-panel > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-soft);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-panel .btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

/* Formas de pagamento */
.payments {
  padding: 2.5rem 0 3rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.payments__title {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.payments__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding: 0;
  margin: 0;
}

.payments__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.payments__list img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: var(--bg-elevated);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer__brand-text > span {
  font-weight: 600;
  font-size: 0.875rem;
}

.footer__cnpj {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer__links {
  display: flex;
  gap: 1.75rem;
}

.footer__links a {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__copy {
  width: 100%;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 900px) {
  .hero__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .hero__visual,
  .contact__mascot {
    display: none;
  }

  .about__brand {
    justify-self: start;
  }
}

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

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

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-elevated);
    padding: 1.25rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav .btn {
    width: 100%;
    margin-top: 0.5rem;
  }
}
