/* ==========================================================
   Mobex — redesign
   ========================================================== */
:root {
  --brand: #0758eb;
  --brand-600: #0546c0;
  --brand-300: #5b95ff;
  --brand-100: #e7efff;
  --ink: #071a3d;
  --ink-2: #33415c;
  --muted: #6b7690;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --wa: #25d366;

  --f-head: "Lexend Deca", system-ui, sans-serif;
  --f-body: "Roboto", system-ui, sans-serif;
  --f-mono: "Roboto Mono", ui-monospace, monospace;

  --radius: 20px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --announce-h: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--f-head); font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 6vw, 88px) 0; position: relative; }

.mono-label {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- Headings ---------- */
.h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.01em;
  max-width: 16ch;
  margin: 0 auto;
}
.h2--left { margin: 0; }

.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head__lead { max-width: 560px; color: var(--ink-2); font-size: 17px; }

/* ---------- Split text animation ---------- */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--wi) * 60ms + var(--base, 0ms));
}
[data-split].is-in .w > span { transform: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 26px;
  border-radius: 999px;
  font-family: var(--f-body); font-weight: 500; font-size: 15px;
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
  position: relative;
}
.btn--sm { --bh: 42px; padding: 0 20px; font-size: 14px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-600); box-shadow: 0 10px 30px -10px rgba(7, 88, 235, .6); }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand-100); }
.btn::after {
  content: ""; width: 14px; height: 14px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .4s var(--ease);
}
.btn:hover::after { transform: translateX(4px); }

/* letter roll */
.roll { display: inline-flex; overflow: hidden; line-height: 1.3; }
.roll .c {
  display: inline-block; white-space: pre;
  text-shadow: 0 1.3em 0 currentColor;
  transition: transform .5s var(--ease);
  transition-delay: calc(var(--ci) * 14ms);
}
[data-roll]:hover .roll .c { transform: translateY(-1.3em); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.link-arrow span { transition: transform .4s var(--ease); display: inline-block; }
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow--light { color: #fff; }

/* ==========================================================
   Announcement bar
   ========================================================== */
.announce {
  position: relative; z-index: 60;
  height: var(--announce-h);
  display: flex; align-items: center; gap: 8px;
  padding: 0 clamp(8px, 3vw, 40px);
  background: linear-gradient(90deg, #0546c0, var(--brand) 50%, #2f7bff);
  color: #fff; font-size: 14px; font-weight: 500;
}
.announce__viewport { flex: 1; overflow: hidden; height: 100%; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.announce__track { display: flex; height: 100%; transition: transform .8s var(--ease-io); }
.announce__track p { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; padding: 0 12px; overflow: hidden; text-overflow: ellipsis; }
.announce__track a { text-decoration: underline; text-underline-offset: 3px; display: inline-flex; gap: 6px; }
.announce__track a .arr { text-decoration: none; transition: transform .3s var(--ease); }
.announce__track a:hover .arr { transform: translateX(3px); }
.announce__icon { opacity: .8; }
.announce__arrow, .announce__pause { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 16px; flex: none; transition: background .3s; }
.announce__arrow:hover, .announce__pause:hover { background: rgba(255,255,255,.15); }
.announce__pause .i-play, .is-paused .i-pause { display: none; }
.is-paused .i-play { display: block; }

/* ==========================================================
   Header
   ========================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), border-color .3s;
}
.header.is-scrolled { border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 3vw, 40px); gap: 24px; }
.header__left { display: flex; align-items: center; gap: 18px; }
.logo img { height: 34px; width: auto; }
.header__nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.header__nav a { position: relative; padding: 6px 0; }
.header__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__dropdown {
  position: relative;
}

.header__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  list-style: none;
  cursor: pointer;
  transition: color .2s;
}

.header__dropdown-toggle::-webkit-details-marker {
  display: none;
}

.header__dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .2s;
}

.header__dropdown[open] .header__dropdown-toggle,
.header__dropdown-toggle:hover {
  color: var(--brand);
}

.header__dropdown[open] .header__dropdown-toggle svg {
  transform: rotate(180deg);
}

.header__dropdown-toggle:focus-visible,
.header__dropdown-panel a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 6px;
}

.header__dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: -20px;
  width: 340px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(7, 26, 61, .12);
}

.header__dropdown-panel li + li {
  border-top: 1px solid var(--line);
}

.header__dropdown-panel a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 10px;
  transition: background .2s;
}

.header__dropdown-panel a::after {
  content: none;
}

.header__dropdown-panel a:hover,
.header__dropdown-panel a:focus-visible {
  background: var(--bg-soft);
}

.header__dropdown-title {
  font-family: var(--f-head);
  font-size: 16px;
  font-weight: 400;
}

.header__dropdown-description {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 400;
}

.header__right { display: flex; align-items: center; gap: 20px; }
.header__login { font-weight: 500; font-size: 15px; }
.header__login:hover { color: var(--brand); }

.burger { width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 9px; border-radius: 50%; transition: background .3s; }
.burger:hover { background: var(--bg-soft); }
.burger span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease); }
.burger span:nth-child(2) { width: 70%; }
.burger:hover span:nth-child(2) { transform: scaleX(1.43); transform-origin: left; }

/* Menu overlay */
.menu { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.menu::before { content: ""; position: absolute; inset: 0; background: rgba(7, 26, 61, .45); opacity: 0; transition: opacity .5s var(--ease); }
.menu__panel {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: min(560px, 100%);
  background: #fff;
  padding: 24px clamp(20px, 4vw, 48px) 40px;
  display: flex; flex-direction: column; gap: 40px;
  transform: translateX(-100%);
  transition: transform .7s var(--ease);
  overflow-y: auto;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu.is-open::before { opacity: 1; }
.menu.is-open .menu__panel { transform: none; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__logo { height: 32px; }
.menu__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; border: 1px solid var(--line); transition: transform .5s var(--ease), background .3s; }
.menu__close:hover { transform: rotate(90deg); background: var(--bg-soft); }
.menu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
.menu__grid ul { margin-top: 14px; display: grid; gap: 10px; }
.menu__grid a { font-family: var(--f-head); font-size: 20px; font-weight: 300; transition: color .3s, padding .4s var(--ease); }
.menu__grid a:hover { color: var(--brand); padding-left: 6px; }
.menu__grid > div, .menu__panel > .btn { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu.is-open .menu__grid > div, .menu.is-open .menu__panel > .btn { opacity: 1; transform: none; }
.menu.is-open .menu__grid > div:nth-child(1) { transition-delay: .2s; }
.menu.is-open .menu__grid > div:nth-child(2) { transition-delay: .28s; }
.menu.is-open .menu__grid > div:nth-child(3) { transition-delay: .36s; }
.menu.is-open .menu__panel > .btn { transition-delay: .44s; align-self: flex-start; }

/* ==========================================================
   Hero
   ========================================================== */
.first-fold {
  min-height: calc(100vh - var(--header-h) - var(--announce-h));
  min-height: calc(100svh - var(--header-h) - var(--announce-h));
  display: flex;
  flex-direction: column;
}

.first-fold .hero {
  flex: 1;
  display: flex;
  align-items: center;
}

.first-fold .logos {
  flex-shrink: 0;
  margin-top: auto;
  padding-bottom: clamp(20px, 3vh, 32px);
}

.solutions {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero {
  position: relative;
  padding: clamp(28px, 4vh, 56px) 0;
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 120%;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(7, 88, 235, .14), transparent 70%),
    radial-gradient(35% 45% at 85% 20%, rgba(91, 149, 255, .18), transparent 70%),
    radial-gradient(30% 40% at 60% 85%, rgba(37, 211, 102, .08), transparent 70%);
  filter: blur(10px);
  animation: glow 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glow { to { transform: translate3d(3%, 4%, 0) scale(1.08); } }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__kicker { text-transform: uppercase; letter-spacing: .18em; color: var(--brand); margin-bottom: 18px; }
.hero__title {
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 1.04;
  letter-spacing: -.025em;
  font-weight: 400;
  max-width: 12ch;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--brand), #2f8bff, var(--brand));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
.hero__title em .w > span { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes shine { to { background-position: -200% 0; } }
.hero__lead { margin-top: 22px; max-width: 640px; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); }

.prompt {
  margin-top: 28px;
  width: min(560px, 100%);
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 22px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px -18px rgba(7, 26, 61, .35);
  transition: box-shadow .4s var(--ease), border-color .4s;
}
.prompt:focus-within { border-color: var(--brand-300); box-shadow: 0 0 0 4px rgba(7, 88, 235, .12), 0 14px 40px -18px rgba(7, 26, 61, .35); }
.prompt__spark { color: var(--brand); font-size: 20px; display: grid; animation: spark 3s ease-in-out infinite; }
.prompt__spark svg { fill: currentColor; stroke: none; }
@keyframes spark { 50% { transform: rotate(18deg) scale(1.12); } }
.prompt input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; color: var(--ink); background: transparent; height: 40px; }
.prompt input::placeholder { color: var(--muted); }
.prompt button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); font-size: 18px; transition: background .3s, color .3s, transform .3s var(--ease); }
.prompt button:hover { background: var(--brand); color: #fff; transform: rotate(-12deg); }

.hero__ctas { margin-top: 20px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ==========================================================
   Logos marquee
   ========================================================== */
.logos { padding: 8px 0 0; text-align: center; }
.logos__label { margin-bottom: 16px; padding: 0 var(--gutter); }
.logos__row { display: flex; align-items: center; gap: 12px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(40px, 6vw, 80px); width: max-content; animation: marquee 38s linear infinite; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee img { height: 44px; width: auto; max-width: 140px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logos__pause { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; border: 1px solid var(--line); flex: none; }
.logos__pause .i-play, .logos__pause.is-paused .i-pause { display: none; }
.logos__pause.is-paused .i-play { display: block; }

/* ==========================================================
   Mosaic
   ========================================================== */
.mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1fr 1.3fr;
  grid-template-rows: repeat(2, clamp(150px, 15vw, 220px));
  gap: 10px;
}
.tile {
  position: relative; overflow: hidden; border-radius: 14px;
  opacity: 0; transform: translateY(40px) scale(.96);
  transition: opacity 1s var(--ease), transform 1s var(--ease), border-radius .5s var(--ease);
  transition-delay: calc(var(--i) * 80ms);
}
.mosaic.is-in .tile { opacity: 1; transform: none; }
.tile:hover { border-radius: 28px; }
.tile__tag {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--f-mono); font-size: 12px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,.9); color: var(--ink);
  transform: translateY(8px); opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tile:hover .tile__tag { opacity: 1; transform: none; }
@media (hover: none) { .tile__tag { opacity: 1; transform: none; } }
.tile__ui { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.tile:hover .tile__ui { transform: scale(1.05); }

.tile--a { grid-column: 1; grid-row: 1 / span 2; background: linear-gradient(160deg, #0a5cf0, #0b2a7a); }
.tile--b { background: #dfe9ff; }
.tile--c { background: #071a3d; }
.tile--d { background: radial-gradient(circle at 30% 20%, #8fb6ff, #2f6fe8 55%, #0b2a7a); }
.tile--e { background: #eef2f8; }
.tile--f { background: linear-gradient(135deg, #0b2a7a, #0758eb); }
.tile--g { background: #c9f2da; }
.tile--b, .tile--c, .tile--d { grid-row: 1; }
.tile--e, .tile--f, .tile--g { grid-row: 2; }

/* chat */
.chat { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px; }
.bubble { font-size: 13px; line-height: 1.4; padding: 10px 12px; border-radius: 14px; max-width: 85%; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); animation: bob 6s ease-in-out infinite; }
.bubble.in { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.out { background: #d9fdd3; color: #0c3b20; margin-left: auto; border-bottom-right-radius: 4px; animation-delay: -2s; }
.bubble.short { animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* pipeline */
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px 18px 50px; }
.pipeline .col { display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,.5); border-radius: 10px; padding: 8px; }
.pipeline i { height: 18px; border-radius: 6px; background: #fff; box-shadow: 0 2px 6px rgba(7,26,61,.08); }
.pipeline i.hot { background: var(--brand); animation: hop 4s var(--ease-io) infinite; }
@keyframes hop { 0%, 40% { transform: translateX(0); } 50%, 90% { transform: translateX(-4px) translateY(-2px); } }

/* wave */
.wave { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 20px; }
.wave span { width: 6px; height: 30%; border-radius: 6px; background: var(--brand-300); animation: wave 1.2s ease-in-out infinite; }
.wave span:nth-child(odd) { background: var(--wa); }
.wave span:nth-child(2) { animation-delay: -.2s; } .wave span:nth-child(3) { animation-delay: -.4s; }
.wave span:nth-child(4) { animation-delay: -.6s; } .wave span:nth-child(5) { animation-delay: -.8s; }
.wave span:nth-child(6) { animation-delay: -1s; } .wave span:nth-child(7) { animation-delay: -.3s; }
.wave span:nth-child(8) { animation-delay: -.5s; } .wave span:nth-child(9) { animation-delay: -.7s; }
@keyframes wave { 50% { height: 70%; } }

/* orb */
.orb::before, .orb::after { content: ""; position: absolute; left: 50%; top: 45%; width: 46%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.orb::before { background: radial-gradient(circle at 35% 30%, #fff, #b9d2ff 30%, transparent 70%); animation: pulse 4s ease-in-out infinite; }
.orb::after { border: 1px solid rgba(255,255,255,.5); width: 70%; animation: ring 4s ease-out infinite; }
@keyframes pulse { 50% { transform: translate(-50%, -50%) scale(1.12); } }
@keyframes ring { from { transform: translate(-50%, -50%) scale(.6); opacity: 1; } to { transform: translate(-50%, -50%) scale(1.3); opacity: 0; } }

/* mail */
.mail { margin: 18px; inset: 0 0 32px; background: #fff; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 30px -14px rgba(7,26,61,.35); }
.mail__head { height: 28px; border-radius: 6px; background: linear-gradient(90deg, var(--brand), var(--brand-300)); }
.mail i { height: 8px; border-radius: 4px; background: #e6eaf2; }
.mail i.s { width: 60%; }

/* bars */
.bars { display: flex; align-items: flex-end; gap: 8px; padding: 22px 22px 50px; }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #8fb6ff, rgba(143,182,255,.25)); transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s var(--ease); }
.mosaic.is-in .bars span { transform: scaleY(1); }
.bars span:nth-child(2) { transition-delay: .1s; } .bars span:nth-child(3) { transition-delay: .2s; }
.bars span:nth-child(4) { transition-delay: .3s; } .bars span:nth-child(5) { transition-delay: .4s; } .bars span:nth-child(6) { transition-delay: .5s; }

/* copilot */
.copilot { padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.copilot__line { height: 10px; width: 80%; border-radius: 5px; background: rgba(12,59,32,.18); }
.copilot__chip { align-self: flex-start; font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 999px; background: #fff; color: #0c3b20; box-shadow: 0 8px 20px -10px rgba(12,59,32,.5); animation: bob 5s ease-in-out infinite; }

/* 3 colunas */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.col3 { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.col3 h3 { font-size: 22px; font-weight: 400; }
.col3 p { color: var(--ink-2); max-width: 32ch; font-size: 15px; }

/* ==========================================================
   Split
   ========================================================== */
.split__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.split__text > p { margin: 18px 0 22px; color: var(--ink-2); font-size: 17px; max-width: 48ch; }
.split__text .h2 { max-width: 12ch; }
.split__facts { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); color: var(--brand); font-size: 20px; margin-bottom: 10px; }
.fact h4 { font-family: var(--f-body); font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.fact p { font-size: 14px; color: var(--ink-2); }

.split__media { position: relative; display: flex; }
.split__media .notch-img { flex: 1; aspect-ratio: auto; min-height: 380px; }
.notch-img {
  position: relative; overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: 24px;
  background: linear-gradient(160deg, #0b2a7a, #0758eb);
  clip-path: inset(10% 10% 10% 10% round 24px);
  transition: clip-path 1.4s var(--ease);
}
.notch-img.is-in { clip-path: inset(0 0 0 0 round 24px); }
/* recorte no canto, como no modelo */
.notch-img::before {
  content: ""; position: absolute; z-index: 2; top: 0; left: 0;
  width: 34%; height: 13%;
  background: var(--bg);
  border-bottom-right-radius: 24px;
}
.notch-img::after {
  content: ""; position: absolute; z-index: 2; top: 13%; left: 0; width: 24px; height: 24px;
  background: radial-gradient(circle at 100% 100%, transparent 23.5px, var(--bg) 24px);
}
.notch-img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 30% center; will-change: transform; }
.notch-img__corner {
  position: absolute; z-index: 2; top: 0; left: 34%; width: 24px; height: 24px;
  background: radial-gradient(circle at 100% 100%, transparent 23.5px, var(--bg) 24px);
}

/* ==========================================================
   Stacking cards
   ========================================================== */
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-card {
  position: sticky;
  top: calc(var(--header-h) + 24px + var(--n, 0) * 18px);
  min-height: min(440px, 64vh);
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  display: grid; grid-template-columns: 1fr 1fr;
  transform-origin: center top;
  will-change: transform;
  box-shadow: 0 -10px 40px -20px rgba(7,26,61,.35);
}
.stack-card--1 { --n: 0; background: linear-gradient(135deg, #0b6b3a 0%, #128c4a 45%, #25d366 140%); }
.stack-card--2 { --n: 1; background: linear-gradient(135deg, #071a3d 0%, #0b2a7a 50%, #0758eb 130%); }
.stack-card--3 { --n: 2; background: linear-gradient(135deg, #0546c0 0%, #2f7bff 100%); }
.stack-card--4 { --n: 3; background: linear-gradient(135deg, #2a1466 0%, #4b2bd1 55%, #0758eb 130%); }
.stack-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 40px),
    linear-gradient(115deg, transparent 55%, rgba(255,255,255,.08) 55%);
  pointer-events: none;
}
.stack-card__text { position: relative; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; }
.stack-card__text h3 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; font-weight: 300; max-width: 14ch; }
.stack-card__text hr { width: 100%; max-width: 420px; border: 0; border-top: 1px solid rgba(255,255,255,.35); margin: auto 0 20px; padding-top: 20px; }
.stack-card__text p { font-size: 15px; line-height: 1.6; max-width: 46ch; opacity: .92; margin-bottom: 18px; }
.stack-card__ui { position: relative; }

.float-card {
  position: absolute;
  width: 230px;
  background: #fff; color: var(--ink);
  border-radius: 14px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.45);
  animation: float 7s ease-in-out infinite;
}
.float-card strong { font-family: var(--f-head); font-weight: 500; font-size: 15px; }
.float-card small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.fc-1 { top: 16%; right: 12%; }
.fc-2 { bottom: 14%; right: 30%; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-12px); } }
.fc-ico { width: 30px; height: 30px; border-radius: 8px; margin-bottom: 4px; display: grid; place-items: center; }
.fc-ico::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: currentColor; }
.fc-ico.wa { background: #dcf8e6; color: var(--wa); }
.fc-ico.ok { background: #e7efff; color: var(--brand); }
.fc-ico.crm { background: #fff1d6; color: #f59e0b; }
.fc-ico.tel { background: #dcf8e6; color: #16a34a; }
.fc-ico.rec { background: #ffe1e1; color: #ef4444; }
.fc-ico.ai { background: #ece6ff; color: #6d4aff; }
.pill-mini { align-self: flex-start; margin-top: 6px; font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ink); }
.progress { height: 6px; border-radius: 6px; background: #eef1f6; overflow: hidden; margin-top: 6px; }
.progress span { display: block; height: 100%; width: var(--p); background: var(--brand); border-radius: inherit; }
.call-actions { display: flex; gap: 8px; margin-top: 6px; }
.call-actions span { width: 30px; height: 30px; border-radius: 50%; }
.call-actions .ans { background: #22c55e; animation: ringc 1.4s ease-out infinite; }
.call-actions .rej { background: #ef4444; }
@keyframes ringc { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 100% { box-shadow: 0 0 0 12px rgba(34,197,94,0); } }
.side-rail { position: absolute; top: 18%; right: calc(12% + 250px); width: 36px; padding: 12px 0; border-radius: 18px; background: #0d0d0d; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.side-rail i { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid rgba(255,255,255,.7); }

/* ==========================================================
   Planos carrossel
   ========================================================== */
.plans { padding-bottom: 0; }
.plans__stage { position: relative; padding: clamp(24px, 3vw, 40px) 0 clamp(28px, 3.5vw, 44px); }
.plans__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 10% 100%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(135deg, #bcd3ff, #e7efff 45%, #c9f2da);
}
.plans__stage .container { position: relative; }
.plans__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.6); backdrop-filter: blur(8px); margin-bottom: 16px; }
.plans__tabs button { padding: 10px 20px; border-radius: 999px; font-weight: 500; font-size: 14px; transition: background .35s var(--ease), color .35s; }
.plans__tabs button.is-active { background: var(--ink); color: #fff; }
.plans__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 24px; }
.plans__viewport::-webkit-scrollbar { display: none; }
.plans__track { display: flex; }
.plan {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 24px;
  padding: clamp(22px, 3vw, 40px);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(22px, 4vw, 56px);
}
.plan__info { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.plan__info h3 { font-size: clamp(40px, 5vw, 68px); font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.plan__sub { font-weight: 500; color: var(--brand); }
.plan__info > p:not(.mono-label):not(.plan__sub) { color: var(--ink-2); max-width: 40ch; margin-bottom: 6px; }
.plan__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 20px; align-content: center; }
.plan__stats li { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 1px solid var(--line); }
.plan__stats b { font-family: var(--f-mono); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); white-space: nowrap; letter-spacing: -.02em; }
.plan__stats span { font-size: 14px; color: var(--ink-2); }
.plans__nav { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.circle-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: #fff; border: 1px solid var(--line); transition: background .3s, color .3s, opacity .3s, transform .3s var(--ease); }
.circle-btn:hover:not(:disabled) { background: var(--ink); color: #fff; transform: scale(1.06); }
.circle-btn:disabled { opacity: .4; cursor: default; }

/* ==========================================================
   Numbers / odometer
   ========================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 24px 8px 24px; border-left: 1px solid var(--line); }
.stat p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.odo { display: inline-flex; font-family: var(--f-mono); font-size: clamp(44px, 5.4vw, 72px); line-height: 1; letter-spacing: -.03em; height: 1em; overflow: hidden; }
.odo .d { display: inline-block; height: 1em; overflow: hidden; }
.odo .d > span { display: flex; flex-direction: column; transition: transform 2s var(--ease); transition-delay: calc(var(--di) * 90ms); }
.odo .d > span > i { font-style: normal; height: 1em; display: block; }
.odo .static { display: inline-block; }

/* ==========================================================
   Diferenciais
   ========================================================== */
.diffs { background: var(--bg-soft); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dcard { background: #fff; border-radius: 20px; padding: 12px 12px 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.dcard:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(7,26,61,.35); }
.dcard > :not(.dcard__media) { padding: 0 14px; }
.dcard__media { aspect-ratio: 16 / 8; border-radius: 14px; margin-bottom: 8px; display: grid; place-items: center; overflow: hidden; position: relative; }
.dcard__media--1 { background: linear-gradient(135deg, #128c4a, #25d366); }
.dcard__media--2 { background: linear-gradient(135deg, #0b2a7a, #0758eb); }
.dcard__media--3 { background: linear-gradient(135deg, #2f7bff, #8fb6ff); }
.dcard__big { font-family: var(--f-head); font-weight: 200; font-size: clamp(64px, 7vw, 110px); color: rgba(255,255,255,.92); transition: transform .8s var(--ease); letter-spacing: -.04em; }
.dcard:hover .dcard__big { transform: scale(1.12) rotate(-3deg); }
.dcard h3 { font-size: 22px; }
.dcard p:not(.mono-label) { color: var(--ink-2); font-size: 15px; }

/* ==========================================================
   CTA
   ========================================================== */
.cta { overflow: hidden; }
.cta__bg { position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, rgba(7,88,235,.10), transparent 70%); }
.cta .container { position: relative; }
.cta__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccard { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); min-height: 0; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.ccard h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }
.ccard p:not(.mono-label) { color: var(--ink-2); font-size: 15px; }
.ccard .link-arrow { margin-top: auto; padding-top: 6px; align-self: flex-start; color: var(--brand); }
.ccard:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(7,26,61,.35); }
.ccard:hover .link-arrow { background-size: 100% 1px; }
.ccard:hover .link-arrow span { transform: translateX(5px); }

/* ==========================================================
   Footer
   ========================================================== */
.footer { background: var(--ink); color: #fff; padding: clamp(40px, 5vw, 64px) 0 24px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__logo { height: 52px; width: auto; background: #fff; padding: 8px 14px; border-radius: 12px; }
.footer__claim { flex: 1; font-family: var(--f-head); font-weight: 300; font-size: clamp(24px, 3vw, 40px); min-width: 260px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 28px 0; }
.footer__cols h5 { font-family: var(--f-mono); font-weight: 400; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; }
.footer__cols a { display: block; padding: 5px 0; color: rgba(255,255,255,.85); transition: color .3s, transform .4s var(--ease); }
.footer__cols a:hover { color: #fff; transform: translateX(4px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: rgba(255,255,255,.6); }
.to-top:hover { color: #fff; }

/* FAB */
.fab {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff; font-size: 28px;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  transition: transform .4s var(--ease);
}
.fab:hover { transform: scale(1.08) rotate(-8deg); }
.fab svg { stroke-width: 1.6; }
.fab .fill { fill: currentColor; stroke: none; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring2 2.4s ease-out infinite; }
@keyframes ring2 { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .fc-1 { right: 6%; }
  .side-rail { display: none; }
}

@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 160px; }
  .tile--a { grid-column: 1; grid-row: 1 / span 2; }
  .tile--b, .tile--c, .tile--d, .tile--e, .tile--f, .tile--g { grid-row: auto; }
  .bubble { font-size: 12px; padding: 8px 10px; }
  .bubble.short { display: none; }
  .chat { justify-content: flex-start; padding-bottom: 50px; }
  .cols3 { grid-template-columns: 1fr; gap: 36px; }
  .split__inner { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split__media .notch-img { aspect-ratio: 4 / 3; min-height: 0; }
  .stack-card { grid-template-columns: 1fr; min-height: auto; }
  .stack-card__ui { min-height: 200px; order: -1; }
  .stack-card__text hr { margin-top: 24px; padding-top: 0; }
  .fc-1 { top: 24px; left: 24px; right: auto; }
  .fc-2 { bottom: 20px; right: 24px; }
  .plan { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .cards3, .cta__cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --announce-h: 40px;
  }
  .announce { font-size: 13px; height: 40px; }
  .announce__pause, .announce__icon { display: none; }
  .announce__track p { font-size: 12px; gap: 6px; padding: 0 4px; }
  .header__login { display: none; }
  .logo img { height: 28px; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .marquee img { height: 34px; }
  .split__facts { grid-template-columns: 1fr; gap: 16px; }
  .fact { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
  .fact__icon { grid-row: span 2; margin: 0; }
  .float-card { width: 200px; padding: 12px; }
  .stack-card { top: calc(var(--header-h) + 12px + var(--n, 0) * 12px); }
  .plan__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .stat { padding: 4px 16px; }
  .menu__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: span 2; }
  .ccard { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .tile { opacity: 1; transform: none; }
  [data-split] .w > span { transform: none; }
  .notch-img { clip-path: none; }
}

/* ==========================================================
   Páginas internas
   ========================================================== */
.header__nav a[aria-current="page"] { color: var(--brand); }
.header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.section--tight { padding: clamp(36px, 4.5vw, 64px) 0; }
.section--soft { background: var(--bg-soft); }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); max-width: 56ch; }
.lead + .lead { margin-top: 14px; }

/* Hero interno */
.phero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.phero .hero__glow { opacity: .8; }
.phero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.crumbs { grid-column: 1 / -1; display: flex; gap: 8px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-current] { color: var(--brand); }
.phero__inner > * { min-width: 0; }
.phero h1 { overflow-wrap: break-word; font-size: clamp(34px, 6.2vw, 88px); line-height: 1.04; letter-spacing: -.025em; font-weight: 400; }
.phero--services h1 {
  font-size: clamp(30px, 4.2vw, 60px);
}

.phero--services h1 .w,
.phero--services h1 .w > span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.phero h1 em { font-style: normal; color: var(--brand); }
.phero__side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; padding-bottom: 8px; }
.phero__side .lead { max-width: 48ch; }
.phero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.connect-hero__copy > .lead {
  margin-top: 22px;
}

.phero--connect .phero__side {
  align-self: center;
  padding-bottom: 0;
}

/* Bloco 2 colunas genérico */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.duo__head { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.duo__head .h2 { margin: 0; max-width: 14ch; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 14px; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: var(--brand); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease); }
.timeline.is-in::after { transform: scaleY(1); }
.tl-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tl-item:hover { transform: translateX(6px); box-shadow: 0 20px 40px -24px rgba(7,26,61,.3); }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.tl-item .mono-label { color: var(--brand); }
.tl-item h3 { font-size: 21px; margin: 6px 0 6px; }
.tl-item p { color: var(--ink-2); font-size: 15px; }

/* Seção escura "O que nos move" */
.dark { background: var(--ink); color: #fff; overflow: hidden; }
.dark .mono-label { color: var(--brand-300); }
.dark .lead { color: rgba(255,255,255,.78); }
.dark .h2 { margin: 0; max-width: 18ch; }
.merge { position: relative; height: 300px; border-radius: 20px; background: radial-gradient(60% 70% at 70% 50%, rgba(7,88,235,.35), transparent 70%), rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.merge__chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; font-size: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); white-space: nowrap; transition: transform 1.4s var(--ease), opacity 1.4s var(--ease); }
.merge__chip i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.merge__chip--1 { left: 6%; top: 14%; color: #7ee2a8; }
.merge__chip--2 { left: 10%; top: 44%; color: #8fb6ff; }
.merge__chip--3 { left: 4%; top: 74%; color: #ffc46b; }
.merge__chip span { color: #fff; }
.merge__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.merge__lines path { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 1.5; stroke-dasharray: 6 6; stroke-dashoffset: 300; transition: stroke-dashoffset 2s var(--ease); }
.merge.is-in .merge__lines path { stroke-dashoffset: 0; animation: dash 6s linear infinite 2s; }
@keyframes dash { to { stroke-dashoffset: -120; } }
.merge__hub { position: absolute; right: 7%; top: 50%; transform: translateY(-50%) scale(.85); opacity: 0; width: 200px; padding: 18px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transition: transform 1.2s var(--ease) .6s, opacity 1.2s var(--ease) .6s; }
.merge.is-in .merge__hub { transform: translateY(-50%); opacity: 1; }
.merge__hub strong { display: block; font-family: var(--f-head); font-weight: 500; margin-bottom: 8px; }
.merge__hub li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); padding: 4px 0; }
.merge__hub li i { width: 8px; height: 8px; border-radius: 50%; }

/* Passos numerados */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; position: relative; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; scroll-margin-top: calc(var(--header-h) + 80px); }
.step:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(7,26,61,.35); }
.step__num { font-family: var(--f-mono); font-size: 13px; color: var(--brand); display: flex; align-items: center; gap: 10px; }
.step__num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--brand), transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .3s; }
.step.is-in .step__num::after { transform: scaleX(1); }
.step__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: var(--brand); background: var(--brand-100); margin: 6px 0 4px; transition: background .4s, color .4s, transform .5s var(--ease); }
.step:hover .step__icon { background: var(--brand); color: #fff; transform: rotate(-8deg); }
.step h3 { font-size: 22px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* Credenciais */
.creds .stat b { display: block; font-family: var(--f-mono); font-weight: 400; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.creds .stat b small { font-size: .5em; letter-spacing: 0; }

/* Cards de destaque */
.pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.feature { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(26px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-height: 300px; }
.feature h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; font-weight: 300; max-width: 18ch; }
.feature p { max-width: 46ch; font-size: 16px; }
.feature .btn, .feature .link-arrow { margin-top: auto; }
.feature--brand { color: #fff; background: linear-gradient(135deg, #071a3d, #0b2a7a 45%, #0758eb); }
.feature--brand .mono-label { color: rgba(255,255,255,.65); }
.feature--brand p { color: rgba(255,255,255,.85); }
.feature--brand::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 0 0 40px rgba(255,255,255,.03), 0 0 0 80px rgba(255,255,255,.02); animation: pulse2 6s ease-in-out infinite; }
@keyframes pulse2 { 50% { transform: scale(1.08); } }
.feature--light { background: var(--bg-soft); }
.feature--light p { color: var(--ink-2); }
.feature--light code { font-family: var(--f-mono); font-size: .92em; background: #fff; padding: 2px 6px; border-radius: 6px; }

/* Faixa CTA */
.band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(28px, 4vw, 52px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; color: #fff; background: linear-gradient(120deg, #0546c0, #0758eb 50%, #2f7bff); }
.band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.06) 0 2px, transparent 2px 36px); }
.band > * { position: relative; }
.band h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 300; line-height: 1.15; max-width: 22ch; }
.band p { color: rgba(255,255,255,.85); margin-top: 8px; max-width: 52ch; }
.band__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--ghost-light { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }

/* Sub-navegação fixa (Soluções) */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: top .5s var(--ease); }
.header.is-hidden ~ main .subnav { top: 0; }
.subnav__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { flex: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .35s var(--ease), color .35s; }
.subnav__list a:hover { background: var(--bg-soft); color: var(--ink); }
.subnav__list a.is-active { background: var(--ink); color: #fff; }

/* Produtos */
.prods { display: grid; gap: clamp(16px, 2vw, 24px); }
.prod { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(14px, 1.6vw, 20px); border-radius: 24px; border: 1px solid var(--line); background: #fff; scroll-margin-top: calc(var(--header-h) + 70px); transition: box-shadow .5s var(--ease); }
.prod:hover { box-shadow: 0 30px 60px -36px rgba(7,26,61,.35); }
.prod:nth-child(even) .prod__media { order: 2; }
.prod__media { position: relative; }
.art { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 10; transition: border-radius .5s var(--ease); }
.prod:hover .art { border-radius: 26px; }
.art .tile__ui { transition: transform 1.2s var(--ease); }
.prod:hover .art .tile__ui { transform: scale(1.05); }
.art .bars span { transform: scaleY(1); }
.prod__body { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 8px clamp(6px, 2vw, 24px) 8px 0; }
.prod:nth-child(even) .prod__body { padding: 8px 0 8px clamp(6px, 2vw, 24px); }
.prod__body .mono-label { color: var(--brand); }
.prod__body h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; line-height: 1.1; }
.prod__body > p:not(.mono-label) { color: var(--ink-2); font-size: 16px; max-width: 48ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.contact__side { display: grid; gap: 16px; }
.wcard { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.wcard:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(7,26,61,.35); }
.wcard__top { display: flex; align-items: center; gap: 12px; }
.wcard__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #dcf8e6; color: #128c4a; font-size: 22px; flex: none; }
.wcard__ico .fill { fill: currentColor; stroke: none; }
.wcard h3 { font-size: 22px; }
.wcard p { color: var(--ink-2); font-size: 15px; }
.wcard .link-arrow { color: #128c4a; align-self: flex-start; }
.wcard:hover .link-arrow { background-size: 100% 1px; }
.wcard:hover .link-arrow span { transform: translateX(5px); }
.note { padding: 20px 22px; border-radius: 18px; background: var(--bg-soft); font-size: 15px; color: var(--ink-2); }
.note strong { color: var(--ink); }

.form { padding: clamp(22px, 3vw, 40px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(7,26,61,.35); }
.form h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; margin-bottom: 6px; }
.form > p { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 24px 16px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-soft);
  outline: 0; transition: border-color .3s, background .3s, box-shadow .3s; resize: vertical;
}
.field textarea { min-height: 140px; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 16px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(7,88,235,.1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--brand); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e5484d; background: #fff6f6; }
.field.is-invalid label { color: #e5484d; }
.field__err { display: none; font-size: 13px; color: #e5484d; margin-top: 6px; padding-left: 4px; }
.field.is-invalid .field__err { display: block; }
.form__foot { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form__foot small { color: var(--muted); font-size: 13px; max-width: 40ch; }
.form__ok { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #e8f9ef; color: #0c5a2f; font-size: 15px; }
.form.is-sent .form__ok { display: block; animation: rise .6s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* Responsivo — internas */
@media (max-width: 900px) {
  .phero__inner, .duo, .pair, .contact { grid-template-columns: 1fr; }
  .duo__head { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .prod { grid-template-columns: 1fr; }
  .prod:nth-child(even) .prod__media { order: 0; }
  .prod__body, .prod:nth-child(even) .prod__body { padding: 0 8px 10px; }
  .feature { min-height: 0; }
  .merge { height: 280px; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; }
  .merge__chip { font-size: 12px; padding: 8px 10px; }
  .merge__hub { width: 160px; padding: 14px; right: 5%; }
  .merge__chip--2 { left: 4%; }
}
