/* ============ Tokens ============
   Arpex: navy #000F17 · lima #DAFE52
   AbacatePay: papel #F8FBFA · teal #1F4647 · verde #9EEA6C · menta #E6F9DA */
:root {
  --navy: #000f17;
  --brand-dot: var(--lime);
  --brand-dot-on-light: #4d7c0f;
  --navy-2: #0a1c27;
  --navy-3: #0d2330;
  --lime: #dafe52;
  --green: #9eea6c;
  --leaf: #2ea603;
  --mint: #e6f9da;
  --teal: #1f4647;
  --steel: #9ab8c8;
  --slate: #5e7682;

  --bg: #f8fbfa;
  --surface: #ffffff;
  --surface-2: #eef5f2;
  --ink: #0b2a2b;
  --ink-2: #1f4647;
  --muted: #5e7682;
  --line: rgba(31, 70, 71, 0.12);
  --card-shadow: 0 1px 0 rgba(31, 70, 71, 0.06), 0 20px 50px -30px rgba(31, 70, 71, 0.35);

  --radius: 22px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
}


/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
h1, h2, h3, p { margin: 0; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--lime); color: var(--navy); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1200px, 100% - 64px); } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.btn svg { font-size: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn-lime { background: var(--lime); color: var(--navy); box-shadow: 0 10px 30px -12px rgba(218, 254, 82, 0.7); }
.btn-lime:hover { background: #e6ff7d; }
.btn-ghost { color: #fafafa; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--lime); color: var(--lime); }
.btn-dark { background: var(--navy); color: var(--lime); }
.btn-dark:hover { background: var(--teal); }
.btn:focus-visible, .chip:focus-visible, .service-row:focus-visible, .split-card:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  transform: translateX(-50%);
  width: min(1200px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  background: rgba(0, 15, 23, 0.55);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fafafa;
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.nav.light { --brand-dot: var(--brand-dot-on-light); background: rgba(248, 251, 250, 0.75); color: var(--ink); border-color: var(--line); }

/* Marca tipográfica: conexx. */
.logo { display: inline-flex; align-items: baseline; gap: 0; flex-shrink: 0; font-family: var(--display); font-weight: 600; font-size: 32px; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.logo-dot { color: var(--brand-dot); margin-left: .015em; font-weight: 700; letter-spacing: 0; }
.mobile-menu-header .logo { font-size: 34px; }

.nav-links { display: none; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; opacity: 0.8; transition: opacity 0.2s, background 0.2s; }
.nav-links a:hover { opacity: 1; background: rgba(127, 127, 127, 0.14); }
@media (min-width: 960px) { .nav-links { display: flex; } }

.nav-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 420px) { .nav .btn-sm { padding: 10px 14px; font-size: 14px; } }

/* ============ Home: composição editorial ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: #081b27;
  color: #f5f7f8;
  padding: 136px 0 0;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #081b27; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center center; opacity: .88; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #081b27 0%, rgba(8,27,39,.97) 28%, rgba(8,27,39,.64) 48%, rgba(8,27,39,.12) 72%), linear-gradient(0deg, #081b27 0%, rgba(8,27,39,.82) 20%, transparent 58%); }
.hero-layout { display: grid; grid-template-columns: 1.65fr 1fr; align-items: center; gap: 64px; padding-bottom: 44px; }
.hero-inner { position: relative; }
.eyebrow { display: flex; gap: 12px; align-items: center; font-size: 11px; font-weight: 500; letter-spacing: .11em; color: #afc0c9; }
.eyebrow span { color: var(--lime); }
.hero-title { margin-top: 24px; font-family: var(--display); font-weight: 500; font-size: clamp(48px, 5.5vw, 78px); line-height: 1.06; letter-spacing: -.045em; }
.hero-title em { font-style: normal; color: var(--lime); }
.hero-sub { margin-top: 22px; color: #afc0c9; font-size: 18px; line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .btn { border-radius: 8px; padding: 15px 20px; font-size: 14px; box-shadow: none; }
.hero .btn-ghost { border: 1px solid #52616b; }
.hero-baseline { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0 calc(18px + 1vw); border-top: 1px solid rgba(178, 201, 211, .2); color: #afc0c9; }
.hero-baseline > span { font-size: 10px; letter-spacing: .14em; }
@media (max-width: 959px) {
  .hero { padding-top: 120px; }
  .hero-layout { gap: 24px; grid-template-columns: 1fr; padding-bottom: 32px; }
  .hero-title { font-size: clamp(44px, 8vw, 76px); }
}
@media (max-width: 520px) {
  .hero { padding-top: 112px; }
  .eyebrow { font-size: 9px; gap: 8px; letter-spacing: .07em; }
  .hero-title { font-size: clamp(35px, 9vw, 46px); }
  .hero-sub { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-baseline { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============ Sections ============ */
.section { padding: clamp(90px, 13vw, 160px) 0; }
.section-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.02; letter-spacing: -0.04em;
}
.section-sub { margin-top: 18px; max-width: 520px; color: var(--muted); font-size: 18px; }
.muted { color: var(--muted); }
.label {
  display: inline-block; margin-bottom: 20px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal);
}
.dark .label { color: var(--green); }
.hl { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding: 0 4px; color: inherit; }
.dark .hl { background: none; color: var(--lime); padding: 0; }

/* ============ Verticals (split) ============ */
.split { margin-top: 56px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 900px) { .split { flex-direction: row; height: 520px; } }
.split-card {
  position: relative; overflow: hidden;
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px;
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: flex 0.8s var(--ease), transform 0.4s var(--ease);
  isolation: isolate;
}
@media (min-width: 900px) {
  .split:hover .split-card { flex: 0.75; }
  .split .split-card:hover { flex: 1.35; }
}
.split-prod { background: var(--mint); color: var(--teal); }
.split-serv { background: var(--navy); color: #fafafa; }
.split-num { position: absolute; top: 28px; left: 32px; font-family: var(--display); font-weight: 600; font-size: 15px; opacity: 0.6; }
.split-body h3 { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 6vw, 76px); letter-spacing: -0.045em; line-height: 1; }
.split-body p { margin-top: 10px; font-size: 20px; font-weight: 500; }
.split-more { max-width: 380px; font-size: 16px !important; font-weight: 400 !important; opacity: 0.75; max-height: 0; overflow: hidden; transition: max-height 0.7s var(--ease), opacity 0.5s; }
.split-card:hover .split-more, .split-card:focus-visible .split-more { max-height: 120px; }
@media (max-width: 899px) { .split-more { max-height: 120px; } }
.split-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px;
  background: var(--navy); color: var(--lime);
  transition: transform 0.5s var(--ease);
}
.split-serv .split-arrow { background: var(--lime); color: var(--navy); }
.split-card:hover .split-arrow { transform: rotate(45deg) scale(1.08); }

/* decorative art */
.split-art { position: absolute; z-index: -1; top: 50%; right: 8%; transform: translateY(-62%); display: grid; grid-template-columns: repeat(2, 76px); gap: 12px; transition: transform 0.8s var(--ease); }
.split-art span { width: 76px; height: 76px; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px -20px rgba(31, 70, 71, 0.5); }
.split-art span:nth-child(2) { background: var(--green); border-radius: 50%; }
.split-art span:nth-child(3) { background: var(--teal); }
.split-art span:nth-child(4) { background: var(--lime); }
.split-prod:hover .split-art { transform: translateY(-62%) rotate(-8deg) scale(1.08); }

.split-art.orbit { display: block; width: 200px; height: 200px; right: 10%; }
.split-art.orbit span { position: absolute; inset: 0; border-radius: 50%; background: none; box-shadow: none; border: 1.5px dashed rgba(255, 255, 255, 0.2); animation: spin 18s linear infinite; }
.split-art.orbit span::after { content: ""; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--lime); }
.split-art.orbit span:nth-child(2) { inset: 36px; animation-duration: 11s; animation-direction: reverse; }
.split-art.orbit span:nth-child(2)::after { background: var(--green); }
.split-art.orbit span:nth-child(3) { inset: 78px; border: 0; background: var(--lime); animation: none; }
.split-art.orbit span:nth-child(3)::after { display: none; }
.split-serv:hover .split-art.orbit span { animation-duration: 4s; }
.split-serv:hover .split-art.orbit span:nth-child(2) { animation-duration: 3s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .split-art { right: 6%; transform: translateY(-80%) scale(0.7); } .split-art.orbit { transform: translateY(-80%) scale(0.65); } }

/* ============ Products ============ */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 0; cursor: pointer;
  padding: 10px 18px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-2);
  font-size: 15px; font-weight: 500;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.chip:hover { transform: translateY(-2px); }
.chip.active { background: var(--navy); color: var(--lime); }

.product-grid { margin-top: 48px; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px;
  min-height: 380px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), border-color 0.3s;
  overflow: hidden;
}
.product::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(218, 254, 82, 0.35), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.product:hover::before { opacity: 1; }
.product:hover { border-color: rgba(158, 234, 108, 0.7); }
.product[hidden] { display: none; }
.product-top { display: flex; justify-content: space-between; align-items: center; }
.product-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--lime);
  font-family: var(--display); font-weight: 700; font-size: 22px;
}
.status { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.status.live { background: var(--mint); color: #1d6b00; }
.status.development { background: rgba(218, 254, 82, 0.5); color: var(--navy); }
.status.soon { background: var(--surface-2); color: var(--muted); }
.product h3 { margin-top: 22px; font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -0.03em; }
.product p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.product-ui { margin-top: auto; padding-top: 24px; height: 130px; position: relative; }
.ui-chat { display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.bubble { align-self: flex-start; max-width: 85%; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); font-size: 13px; color: var(--ink-2); transform: translateY(6px); opacity: 0.6; transition: transform 0.5s var(--ease), opacity 0.5s; }
.bubble.me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--navy); color: var(--lime); transition-delay: 0.12s; }
.product:hover .bubble { transform: none; opacity: 1; }

.ui-bars { display: flex; align-items: flex-end; gap: 8px; }
.ui-bars span { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: var(--mint); transform-origin: bottom; transform: scaleY(0.35); transition: transform 0.7s var(--ease), background 0.4s; }
.ui-bars span:last-child { background: var(--lime) !important; }
.product:hover .ui-bars span, .product.in .ui-bars span { transform: scaleY(1); }
.ui-bars span:nth-child(2) { transition-delay: 0.05s; } .ui-bars span:nth-child(3) { transition-delay: 0.1s; } .ui-bars span:nth-child(4) { transition-delay: 0.15s; } .ui-bars span:nth-child(5) { transition-delay: 0.2s; } .ui-bars span:nth-child(6) { transition-delay: 0.25s; }

.ui-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: end; }
.ui-tiles span { aspect-ratio: 4 / 5; border-radius: 10px; background: linear-gradient(160deg, var(--green), var(--teal)); transition: transform 0.6s var(--ease); }
.ui-tiles span:nth-child(2) { background: linear-gradient(160deg, var(--lime), var(--green)); }
.ui-tiles span:nth-child(3) { background: linear-gradient(160deg, var(--navy-3), var(--teal)); }
.ui-tiles span:nth-child(4) { background: linear-gradient(160deg, var(--mint), var(--lime)); }
.product:hover .ui-tiles span:nth-child(odd) { transform: translateY(-14px) rotate(-4deg); }
.product:hover .ui-tiles span:nth-child(even) { transform: translateY(-4px) rotate(4deg); }

.ui-list { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.ui-list span { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; border-radius: 10px; background: var(--surface-2); }
.ui-list span::after { content: ""; height: 6px; flex: 1; border-radius: 3px; background: var(--line); }
.ui-list i { width: 14px; height: 14px; border-radius: 5px; border: 2px solid var(--muted); transition: background 0.3s, border-color 0.3s; }
.product:hover .ui-list span:nth-child(1) i { background: var(--leaf); border-color: var(--leaf); }
.product:hover .ui-list span:nth-child(2) i { background: var(--leaf); border-color: var(--leaf); transition-delay: 0.2s; }

/* ============ Services ============ */
.dark { background: var(--navy); color: #fafafa; }
.dark .section-sub { color: var(--steel); }
.service-list { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.service { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.service-row {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 44px 1fr 36px; align-items: center; gap: 12px;
  padding: 26px 0;
  position: relative;
}
@media (min-width: 900px) { .service-row { grid-template-columns: 70px 1fr auto 44px; padding: 34px 0; } }
.service-row::before {
  content: ""; position: absolute; inset: 0 -16px; z-index: -1;
  border-radius: 18px; background: var(--lime);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.service-row { z-index: 0; transition: color 0.35s, padding 0.5s var(--ease); }
.service-row:hover, .service.open .service-row { color: var(--navy); }
.service-row:hover::before, .service.open .service-row::before { transform: scaleY(1); }
@media (min-width: 900px) { .service-row:hover { padding-left: 16px; } }
.service-idx { font-family: var(--display); font-size: 15px; opacity: 0.55; }
.service-name { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 4vw, 48px); letter-spacing: -0.035em; line-height: 1.1; }
.service-tags { display: none; font-size: 15px; opacity: 0.65; }
@media (min-width: 900px) { .service-tags { display: block; } }
.service-plus { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid currentColor; justify-self: end; opacity: 0.8; transition: transform 0.5s var(--ease); }
.service-plus::before, .service-plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 1px; }
.service-plus::after { transform: rotate(90deg); transition: transform 0.5s var(--ease); }
.service.open .service-plus { transform: rotate(180deg); }
.service.open .service-plus::after { transform: rotate(0deg); }
.service-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.service-detail p { overflow: hidden; color: var(--steel); font-size: 18px; max-width: 620px; padding-left: 56px; }
@media (min-width: 900px) { .service-detail p { padding-left: 86px; } }
.service.open .service-detail { grid-template-rows: 1fr; }
.service.open .service-detail p { padding-bottom: 28px; padding-top: 18px; }
.service-detail p { transition: padding 0.55s var(--ease); }

/* ============ How ============ */
.steps { position: relative; margin-top: 56px; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps-line { display: none; }
@media (min-width: 860px) {
  .steps-line { display: block; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--line); }
  .steps-line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--lime)); transition: width 0.15s linear; }
}
.step { position: relative; }
.step-n {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: 20px;
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
  position: relative; z-index: 1;
}
.step.lit .step-n { background: var(--lime); border-color: var(--lime); color: var(--navy); transform: scale(1.08); }
.step h3 { margin-top: 20px; font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.03em; }
.step p { margin-top: 6px; color: var(--muted); }

.stats { margin-top: 96px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 26px; border-radius: var(--radius); background: var(--surface-2); }
.stat strong { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(48px, 6vw, 76px); letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.stat span { display: block; margin-top: 8px; color: var(--muted); }
.stat:nth-child(1) { background: var(--navy); }
.stat:nth-child(1) strong { color: var(--lime); }
.stat:nth-child(1) span { color: var(--steel); }

/* ============ CTA ============ */
.cta {
  padding: clamp(90px, 12vw, 150px) 0;
  background: var(--lime); color: var(--navy);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  right: -260px; top: -320px;
  background: radial-gradient(circle, var(--green), transparent 65%);
  opacity: 0.7;
}
.cta-inner { position: relative; text-align: center; }
.cta-title { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 10vw, 140px); letter-spacing: -0.055em; line-height: 0.95; }
.cta-x { position: relative; display: inline-block; }
.cta-x::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.09em; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease) 0.3s; }
.cta-title.in .cta-x::after { transform: scaleX(1); }
.cta-sub { margin-top: 18px; font-size: 19px; opacity: 0.8; }
.cta-form { margin: 40px auto 0; max-width: 760px; }
.pick { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(0, 15, 23, 0.08); gap: 4px; }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: block; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background 0.3s, color 0.3s; }
.pick input:checked + span { background: var(--navy); color: var(--lime); }
.pick input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.cta-fields { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 720px) { .cta-fields { flex-direction: row; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 15, 23, 0.5); } }
.cta-fields input {
  flex: 1; min-width: 0;
  padding: 16px 22px; border: 0; border-radius: 999px;
  background: #fff; color: var(--navy); font-size: 16px;
}
.cta-fields input::placeholder { color: var(--slate); }
.cta-fields input:focus { outline: 2px solid var(--green); }
@media (min-width: 720px) { .cta-fields input:focus { outline: none; background: var(--mint); } }
.cta-fields .btn { justify-content: center; }
.form-ok { margin-top: 18px; font-weight: 600; }

/* ============ Mega footer ============ */
.footer { background: var(--navy); color: #fafafa; padding: 72px 0 0; overflow: hidden; }
.footer a:focus-visible { outline-color: var(--lime); }
.footer-invitation { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 56px; border-bottom: 1px solid #203540; }
.footer-kicker { color: #9ab8c8; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer-invitation h2 { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.04em; }
.footer-invitation h2 span { color: var(--lime); }
.footer-invitation .btn { border-radius: 8px; box-shadow: none; white-space: nowrap; }
.footer-grid { display: grid; grid-template-columns: 1.55fr .8fr .8fr 1.15fr; gap: 40px; padding: 56px 0; }
.footer-brand .logo { font-size: 40px; }
.footer .logo:hover { color: #fafafa; }
.footer-brand > p { color: #9ab8c8; font-size: 14px; line-height: 1.8; margin: 24px 0; text-wrap: pretty; }
.footer-email, .footer-method { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; font-size: 13px; }
.footer-email { color: #e3edf2; }
.footer-method { margin-top: 18px; color: #9ab8c8; font-size: 12px; }
.footer-email svg, .footer-method svg { flex-shrink: 0; }
.footer-column h3 { color: #f1f5f7; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.footer-column ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 15px; }
.footer-column a { color: #9ab8c8; font-size: 14px; transition: color .2s; }
.footer-column a[aria-current], .footer a:hover { color: var(--lime); }
.footer-invitation .btn:hover { color: var(--navy); }
.footer-all { display: inline-flex; align-items: center; gap: 16px; margin-top: 24px; color: var(--lime) !important; font-size: 12px !important; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #203540; padding-top: 24px; color: #8da6b3; font-size: 11px; }
.footer-bottom > span { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom > a { display: inline-flex; gap: 12px; align-items: center; color: #bdcfd8; }
.footer-giant { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(100px, 27vw, 540px); line-height: .83; letter-spacing: -.07em; text-align: center; padding-right: .07em; margin-top: 24px; margin-bottom: -.125em; user-select: none; background: linear-gradient(180deg, rgba(218,254,82,.65), rgba(218,254,82,.2) 65%, rgba(218,254,82,0) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-giant .logo-dot { color: inherit; }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { margin-block: 16px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .footer { padding-top: 48px; }
  .footer-invitation { flex-direction: column; align-items: flex-start; padding-bottom: 36px; }
  .footer-invitation .btn { white-space: normal; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding-block: 36px; }
  .footer-brand, .footer-services { grid-column: 1 / -1; }
  .footer-services ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
  .footer-column h3 { margin-bottom: 18px; }
  .footer-bottom { gap: 18px; }
  .footer-bottom > p { flex-basis: 100%; text-align: left; }
  .footer-giant { margin-top: 20px; font-size: 27vw; }
}

/* ============ Reveal ============ */
.will-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.will-reveal.in { opacity: 1; transform: none; }
.product.will-reveal.in { transform: none; }

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


/* ============ Páginas internas e navegação ============ */
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; background: var(--lime); color: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.nav { border-radius: 14px; }
.nav-links a { padding-inline: 12px; border-radius: 7px; }
.nav-links a[aria-current] { opacity: 1; background: rgba(127, 127, 127, .16); }
.menu-toggle { display: none; }
.page-intro { padding: 132px 0 64px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 48px; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.page-intro h1 { max-width: 1000px; font-family: var(--display); font-size: clamp(40px, 5.5vw, 72px); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }
.page-description { max-width: 640px; margin-top: 24px; color: var(--muted); font-size: 19px; }
/* Aberturas com fotografia em toda a largura e texto sobreposto. */
.page-intro-visual { position: relative; isolation: isolate; overflow: hidden; min-height: 540px; padding: 132px 0 64px; border-bottom: 0; }
.page-intro-background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--intro-position, center); }
.page-intro-visual::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(0,15,23,.9) 0%, rgba(0,15,23,.72) 48%, rgba(0,15,23,.22) 100%), linear-gradient(0deg, rgba(0,15,23,.4), transparent 60%); }
.page-intro-visual .breadcrumb { color: #d3dfe2; margin-bottom: 40px; }
.page-intro-visual .breadcrumb a:hover { color: var(--lime); }
.page-intro-visual .label { color: var(--lime); }
.page-intro-visual h1 { max-width: 900px; color: #f8fbfa; font-size: clamp(40px, 5.2vw, 68px); }
.page-intro-visual .page-description { max-width: 620px; color: #d3dfe2; }
.intro-cases { --intro-position: center 46%; }
.intro-services { --intro-position: center 44%; }
.intro-products { --intro-position: center 40%; }
.intro-news { --intro-position: center 42%; }
.intro-company { --intro-position: center 42%; }
@media (max-width: 767px) {
  .page-intro.page-intro-visual { min-height: 500px; padding: 116px 0 44px; }
  .page-intro-visual::before { background: linear-gradient(90deg, rgba(0,15,23,.83), rgba(0,15,23,.55)), linear-gradient(0deg, rgba(0,15,23,.45), transparent); }
  .page-intro-visual .breadcrumb { margin-bottom: 36px; }
  .page-intro-visual h1 { font-size: clamp(38px, 7vw, 54px); }
  .page-intro-visual .page-description { font-size: 17px; }
  .intro-news { --intro-position: 67% center; }
}
.inner-page .section { padding-block: 80px; }
.inner-page .section-title { font-size: clamp(32px, 4vw, 52px); }
.inner-page .product { min-height: 400px; }
.page-cta { padding: 72px 0; background: var(--surface-2); border-top: 1px solid var(--line); }
.page-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.page-cta h2 { font-family: var(--display); font-size: clamp(30px, 3.5vw, 44px); line-height: 1.12; font-weight: 500; letter-spacing: -.03em; }
.page-cta .label { margin-bottom: 16px; font-size: 12px; }
.home-method { padding: 72px 0 96px; border-top: 1px solid var(--line); }
.method-summary { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.method-summary .section-title { font-size: clamp(34px, 4vw, 54px); }
.text-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 28px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.text-link:hover { color: var(--leaf); }
.split-more { max-height: 120px; }
.contact-breadcrumb { padding-top: 128px; }
.contact-breadcrumb .breadcrumb { margin-bottom: 32px; }
.inner-page .cta { background: var(--bg); color: var(--ink); padding: 44px 0 104px; }
.inner-page .cta::before { display: none; }
.inner-page .cta-title { font-size: clamp(46px, 7vw, 88px); }
.inner-page .cta-sub { color: var(--muted); }
.inner-page .cta-x::after { display: none; }
.inner-page .cta-form { background: var(--surface-2); border: 1px solid var(--line); padding: 32px; border-radius: 18px; }
.inner-page .cta-fields { border-radius: 10px; background: none; box-shadow: none; flex-wrap: wrap; padding: 0; gap: 12px; margin-top: 24px; }
.inner-page .cta-fields input { border: 1px solid var(--line); border-radius: 8px; }
.inner-page .cta-fields .btn { border-radius: 8px; flex-basis: 100%; margin-top: 4px; }
/* Formulário de contato completo, com rótulos sempre visíveis. */
.contact-form { text-align: left; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.contact-field > span, .contact-interest legend { color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contact-field input, .contact-field textarea { width: 100%; min-width: 0; padding: 15px 16px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5; }
.contact-field textarea { resize: vertical; min-height: 150px; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: var(--muted); opacity: .8; }
.contact-field input:focus, .contact-field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(218,254,82,.5); outline-offset: 2px; }
.contact-interest { border: 0; padding: 0; margin: 26px 0; min-width: 0; }
.contact-interest legend { padding: 0; margin-bottom: 12px; }
.contact-field small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.contact-submit { width: 100%; justify-content: center; border-radius: 9px; margin-top: 26px; }
.contact-form .form-note, .contact-form .form-ok { text-align: center; }
@media (max-width: 600px) {
  .contact-fields { grid-template-columns: 1fr; gap: 18px; }
}
.form-note { font-size: 13px; color: var(--muted); margin: 20px auto 0; max-width: 540px; }
.form-ok:empty { display: none; }
.contact-email { display: inline-block; margin-top: 28px; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 959px) {
  .nav { flex-wrap: wrap; padding: 10px 12px 10px 16px; gap: 0; background: #081b27; }
  .nav.light { background: var(--bg); }
  .menu-toggle { display: flex; width: 40px; height: 40px; border: 1px solid rgba(127,127,127,.3); border-radius: 8px; background: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 1.5px; background: currentColor; transition: transform .2s; }
  .page-cta-inner { align-items: flex-start; flex-direction: column; }
  .method-summary { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 520px) {
  .nav-actions > .btn { display: none; }
  .page-intro { padding-top: 112px; padding-bottom: 48px; }
  .page-description { font-size: 17px; }
  .breadcrumb { margin-bottom: 32px; }
  .inner-page .section { padding-block: 56px; }
  .inner-page .cta-form { padding: 22px 16px; }
  .pick span { padding: 10px 12px; font-size: 14px; }
  .inner-page .cta-fields { flex-direction: column; }
  .contact-breadcrumb { padding-top: 112px; }
}

/* Faixa de especialidades e controles do vídeo de fundo. */
.marquee { position: relative; z-index: 2; overflow: hidden; background: var(--lime); color: var(--navy); padding: 16px 0; transform: skewY(-1.05deg); width: calc(100% + 2px); left: -1px; margin: calc(-1vw - 2px) 0 8px; }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee-group { display: flex; flex-shrink: 0; align-items: center; gap: 32px; padding-right: 32px; font-family: var(--display); font-size: clamp(18px, 2.1vw, 28px); font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.marquee-group i { font-style: normal; font-weight: 400; color: #57710d; font-size: .85em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track, .motion-paused .marquee-track { animation-play-state: paused; }
@media (max-width: 959px) {
  .hero-video { object-position: 85% center; opacity: .75; }
  .hero-media::after { background: linear-gradient(90deg, rgba(8,27,39,.95), rgba(8,27,39,.62)), linear-gradient(0deg, #081b27, transparent 80%); }
  .hero-baseline { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .marquee { padding-block: 12.5px; }
  .marquee-group { gap: 24px; padding-right: 24px; }
  .hero-video { object-position: 85% center; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Catálogo organizado pelo estágio de cada solução. */
.products .section-head { align-items: flex-start; }
.products .section-head .section-title { max-width: 520px; }
.products .filters { align-self: flex-end; }
.product-count { margin-top: 32px; color: var(--muted); font-size: 14px; }
.products .product-grid { margin-top: 16px; }
.product-top { gap: 12px; flex-wrap: wrap; }
.product .status { font-size: 12px; }
.product-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.product-link:hover { color: var(--leaf); }

/* Landing pages dos produtos. */
.product-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.product-heading .product-icon { width: 64px; height: 64px; font-size: 30px; }
.product-intro h1 { max-width: 920px; }
.product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.product-actions .text-link { margin-top: 0; }
.product-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.product-feature { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.feature-number { display: block; margin-bottom: 32px; color: var(--muted); font-size: 13px; }
.product-feature h3 { font-family: var(--display); font-size: 25px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.product-feature p { margin-top: 14px; color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .product-features { grid-template-columns: 1fr; } }

/* Menu mobile ocupa a viewport, no top layer do navegador. */
body.menu-locked { position: fixed; top: var(--menu-scroll, 0); left: 0; width: 100%; overflow: hidden; }
.mobile-menu {
  position: fixed; inset: 0; width: 100%; max-width: none;
  height: 100vh; height: 100dvh; max-height: none; margin: 0; border: 0;
  padding: max(22px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: #081b27; color: #f5f7f8; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(-24px);
  transition: opacity .24s ease, transform .32s var(--ease);
}
.mobile-menu[open] { display: flex; flex-direction: column; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu::backdrop { background: #081b27; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-shrink: 0; }
.menu-close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #38505c; border-radius: 50%; background: transparent; color: #fafafa; cursor: pointer; }
.menu-close svg { width: 21px; height: 21px; transition: transform .3s var(--ease); }
.menu-close:hover { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.menu-close:hover svg { transform: rotate(90deg); }
.mobile-menu-content { width: min(680px, 100%); margin: auto; padding: 32px 0; flex-shrink: 0; }
.mobile-menu-label { margin-bottom: 18px; color: #99b0bc; font-size: 11px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.mobile-menu-links { display: flex; flex-direction: column; }
.mobile-menu-links a { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid #243d49; font-family: var(--display); font-size: clamp(32px, 7vw, 56px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; opacity: 0; transform: translateY(18px); transition: opacity .2s, transform .25s var(--ease), color .2s; }
.mobile-menu.is-open .mobile-menu-links a { opacity: 1; transform: none; transition-duration: .38s; transition-delay: calc(60ms + var(--item) * 35ms); }
.mobile-menu-links .menu-number { align-self: center; color: #79939f; font-family: Inter, system-ui, sans-serif; font-size: 11px; letter-spacing: 0; }
.mobile-menu-links svg { width: 20px; height: 20px; margin-left: auto; color: #79939f; transform: rotate(-45deg); }
.mobile-menu-links a[aria-current], .mobile-menu-links a:hover { color: var(--lime); }
.mobile-menu-links a[aria-current] svg { color: var(--lime); }
.mobile-menu-footer { display: flex; align-items: flex-start; flex-direction: column; gap: 20px; padding-top: 8px; flex-shrink: 0; }
.mobile-menu-footer .btn { border-radius: 8px; justify-content: space-between; width: 100%; }
.mobile-menu-footer > span { color: #99b0bc; text-transform: uppercase; font-size: 10px; letter-spacing: .12em; }
@media (min-width: 600px) {
  .mobile-menu { padding: 30px 40px; }
  .mobile-menu-footer { flex-direction: row; align-items: center; justify-content: space-between; }
  .mobile-menu-footer .btn { width: auto; gap: 30px; }
}
@media (max-height: 680px) {
  .mobile-menu { padding-block: 16px; }
  .mobile-menu-content { padding-block: 20px; }
  .mobile-menu-links a { font-size: 32px; padding-block: 10px; }
  .mobile-menu-footer { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu-links a, .mobile-menu.is-open .mobile-menu-links a { transition: none; transform: none; }
}
/* Conteúdo das novas páginas segue a identidade existente. */
.case-grid, .news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.case-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; transition: transform .3s var(--ease); }
.case-card:hover { transform: translateY(-5px); }
.case-art { height: 240px; position: relative; display: grid; place-items: center; background: var(--navy); color: var(--lime); }
.case-art > span { font-family: var(--display); font-size: 100px; font-weight: 500; line-height: 1; }
.case-art i { position: absolute; top: 20px; left: 24px; font-size: 12px; color: #9ab8c8; font-style: normal; }
.case-card:nth-child(2) .case-art, .case-card:nth-child(3) .case-art { background: var(--mint); color: var(--teal); }
.case-card:nth-child(2) .case-art i, .case-card:nth-child(3) .case-art i { color: var(--teal); }
.case-copy { padding: 28px; }
.case-copy .label { font-size: 11px; margin-bottom: 12px; }
.case-copy h3 { font-family: var(--display); font-size: 34px; display: flex; align-items: center; justify-content: space-between; }
.case-copy h3 svg { width: 24px; height: 24px; }
.case-copy > p:last-child { margin-top: 12px; color: var(--muted); }
.news-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.news-card h3 { margin-top: 28px; font-family: var(--display); font-size: 32px; font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
.news-card > p { margin-top: 20px; color: var(--muted); }
.company-description { max-width: 760px; margin-top: 24px; color: var(--muted); font-size: 21px; }
@media (max-width: 640px) { .case-grid, .news-grid { grid-template-columns: 1fr; } }
