:root {
  --navy: #071725;
  --ink: #102230;
  --muted: #60707b;
  --line: #dce4e8;
  --paper: #f4f7f8;
  --cyan: #39d4f2;
  --blue: #326dff;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 96px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.13);
  color: white;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(57,212,242,.75);
  border-radius: 12px 4px 12px 4px;
  color: var(--cyan);
  font: 700 13px/1 var(--font-mono);
  letter-spacing: -.06em;
  box-shadow: inset 0 0 18px rgba(57,212,242,.08);
}
.brand-name { font-size: 15px; font-weight: 750; letter-spacing: .14em; }
.nav { display: flex; gap: 36px; color: #bdcad2; font-size: 14px; }
.nav a, .text-link { transition: color .2s ease; }
.nav a:hover, .text-link:hover { color: var(--cyan); }
.header-cta { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 650; }
.header-cta span { color: var(--cyan); }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 190px max(24px, calc((100vw - 1180px) / 2)) 48px;
  color: white;
  background:
    linear-gradient(115deg, rgba(7,23,37,.99), rgba(7,23,37,.92) 58%, rgba(11,32,49,.96)),
    radial-gradient(circle at 70% 40%, #123e52, transparent 45%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, transparent 8%, black 62%, transparent);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.glow-one { width: 520px; height: 520px; right: -120px; top: 100px; border: 1px solid rgba(57,212,242,.08); box-shadow: 0 0 100px rgba(57,212,242,.06); }
.glow-two { width: 280px; height: 280px; right: 210px; top: 250px; border: 1px solid rgba(50,109,255,.1); }
.hero-content { position: relative; z-index: 3; width: min(690px, 62%); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #9fb3bf; font: 600 12px/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .18em; }
.eyebrow > span { width: 22px; height: 1px; background: var(--cyan); }
.eyebrow.dark { color: #62737e; }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(52px, 6vw, 82px); line-height: .98; letter-spacing: -.052em; font-weight: 610; }
.hero h1 span { display: block; margin-top: 8px; color: transparent; -webkit-text-stroke: 1px #7690a0; }
.hero-copy { max-width: 610px; margin: 30px 0 0; color: #b1c0c9; font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 22px; border-radius: 4px; font-size: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cyan); color: #06202b; box-shadow: 0 10px 34px rgba(57,212,242,.15); }
.text-link { color: #c7d2d8; font-size: 14px; border-bottom: 1px solid #51626e; padding-bottom: 5px; }

.hero-visual { position: absolute; z-index: 2; width: 480px; height: 480px; right: max(12px, calc((100vw - 1220px) / 2)); top: 180px; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(98,213,236,.13); }
.orbit-outer { inset: 0; animation: pulse 5s ease-in-out infinite; }
.orbit-inner { inset: 64px; border-style: dashed; }
.code-card { position: absolute; width: 326px; left: 77px; top: 120px; padding: 20px; border: 1px solid rgba(136,211,225,.22); border-radius: 12px; background: linear-gradient(140deg, rgba(18,52,70,.9), rgba(8,25,38,.95)); box-shadow: 0 26px 70px rgba(0,0,0,.32); color: #9cb3bf; font: 12px/1.8 var(--font-mono); transform: rotate(-2deg); }
.code-card p { margin: 2px 0; }
.code-card b, .code-card em { color: #5fe1f5; font-weight: 500; font-style: normal; }
.code-card span { color: #a7c88d; }
.indent { padding-left: 22px; }
.code-top { display: flex; gap: 6px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 13px; }
.code-top i { width: 6px; height: 6px; border-radius: 50%; background: #526873; }
.code-top i:first-child { background: var(--cyan); }
.code-status { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); color: #7e929d; font-size: 10px; }
.code-status i { width: 6px; height: 6px; display: inline-block; margin-right: 7px; border-radius: 50%; background: #6de5aa; box-shadow: 0 0 10px rgba(109,229,170,.5); }
.floating-chip { position: absolute; padding: 9px 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 5px; background: rgba(9,32,45,.8); backdrop-filter: blur(8px); color: #a9bec8; font: 10px/1 var(--font-mono); letter-spacing: .12em; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.floating-chip span { color: var(--cyan); padding-left: 9px; }
.chip-one { top: 82px; right: 42px; }
.chip-two { bottom: 89px; left: 25px; }
.hero-foot { position: absolute; z-index: 3; left: max(24px, calc((100vw - 1180px) / 2)); right: max(24px, calc((100vw - 1180px) / 2)); bottom: 34px; display: flex; align-items: center; gap: 18px; color: #617986; font: 500 9px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .16em; }
.hero-line { flex: 1; height: 1px; background: rgba(255,255,255,.08); }

.section { padding: 116px max(24px, calc((100vw - 1180px) / 2)); }
.services-section { background: #f6f8f9; }
.section-heading { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 50px; align-items: start; margin-bottom: 58px; }
.section-heading .eyebrow { padding-top: 10px; }
.section-heading h2, .process-intro h2, .about-card h2, .contact-copy h2 { margin: 0; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.04em; font-weight: 620; }
.section-heading > p:last-child { margin: 5px 0 0; color: var(--muted); line-height: 1.75; font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 230px; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 32px; background: white; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { z-index: 2; transform: translateY(-4px); box-shadow: 0 22px 55px rgba(13,42,59,.08); }
.service-number { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #d5e1e6; border-radius: 50%; color: #778892; font: 500 10px/1 var(--font-mono); }
.service-card h3 { margin: 8px 0 14px; font-size: 21px; letter-spacing: -.025em; }
.service-card p { max-width: 390px; margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.service-arrow { position: absolute; right: 27px; bottom: 26px; color: #8fa3ad; transition: color .2s ease; }
.service-card:hover .service-arrow { color: var(--blue); }

.process-section { padding: 116px max(24px, calc((100vw - 1180px) / 2)); background: var(--navy); color: white; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.process-intro > p:last-child { max-width: 480px; color: #8ea2ad; line-height: 1.8; margin-top: 28px; }
.steps { padding-top: 8px; }
.step { display: grid; grid-template-columns: 44px 68px 130px 1fr; gap: 18px; align-items: start; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.step:first-child { padding-top: 0; }
.step > span { color: var(--cyan); font: 500 10px/1.5 var(--font-mono); }
.step-line { position: relative; height: 1px; margin-top: 7px; background: #2c4554; }
.step-line i { position: absolute; width: 5px; height: 5px; right: 0; top: -2px; border-radius: 50%; background: var(--cyan); }
.step h3 { margin: -3px 0 0; font-size: 18px; font-weight: 620; }
.step p { margin: -4px 0 0; color: #8fa3ae; font-size: 13px; line-height: 1.7; }

.about-section { padding: 86px max(24px, calc((100vw - 1180px) / 2)); background: #eef3f5; }
.about-card { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 64px; border-radius: 4px; background: white; box-shadow: 0 18px 50px rgba(16,34,48,.04); }
.about-card h2 { font-size: clamp(34px, 3.4vw, 48px); }
.about-copy { padding-top: 32px; border-top: 1px solid var(--line); }
.about-copy p { color: var(--muted); font-size: 15px; line-height: 1.85; margin: 0 0 18px; }
.about-copy strong { color: var(--ink); font-weight: 650; }

.contact-section { padding: 100px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1.1fr .9fr; gap: 110px; background: #0b6e85; color: white; }
.contact-copy { max-width: 610px; }
.contact-copy .eyebrow { color: #b7e5ed; }
.contact-copy .eyebrow > span { background: white; }
.contact-copy > p:not(.eyebrow) { max-width: 560px; color: #c3e2e8; line-height: 1.8; margin: 28px 0 36px; }
.button-light { background: white; color: #0a5365; }
.whatsapp-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #20c66b; box-shadow: 0 0 0 4px rgba(32,198,107,.12); }
.contact-details { align-self: end; border-top: 1px solid rgba(255,255,255,.23); }
.detail-row { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.detail-row > span { color: #9bd0da; font: 500 10px/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; }
.detail-row a, .detail-row p { margin: 0; font-size: 14px; overflow-wrap: anywhere; }

footer { padding: 44px max(24px, calc((100vw - 1180px) / 2)); background: #05131f; color: #728690; display: grid; grid-template-columns: .8fr 1.4fr .8fr; gap: 40px; align-items: center; font-size: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.footer-brand div { display: flex; flex-direction: column; gap: 3px; }
.footer-brand strong { color: white; font-size: 12px; letter-spacing: .1em; }
.footer-brand div span { font-size: 9px; }
.legal { display: flex; flex-direction: column; gap: 4px; text-align: center; line-height: 1.5; }
.copyright { margin: 0; text-align: right; }

@keyframes pulse { 50% { transform: scale(.97); opacity: .55; } }

@media (max-width: 980px) {
  .site-header { width: calc(100% - 36px); }
  .nav { display: none; }
  .hero { min-height: 790px; padding-top: 170px; }
  .hero-content { width: 74%; }
  .hero-visual { opacity: .35; right: -150px; }
  .section-heading { grid-template-columns: 1fr 1.6fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .process-section { grid-template-columns: 1fr; gap: 60px; }
  .about-card { gap: 50px; padding: 48px; }
  .contact-section { gap: 60px; }
  footer { grid-template-columns: 1fr 1fr; }
  .legal { display: none; }
}

@media (max-width: 700px) {
  .site-header { height: 78px; }
  .header-cta { font-size: 0; gap: 0; }
  .header-cta::before { content: "Contato"; font-size: 13px; }
  .header-cta span { display: none; }
  .hero { min-height: 720px; padding-top: 140px; }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(46px, 14.5vw, 64px); }
  .hero-copy { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-visual { display: none; }
  .hero-foot span:last-child { display: none; }
  .section { padding-top: 82px; padding-bottom: 82px; }
  .section-heading { display: block; margin-bottom: 42px; }
  .section-heading h2 { margin-bottom: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; padding: 28px 24px; grid-template-columns: 44px 1fr; }
  .process-section { padding-top: 82px; padding-bottom: 82px; }
  .step { grid-template-columns: 32px 44px 1fr; gap: 12px; }
  .step p { grid-column: 3; margin-top: 4px; }
  .about-section { padding-top: 54px; padding-bottom: 54px; }
  .about-card { grid-template-columns: 1fr; gap: 38px; padding: 32px 24px; }
  .contact-section { grid-template-columns: 1fr; gap: 56px; padding-top: 82px; padding-bottom: 82px; }
  footer { grid-template-columns: 1fr; gap: 26px; }
  .legal { display: flex; text-align: left; }
  .copyright { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
