/* =====================================================================
   Início: primeira tela igual à do site oficial (localhost:8080),
   com o efeito de contração do site novo ao rolar.
   Fontes da marca só nesta área: Kamerik 105 no título, Poppins no resto.
   ===================================================================== */

@font-face { font-family: "Kamerik 105"; src: url("../assets/fonts/kamerik105-book.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-500-latin-ext.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --in-roxo: #673DE6;
  --in-fundo: #05030b;
  --in-ease: cubic-bezier(.16, 1, .3, 1);
  --in-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --in-titulo: "Kamerik 105", "Poppins", system-ui, sans-serif;
}

/* ---------- Palco da hero ---------- */
.HomeHero { background: var(--in-fundo); height: 300dvh; }
@media (min-width: 768px) { .HomeHero { height: 340dvh; } }
.HomeHero .HomeHero__frame { inset: 0; border-radius: 0; background: var(--in-fundo); }
.HomeHero .HomeHero__frame::after { content: none; }
.HomeHero__black { background: var(--in-fundo); }

/* No oficial a imagem cobre a primeira tela e a faixa de logos logo abaixo,
   ancorada embaixo. A mesma área aqui deixa o enquadramento idêntico. */
.Inicio__media { --in-extra: 234px; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + var(--in-extra)); }
@media (max-width: 1300px) { .Inicio__media { --in-extra: 225px; } }
@media (max-width: 980px) { .Inicio__media { --in-extra: 181px; } }
@media (max-width: 620px) { .Inicio__media { --in-extra: 194px; } }
.Inicio__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; filter: saturate(.98) contrast(1.03) brightness(.98); }
/* celular e tablet em pé: rota vertical (hero-rota-mobile); a rota fica à direita do centro da foto */
@media (orientation: portrait) and (max-width: 1100px) { .Inicio__media img { object-position: 68% bottom; } }
.Inicio__veu {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 4, 18, .88) 0%, rgba(7, 4, 18, .68) 24%, rgba(7, 4, 18, .3) 43%, transparent 62%);
}
@media (max-width: 620px) {
  .Inicio__veu { background: linear-gradient(90deg, rgba(7, 4, 18, .86) 0%, rgba(7, 4, 18, .56) 58%, rgba(7, 4, 18, .12) 100%); }
}

/* ---------- Conteúdo da primeira tela ---------- */
.Inicio {
  position: absolute; inset: 0; z-index: 10;
  display: flex; align-items: flex-end;
  padding: 0 clamp(18px, 3.2vw, 52px) clamp(38px, 5.5vw, 78px);
  color: #fff; font-family: var(--in-font);
  will-change: opacity, transform;
}
.Inicio__grid { display: grid; gap: clamp(18px, 2vw, 26px); width: 100%; max-width: 900px; }
.Inicio__titulo {
  display: flex; flex-direction: column; align-items: flex-start; gap: .08em;
  max-width: 980px; margin: 0;
  font-family: var(--in-titulo); font-size: clamp(42px, 4.6vw, 82px); font-weight: 400; line-height: .98; letter-spacing: 0;
  text-shadow: 0 20px 80px rgba(20, 7, 61, .48);
}
.Inicio__linha { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .22em; color: #fff; }
.Inicio__linha--destaque { position: relative; color: #d8c9ff; font-weight: 300; }
.Inicio__linha--destaque::after {
  content: ""; position: absolute; left: 0; bottom: -.08em; width: 100%; height: 1px;
  background: rgba(216, 201, 255, .58); transform: scaleX(0); transform-origin: left;
  animation: inicioLinha 900ms var(--in-ease) 1.05s forwards;
}
.Inicio__palavra {
  display: inline-block; opacity: 0; filter: blur(5px); transform: translateY(.3em) scale(.97);
  animation: inicioPalavra 780ms var(--in-ease) both; animation-delay: calc(180ms + var(--ordem) * 75ms);
}
.Inicio__copy {
  display: flex; flex-direction: column; align-items: flex-start; gap: 26px; max-width: 560px;
  opacity: 0; transform: translateY(14px); animation: inicioCopy 800ms var(--in-ease) 920ms forwards;
}
.Inicio__sub { max-width: 520px; margin: 0; color: rgba(255, 255, 255, .76); font-size: clamp(13px, 1vw, 16px); line-height: 1.24; }
.Inicio__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ---------- Botão em pílula com seta num círculo (igual ao oficial) ---------- */
.Pilula {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; min-height: 48px; width: fit-content; max-width: 100%;
  padding: 4px 58px 4px 24px; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--in-font); font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none;
  color: #fff; background: var(--in-roxo); box-shadow: 0 20px 60px rgba(80, 37, 209, .34);
  transition: padding 720ms var(--in-ease), transform 420ms var(--in-ease), background 420ms var(--in-ease), border-color 420ms var(--in-ease), box-shadow 520ms var(--in-ease), color 420ms var(--in-ease);
}
.Pilula::after {
  content: ""; position: absolute; z-index: 1; right: 4px; top: 50%;
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  transform: translateY(-50%); box-shadow: 0 10px 24px -16px rgba(47, 28, 106, .55);
  transition: right 720ms var(--in-ease), transform 720ms var(--in-ease), background 420ms;
}
.Pilula::before {
  content: ""; position: absolute; z-index: 2; right: 16px; top: 50%; width: 16px; height: 16px;
  background: var(--in-roxo); transform: translateY(-50%);
  -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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M7 7h10v10'/%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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M7 7h10v10'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none; transition: right 720ms var(--in-ease), transform 720ms var(--in-ease), background 420ms;
}
.Pilula:hover { padding-left: 58px; padding-right: 24px; transform: translateY(-1px); }
.Pilula:hover::after { right: calc(100% - 44px); transform: translateY(-50%) rotate(45deg); }
.Pilula:hover::before { right: calc(100% - 28px); transform: translateY(-50%) rotate(45deg); }
.Pilula:active { transform: translateY(0); }
.Pilula:focus-visible { outline: 2px solid #d8c9ff; outline-offset: 3px; }
.Pilula--vidro { border-color: rgba(255, 255, 255, .55); background: rgba(5, 3, 11, .22); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.Pilula--vidro:hover { background: rgba(5, 3, 11, .4); border-color: #fff; }

/* versão do header */
.Pilula--topo { min-height: 42px; padding: 3px 52px 3px 18px; font-size: 14px; background: transparent; box-shadow: none; }
.Pilula--topo::after { width: 34px; height: 34px; right: 3px; }
.Pilula--topo::before { right: 12px; width: 15px; height: 15px; }
.Pilula--topo:hover { padding-left: 52px; padding-right: 18px; }
.Pilula--topo:hover::after { right: calc(100% - 38px); }
.Pilula--topo:hover::before { right: calc(100% - 26px); }
[data-nav-theme="dark"] .Pilula--topo { color: #fff; border-color: rgba(255, 255, 255, .45); }
[data-nav-theme="light"] .Pilula--topo { color: var(--in-roxo); border-color: rgba(103, 61, 230, .3); background: #fff; }
[data-nav-theme="light"] .Pilula--topo::after { background: #F4F1FF; }

/* ---------- Header sobre a imagem, como no oficial ---------- */
.Header__logo .Logo--claro { display: none; }
[data-nav-theme="dark"] .Header__logo .Logo--escuro { display: none; }
[data-nav-theme="dark"] .Header__logo .Logo--claro { display: block; }
.Header .navigation-header-link { font-family: var(--in-font); font-size: 15px; font-weight: 500; }
.Header .BrandWordmark--header { width: 140px; height: auto; }
.Header__grid { padding: 11px 18px; }
@media (min-width: 1024px) {
  .Header__grid { max-width: 1280px; margin: 0 auto; padding: 13px clamp(20px, 5vw, 48px); }
  .Header__nav { gap: 1.6rem; }
}
[data-nav-theme="dark"] .Header__burger { background: transparent; color: #fff; }
.Header__burger svg { width: 1.6rem; height: 1.6rem; }
.Header__ctasMobile { display: none !important; }

/* ---------- Bloco "Crescimento previsível..." com o caminho ---------- */
#pull1 { padding-top: 50dvh; align-items: start; }
@media (min-width: 1450px) { #pull1 { padding-top: 50dvh; align-items: start; } }
#pull1 .PullApartContent__col { grid-column: 1 / -1; width: 100%; max-width: 780px; justify-self: center; padding: 1.5rem 0 0; gap: 0; }
#pull1 .PullApartContent__text { gap: 12px; margin-bottom: 0; }
#pull1 .header4-regular { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.12; letter-spacing: -.03em; }
#pull1 .PullApartContent__body { font-size: 15px !important; line-height: 1.5 !important; }

.Rota {
  --rota: 0;
  position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%; max-width: 720px; margin: clamp(22px, 3.5vh, 36px) auto 0; padding: 0; list-style: none;
}
/* trilho: do centro da primeira bolinha ao centro da última */
.Rota::before, .Rota::after { content: ""; position: absolute; top: 19px; left: 10%; right: 10%; height: 2px; border-radius: 2px; }
.Rota::before { background: rgba(213, 200, 255, .16); }
.Rota::after { background: linear-gradient(90deg, #497DF7, #8C6DF0 55%, #D5C8FF); transform-origin: left; transform: scaleX(var(--rota)); box-shadow: 0 0 14px rgba(140, 109, 240, .55); }
.Rota__passo { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; text-align: center; }
.Rota__ponto {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: rgba(213, 200, 255, .55); background: #0c0820; border: 1px solid rgba(213, 200, 255, .22);
  transition: color .45s, background .45s, border-color .45s, box-shadow .45s, transform .45s var(--in-ease);
}
.Rota__ponto svg { width: 18px; height: 18px; }
.Rota__nome { font-size: 13px; font-weight: 500; line-height: 1.25; color: rgba(255, 255, 255, .45); text-wrap: balance; transition: color .45s; }
.Rota__passo.is-on .Rota__ponto { color: #fff; background: linear-gradient(135deg, #497DF7, #673DE6); border-color: transparent; box-shadow: 0 0 0 5px rgba(103, 61, 230, .18), 0 10px 24px -8px rgba(103, 61, 230, .8); transform: scale(1.06); }
.Rota__passo.is-on .Rota__nome { color: #fff; }
.Rota__passo:last-child.is-on .Rota__ponto svg { animation: rotaGira 6s linear infinite; }

/* ---------- Faixa de clientes (logo depois da sequência) ---------- */
.Clientes {
  position: relative; z-index: 2; overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px);
  color: #fff; font-family: var(--in-font);
  background: radial-gradient(70% 90% at 50% 0%, rgba(103, 61, 230, .2), transparent 70%), var(--in-fundo);
}
.Clientes__cabeca { padding: 0 1.5rem; text-align: center; }
.Clientes__cabeca h2 { margin: 0; font-size: clamp(14px, 1.35vw, 18px); font-weight: 500; letter-spacing: .08em; line-height: 1.45; text-transform: uppercase; }
.Clientes__janela {
  --itens: 5; --visiveis: 4;
  width: min(820px, 100%); margin: clamp(16px, 2vw, 24px) auto 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.Clientes__trilho { display: flex; width: calc(200% * var(--itens) / var(--visiveis)); transform: translateX(-50%); animation: clientesDireita 40s linear infinite; will-change: transform; }
.Clientes__grupo { display: flex; flex: 0 0 50%; align-items: center; }
.Clientes__item { display: grid; place-items: center; flex: 0 0 calc(100% / var(--itens)); height: 68px; padding: 6px clamp(8px, 1.2vw, 16px); }
.Clientes__item img { display: block; width: auto; max-width: 100%; height: auto; max-height: 42px; object-fit: contain; }
.Clientes__item img.is-alto { max-height: 50px; }
#revealApps { background: var(--in-fundo); }

/* ---------- WhatsApp flutuante ---------- */
/* só o logo do WhatsApp, branco num círculo verde */
.WaFlutuante {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; padding: 0; border-radius: 50%;
  color: #fff; background: #25D366;
  box-shadow: 0 16px 36px -14px rgba(10, 60, 30, .6); text-decoration: none;
  transition: transform .3s var(--in-ease), box-shadow .3s;
}
.WaFlutuante:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(10, 60, 30, .7); }
.WaFlutuante.is-escondido { opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; visibility: hidden; transition: opacity .3s, transform .3s var(--in-ease), visibility 0s .3s; }
.WaFlutuante { transition: opacity .3s, transform .3s var(--in-ease), box-shadow .3s, visibility 0s; }
.WaFlutuante svg { width: 30px; height: 30px; }

/* ---------- Telas menores ---------- */
@media (max-width: 980px) {
  .Inicio__titulo { max-width: 820px; font-size: clamp(40px, 7vw, 66px); }
  .Inicio__copy { max-width: 580px; }
}
@media (max-width: 620px) {
  .Inicio { padding: 0 18px 28px; }
  .Inicio__titulo { gap: .04em; font-size: clamp(34px, 10vw, 46px); }
  .Inicio__sub { font-size: 14px; line-height: 1.4; }
  .Inicio__copy { gap: 20px; padding-bottom: 20px; }
  .Inicio__acoes { flex-direction: column; align-items: flex-start; }
  .Pilula { min-height: 44px; font-size: 14px; padding: 4px 54px 4px 20px; }
  .Pilula:hover { padding-left: 54px; padding-right: 20px; }
  .Pilula::after { width: 36px; height: 36px; }
  .Pilula::before { right: 14px; }
  .Pilula:hover::after { right: calc(100% - 40px); }
  .Pilula:hover::before { right: calc(100% - 26px); }
  .Clientes__cabeca h2 { font-size: 13px; letter-spacing: .06em; }
  .Clientes__janela { --visiveis: 2; width: min(330px, 100%); margin-top: 16px; }
  .Clientes__item { height: 60px; padding-inline: 10px; }
  .Clientes__item img { max-height: 36px; }
  .Clientes__item img.is-alto { max-height: 44px; }
  .WaFlutuante { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .WaFlutuante svg { width: 28px; height: 28px; }
  #pull1 { padding-top: 44dvh; }
  #pull1 .PullApartContent__col { padding-top: .75rem; }
  #pull1 .PullApartContent__body { font-size: 14px !important; }
  .Rota::before, .Rota::after { top: 16px; }
  .Rota__ponto { width: 34px; height: 34px; }
  .Rota__ponto svg { width: 15px; height: 15px; }
  .Rota__passo { gap: 8px; }
  .Rota__nome { font-size: 11px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .Inicio { padding-bottom: 18px; }
  .Inicio__titulo { font-size: clamp(28px, 5vw, 40px); }
  .Inicio__copy { gap: 12px; }
  .Inicio__sub { display: none; }
  #pull1 { padding-top: 40dvh; }
  #pull1 .PullApartContent__col { padding-top: 0; }
  #pull1 .PullApartContent__body { display: none; }
  .Rota { margin-top: 12px; }
}

/* ---------- Animações ---------- */
@keyframes inicioPalavra { 0% { opacity: 0; transform: translateY(.3em) scale(.97); filter: blur(5px); } 100% { opacity: 1; transform: none; filter: blur(0); } }
@keyframes inicioCopy { to { opacity: 1; transform: none; } }
@keyframes inicioLinha { to { transform: scaleX(1); } }
@keyframes clientesDireita { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes rotaGira { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .Inicio__palavra, .Inicio__copy, .Inicio__linha--destaque::after { animation: none; opacity: 1; filter: none; transform: none; }
  .Clientes__trilho { animation: none; transform: none; }
  .Rota__passo:last-child.is-on .Rota__ponto svg { animation: none; }
  .Pilula, .Pilula::after, .Pilula::before, .Rota__ponto { transition: none; }
}

/* âncora do botão "Ver como trabalhamos": ponto da rolagem em que o caminho já apareceu */
.HomeHero__ancora { position: absolute; left: 0; width: 1px; height: 1px; top: 145dvh; pointer-events: none; }
@media (min-width: 768px) { .HomeHero__ancora { top: 172dvh; } }
@media (max-width: 380px) {
  .Rota__nome { font-size: 10px; letter-spacing: -.01em; }
  .Rota__passo { padding-inline: 1px; }
}

/* Faixa de clientes em fundo claro, logo abaixo do teste de momento */
.Clientes--claro { z-index: auto; color: #1D1E20; background: #FAFAFE; padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 7vw, 96px); }
.Clientes--claro .Clientes__cabeca h2 { color: #5F566E; font-size: clamp(12px, 1.1vw, 15px); }
.Clientes--claro .Clientes__item img { opacity: .78; transition: opacity .3s; }
.Clientes--claro .Clientes__item img:hover { opacity: 1; }

/* Enquanto a imagem e as fontes do início carregam (classe posta no <head>), nada anima:
   depois tudo entra de uma vez, com a imagem surgindo junto */
.Inicio__media img { transition: opacity .8s ease; }
.inicio-espera .Inicio__media img { opacity: 0; }
.inicio-espera .Inicio__palavra,
.inicio-espera .Inicio__copy,
.inicio-espera .Inicio__linhaTopo,
.inicio-espera .Inicio__linha--destaque::after { animation: none !important; }
