/* NEXOO — nexoo.tec.br
   Built from the "Website moderno Nexoo.tec" design (Modernist system, NEXOO palette). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/archivo-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #061C46;
  --blue: #0A6BFF;
  --blue-600: #0757D6;
  --blue-700: #0546AE;
  --cyan: #12CFE3;
  --turq: #18E0C1;
  --text: #0A1C38;
  --muted: #53647A;
  --bg: #FFFFFF;
  --surface: #F4F7FB;
  --tint: #EEF4FF;
  --line: rgba(10, 28, 56, .14);
  --rule: rgba(10, 28, 56, .12);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-wrap: pretty;
}
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; margin: 0; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--cyan); }
::selection { background: rgba(10, 107, 255, .25); }
section[id] { scroll-margin-top: 80px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 16px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: end;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* — type — */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-700);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--blue); flex-shrink: 0; }
.on-dark .eyebrow { color: var(--cyan); }
.on-dark .eyebrow::before { background: var(--cyan); }
.h2 {
  margin-top: 24px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02;
  letter-spacing: -.035em; color: var(--navy);
}
.on-dark .h2 { color: #fff; }
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); }
.lead-strong { font-size: 17px; line-height: 1.65; color: var(--text); font-weight: 600; }
.accent { color: var(--blue); }
.on-dark .accent { color: var(--cyan); }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 22px; min-height: 48px;
  font: 800 15px/1.2 var(--font); letter-spacing: 0;
  border: 1.5px solid transparent; border-radius: 0; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { flex-shrink: 0; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-primary:active { background: var(--blue-700); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--text); justify-content: flex-start; }
.btn-outline:hover { background: rgba(10, 28, 56, .06); color: var(--text); }
.btn-ghost { background: none; border: 0; color: var(--cyan); padding: 10px 0; justify-content: flex-start; }
.btn-ghost:hover { color: #fff; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ═════════ Header ═════════ */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 2px solid var(--rule);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 10px 30px rgba(6, 28, 70, .08);
}
.header-bar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand-tag {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  font-weight: 600; border-left: 1px solid rgba(10, 28, 56, .2); padding-left: 14px; line-height: 1.3;
}
.nav-main { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav-main a:not(.btn) { font-size: 14px; font-weight: 600; color: var(--text); }
.nav-main a:not(.btn):hover { color: var(--blue); }
.nav-main .btn { padding: 12px 18px; font-size: 14px; gap: 10px; min-height: 0; }
.menu-toggle {
  display: none; width: 44px; height: 44px; place-items: center; padding: 0;
  background: transparent; color: var(--text); border: 1.5px solid rgba(10, 28, 56, .3); cursor: pointer;
}
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-mobile {
  display: none; flex-direction: column; background: #fff;
  border-top: 2px solid var(--rule); padding: 8px var(--gutter) 20px;
}
.nav-mobile a:not(.btn) { padding: 14px 0; font-size: 17px; font-weight: 700; color: var(--text); border-bottom: 1px solid #E7EDF4; }
.nav-mobile .btn { margin-top: 16px; }
.site-header.menu-open .nav-mobile { display: flex; }

@media (max-width: 959px) {
  .nav-main { display: none; }
  .menu-toggle { display: grid; }
}
@media (max-width: 380px) { .brand-tag { display: none; } }

/* ═════════ Hero ═════════ */
.hero { position: relative; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(6, 28, 70, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 28, 70, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-inner {
  position: relative;
  padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 104px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(48px, 6vw, 88px); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; animation: nxIn .9s var(--ease) both; }
.hero h1 {
  margin: 28px 0 0 -.05em; font-size: clamp(42px, 5.3vw, 76px); line-height: .98; overflow-wrap: break-word;
  letter-spacing: -.04em; color: var(--navy);
}
.hero-lead { margin-top: 28px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-ctas .btn-primary { min-width: 250px; gap: 28px; }
.hero-pillars {
  display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 44px 0 0; padding: 20px 0 0; list-style: none;
  border-top: 2px solid var(--rule);
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.hero-pillars li { display: flex; align-items: center; gap: 10px; }
.hero-pillars li::before { content: ""; width: 6px; height: 6px; background: var(--c, var(--blue)); }

/* hero mosaic */
.mosaic {
  width: 100%; max-width: 600px; justify-self: end; aspect-ratio: 1 / 1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 1px; background: rgba(6, 28, 70, .14); border: 1px solid rgba(6, 28, 70, .14);
}
.tile {
  position: relative; overflow: hidden; background: #fff;
  padding: clamp(10px, 1.4vw, 16px);
  display: flex; flex-direction: column; justify-content: space-between;
  animation: nxIn .8s var(--ease) both; animation-delay: var(--d, 0s);
}
.tile-label { font-size: clamp(9px, .9vw, 11px); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile svg.ico { width: 26px; height: 26px; }
.t-brand { grid-area: 1 / 1 / 3 / 3; background: var(--navy); padding: clamp(14px, 2vw, 24px); }
.t-brand .glow {
  position: absolute; inset: -30%;
  background: radial-gradient(circle at 60% 40%, rgba(18, 207, 227, .55), transparent 50%);
  animation: nxGlow 7s ease-in-out infinite;
}
.t-brand img { position: relative; width: 52%; height: auto; }
.t-brand span { position: relative; font-size: clamp(13px, 1.3vw, 17px); font-weight: 800; line-height: 1.2; color: #fff; letter-spacing: -.01em; }
.t-auto { grid-area: 1 / 3 / 2 / 4; background: var(--blue); color: #fff; }
.t-auto .tile-label, .t-data .tile-label { color: #fff; }
.t-gest { grid-area: 1 / 4 / 2 / 5; }
.t-gest .dots { display: flex; gap: 5px; }
.t-gest .dots i { width: 8px; height: 8px; background: var(--blue); animation: nxBlink 1.8s ease-in-out infinite; }
.t-gest .dots i:nth-child(2) { animation-delay: .3s; }
.t-gest .dots i:nth-child(3) { animation-delay: .6s; }
.t-ind { grid-area: 2 / 3 / 3 / 5; }
.bars { display: flex; align-items: flex-end; gap: 7%; height: 58%; border-bottom: 1.5px solid var(--navy); }
.bars i { flex: 1; height: var(--h); background: var(--navy); opacity: .85; transform-origin: bottom; animation: nxBar 3.2s ease-in-out infinite; animation-delay: var(--d); }
.bars i:nth-child(6) { background: var(--blue); opacity: 1; }
.bars i:nth-child(7) { background: var(--cyan); opacity: 1; }
.t-int {
  grid-area: 3 / 1 / 4 / 2; color: var(--navy);
  background: linear-gradient(120deg, var(--cyan), var(--turq), var(--blue), var(--cyan)); background-size: 300% 300%;
  animation: nxIn .8s var(--ease) both, nxShift 8s ease-in-out infinite; animation-delay: var(--d), 0s;
}
.t-int .tile-label { color: var(--navy); font-weight: 800; }
.t-flow { grid-area: 3 / 2 / 4 / 4; padding-left: clamp(14px, 2vw, 22px); padding-right: clamp(14px, 2vw, 22px); }
.track { position: relative; height: 2px; background: rgba(6, 28, 70, .18); margin: 0 6px 14px; }
.track i { position: absolute; top: 50%; left: var(--x); width: 8px; height: 8px; background: var(--navy); transform: translate(-50%, -50%); }
.track b {
  position: absolute; top: 50%; left: 0; width: 12px; height: 12px; background: var(--cyan);
  transform: translate(-50%, -50%);
  animation: nxTravel 3.6s cubic-bezier(.6, 0, .4, 1) infinite, nxPulse 1.2s ease-out infinite;
}
.t-data { grid-area: 3 / 4 / 5 / 5; background: linear-gradient(180deg, var(--navy), var(--blue)); color: #fff; }
.t-form {
  grid-area: 4 / 1 / 5 / 3; display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: clamp(12px, 2vw, 24px); padding-left: clamp(14px, 2vw, 22px); padding-right: clamp(14px, 2vw, 22px);
}
.t-form .tile-label { writing-mode: vertical-rl; transform: rotate(180deg); }
.checks { display: flex; flex-direction: column; gap: clamp(6px, 1vw, 10px); }
.checks div { display: flex; align-items: center; gap: 10px; }
.checks i { width: 13px; height: 13px; border: 1.5px solid var(--navy); flex-shrink: 0; animation: nxCheck 4.5s ease-in-out infinite; animation-delay: var(--d); }
.checks span { height: 6px; width: var(--w); background: rgba(6, 28, 70, .14); }
.t-evo { grid-area: 4 / 3 / 5 / 4; background: var(--tint); color: var(--blue); }
.t-evo .tile-label { color: var(--blue-700); }

/* marquee */
.marquee { border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: nxMarquee 36s linear infinite; }
.marquee-group {
  display: flex; align-items: center; gap: 40px; padding-right: 40px;
  font-size: clamp(26px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap;
}
.marquee-group span { color: var(--navy); }
.marquee-group .o { color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.marquee-group .b { color: var(--blue); }
.marquee-group i { width: 12px; height: 12px; background: var(--c, var(--blue)); }

/* ═════════ Grid cards (shared) ═════════ */
.cell-grid {
  display: grid; gap: 1px; background: var(--line);
  border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line);
}
.cards { margin-top: clamp(48px, 6vw, 72px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card {
  background: #fff; color: var(--text); padding: 32px 28px 40px; min-height: 300px;
  display: flex; flex-direction: column; gap: 20px; transition: background .35s, color .35s;
}
.card:hover { background: var(--navy); color: #fff; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.card-num { font-size: 13px; font-weight: 700; letter-spacing: .1em; opacity: .6; }
.card h3 { margin-top: auto; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.card p { font-size: 15.5px; line-height: 1.6; opacity: .78; }

/* ═════════ Método ═════════ */
.dark { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.dark .orb {
  position: absolute; aspect-ratio: 1 / 1; pointer-events: none; animation: nxGlow 12s ease-in-out infinite;
}
.method .orb { right: -12%; top: -30%; width: 70%; background: radial-gradient(circle, rgba(10, 107, 255, .35), transparent 62%); }
.method .lead { color: rgba(255, 255, 255, .8); }
.steps {
  position: relative; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px;
  background: rgba(255, 255, 255, .14);
  border-top: 2px solid rgba(255, 255, 255, .28); border-bottom: 2px solid rgba(255, 255, 255, .28);
}
.step { background: var(--navy); display: flex; flex-direction: column; }
.step button {
  all: unset; box-sizing: border-box; cursor: pointer; flex: 1; display: flex; flex-direction: column;
  padding: 28px 24px 36px; gap: 18px; transition: background .4s;
}
.step button:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.step-bar { height: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.step-bar::after {
  content: ""; display: block; height: 100%; background: var(--cyan);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.step.is-done .step-bar::after { transform: scaleX(1); }
.step-head { display: flex; justify-content: space-between; align-items: center; }
.step-ico {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; transition: all .4s;
}
.step-num { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
.step h3 { margin-top: 8px; font-size: 24px; letter-spacing: -.02em; color: #fff; }
.step p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .72); transition: color .4s; }
.step.is-active button { background: rgba(255, 255, 255, .06); }
.step.is-active .step-ico { border-color: var(--cyan); background: var(--cyan); color: var(--navy); }
.step.is-active p { color: #fff; }

/* ═════════ Governo Digital ═════════ */
.gov .section { padding-bottom: 0; }
.gov-grid { align-items: start; gap: 48px clamp(40px, 6vw, 96px); }
.gov-copy { display: flex; flex-direction: column; align-items: flex-start; }
.gov-copy .lead { margin-top: 28px; }
.gov-copy .lead-strong { margin-top: 16px; }
.gov-copy .btn { margin-top: 32px; }
.areas { margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.areas li {
  background: #fff; padding: 22px 20px; display: flex; align-items: center; gap: 16px;
  font-size: 16px; font-weight: 700; color: var(--text); transition: background .25s;
}
.areas li:hover { background: var(--tint); }
.areas svg, .tiles svg, .benefits svg { flex-shrink: 0; }
.quote {
  margin: clamp(64px, 8vw, 104px) 0 0; padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 9vw, 120px);
  border-top: 2px solid var(--navy);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 3vw, 40px);
}
.quote-mark { font-size: clamp(64px, 8vw, 120px); line-height: .8; font-weight: 800; color: var(--blue); }
.quote p { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; color: var(--navy); }

/* ═════════ LicitaGov ═════════ */
.band { background: var(--surface); border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.lg-grid { align-items: center; gap: 56px clamp(40px, 6vw, 96px); }
.lg-copy { display: flex; flex-direction: column; align-items: flex-start; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px;
  background: #fff; border: 1.5px solid var(--text);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text);
}
.badge i { width: 8px; height: 8px; background: var(--cyan); animation: nxPulse 1.6s ease-out infinite; }
.lg-title { margin: 28px 0 0 -.04em; font-size: clamp(56px, 7.4vw, 104px); line-height: .92; letter-spacing: -.05em; color: var(--navy); }
.lg-sub { margin-top: 24px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.02em; color: var(--text); }
.lg-copy .lead { margin-top: 20px; }
.lg-copy .lead + .lead { margin-top: 14px; }
.lg-copy .btn { margin-top: 32px; gap: 28px; }
.micro { margin-top: 14px; font-size: 14px; color: var(--muted); }

.flow { background: #fff; border: 1.5px solid var(--text); box-shadow: 12px 12px 0 var(--navy); }
.flow-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1.5px solid var(--text);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.flow-head small { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.flow-progress { height: 3px; background: var(--tint); }
.flow-progress div { height: 100%; width: 0; background: var(--blue); transition: width .5s var(--ease); }
.flow ol { list-style: none; margin: 0; padding: 6px 0; }
.flow li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; align-items: center; gap: 14px;
  padding: 10px 16px; transition: background .35s;
}
.flow li .n {
  width: 28px; height: 28px; display: grid; place-items: center; font-size: 12px; font-weight: 800;
  background: #fff; color: var(--muted); border: 1.5px solid rgba(10, 28, 56, .25); transition: all .35s;
}
.flow li .q { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .35s; }
.flow li svg { opacity: 0; transition: opacity .3s; }
.flow li.is-done .n { background: var(--navy); border-color: var(--navy); color: #fff; }
.flow li.is-done .q { color: var(--text); }
.flow li.is-done svg { opacity: 1; }
.flow li.is-current { background: var(--tint); }
.flow li.is-current .n { background: var(--blue); border-color: var(--blue); color: #fff; }
.flow li.is-current .q { color: var(--text); font-weight: 700; }
.flow-stamp {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; padding: 16px;
  border-top: 1.5px solid var(--text); background: var(--tint); color: var(--blue-700);
  font: 800 14px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase;
  transition: background .4s, color .4s;
}
.flow-stamp:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; }
.flow.is-complete .flow-stamp { background: var(--blue); color: #fff; }

.benefits { margin-top: clamp(56px, 7vw, 88px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.benefits > div { background: var(--surface); padding: 28px 24px 32px; display: flex; gap: 18px; align-items: flex-start; }
.benefits h3 { font-size: 20px; color: var(--navy); }
.benefits p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }

/* ═════════ Sob medida ═════════ */
.tailor-kicker { font-size: clamp(20px, 2vw, 26px); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--blue); }
.tailor-copy .lead { margin-top: 16px; }
.tiles { margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.tiles > li > *, .tiles > li {
  background: #fff; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.tiles > li { padding: 24px; transition: background .25s; }
.tiles > li:hover { background: var(--tint); }
.tiles span { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
.tiles > li.tile-cta { padding: 0; background: var(--blue); }
.tiles > li.tile-cta a { padding: 24px; background: var(--blue); color: #fff; height: 100%; transition: background .25s; }
.tiles > li.tile-cta a:hover { background: var(--navy); }
.tiles > li.tile-cta span { color: #fff; }

/* ═════════ Sobre ═════════ */
.about-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px clamp(40px, 6vw, 96px); align-items: center;
}
.hq-art {
  position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--navy); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3.5vw, 40px);
}
.hq-art::before {
  content: ""; position: absolute; inset: 0;
  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: 48px 48px;
}
.hq-art .orb { right: -25%; bottom: -45%; width: 90%; background: radial-gradient(circle, rgba(18, 207, 227, .4), transparent 60%); }
.hq-art > * { position: relative; }
.hq-art img { width: 22%; min-width: 72px; height: auto; }
.hq-pin { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.hq-name { margin-top: 12px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.hq-city { margin-top: 8px; font-size: 16px; color: rgba(255, 255, 255, .72); font-weight: 600; }
.about-copy { display: flex; flex-direction: column; align-items: flex-start; }
.about-copy .lead-strong { margin-top: 24px; }
.about-copy .lead { margin-top: 14px; }
.facts { margin: 36px 0 0; width: 100%; border-top: 2px solid var(--navy); }
.facts > div {
  display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 2fr); gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--text); display: flex; gap: 8px; align-items: flex-start; font-variant-numeric: tabular-nums; }
.facts dd svg { flex-shrink: 0; margin-top: 2px; }

/* ═════════ Contato ═════════ */
.contact .orb { left: -20%; bottom: -50%; width: 70%; background: radial-gradient(circle, rgba(18, 207, 227, .22), transparent 60%); animation-duration: 14s; }
.contact-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 48px clamp(40px, 6vw, 96px); align-items: start;
}
.contact h2 { margin-top: 24px; font-size: clamp(40px, 5.4vw, 72px); line-height: .98; letter-spacing: -.04em; color: #fff; }
.contact-lead { margin-top: 28px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, .82); }
.contact-lead strong { color: var(--cyan); }

.form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px 16px;
  border-top: 2px solid rgba(255, 255, 255, .4); padding-top: 28px;
}
.field { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.field-full { grid-column: 1 / -1; }
.field input, .field textarea {
  font: 400 16px/1.4 var(--font); letter-spacing: 0; text-transform: none;
  color: #fff; background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 0; padding: 13px 14px; width: 100%;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(255, 255, 255, .1); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .45); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #FF8A8A; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { grid-column: 1 / -1; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.consent a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 6px; }
.form-foot > span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.form-foot .btn { min-width: 240px; gap: 40px; }
.form-error { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-left: 3px solid #FF8A8A; background: rgba(255, 138, 138, .1); color: #fff; font-size: 15px; }
.form-error[hidden], .form[hidden] { display: none; }
.sent {
  border-top: 2px solid var(--cyan); padding-top: 32px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px; animation: nxIn .6s var(--ease) both;
}
.sent[hidden] { display: none; }
.sent-ico { width: 56px; height: 56px; display: grid; place-items: center; background: var(--cyan); color: var(--navy); }
.sent h3 { margin-top: 8px; font-size: 32px; letter-spacing: -.02em; color: #fff; }
.sent p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .82); }

/* ═════════ Footer ═════════ */
.site-footer { background: #fff; border-top: 2px solid var(--navy); }
.footer-inner { padding-top: 56px; padding-bottom: 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 36px 48px; align-items: start; }
.footer-col { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--text); }
.footer-col img { height: 32px; width: auto; align-self: flex-start; }
.footer-col .tag { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.footer-col h2 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer-col strong { font-weight: 700; }
.footer-col a { color: var(--text); font-weight: 600; }
.footer-col a:hover { color: var(--blue); }
.footer-col a.domain { color: var(--blue-700); font-weight: 700; }
.footer-bottom {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted);
}
.footer-bottom a { color: var(--text); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.footer-bottom a:hover { color: var(--blue); }

/* ═════════ Legal page ═════════ */
.legal { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(72px, 10vw, 128px); max-width: 820px; }
.legal h1 { margin-top: 24px; font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -.035em; color: var(--navy); }
.legal .updated { margin-top: 16px; color: var(--muted); font-size: 14px; }
.legal h2 { margin-top: 44px; padding-top: 20px; border-top: 2px solid var(--navy); font-size: 22px; letter-spacing: -.01em; color: var(--navy); }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: var(--text); }
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .back { margin-top: 48px; }

/* ═════════ Reveal + motion ═════════ */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease) var(--rd, 0ms), transform .9s var(--ease) var(--rd, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes nxIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes nxGlow { 0%, 100% { transform: translate(-8%, 8%) scale(1); opacity: .55; } 50% { transform: translate(10%, -8%) scale(1.25); opacity: .95; } }
@keyframes nxBar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes nxTravel { 0% { left: 0%; } 100% { left: 100%; } }
@keyframes nxShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes nxBlink { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes nxCheck { 0%, 12% { background: transparent; } 22%, 82% { background: var(--blue); } 100% { background: transparent; } }
@keyframes nxPulse { 0% { box-shadow: 0 0 0 0 rgba(18, 207, 227, .7); } 100% { box-shadow: 0 0 0 9px rgba(18, 207, 227, 0); } }
@keyframes nxMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ═════════ Mobile: compactar grades ═════════ */
@media (max-width: 599px) {
  .card { min-height: 0; padding: 24px 20px 28px; gap: 14px; }
  .card h3 { margin-top: 8px; font-size: 22px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles > li { padding: 18px 16px; min-height: 112px; gap: 14px; }
  .tiles > li.tile-cta a { padding: 18px 16px; }
  .tiles span { font-size: 16px; }
  .areas li { padding: 16px; }
  .step button { padding: 20px 20px 24px; gap: 10px; }
  .step-ico { width: 40px; height: 40px; }
  .step h3 { margin-top: 2px; font-size: 21px; }
  .benefits > div { padding: 22px 4px 24px; }
}
