/* =========================================================
   314 Digital
   Tokens, base, componentes e seções
   ========================================================= */

:root {
  /* Cor */
  --brand: #0D74FF;          /* azul da logo */
  --blue: #0B6CF5;           /* superfícies azuis com texto branco (AA) */
  --blue-text: #0A5FD9;      /* azul para texto sobre claro (AA) */
  --blue-soft: #E8F0FE;
  --ink: #0B0E14;
  --paper: #F3F5F9;
  --surface: #FDFDFE;
  --text: #0B0E14;
  --muted: #586174;
  --line: rgba(11, 14, 20, 0.08);

  /* Tipografia */
  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(96px, 12vw, 184px);

  /* Forma: contêineres 20 a 36px, interativos em pílula */
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;

  /* Movimento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-swift: cubic-bezier(0.32, 0.72, 0, 1);

  /* Camadas */
  --z-float: 30;
  --z-menu: 38;
  --z-header: 40;
  --z-grain: 60;
  --z-preloader: 70;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
}
html.is-loading,
html.menu-open { overflow: hidden; }
html.no-gsap { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}
[tabindex="-1"]:focus { outline: none; }
.hero :focus-visible,
.finale :focus-visible,
.menu :focus-visible,
.site-header[data-theme="dark"] :focus-visible,
.card--ink :focus-visible,
.card--blue :focus-visible { outline-color: #fff; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { fill: currentColor; }

.skip-link {
  position: fixed;
  top: 16px; left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  transform: translateY(-200%);
  transition: transform 0.4s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

/* Textura de grão: camada fixa, sem custo de repintura no scroll */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px;
}

/* ---------- Tipografia compartilhada ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lead {
  margin-top: 22px;
  max-width: 54ch;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-text);
  background: rgba(11, 108, 245, 0.08);
  box-shadow: inset 0 0 0 1px rgba(11, 108, 245, 0.16);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.eyebrow--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

/* Linhas do SplitText: a máscara ganha folga para descendentes e ícones */
.line-mask,
.word-mask {
  padding-block: 0.12em;
  margin-block: -0.12em;
}
.word-mask {
  padding-inline: 0.06em;
  margin-inline: -0.06em;
}

/* ---------- Botões ---------- */
.btn {
  --h: 58px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--h);
  padding: 0 8px 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    background-color 0.5s var(--ease-out),
    color 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}
.btn__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: calc(var(--h) - 16px);
  height: calc(var(--h) - 16px);
  border-radius: 50%;
  transition:
    transform 0.6s var(--ease-out),
    background-color 0.5s var(--ease-out),
    color 0.5s var(--ease-out);
}
.btn__icon svg { width: 16px; height: 16px; }
@media (hover: hover) { .btn:hover .btn__icon { transform: translate(3px, -3px) scale(1.06); } }
@media (hover: hover) { .btn:hover .btn__icon--down { transform: translateY(3px) scale(1.06); } }

.btn--light { background: #fff; color: var(--ink); }
.btn--light .btn__icon { background: var(--blue); color: #fff; }
@media (hover: hover) { .btn--light:hover { background: var(--ink); color: #fff; } }

.btn--ghost-light {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}
.btn--ghost-light .btn__icon { background: rgba(255, 255, 255, 0.14); }
@media (hover: hover) {
  .btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  }
}

.btn--nav { --h: 46px; padding-left: 20px; font-size: 15px; gap: 12px; }
.btn--nav .btn__icon svg { width: 14px; height: 14px; }

/* =========================================================
   Preloader
   ========================================================= */
.preloader { display: none; }
.js .preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: var(--ink);
  color: #fff;
  /* Rede de segurança: some sozinho se o JavaScript falhar */
  animation: preloader-failsafe 0.6s ease 6s forwards;
}
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }

/* O tamanho fica na máscara para o padding em "em" acompanhar os números */
.preloader__mask {
  overflow: hidden;
  padding: 0.04em 0.12em 0.04em 0.06em;
  font-size: clamp(110px, 24vw, 340px);
}
.preloader__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1em;
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.caret {
  display: inline-block;
  flex: none;
  width: 0.55em;
  height: 1.15em;
  margin-left: 4px;
  background: currentColor;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* =========================================================
   Navegação
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  display: flex;
  justify-content: center;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 44px);
  height: 64px;
  padding: 0 9px 0 22px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition:
    background-color 0.6s var(--ease-out),
    color 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out),
    transform 0.8s var(--ease-swift);
}
.site-header[data-theme="light"] .nav {
  color: var(--ink);
  background: rgba(253, 253, 254, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(11, 14, 20, 0.07),
    0 14px 34px -16px rgba(10, 30, 80, 0.28);
}
.site-header.is-hidden .nav { transform: translateY(calc(-100% - 24px)); }

.nav__logo {
  position: relative;
  flex: none;
  display: block;
  width: 118px;
  aspect-ratio: 1676 / 377;
}
.nav__logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s var(--ease-out);
}
.nav__logo-img--brand { opacity: 0; }
.site-header[data-theme="light"] .nav__logo-img--light { opacity: 0; }
.site-header[data-theme="light"] .nav__logo-img--brand { opacity: 1; }

.nav__links { display: flex; gap: 2px; }
.nav__links a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.4s var(--ease-out);
}
@media (hover: hover) { .nav__links a:hover { background: rgba(255, 255, 255, 0.14); } }
@media (hover: hover) { .site-header[data-theme="light"] .nav__links a:hover { background: rgba(11, 14, 20, 0.06); } }

.site-header[data-theme="dark"] .btn--nav { background: #fff; color: var(--ink); }
.site-header[data-theme="dark"] .btn--nav .btn__icon { background: var(--blue); color: #fff; }
.site-header[data-theme="light"] .btn--nav { background: var(--blue); color: #fff; }
.site-header[data-theme="light"] .btn--nav .btn__icon { background: #fff; color: var(--blue-text); }
@media (hover: hover) { .btn--nav:hover { background: var(--ink) !important; color: #fff !important; } }

.nav__toggle {
  position: relative;
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out);
}
.site-header[data-theme="light"] .nav__toggle { background: var(--ink); color: #fff; }
.nav__toggle-line {
  position: absolute;
  top: 50%; left: 50%;
  width: 18px;
  height: 2px;
  margin: -1px 0 0 -9px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.6s var(--ease-swift);
}
.nav__toggle-line:nth-child(1) { transform: translateY(-4px); }
.nav__toggle-line:nth-child(2) { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) { transform: rotate(-45deg); }

/* Menu mobile */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 128px var(--gutter) max(36px, env(safe-area-inset-bottom));
  background: var(--blue);
  color: #fff;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__list { display: grid; gap: 4px; }
.menu__link {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(44px, 12vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.menu__link span { display: inline-block; }
.menu__foot { display: grid; gap: 10px; font-size: 16px; font-weight: 500; }
.menu__foot a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 38px -14px rgba(11, 14, 20, 0.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%) scale(0.6);
  transition:
    transform 0.7s var(--ease-swift),
    opacity 0.4s var(--ease-out),
    background-color 0.4s var(--ease-out);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float.is-visible { opacity: 1; pointer-events: auto; transform: none; }
@media (hover: hover) { .wa-float:hover { background: var(--blue); } }
.no-js .wa-float,
.no-gsap .wa-float { opacity: 1; pointer-events: auto; transform: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--blue);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 60% at 10% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(60% 70% at 100% 100%, rgba(3, 36, 135, 0.5) 0%, rgba(3, 36, 135, 0) 70%),
    linear-gradient(168deg, #0D74FF 0%, #0B6CF5 52%, #0961E4 100%);
}

.hero__floats { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.float { position: absolute; will-change: transform; }
.float__m { will-change: transform; }
.float img {
  width: 100%;
  will-change: transform;
  filter: drop-shadow(0 28px 36px rgba(3, 25, 90, 0.38));
}
/* Camadas de profundidade: perto nítido, longe menor, desfocado e mais apagado */
.float--rocket   { width: min(15vw, 30vh, 270px); top: 11%; right: 7%; }
.float--cloud    { width: min(12vw, 24vh, 210px); bottom: 9%; right: 4%; }
.float--shield   { width: min(9vw, 18vh, 160px); top: 13%; left: 9%; filter: blur(2px); }
.float--target   { width: min(10vw, 20vh, 180px); bottom: 11%; left: 5%; filter: blur(1px); }
.float--robot    { width: min(8vw, 16vh, 140px); top: 44%; left: 1.5%; filter: blur(4px); opacity: 0.75; }
.float--megafone { width: min(7vw, 14vh, 124px); top: 40%; right: 1%; filter: blur(5px); opacity: 0.7; }

.hero__inner {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: clamp(56px, 7vw, 96px);
  transform-origin: 50% 50%;
}

.hero__title {
  max-width: 11.5em;
  margin-inline: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6.7vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.042em;
}
.hero__title .ico {
  display: inline-block;
  width: 1.02em;
  height: 1.02em;
  margin: 0 0.03em 0 0.1em;
  vertical-align: -0.17em;
  cursor: default;
}
.hero__title .ico img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0.08em 0.12em rgba(3, 25, 90, 0.35));
}
.hero__title .nw { white-space: nowrap; }
/* Grupos de linha: em linha no desktop, um por linha no celular */
.hero__title .ln { display: inline; }

/* A órbita só existe no celular */
.orbit { display: none; }

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: clamp(24px, 3vw, 40px);
}
.hero__sub {
  max-width: 44ch;
  margin-inline: auto;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Folha clara que desliza por cima do hero */
.sheet {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: 0 -26px 60px -26px rgba(2, 20, 70, 0.5);
}

/* =========================================================
   Sobre
   ========================================================= */
.about {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y) clamp(72px, 9vw, 136px);
}
.about__pi {
  position: absolute;
  top: 50%;
  right: -5vw;
  z-index: 0;
  margin-top: -0.4em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(320px, 50vw, 800px);
  line-height: 0.8;
  color: var(--blue-soft);
  pointer-events: none;
  user-select: none;
}
.about__inner { position: relative; z-index: 1; }
.about__text {
  max-width: 21em;
  margin-top: clamp(24px, 3vw, 40px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.028em;
}
.about__text .hl { color: var(--blue-text); }


/* =========================================================
   Faixa de capacidades
   ========================================================= */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(24px, 3.4vw, 42px);
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex: none; align-items: center; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding-right: 0.75em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.marquee__item img { flex: none; width: 1.2em; height: 1.2em; }

/* =========================================================
   Serviços (pilha de cartões)
   ========================================================= */
.services { padding-block: clamp(96px, 11vw, 168px) clamp(56px, 7vw, 112px); }
.section-head { max-width: 880px; margin-bottom: clamp(48px, 6vw, 88px); }

.stack { display: grid; gap: clamp(28px, 6vh, 64px); }

.card__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: min(76vh, 700px);
  padding: clamp(32px, 5vw, 76px);
  border-radius: var(--r-xl);
  overflow: hidden;
  transform-origin: 50% 0%;
  will-change: transform;
}
.card--ink .card__inner { background: var(--ink); color: #fff; }
.card--blue .card__inner { background: var(--blue); color: #fff; }
.card--light .card__inner {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -44px rgba(10, 30, 80, 0.35);
}

.card__kicker { font-size: 15px; font-weight: 500; }
.card--ink .card__kicker { color: rgba(255, 255, 255, 0.7); }
.card--light .card__kicker { color: var(--muted); }

.card__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(46px, 6.2vw, 102px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.card__text {
  max-width: 34ch;
  margin-top: 22px;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
}
.card--ink .card__text { color: rgba(255, 255, 255, 0.78); }
.card--light .card__text { color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(26px, 3vw, 40px); }
.tags li {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}
.card--ink .tags li { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.card--blue .tags li { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.card--light .tags li { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }

.card__media {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
}
.card__media::before {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(13, 116, 255, 0.5), rgba(13, 116, 255, 0));
}
.card--blue .card__media::before { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0)); }
.card--light .card__media::before { background: radial-gradient(closest-side, rgba(13, 116, 255, 0.16), rgba(13, 116, 255, 0)); }
.card__media img {
  position: relative;
  width: min(100%, 500px);
  will-change: transform;
  filter: drop-shadow(0 40px 46px rgba(0, 8, 30, 0.34));
}
.card__shade {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #04060B;
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   Capacidades (bento)
   ========================================================= */
.capabilities { padding-block: clamp(56px, 7vw, 112px) var(--section-y); }
.capabilities__title { max-width: 14em; }

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(264px, auto);
  gap: 14px;
  margin-top: clamp(40px, 5.5vw, 80px);
}

.tile {
  position: relative;
  padding: 6px;
  border-radius: var(--r-lg);
  background: rgba(11, 14, 20, 0.035);
  box-shadow: inset 0 0 0 1px rgba(11, 14, 20, 0.06);
  will-change: transform;
}
.tile__core {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: calc(var(--r-lg) - 6px);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(11, 14, 20, 0.04);
  overflow: hidden;
}
.tile__core::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(13, 116, 255, 0.11), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) { .tile:hover .tile__core::before { opacity: 1; } }

/* Nos tiles comuns o ícone fica no fluxo: o texto nunca colide com ele */
.tile__art {
  position: relative;
  align-self: flex-end;
  width: clamp(104px, 9vw, 140px);
  margin: -8px -8px 0 0;
  will-change: transform;
}
.tile__art img {
  width: 100%;
  filter: drop-shadow(0 18px 24px rgba(10, 30, 80, 0.2));
}
.tile__copy { position: relative; max-width: 100%; }
.tile__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(21px, 1.7vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tile__text {
  max-width: 30ch;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.tile--xl { grid-column: span 2; grid-row: span 2; background: rgba(11, 14, 20, 0.12); }
.tile--xl .tile__core { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.tile--xl .tile__core::before {
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(13, 116, 255, 0.3), transparent 50%);
}
.tile--xl .tile__core { justify-content: flex-end; }
.tile--xl .tile__art {
  position: absolute;
  top: 6%;
  left: 0;
  right: 0;
  width: min(62%, 400px);
  margin: 0 auto;
}
.tile--xl .tile__art::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(13, 116, 255, 0.45), rgba(13, 116, 255, 0));
}
.tile--xl .tile__art img { position: relative; }
.tile--xl .tile__title { font-size: clamp(30px, 3vw, 46px); letter-spacing: -0.03em; }
.tile--xl .tile__text { max-width: 36ch; font-size: 17px; color: rgba(255, 255, 255, 0.74); }

.tile--wide { grid-column: span 2; }
.tile--wide .tile__core { background: var(--blue-soft); }
.tile--wide .tile__core { justify-content: flex-end; }
.tile--wide .tile__art {
  position: absolute;
  top: 50%;
  right: clamp(14px, 2vw, 28px);
  width: min(36%, 210px);
  margin: calc(min(36%, 210px) / -2) 0 0;
}
.tile--wide .tile__copy { max-width: 58%; }
.tile--wide .tile__text { color: #4D5668; }

/* =========================================================
   Processo
   ========================================================= */
.process { padding-block: clamp(40px, 5vw, 80px) calc(var(--section-y) + var(--r-xl)); }
.process__title { max-width: 14em; }

.steps { position: relative; margin-top: clamp(56px, 7vw, 104px); }
.steps__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
}
.steps__rail {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: #DCE2EC;
}
.steps__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--blue);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.step__icon { width: clamp(104px, 9.5vw, 150px); aspect-ratio: 1; }
.step__icon img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 26px rgba(10, 30, 80, 0.2));
}
.step__node {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  margin: 28px 0 26px 4px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px #C3CCDA;
  transition: background-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.step.is-active .step__node {
  background: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 7px rgba(11, 108, 245, 0.16);
}
.step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--blue-text);
}
.step__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.step__text {
  max-width: 30ch;
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* =========================================================
   Contato + rodapé
   ========================================================= */
.finale {
  position: relative;
  z-index: 3;
  margin-top: calc(var(--r-xl) * -1);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--blue);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.finale::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 12% 0%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 62%),
    radial-gradient(70% 55% at 100% 55%, rgba(3, 36, 135, 0.45), rgba(3, 36, 135, 0) 70%);
}

.contact {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: clamp(110px, 12vw, 180px);
  padding-bottom: clamp(210px, 22vw, 380px);
}

.pit {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.pit__item {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  will-change: transform;
}
.pit__item.is-grabbed { cursor: grabbing; }
.pit__item img {
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 0 18px rgba(3, 22, 80, 0.32));
}
.is-touch .pit__item { touch-action: pan-y; cursor: pointer; }

.contact__inner { position: relative; z-index: 1; pointer-events: none; }
.contact__inner a,
.contact__inner button { pointer-events: auto; }

.contact__title {
  max-width: 11em;
  margin-top: clamp(20px, 2.4vw, 32px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7.4vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.contact__sub {
  max-width: 40ch;
  margin-top: 24px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
}

.channels {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
  max-width: 1040px;
  margin-top: clamp(36px, 4.5vw, 60px);
}
.channel {
  display: block;
  padding: 6px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.channel__core {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 16px;
  min-height: 112px;
  padding: 20px 20px 20px 26px;
  border-radius: calc(var(--r-lg) - 6px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out);
}
.channel__label {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.channel__label svg { width: 16px; height: 16px; flex: none; }
.channel__value {
  grid-column: 1;
  grid-row: 2;
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.channel__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-text);
  transition: transform 0.6s var(--ease-out), background-color 0.5s var(--ease-out), color 0.5s var(--ease-out);
}
.channel__arrow svg { width: 18px; height: 18px; }
@media (hover: hover) {
  .channel--wa:hover .channel__core { background: #fff; color: var(--ink); }
}
.channel--wa:focus-visible .channel__core { background: #fff; color: var(--ink); }
@media (hover: hover) { .channel--wa:hover .channel__arrow { background: var(--blue); color: #fff; transform: rotate(45deg); } }

.channel--mail .channel__value { font-size: clamp(19px, 1.75vw, 27px); }
.channel__link { grid-column: 1; grid-row: 1 / span 2; display: block; min-width: 0; }
.channel__link .channel__value { text-decoration: underline 2px transparent; text-underline-offset: 6px; transition: text-decoration-color 0.4s var(--ease-out); }
@media (hover: hover) { .channel__link:hover .channel__value { text-decoration-color: currentColor; } }
.channel__copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.2s var(--ease-out);
}
@media (hover: hover) { .channel__copy:hover { background: var(--ink); color: #fff; } }
.channel__copy:active { transform: scale(0.97); }
.channel__copy-ico { width: 16px; height: 16px; flex: none; }
.channel__copy-ico--done,
.channel__copy.is-done .channel__copy-ico--copy { display: none; }
.channel__copy.is-done .channel__copy-ico--done { display: block; }

.pit-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
}
.pit-hint svg { width: 18px; height: 18px; }

.footer {
  position: relative;
  z-index: 1;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}
.footer__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 32px;
  align-items: start;
}
.footer__heading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer__col ul { display: grid; gap: 8px; margin-top: 16px; }
.footer__col a {
  padding-bottom: 2px;
  font-size: 17px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease-out);
}
@media (hover: hover) { .footer__col a:hover { background-size: 100% 1px; } }

.to-top { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.to-top__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.5s var(--ease-out), background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.to-top__icon svg { width: 16px; height: 16px; }
@media (hover: hover) { .to-top:hover .to-top__icon { transform: translateY(-3px); background: #fff; color: var(--blue-text); } }

.footer__logo { margin-top: clamp(56px, 9vw, 140px); overflow: hidden; }
.footer__logo img { width: 100%; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(22px, 3vw, 40px);
  font-size: 14px;
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--xl { grid-row: span 1; min-height: 540px; }
  .tile--xl .tile__art { width: min(52%, 320px); }
}

@media (max-width: 899px) {
  .nav { width: 100%; justify-content: space-between; padding-left: 20px; }
  .nav__links,
  .site-header .btn--nav { display: none; }
  .nav__toggle { display: block; }

  .card__inner { grid-template-columns: 1fr; min-height: 0; }
  .card__media { order: -1; }
  .card__media img { width: min(68%, 300px); }

  .steps__list { grid-template-columns: 1fr; gap: 44px; }
  .step {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    grid-template-areas: "node icon" "node copy";
    column-gap: 18px;
  }
  .step__node { grid-area: node; margin: 10px 0 0 4px; }
  .step__icon { grid-area: icon; width: 92px; }
  .step__copy { grid-area: copy; margin-top: 14px; }
  .steps__fill { transform-origin: 50% 0; transform: scaleY(0); }

  .channels { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .to-top { grid-column: 1 / -1; }
}

/* Tablets em retrato: os ícones ocupam o céu entre o menu e o título */
@media (min-width: 761px) and (max-aspect-ratio: 4/5) {
  .float--rocket   { width: 22vw; top: 9%; right: 6%; }
  .float--shield   { width: 13vw; top: 12%; left: 8%; }
  .float--cloud    { width: 18vw; bottom: 6%; right: 6%; }
  .float--target   { width: 14vw; bottom: 7%; left: 6%; }
  .float--robot    { width: 11vw; top: 26%; left: 30%; }
  .float--megafone { width: 10vw; top: 24%; right: 30%; }
}

@media (max-width: 760px) {
  .float--rocket { width: 108px; top: 11%; right: -2%; }
  .float--target { width: 64px; top: 14%; left: 4%; }
  .float--shield { width: 50px; top: 10%; left: 42%; }
  .float--cloud { width: 86px; bottom: 4%; right: -3%; }
  .float--robot,
  .float--megafone { display: none; }

  .hero__foot { gap: 24px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 auto; }

  .card__inner { padding: 30px 24px 32px; }
}

@media (max-width: 639px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--xl,
  .tile--wide { grid-column: auto; }
  .tile { min-height: 236px; }
  .tile--xl { min-height: 420px; }
  .tile--wide .tile__core { justify-content: space-between; }
  .tile--wide .tile__art {
    position: relative;
    top: auto;
    right: auto;
    width: clamp(104px, 30vw, 140px);
    margin: -8px -8px 0 0;
  }
  .tile--wide .tile__copy { max-width: 100%; }

  .channel__core { padding: 18px 16px 18px 20px; min-height: 100px; }
  .channel--mail .channel__core { grid-template-columns: minmax(0, 1fr); }
  .channel__copy { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 16px; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* =========================================================
   Hero no celular: órbita 3D ao redor do alvo
   ========================================================= */
@media (max-width: 760px) {
  .hero__floats { display: none; }

  .hero__inner {
    padding-top: 84px;
    padding-bottom: 28px;
  }

  /* Título em três linhas equilibradas, sem ícones no meio do texto */
  .hero__title {
    max-width: none;
    font-size: min(10.4vw, 46px);
    line-height: 1.02;
  }
  .hero__title .ico { display: none; }
  .hero__title .ln { display: block; }
  .hero__title .ln--last { white-space: nowrap; }

  .hero__foot { gap: 22px; margin-top: 18px; }
  .hero__sub { max-width: 34ch; font-size: 16px; }
  .hero__ctas { width: 100%; gap: 10px; }
  .hero__ctas .btn { --h: 54px; flex: 1 1 100%; }

  .orbit {
    display: block;
    position: relative;
    width: 100%;
    height: clamp(200px, 36svh, 330px);
    margin-bottom: clamp(6px, 1.6svh, 18px);
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .orbit__glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
    pointer-events: none;
  }
  .orbit__ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
    pointer-events: none;
  }
  .orbit__ring + .orbit__ring { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }

  .orbit__core,
  .orbit__shock {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(38vw, 160px);
    aspect-ratio: 1;
    margin: calc(min(38vw, 160px) / -2) 0 0 calc(min(38vw, 160px) / -2);
  }
  .orbit__core { z-index: 50; cursor: pointer; }
  .orbit__core img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 18px 26px rgba(3, 25, 90, 0.45));
  }
  .orbit__shock {
    z-index: 49;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.75), inset 0 0 30px rgba(255, 255, 255, 0.25);
    opacity: 0;
    pointer-events: none;
  }

  .orbit__item {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
  }
  .orbit__img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .orbit__img--soft { filter: blur(4px); }
  .orbit__img--sharp { filter: drop-shadow(0 10px 14px rgba(3, 25, 90, 0.35)); }

  .no-gsap .orbit { display: none; }
}

/* Celulares baixos: tudo do hero cabe na primeira tela */
@media (max-width: 760px) and (max-height: 720px) {
  .hero__inner { padding-top: 76px; padding-bottom: 18px; }
  .orbit { height: clamp(170px, 28svh, 220px); margin-bottom: 4px; }
  .hero__title { font-size: min(9.6vw, 42px); }
  .hero__foot { gap: 14px; margin-top: 12px; }
  .hero__sub { font-size: 15px; line-height: 1.45; }
  .hero__ctas { gap: 8px; }
  .hero__ctas .btn { --h: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .caret { animation: none; }
}
