:root {
  color-scheme: light;
  --ink: #111b35;
  --muted: #515e77;
  --blue: #1949e2;
  --blue-hover: #1038bf;
  --line: #e3e9f4;
  --pale: #f5f8ff;
  --width: 1184px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: white;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #365ae7; outline-offset: 5px; }

.shell { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: white;
  border: 1px solid var(--line);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.site-header { background: #fff; border-bottom: 1px solid #e9eef8; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.header-inner { min-height: 76px; gap: 20px; }
.header-inner .brand { margin-right: auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 750; letter-spacing: -.8px; flex: none; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; flex: none; }
.site-nav, .footer-inner nav { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px); }
.site-nav > a, .footer-inner nav a { font-size: 14px; font-weight: 550; color: var(--muted); white-space: nowrap; }
.site-nav > a:hover, .site-nav > a[aria-current], .site-nav > a[data-active], .footer-inner nav a:hover { color: var(--blue); }
.site-nav > .nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid #dce6fa;
  border-radius: 9px;
  color: var(--blue);
  background: #f8faff;
}
.nav-contact:hover { background: #eef3ff; }
.menu-toggle { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: #fff; color: var(--ink); cursor: pointer; }
.language-nav { display: flex; align-items: center; flex: none; gap: 2px; padding: 3px; border-radius: 8px; background: #f1f5fc; }
.language-nav a { display: grid; min-width: 28px; min-height: 32px; place-items: center; border-radius: 5px; color: var(--muted); font-size: 11px; font-weight: 750; }
.language-nav a:hover { color: var(--blue); }
.language-nav a[aria-current] { background: white; color: var(--blue); box-shadow: 0 1px 4px #172c6414; }

.hero { background: linear-gradient(105deg, #f6f8ff 10%, #eef4ff 60%, #eaf1ff 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; min-height: 503px; position: relative; }
.hero-copy { position: relative; z-index: 1; padding-block: 76px 79px; }
.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .055em;
  margin-bottom: 23px;
}
.eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
h1 { font-size: clamp(44px, 5vw, 76px); font-weight: 800; line-height: 1.13; letter-spacing: -.055em; }
h1 em { color: var(--blue); font-style: normal; }
html:lang(pt) .hero h1, html:lang(es) .hero h1 { font-size: clamp(36px, 4.45vw, 65px); }
.hero-description { max-width: 435px; color: var(--muted); font-size: 17px; line-height: 1.85; margin-top: 24px; }
.hero-art {
  width: 107%;
  max-width: none;
  height: auto;
  margin-left: -2%;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 90%, transparent),
              linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect;
}
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 10px 19px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease;
}
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-hover); }
.button-secondary { border-color: #d8e2f5; background: #ffffffa8; }
.button-secondary:hover { background: white; border-color: #aebff1; }
.button-white { background: white; color: var(--blue); flex: none; max-width: 100%; overflow-wrap: anywhere; }
.button-white:hover { background: #e7eeff; }

.section { padding-block: 72px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
h2 { font-size: clamp(29px, 3.2vw, 41px); letter-spacing: -.045em; line-height: 1.2; font-weight: 780; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.service-grid, .app-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card, .app-card, .feature-card { border: 1px solid var(--line); border-radius: 18px; background: white; }
.service-card { transition: box-shadow .2s, border-color .2s, transform .2s; }
.service-card:hover { border-color: #c9d7f9; box-shadow: 0 12px 32px #21347013; transform: translateY(-4px); }
.service-link { display: block; height: 100%; border-radius: inherit; padding: 9px; }
.service-card-copy { padding: 19px 13px 14px; }
.service-card h3 { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 22px; letter-spacing: -.035em; }
.service-card h3 span { color: var(--blue); font-size: 18px; font-weight: 500; }
.service-card p, .app-card p, .feature-card p { margin-top: 9px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 11px; font-weight: 650; padding: 4px 8px; border-radius: 5px; background: #eff3fb; color: #435575; }
.service-visual { min-height: 148px; overflow: hidden; position: relative; isolation: isolate; border-radius: 11px; }
.service-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .47;
  background: radial-gradient(circle, currentColor 1px, transparent 1.2px) 0 0 / 13px 13px;
  mask-image: linear-gradient(95deg, transparent, #000);
}
.visual-apps { background: #e9efff; color: #a6baf4; }
.visual-commerce { background: #e5f6f5; color: #9dd8d4; }
.visual-ai { background: #f0ebff; color: #c8b7fa; }
.mini-phone, .mini-chart, .mini-window {
  position: absolute;
  background: #ffffffd9;
  border: 1px solid #fff;
  box-shadow: 0 12px 24px #31498925;
}
.mini-phone { width: 69px; height: 109px; border-radius: 14px; top: 19px; left: calc(50% - 35px); transform: rotate(-15deg); }
.mini-phone i { position: absolute; width: 16px; height: 3px; top: 8px; left: 25px; border-radius: 9px; background: #abc0fc; }
.mini-phone b, .mini-phone span { position: absolute; left: 12px; width: 43px; background: #e0e9ff; border-radius: 5px; }
.mini-phone b { height: 38px; top: 24px; background: linear-gradient(145deg, #b2c8ff, #6389ff); }
.mini-phone span { height: 5px; top: 75px; box-shadow: 0 10px 0 #e0e9ff; }
.mini-tile { position: absolute; display: grid; place-items: center; border-radius: 9px; width: 38px; height: 38px; color: white; font-size: 22px; box-shadow: 0 8px 14px #4164c33b; }
.mini-tile-one { left: calc(50% + 19px); top: 29px; background: #3764f0; transform: rotate(12deg); }
.mini-tile-two { left: calc(50% - 64px); top: 81px; background: #85a3ff; transform: rotate(-8deg); }
.mini-chart { display: flex; align-items: end; gap: 6px; border-radius: 12px; left: calc(50% - 67px); top: 28px; width: 114px; height: 86px; padding: 12px; transform: rotate(-9deg); }
.mini-chart i { width: 12px; background: linear-gradient(#35b7a8, #93dacf); border-radius: 4px 4px 0 0; }
.mini-chart i:nth-child(1) { height: 24%; }
.mini-chart i:nth-child(2) { height: 41%; }
.mini-chart i:nth-child(3) { height: 35%; }
.mini-chart i:nth-child(4) { height: 66%; }
.mini-chart i:nth-child(5) { height: 88%; }
.mini-package { position: absolute; display: grid; place-items: center; border-radius: 10px; width: 45px; height: 45px; left: calc(50% + 26px); top: 72px; background: #23a192; box-shadow: 0 8px 14px #16766b40; transform: rotate(12deg); }
.mini-package i { border: 2px solid white; border-radius: 4px; height: 18px; width: 20px; }
.mini-package i::before { content: ""; display: block; height: 6px; width: 4px; background: white; margin: 0 auto; }
.mini-window { border-radius: 11px; width: 117px; height: 79px; left: calc(50% - 55px); top: 34px; padding: 18px 13px; transform: rotate(-9deg); }
.mini-window i { display: block; height: 5px; width: 72%; margin: 0 0 8px; border-radius: 9px; background: #d9ccff; }
.mini-window i:nth-child(2) { width: 91%; }
.mini-window i:nth-child(3) { width: 53%; }
.mini-spark, .mini-spark-small { position: absolute; color: #7249e9; line-height: 1; }
.mini-spark { font-size: 66px; left: calc(50% + 17px); top: 25px; text-shadow: 1px 7px 11px #6743c853; }
.mini-spark-small { font-size: 28px; left: calc(50% + 38px); top: 88px; }

.app-section { background: var(--pale); border-block: 1px solid #eff3fc; }
.app-card { display: flex; flex-direction: column; overflow: hidden; }
.app-card-visual { position: relative; margin: 0; width: 100%; }
.app-card-visual img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.app-card-visual figcaption { position: absolute; bottom: 8px; right: 8px; padding: 4px 7px; border-radius: 5px; background: #ffffffed; color: var(--muted); font-size: 10px; }
.app-card-content { display: flex; flex-direction: column; flex: 1; align-items: start; padding: 20px; gap: 12px; }
.app-card-heading { display: flex; align-items: center; gap: 12px; }
.app-card h3, .feature-card h3 { font-size: 20px; letter-spacing: -.03em; }
.app-card p { margin: 0 0 3px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.app-card .text-link { margin-top: auto; }
.app-icon { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex: none; }

.contact-section { padding-block: 56px 68px; }
.contact-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 33px clamp(22px, 4vw, 48px);
  border-radius: 18px;
  color: white;
  background: radial-gradient(ellipse at 85% 3%, #5979f6, transparent 54%), linear-gradient(115deg, #1736b1, #204ae0);
}
.contact-banner h2 { font-size: 31px; }
.contact-banner p { color: #e7edff; margin-top: 10px; font-size: 14px; line-height: 1.65; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 100px; }
.footer-inner .brand { font-size: 17px; }
.footer-inner .brand-mark { width: 32px; height: 32px; }
.footer-inner small { color: var(--muted); font-size: 12px; white-space: nowrap; }

.inner-hero { background: linear-gradient(105deg, #f8faff, #edf3ff); padding: 28px 0 57px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }
.inner-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.inner-hero h1 { font-size: clamp(39px, 5vw, 67px); }
.inner-hero .eyebrow { margin-bottom: 15px; }
.inner-hero .hero-description { max-width: 565px; margin-top: 16px; }
.inner-hero .service-visual { height: 220px; border-radius: 19px; }
.inner-hero .service-visual > * { scale: 1.35; translate: 0 34px; }
.inner-section { padding-block: 55px; }
.inner-section h2 { margin-bottom: 22px; }
.feature-card { padding: 25px; }
.inner-section + .contact-section { padding-top: 0; }
.product-identity { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.inner-hero .product-identity .eyebrow { margin: 0; }
.product-showcase { margin: 0; }
.product-showcase img { width: 100%; height: auto; border-radius: 19px; }
.product-showcase figcaption { font-size: 11px; color: var(--muted); text-align: right; margin-top: 8px; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .hero-inner { min-height: 440px; }
  .hero-copy { padding-block: 63px; }
  .hero-art { width: 105%; }
  .service-grid, .app-grid, .feature-grid { gap: 14px; }
  .section { padding-block: 58px; }
  .service-card-copy { padding-inline: 10px; }
}

@media (max-width: 940px) {
  .header-inner { min-height: 66px; flex-wrap: wrap; gap: 0 12px; }
  .brand { font-size: 20px; }
  .language-nav { order: 1; }
  .menu-toggle { order: 2; }
  .site-nav { order: 3; width: 100%; flex-wrap: wrap; gap: 6px 20px; padding-bottom: 12px; }
  .site-nav a { display: inline-flex; min-height: 38px; align-items: center; }
  .site-nav > .nav-contact { padding: 7px 12px; }
}

@media (max-width: 750px) {
  .shell { width: calc(100% - 40px); }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-block: 52px 0; }
  html:lang(pt) .hero h1, html:lang(es) .hero h1 { font-size: clamp(31px, 8.8vw, 54px); }
  .hero-art { justify-self: center; width: min(106%, 510px); margin: -4px 0 10px; }
  .hero-description { margin-top: 17px; font-size: 16px; }
  .eyebrow { margin-bottom: 17px; }
  .actions { margin-top: 23px; }
  .section { padding-block: 48px; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; margin-bottom: 21px; }
  .service-grid, .app-grid, .feature-grid { grid-template-columns: 1fr; }
  .service-card-copy { padding-inline: 13px; }
  .contact-section { padding-block: 42px; }
  .contact-banner { flex-direction: column; align-items: start; }
  .footer-inner { min-height: 0; padding-block: 22px; flex-wrap: wrap; gap: 18px 20px; }
  .footer-inner nav { order: 3; width: 100%; gap: 10px 20px; flex-wrap: wrap; }
  .inner-hero { padding-bottom: 30px; }
  .breadcrumbs { margin-bottom: 25px; }
  .inner-hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .inner-hero .service-visual { min-height: 0; height: 167px; }
  .inner-hero .service-visual > * { scale: 1.08; translate: 0 9px; }
}

@media (max-width: 370px) {
  .shell { width: calc(100% - 30px); }
  h1 { font-size: 40px; }
  .header-inner { gap: 0 7px; }
  .header-inner .brand { font-size: 17px; gap: 7px; }
  .header-inner .brand-mark { width: 29px; height: 29px; }
  .menu-toggle { padding-inline: 9px; font-size: 13px; }
}

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