/* =========================================================
   Marcelo Hortiz · mobile.css
   Folha ISOLADA e mobile first para telas até 767px.
   Carregada com media="(max-width: 767.98px)". Não depende de
   styles.css, que só é aplicado a partir de 768px.
   Base: 360px · Ajustes: 480px, 600px e celular deitado.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #020b1a;
  --bg-2: #051530;
  --panel: #0b1d3d;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .15);
  --ink: #eef3fb;
  --muted: #9aabc6;
  --muted-2: #6c7e9f;

  --accent: #f7870a;
  --accent-2: #ffb257;
  --accent-ink: #160b00;
  --accent-soft: rgba(247, 135, 10, .1);
  --accent-line: rgba(247, 135, 10, .4);
  --sky: #7fb8f5;
  --wa: #22c063;
  --in: #0a66c2;

  --grad-accent: linear-gradient(180deg, #ffa53d 0%, #f7870a 100%);
  --grad-text: linear-gradient(100deg, #ffc47a 0%, #f7870a 55%, #e0650a 100%);
  --grad-line: linear-gradient(90deg, var(--sky), var(--accent));

  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;

  --r: 18px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 64px;
  --gutter: clamp(16px, 5vw, 24px);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --dock-space: calc(86px + var(--safe-b));

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--safe-t) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(520px 420px at 100% -6%, rgba(247, 135, 10, .14), transparent 62%),
    radial-gradient(520px 520px at -20% 34%, rgba(38, 104, 214, .16), transparent 62%),
    radial-gradient(520px 420px at 60% 112%, rgba(38, 104, 214, .12), transparent 62%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: rgba(247, 135, 10, .35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: fixed;
  top: calc(10px + var(--safe-t));
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip:focus { transform: none; }

.w {
  width: 100%;
  margin-inline: auto;
  padding-left: calc(var(--gutter) + var(--safe-l));
  padding-right: calc(var(--gutter) + var(--safe-r));
}

/* ---------- Tipografia ---------- */
h1, h2, h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(29px, 8.2vw, 40px);
  letter-spacing: -.032em;
  line-height: 1.08;
}

h1 em, h2 em, h3 em, .footer__mark em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  font-size: 1.1em;
  line-height: .9;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .05em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(247, 135, 10, .1));
}

.lead { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Botões ---------- */
.btns { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 16px/1 var(--sans);
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: scale .2s var(--ease), box-shadow .3s, background-color .25s, border-color .25s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { scale: .97; }

.btn--primary {
  color: var(--accent-ink);
  background: var(--grad-accent);
  box-shadow: 0 12px 30px -12px rgba(247, 135, 10, .75), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .12);
}
.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .045);
  border-color: var(--line-2);
}
.btn--ghost:active { background: rgba(255, 255, 255, .09); }
.btn--text { min-height: 44px; padding: 0 8px; color: var(--muted); }
.btn--text:active { color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

/* ---------- Navegação ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: var(--safe-t);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(2, 11, 26, .82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.nav.is-open { background: var(--bg); }

.nav__in { display: flex; align-items: center; gap: 12px; height: var(--nav-h); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.015em;
  text-decoration: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(155deg, #ffbf6e 0%, #f7870a 50%, #b9520a 100%);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 20px -8px rgba(247, 135, 10, .8);
}

.nav__links { display: none; }

/* Menu hambúrguer escondido no mobile: a navegação é pelo scroll e pelo dock de contato.
   Para reativar, remova esta regra (os estilos do menu continuam abaixo). */
.nav__burger, .menu { display: none !important; }

/* No lugar do hambúrguer: botão compacto que leva ao contato */
.nav__cta {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
  box-shadow: 0 8px 22px -10px rgba(247, 135, 10, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.nav__burger {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  touch-action: manipulation;
}
.nav__burger:active { scale: .94; }
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease);
}
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Barra de progresso de leitura */
.nav__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--grad-line);
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  opacity: 0;
  transition: opacity .3s;
}
.nav.is-scrolled .nav__progress { opacity: 1; }
.nav.is-open .nav__progress { opacity: 0; }

/* Menu em tela cheia */
.menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--nav-h) - var(--safe-t));
  height: calc(100dvh - var(--nav-h) - var(--safe-t));
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(420px 360px at 100% 100%, rgba(247, 135, 10, .14), transparent 62%),
    radial-gradient(380px 320px at 0% 0%, rgba(38, 104, 214, .12), transparent 62%),
    var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.nav.is-open .menu { opacity: 1; visibility: visible; }

.menu__in {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: 8px;
  padding-bottom: calc(24px + var(--safe-b));
  counter-reset: menu;
}
.menu__in > a {
  counter-increment: menu;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(26px, 8vw, 34px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s;
}
.menu__in > a::before {
  content: counter(menu, decimal-leading-zero);
  min-width: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0;
  color: var(--accent);
}
.menu__in > a:active { color: var(--accent-2); }

.menu__foot {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}

.nav.is-open .menu__in > a,
.nav.is-open .menu__foot { opacity: 1; transform: none; }
.nav.is-open .menu__in > a:nth-child(1) { transition-delay: .04s; }
.nav.is-open .menu__in > a:nth-child(2) { transition-delay: .08s; }
.nav.is-open .menu__in > a:nth-child(3) { transition-delay: .12s; }
.nav.is-open .menu__in > a:nth-child(4) { transition-delay: .16s; }
.nav.is-open .menu__in > a:nth-child(5) { transition-delay: .2s; }
.nav.is-open .menu__in > a:nth-child(6) { transition-delay: .24s; }
.nav.is-open .menu__foot { transition-delay: .3s; }

/* ---------- Animação de entrada ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .7s var(--ease) var(--d, 0s),
    transform .7s var(--ease) var(--d, 0s),
    scale .2s var(--ease),
    border-color .3s,
    background-color .3s;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Cards dos carrosséis ficam sempre visíveis (entram de lado, pelo swipe) */
.js [data-carousel] > [data-reveal] { opacity: 1; transform: none; }

/* ---------- Seções ---------- */
.section { position: relative; padding-block: 64px; }
.section--alt {
  background: linear-gradient(180deg, rgba(5, 21, 48, 0), rgba(5, 21, 48, .75) 10%, rgba(5, 21, 48, .75) 90%, rgba(5, 21, 48, 0));
}

.sh--center { text-align: center; }
.sh--center .eyebrow { justify-content: center; }
.sh--row .lead { margin-top: 14px; }

.split { display: grid; gap: 28px; }

.ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--accent);
  background: linear-gradient(180deg, rgba(247, 135, 10, .16), rgba(247, 135, 10, .05));
  border: 1px solid rgba(247, 135, 10, .28);
}
.ic svg { width: 22px; height: 22px; }
.ic--sm { width: 42px; height: 42px; border-radius: 13px; }
.ic--sm svg { width: 20px; height: 20px; }

/* Cards respondem ao toque (usa `scale`, separado do `transform` da animação de entrada) */
.pillar, .stat, .market, .svc, .project, .tl__card, .channel {
  transition: scale .2s var(--ease), border-color .3s, background-color .3s;
}
.pillar:active, .stat:active, .market:active, .svc:active, .project:active, .channel:active { scale: .98; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + var(--safe-t) + 4px);
  overflow: clip;
}
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 90% 45% at 50% 22%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 45% at 50% 22%, #000 10%, transparent 75%);
}

.hero__in { position: relative; display: flex; flex-direction: column; }

/* Foto primeiro no mobile */
.hero__visual { order: -1; position: relative; }
.portrait {
  position: relative;
  width: min(76vw, 340px, 38.3vh);
  width: min(76vw, 340px, 38.3svh);
  min-width: 220px;
  margin-inline: auto;
  aspect-ratio: 560 / 672;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 98%);
}
.portrait__halo {
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: 130%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 135, 10, .34), rgba(247, 135, 10, 0) 62%);
  filter: blur(16px);
}
.portrait__ring {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0;
  height: 93%;
  border: 1px solid rgba(255, 178, 87, .32);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.portrait__ring::before {
  content: "";
  position: absolute;
  inset: -7% -7% 0;
  border: 1px dashed rgba(255, 255, 255, .1);
  border-bottom: 0;
  border-radius: inherit;
}
.portrait__arch {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0;
  height: 84%;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: radial-gradient(130% 90% at 50% 0%, #ffb766 0%, #f7870a 42%, #a9480a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}
.portrait__arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2), transparent 35%),
    repeating-radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .06) 0 1px, transparent 1px 22px);
}
.portrait picture { position: relative; display: block; height: 100%; }
.portrait img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 20px 30px rgba(0, 8, 25, .5));
}

/* Cards flutuantes só aparecem a partir de 600px */
.float-card { display: none; }

.hero__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -40px;
  padding-bottom: 44px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(6, 20, 44, .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  color: var(--muted);
}
.pill__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(247, 135, 10, .65); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(247, 135, 10, 0); }
}

.hero__title {
  margin-bottom: 16px;
  font-size: clamp(46px, 14.5vw, 72px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .92;
}
.hero__title em { display: block; font-size: 1.1em; letter-spacing: -.02em; line-height: .98; }

.hero__role { margin-bottom: 12px; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--sky); }
.hero__lead { max-width: 40ch; font-size: 15.5px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 26px; }
.chips li {
  padding: 7px 13px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ffd3a3;
  font-size: 13px;
  font-weight: 600;
}

.hero .btns { width: 100%; }
.hero .btn--text { align-self: center; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: 14px;
  border-block: 1px solid var(--line);
  background: rgba(5, 21, 48, .6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; flex: none; gap: 28px; padding-right: 28px; }
.marquee li {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
}
.marquee li::after { content: "✦"; font-size: 10px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Números ---------- */
.stats { padding-top: 40px; }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat {
  padding: 18px 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
}
.stat b {
  display: flex;
  align-items: flex-start;
  font-size: clamp(34px, 10.5vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.stat b > span:not(.stat__plus) {
  background: linear-gradient(180deg, #ffffff, #b9c8df);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__plus { margin-right: 1px; font-size: .6em; line-height: 1.25; color: var(--accent); }
.stat > span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.stat i { font-style: normal; color: var(--ink); }

/* ---------- Pilares ---------- */
.pillars { display: grid; gap: 10px; }
.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.pillar .ic { width: 44px; height: 44px; border-radius: 13px; }
.pillar .ic svg { width: 20px; height: 20px; }
.pillar h3 { margin: 1px 0 6px; font-size: 17.5px; letter-spacing: -.015em; }
.pillar p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Linha do tempo ---------- */
.tl { position: relative; display: grid; gap: 12px; --p: 0; }
.tl::before, .tl::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 24px;
  width: 2px;
  border-radius: 2px;
}
.tl::before { bottom: 24px; background: var(--line); }
.tl::after {
  height: calc((100% - 48px) * var(--p));
  background: linear-gradient(180deg, var(--sky), var(--accent));
  box-shadow: 0 0 12px rgba(247, 135, 10, .5);
}
.tl li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.tl__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: 6px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg-2);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: color .4s, border-color .4s, box-shadow .4s, background-color .4s;
}
.tl li.is-active .tl__dot { color: var(--sky); border-color: var(--sky); box-shadow: 0 0 0 5px rgba(127, 184, 245, .1); }
.tl__card {
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.tl li.is-active .tl__card { border-color: var(--line-2); background: var(--surface-2); }
.tl__tag { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.tl h3 { margin: 6px 0; font-size: 17px; line-height: 1.22; letter-spacing: -.015em; }
.tl p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

.tl li.is-now .tl__dot { font-size: 9.5px; letter-spacing: .01em; }
.tl li.is-now.is-active .tl__dot {
  border-color: transparent;
  background: var(--grad-accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 5px rgba(247, 135, 10, .15), 0 8px 24px -6px rgba(247, 135, 10, .7);
}
.tl li.is-now .tl__card {
  border-color: var(--accent-line);
  background: linear-gradient(135deg, rgba(247, 135, 10, .16), rgba(255, 255, 255, .025) 60%);
  box-shadow: 0 24px 50px -30px rgba(247, 135, 10, .6);
}
.tl li.is-now h3 { font-size: 18px; }

/* ---------- Mercados ---------- */
.markets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.market {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.market__n {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}
.market__n small { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.meter i { position: relative; height: 5px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.meter i.on { background: none; }
.meter i.on::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-line);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.js .market:not(.is-in) .meter i.on::after { transform: scaleX(0); }
.meter i:nth-child(2)::after { transition-delay: .2s; }
.meter i:nth-child(3)::after { transition-delay: .35s; }
.meter i:nth-child(4)::after { transition-delay: .5s; }
.market h3 { margin-top: 4px; font-size: 15px; line-height: 1.25; letter-spacing: -.01em; }
.market p { font-size: 13px; line-height: 1.45; color: var(--muted); }
.note { margin-top: 16px; font-size: 12.5px; line-height: 1.5; color: var(--muted-2); }

/* ---------- Formação ---------- */
.edu { display: grid; gap: 28px; margin-top: 28px; }
.edu__card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(127, 184, 245, .12), rgba(255, 255, 255, .02) 55%);
}
.edu__card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 184, 245, .22), transparent 70%);
}
.edu__ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border: 1px solid rgba(127, 184, 245, .3);
  border-radius: 14px;
  background: rgba(127, 184, 245, .1);
  color: var(--sky);
}
.edu__ic svg { width: 22px; height: 22px; }
.degree { padding: 16px 0; border-top: 1px solid var(--line); }
.degree:last-child { padding-bottom: 0; }
.degree small {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.degree b { display: block; font-size: 18.5px; line-height: 1.25; letter-spacing: -.015em; }

.quote {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(30px, 9vw, 40px);
  line-height: 1.05;
  color: var(--ink);
}
.edu__text p { font-size: 15.5px; color: var(--muted); }
.edu__text p + p { margin-top: 12px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li {
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  font-size: 13px;
  font-weight: 500;
}
.tags li.k { border-color: var(--accent-line); background: var(--accent-soft); color: #ffd7ad; font-weight: 600; }
.tags--cloud { justify-content: center; margin-top: 28px; }

/* ---------- Carrosséis (serviços e projetos) ---------- */
[data-carousel] {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  margin-left: calc(-1 * (var(--gutter) + var(--safe-l)));
  margin-right: calc(-1 * (var(--gutter) + var(--safe-r)));
  padding: 4px 0 6px calc(var(--gutter) + var(--safe-l));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: calc(var(--gutter) + var(--safe-l));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
[data-carousel]::-webkit-scrollbar { display: none; }
/* Espaço no fim para o último card não colar na borda */
[data-carousel]::after { content: ""; flex: 0 0 calc(var(--gutter) + var(--safe-r) - 12px); }
[data-carousel] > * { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }

.dots { display: flex; justify-content: center; gap: 2px; margin-top: 14px; }
.dots[hidden] { display: none; }
.dots button {
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.dots button::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
  transition: width .35s var(--ease), background-color .35s;
}
.dots button.is-active::before { width: 22px; background: var(--accent); }

/* ---------- Serviços ---------- */
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.svc h3 { margin: 22px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.svc p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.svc__n {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  color: var(--muted-2);
}
.svc--feature {
  border-color: var(--accent-line);
  background:
    radial-gradient(300px 220px at 100% 0%, rgba(247, 135, 10, .22), transparent 60%),
    linear-gradient(135deg, rgba(247, 135, 10, .1), rgba(255, 255, 255, .02) 60%);
}
.svc--wide {
  background:
    radial-gradient(300px 220px at 0% 100%, rgba(127, 184, 245, .16), transparent 60%),
    var(--surface);
}

/* ---------- Onde estou hoje ---------- */
.deliver {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
}
.deliver::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.deliver h3 { margin-bottom: 8px; font-size: 19px; letter-spacing: -.015em; }
.checks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
}
.checks li > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
}
.checks svg { width: 13px; height: 13px; }

/* ---------- Soluções ---------- */
/* O texto "abre" para intercalar: categoria e título, ilustração, descrição. */
.product { display: flex; flex-direction: column; margin-top: 56px; }
.product__text { display: contents; }
.product__kicker {
  order: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.product__kicker span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.product h3 { order: 2; margin-bottom: 18px; font-size: clamp(24px, 7vw, 30px); letter-spacing: -.03em; }
.product__visual { order: 3; position: relative; margin-bottom: 20px; }
.product__text > p:not(.product__kicker) { order: 4; font-size: 15.5px; color: var(--muted); }
.product__text > p + p { margin-top: 12px; }
.mini-checks { order: 5; display: grid; gap: 10px; margin: 20px 0 24px; }
.mini-checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.mini-checks svg { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.product__text > div { order: 6; }
.product__text > div .btn { width: 100%; }

.product__visual::before {
  content: "";
  position: absolute;
  inset: 12% 6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(247, 135, 10, .26), transparent);
  filter: blur(30px);
}
.window {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: linear-gradient(180deg, #0c1f42, #061430);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.window__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.window__bar i:first-child { background: #ff6b5f; }
.window__bar i:nth-child(2) { background: #ffbd2e; }
.window__bar i:nth-child(3) { background: #28c840; }
.window__bar span { margin-left: 8px; font-size: 11.5px; font-weight: 600; color: var(--muted-2); }
.window__body { padding: 12px; }
.window__body svg { width: 100%; height: auto; }

/* ---------- Projetos ---------- */
.project {
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.project__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.badge {
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.project h3 { margin-bottom: 10px; font-size: 19px; letter-spacing: -.02em; }
.project p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.project--feature {
  border-color: var(--accent-line);
  background:
    radial-gradient(300px 220px at 100% 0%, rgba(247, 135, 10, .2), transparent 60%),
    var(--surface);
}
.project--feature .badge { border-color: var(--accent-line); color: var(--accent-2); }

/* ---------- Contato ---------- */
.contact { padding-bottom: 48px; }
.contact__panel {
  position: relative;
  display: grid;
  gap: 32px;
  padding: 26px 20px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background:
    radial-gradient(420px 320px at 0% 0%, rgba(247, 135, 10, .2), transparent 60%),
    radial-gradient(420px 360px at 100% 100%, rgba(38, 104, 214, .22), transparent 60%),
    linear-gradient(180deg, #0a1f43, #051632);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
.contact__intro, .contact__form { min-width: 0; }
.contact h2 { font-size: clamp(27px, 7.6vw, 36px); }

.channels { display: grid; gap: 10px; margin-top: 24px; }
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  text-decoration: none;
}
.channel b { display: block; font-size: 15.5px; }
.channel small { display: block; font-size: 13px; color: var(--muted); }
.channel__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; color: #fff; }
.channel__ic svg { width: 21px; height: 21px; }
.channel__ic--wa { background: var(--wa); }
.channel__ic--in { background: var(--in); }
.channel__arrow { width: 18px; height: 18px; margin-left: auto; color: var(--muted); }

.form { display: grid; gap: 14px; }
.form[hidden] { display: none; }
.form__row { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field .opt { font-weight: 500; color: var(--muted-2); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(2, 11, 26, .55);
  color: var(--ink);
  font: 500 16px/1.4 var(--sans); /* 16px evita o zoom automático do iOS */
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  background: rgba(2, 11, 26, .75);
  box-shadow: 0 0 0 4px rgba(247, 135, 10, .16);
}
.field select {
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239aabc6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field select:invalid { color: var(--muted-2); }
.field select option { background: #071a38; color: var(--ink); }
.field.is-invalid input, .field.is-invalid select { border-color: #ff7a66; }

.form__foot { display: grid; gap: 12px; margin-top: 4px; }
.form__foot .btn { width: 100%; }
.form__privacy { font-size: 12.5px; line-height: 1.5; text-align: center; color: var(--muted-2); }
.form__status { min-height: 1.5em; font-size: 14px; text-align: center; color: var(--muted); }
.form__status:empty { display: none; }
.form__status.is-error { color: #ff9d8c; }

.form-done { display: grid; justify-items: center; gap: 12px; padding: 8px 0; text-align: center; outline: none; }
.form-done[hidden] { display: none; }
.form-done__ic {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 8px rgba(247, 135, 10, .14);
}
.form-done__ic svg { width: 26px; height: 26px; }
.form-done h3 { margin-top: 8px; font-size: 22px; }
.form-done p { font-size: 15px; color: var(--muted); }
.form-done .btns { width: 100%; margin-top: 8px; }

/* ---------- Rodapé ---------- */
.footer {
  padding: 40px 0 calc(var(--dock-space) + 8px);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.footer__top { display: grid; gap: 24px; }
.footer__tag { margin-top: 12px; font-size: 14px; color: var(--muted); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.footer__nav a { padding: 6px 0; font-size: 15px; color: var(--muted); text-decoration: none; }
.footer__nav a:active { color: var(--ink); }
.footer__mark {
  margin: 36px 0 0;
  font-size: clamp(38px, 12vw, 88px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.055em;
  white-space: nowrap;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .02));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__mark em { opacity: .4; }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-2);
}
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--muted); text-decoration: none; }
.footer__top-link svg { width: 16px; height: 16px; }

/* ---------- Dock de contato (substitui o botão flutuante) ---------- */
.wa-float { display: none; }

.dock {
  position: fixed;
  z-index: 45;
  left: calc(12px + var(--safe-l));
  right: calc(12px + var(--safe-r));
  bottom: calc(12px + var(--safe-b));
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: rgba(6, 20, 44, .8);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 20px 50px -16px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(100% + 24px));
  transition: transform .45s var(--ease), opacity .3s, visibility .45s;
}
.dock.is-visible { opacity: 1; visibility: visible; transform: none; }
.no-scroll .dock { opacity: 0; visibility: hidden; transform: translateY(calc(100% + 24px)); }
html:not(.js) .dock { opacity: 1; visibility: visible; transform: none; }

.dock a { touch-action: manipulation; transition: scale .2s var(--ease); }
.dock a:active { scale: .96; }
.dock__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 15px;
  background: var(--grad-accent);
  color: var(--accent-ink);
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}
.dock__main svg { width: 20px; height: 20px; }
.dock__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  min-height: 50px;
  border-radius: 15px;
  background: var(--in);
  color: #fff;
}
.dock__icon svg { width: 20px; height: 20px; }

/* ---------- 404 ---------- */
.notfound {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: 48px;
}
.notfound h1 { font-size: clamp(40px, 12vw, 64px); letter-spacing: -.04em; }
.notfound .btns { width: 100%; margin-top: 24px; }

/* ---------- Mouse (janela de desktop estreita) ---------- */
@media (hover: hover) {
  .btn--primary:hover { box-shadow: 0 16px 36px -12px rgba(247, 135, 10, .9), inset 0 1px 0 rgba(255, 255, 255, .45); }
  .btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
  .menu__in > a:hover, .footer__nav a:hover, .footer__top-link:hover { color: var(--ink); }
  .svc:hover, .project:hover, .market:hover, .pillar:hover { border-color: rgba(247, 135, 10, .35); }
}

/* =========================================================
   Celulares grandes (480px+)
   ========================================================= */
@media (min-width: 480px) {
  .portrait { width: min(66vw, 360px, 40vh); width: min(66vw, 360px, 40svh); }
  .stats__grid, .markets, .pillars { gap: 12px; }
  .stat { padding: 20px 18px; }
  .stat > span { font-size: 13.5px; }
  .market { padding: 18px; }
  [data-carousel] > * { flex-basis: min(72%, 360px); }
  .contact__panel { padding: 30px 26px; }
}

/* =========================================================
   Celular deitado e tablets pequenos (600px+)
   ========================================================= */
@media (min-width: 600px) {
  :root { --nav-h: 68px; }

  .hero .btns { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero .btns .btn { flex: 1 1 220px; }
  .hero .btns .btn--text { flex: 0 0 100%; }

  .float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px 9px 9px;
    border: 1px solid var(--line-2);
    border-radius: 14px;
    background: rgba(6, 20, 44, .7);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  }
  .float-card b { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
  .float-card small { display: block; max-width: 16ch; font-size: 11.5px; line-height: 1.3; color: var(--muted); }
  .float-card__ic {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--grad-accent);
    color: var(--accent-ink);
  }
  .float-card__ic svg { width: 18px; height: 18px; }
  .float-card--a { left: -24%; top: 34%; }
  .float-card--b { right: -24%; top: 56%; }
  .portrait { -webkit-mask-image: none; mask-image: none; }
  .hero__visual { -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 99%); mask-image: linear-gradient(180deg, #000 72%, transparent 99%); }

  [data-carousel] > * { flex-basis: calc((100% - 2 * var(--gutter) - 12px) / 2); }
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .dock { left: 0; right: 0; width: min(520px, calc(100% - 24px)); margin-inline: auto; }
}

/* =========================================================
   Celular deitado (altura baixa): foto ao lado do texto
   ========================================================= */
@media (min-width: 560px) and (orientation: landscape) and (max-height: 520px) {
  .hero__in { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
  .hero__visual { order: 0; -webkit-mask-image: none; mask-image: none; }
  .portrait { width: 58vh; min-width: 0; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
  .float-card { display: none; }
  .hero__text { margin-top: 0; padding-bottom: 28px; align-items: flex-start; text-align: left; }
  .hero__title { font-size: 52px; }
  .chips { justify-content: flex-start; margin: 16px 0 18px; }
  .hero .btns .btn--text { flex: 0 0 auto; }
  .menu__in > a { padding: 10px 0; font-size: 22px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}
