:root {
  --azul: oklch(0.40 0.085 248);
  --azul-deep: oklch(0.30 0.075 248);
  --ambar: oklch(0.72 0.115 68);
  --sol: oklch(0.87 0.17 96);
  --grafite: oklch(0.24 0.02 250);
  --papel: oklch(0.985 0.005 85);
  --papel-alt: oklch(0.965 0.006 85);
  --line: oklch(0.24 0.02 250 / 0.12);
  --text-muted: oklch(0.24 0.02 250 / 0.62);

  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --container-w: 1120px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--grafite);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

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

h1, h2, h3 {
  font-family: var(--font-mono);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--azul);
  margin: 0;
}

p { margin: 0; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--azul);
  color: var(--papel);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px oklch(0.40 0.085 248 / 0.45); background: var(--azul-deep); }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--azul);
}
.btn-ghost:hover { border-color: var(--azul); background: oklch(0.40 0.085 248 / 0.05); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: oklch(0.985 0.005 85 / 0.85);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--azul);
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.logo-core { fill: var(--sol); }

.logo-ignition { fill: var(--ambar); transform-box: fill-box; transform-origin: center; animation: ignition-pulse 2.6s ease-in-out infinite; }

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.logo-text small {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  font-size: 0.92rem;
  color: var(--grafite);
  opacity: 0.72;
  transition: opacity 0.15s ease;
}
.nav a:hover { opacity: 1; }

.btn-nav { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 4px;
}
.nav-toggle span {
  height: 2px;
  background: var(--azul);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 100px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 30% 20%, black, transparent);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.eyebrow, .section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 20px;
}

.eyebrow-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.eyebrow-index::after {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--ambar);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.hero-orbit {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: 460px;
  height: 460px;
  z-index: 0;
  opacity: 0.9;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--papel-alt); }

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  max-width: 620px;
  margin-bottom: 56px;
}

/* ---------- Cards grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: oklch(0.40 0.085 248 / 0.35);
  box-shadow: 0 16px 32px -18px oklch(0.24 0.02 250 / 0.25);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.40 0.085 248 / 0.08);
  color: var(--azul);
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}
.card p { font-size: 0.94rem; }

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text p { margin-bottom: 16px; font-size: 1.02rem; }
.about-text p:last-child { margin-bottom: 0; }

.about-orbit {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}

/* Orbit motif (shared by logo + hero + about) */
.orbit-core {
  fill: none;
  stroke: var(--azul);
  stroke-width: 3;
}
.orbit-sun {
  fill: var(--sol);
}
.orbit-ignition { fill: var(--ambar); transform-box: fill-box; transform-origin: center; animation: ignition-pulse 2.6s ease-in-out infinite; }

.orbit-spin {
  transform-box: view-box;
  animation: orbit-spin 9s linear infinite;
}
.orbit-spin-slow {
  animation-duration: 26s;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes ignition-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.18); }
}

/* ---------- Diferenciais ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.diff-item {
  padding: 26px 22px 0;
  border-top: 2px solid var(--line);
}
.diff-number {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ambar);
  margin-bottom: 14px;
}
.diff-item h3 { font-size: 1rem; margin-bottom: 8px; }
.diff-item p { font-size: 0.92rem; }

/* ---------- CTA / Contact ---------- */
.section-cta { text-align: center; }
.cta-inner .section-title,
.cta-inner .section-eyebrow { margin-left: auto; margin-right: auto; justify-content: center; }
.cta-lead {
  font-size: 1.05rem;
  max-width: 520px;
  margin: 20px auto 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--papel-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-card:not(.contact-card-static):hover {
  border-color: var(--azul);
  transform: translateY(-3px);
}
.contact-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.contact-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  color: var(--azul);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.logo-sm .logo-mark { width: 26px; height: 26px; }
.logo-sm .logo-text { font-size: 0.9rem; }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.footer-meta p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.8rem;
  margin: 0;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit-spin, .logo-ignition, .orbit-ignition { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-orbit { opacity: 0.35; width: 380px; height: 380px; }
}

@media (max-width: 920px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-orbit { order: -1; max-width: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav, .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--papel);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 28px;
    gap: 18px;
  }

  .hero-orbit { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .hero { padding: 104px 0 72px; }
  .section { padding: 68px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
