:root {
  --bg: #05070d;
  --surface: #0b1220;
  --surface-2: #111a2b;
  --text: #f5f8ff;
  --muted: #a9b4c7;
  --line: rgba(255, 255, 255, 0.11);
  --cyan: #27d8ff;
  --violet: #8f5cff;
  --green: #49f3a5;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(39, 216, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 15% 30%, rgba(143, 92, 255, 0.13), transparent 24rem),
    var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 108px 0;
  position: relative;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(5, 7, 13, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #041016;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 32px rgba(39, 216, 255, 0.38);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-menu a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.is-active {
  background: rgba(39, 216, 255, 0.16);
  color: var(--text);
}

.nav-cta {
  color: var(--text) !important;
  padding: 11px 16px;
  border: 1px solid rgba(73, 243, 165, 0.45);
  border-radius: 8px;
  background: rgba(73, 243, 165, 0.1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 70px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98) 0%, rgba(5, 7, 13, 0.84) 38%, rgba(5, 7, 13, 0.36) 78%),
    linear-gradient(0deg, var(--bg), transparent 28%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 56px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 720px;
  margin: 28px 0 0;
  color: #dbe5f7;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-text,
.section-lead,
.contact-copy p,
.cta-box p,
.footer p,
.feature-card p,
.mini-card p {
  color: var(--muted);
}

.lang-pt,
.lang-en {
  display: inline;
}

body.lang-en .lang-pt,
body.lang-pt .lang-en {
  display: none;
}

.hero-text {
  max-width: 670px;
  margin: 18px 0 0;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #031017;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 18px 45px rgba(39, 216, 255, 0.22);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 14, 25, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric {
  display: block;
  color: var(--cyan);
  font-size: 1.55rem;
  font-weight: 800;
}

.metric-label {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

.intro {
  padding-top: 84px;
  padding-bottom: 84px;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.7), rgba(5, 7, 13, 0));
}

.clients-section {
  padding: 34px 0 18px;
}

.clients-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(39, 216, 255, 0.08), rgba(143, 92, 255, 0.08)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.clients-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.client-logos span {
  min-height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #eef6ff;
  background: rgba(5, 7, 13, 0.46);
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.client-logos span:hover {
  transform: translateY(-3px);
  border-color: rgba(73, 243, 165, 0.32);
  background: rgba(73, 243, 165, 0.08);
}

.intro-grid,
.process-head,
.business-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.section-heading {
  max-width: 760px;
}

.section-heading.centered {
  margin: 0 auto 42px;
  text-align: center;
}

.section-lead {
  margin: 0;
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.mini-card,
.contact-form,
.cta-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover,
.mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 216, 255, 0.35);
  background: linear-gradient(180deg, rgba(39, 216, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #061018;
  font-size: 0.78rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}

.feature-card p,
.mini-card p {
  margin: 12px 0 0;
  font-size: 0.94rem;
}

.process-section,
.tech-section {
  background: rgba(11, 18, 32, 0.48);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(9, minmax(112px, 1fr));
  gap: 12px;
  margin-top: 44px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.step {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.step span {
  display: block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.step strong {
  display: block;
  margin-top: 34px;
  font-size: 0.98rem;
}

.compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-card {
  min-height: 170px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tech-cloud,
.business-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.tech-cloud span,
.business-list span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #dfe8f8;
  background: rgba(255, 255, 255, 0.055);
  font-weight: 700;
}

.tech-cloud span:nth-child(3n + 1) {
  border-color: rgba(39, 216, 255, 0.28);
}

.tech-cloud span:nth-child(3n + 2) {
  border-color: rgba(143, 92, 255, 0.3);
}

.tech-cloud span:nth-child(3n + 3) {
  border-color: rgba(73, 243, 165, 0.28);
}

.business-section {
  background:
    linear-gradient(135deg, rgba(143, 92, 255, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(73, 243, 165, 0.1), transparent 34%);
}

.business-list {
  justify-content: flex-start;
}

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

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(39, 216, 255, 0.17), rgba(143, 92, 255, 0.12)),
    rgba(255, 255, 255, 0.05);
}

.cta-box h2 {
  max-width: 720px;
}

.cta-box p {
  max-width: 680px;
  margin-bottom: 0;
}

.contact-section {
  background: rgba(11, 18, 32, 0.6);
}

.contact-copy {
  align-self: start;
  position: sticky;
  top: 116px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: #dbe5f7;
  font-size: 0.92rem;
  font-weight: 700;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.72);
  color: var(--text);
  font: inherit;
  padding: 14px 15px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(39, 216, 255, 0.12);
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #04060b;
}

.footer p {
  margin: 16px 0 0;
}

.footer-cnpj {
  margin-top: 10px;
  color: #dfe8f7;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .hero-grid,
  .intro-grid,
  .process-head,
  .business-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clients-strip {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container,
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 78px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 84px;
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 7, 13, 0.96);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 13, 0.96), rgba(5, 7, 13, 0.68)),
      linear-gradient(0deg, var(--bg), transparent 22%);
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-box {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card-grid,
  .compact-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .mini-card {
    min-height: auto;
  }

  .business-list,
  .tech-cloud {
    justify-content: flex-start;
  }

  .client-logos {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
