:root {
  --void: #07090c;
  --graphite: #12161c;
  --mist: #c8d0d8;
  --white: #f4f7fa;
  --aqua: #2ef2c8;
  --flare: #7cff3a;
  --line: rgba(46, 242, 200, 0.18);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: 1.25rem;
  --shell: min(1120px, calc(100% - (var(--gutter) * 2)));
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fab-space: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--mist);
  background: var(--void);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--fab-space);
  overflow-x: hidden;
  overflow-x: clip;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--flare);
  color: #041008;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.35rem;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: var(--shell);
  max-width: 100%;
  margin-inline: auto;
}

.shell.narrow {
  width: min(720px, var(--shell));
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  background: linear-gradient(
    to bottom,
    rgba(7, 9, 12, 0.88),
    rgba(7, 9, 12, 0.35) 70%,
    transparent
  );
  backdrop-filter: blur(8px);
}

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

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--white);
  text-decoration: none;
}

.logo:hover {
  color: var(--aqua);
}

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

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--mist);
}

.nav a:hover {
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.4rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 1.7rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--flare);
  color: #061008;
  box-shadow: 0 0 0 0 rgba(124, 255, 58, 0.35);
}

.btn-primary:hover {
  color: #061008;
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(124, 255, 58, 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--aqua);
  color: var(--aqua);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(7, 9, 12, 0.96) 0%,
      rgba(7, 9, 12, 0.55) 42%,
      rgba(7, 9, 12, 0.25) 70%,
      rgba(7, 9, 12, 0.55) 100%
    ),
    radial-gradient(
      ellipse 80% 60% at 70% 40%,
      transparent 0%,
      rgba(7, 9, 12, 0.55) 100%
    );
}

.hero-glow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  max-width: 100%;
  background: radial-gradient(
    circle,
    rgba(46, 242, 200, 0.16) 0%,
    rgba(124, 255, 58, 0.08) 35%,
    transparent 70%
  );
  pointer-events: none;
  filter: blur(8px);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 38rem;
}

.brand-mark {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--white);
  text-shadow: 0 0 40px rgba(46, 242, 200, 0.25);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: 1.08rem;
  color: var(--mist);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--shell);
  max-width: 100%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    var(--line),
    rgba(124, 255, 58, 0.35),
    var(--line),
    transparent
  );
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
}

.section-copy {
  margin: 0;
  font-size: 1.08rem;
  color: var(--mist);
}

.position {
  background:
    radial-gradient(
      ellipse 60% 80% at 0% 50%,
      rgba(46, 242, 200, 0.06),
      transparent 55%
    ),
    var(--void);
}

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

/* Services — editorial rows, not card grid */
.service {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) 1.6fr;
  gap: 2rem 3rem;
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service-code {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--aqua);
}

.price {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.price-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200, 208, 216, 0.7);
}

.price-value {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--flare);
}

.price-note {
  font-size: 0.85rem;
  color: rgba(200, 208, 216, 0.75);
}

.service-body h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--white);
}

.service-body > p {
  margin: 0 0 1.25rem;
  max-width: 40rem;
}

.service-body ul {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  max-width: 40rem;
}

.service-body li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.2rem;
  border-top: 1px solid rgba(46, 242, 200, 0.08);
}

.service-body li:last-child {
  border-bottom: 1px solid rgba(46, 242, 200, 0.08);
}

.service-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--aqua);
  box-shadow: 0 0 10px rgba(46, 242, 200, 0.55);
}

/* CTA band */
.cta-band {
  text-align: center;
  background:
    radial-gradient(
      ellipse 70% 90% at 50% 100%,
      rgba(124, 255, 58, 0.1),
      transparent 55%
    ),
    var(--graphite);
  padding-bottom: 6rem;
}

.cta-band .section-copy {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background: var(--void);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(200, 208, 216, 0.75);
}

.footer-cnpj {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(200, 208, 216, 0.55);
}

.footer-inner a:not(.logo) {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--aqua);
  text-decoration: none;
}

.footer-inner a:not(.logo):hover {
  color: var(--flare);
}

/* FAB */
.fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #1fad4a;
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 0 rgba(31, 173, 74, 0.45);
  animation: fab-pulse 2.8s var(--ease) infinite;
}

.fab svg {
  width: 1.55rem;
  height: 1.55rem;
}

.fab:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

@keyframes fab-pulse {
  0%,
  100% {
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.35),
      0 0 0 0 rgba(31, 173, 74, 0.4);
  }
  50% {
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.35),
      0 0 0 12px rgba(31, 173, 74, 0);
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .fab {
    animation: none;
  }

  .btn,
  .fab {
    transition: none;
  }
}

/* Tablet */
@media (max-width: 900px) {
  :root {
    --gutter: 1.25rem;
    --header-h: 3.75rem;
  }

  body {
    font-size: 1rem;
  }

  .service {
    grid-template-columns: 1fr;
    gap: 1rem 0;
    padding: 2.25rem 0;
  }

  .service-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
  }

  .service-code {
    margin-bottom: 0;
  }

  .section {
    padding: 4rem 0;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding: calc(var(--header-h) + 1.25rem) 0 3rem;
  }

  .brand-mark {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .hero h1 {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
  }

  .hero-lead,
  .section-copy {
    font-size: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --gutter: 1rem;
    --header-h: 3.5rem;
  }

  .site-header {
    background: rgba(7, 9, 12, 0.82);
  }

  .header-inner {
    gap: 0.5rem;
  }

  .logo {
    font-size: 1.15rem;
    flex-shrink: 0;
  }

  .nav {
    gap: 0.55rem;
    min-width: 0;
  }

  .nav a:not(.btn) {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .nav .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .hero {
    align-items: flex-end;
    min-height: min(100svh, 760px);
    min-height: min(100dvh, 760px);
    padding: calc(var(--header-h) + 1rem) 0 2.25rem;
  }

  .hero-vignette {
    background:
      linear-gradient(
        to top,
        rgba(7, 9, 12, 0.98) 0%,
        rgba(7, 9, 12, 0.78) 38%,
        rgba(7, 9, 12, 0.4) 68%,
        rgba(7, 9, 12, 0.55) 100%
      );
  }

  .brand-mark {
    margin-bottom: 0.55rem;
    font-size: clamp(2.35rem, 13vw, 3.25rem);
  }

  .hero h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.35rem, 6.2vw, 1.7rem);
  }

  .hero-lead {
    margin-bottom: 1.35rem;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn,
  .service-body .btn,
  .cta-band .btn {
    width: 100%;
    min-height: 48px;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .service {
    padding: 1.75rem 0;
  }

  .service-body h3 {
    font-size: clamp(1.2rem, 5.5vw, 1.45rem);
    line-height: 1.25;
  }

  .service-body > p,
  .service-body li {
    font-size: 0.95rem;
  }

  .service-body li {
    padding: 0.65rem 0 0.65rem 1.15rem;
  }

  .price-value {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .price-note {
    font-size: 0.8rem;
  }

  .cta-band {
    text-align: left;
    padding-bottom: 4.5rem;
  }

  .cta-band .section-copy {
    margin-left: 0;
    margin-right: 0;
  }

  .site-footer {
    padding: 2rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-inner p {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .fab {
    width: 3.25rem;
    height: 3.25rem;
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  }
}

/* Very small phones */
@media (max-width: 380px) {
  :root {
    --gutter: 0.85rem;
  }

  .nav a:not(.btn) {
    display: none;
  }

  .brand-mark {
    font-size: 2.15rem;
  }

  .hero h1 {
    font-size: 1.28rem;
  }
}
