/* =====================================================================
   Hélix: páginas internas (serviços, Sobre nós, Dúvidas e Diagnóstico)
   O que é comum fica no começo; depois vem um bloco para cada página.
   ===================================================================== */

/* ---------- Topo do serviço: texto de um lado, ilustração do outro ---------- */
.sv-hero { position: relative; padding: clamp(122px, 17vh, 184px) 0 clamp(48px, 6vw, 84px); overflow: clip; isolation: isolate; }
.sv-hero__fundo {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 58% at 78% 42%, rgba(19, 82, 232, .34), transparent 72%),
    radial-gradient(44% 40% at 6% 0%, rgba(19, 82, 232, .24), transparent 70%);
}
.sv-hero__fundo::before {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.3px); background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(60% 62% at 72% 42%, #000, transparent 78%);
  mask-image: radial-gradient(60% 62% at 72% 42%, #000, transparent 78%);
}
.sv-hero__grade { display: grid; gap: 60px; align-items: center; }
.sv-hero__txt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.sv-hero__titulo { font-size: clamp(41px, 5.3vw, 78px); margin-top: 20px; }
.sv-hero__titulo em { display: block; font-size: 1.04em; margin-top: .04em; }
.sv-hero .lead { margin-top: clamp(18px, 2vw, 24px); max-width: 50ch; }
.sv-hero__acoes { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: clamp(26px, 3vw, 34px); }
.sv-hero__provas { display: flex; flex-wrap: wrap; gap: 9px 24px; margin-top: clamp(22px, 2.6vw, 30px); font-size: 14px; color: var(--texto-2); }
.sv-hero__provas li { display: inline-flex; align-items: center; gap: 8px; }
.sv-hero__provas .ico { width: 16px; height: 16px; color: var(--azul-claro); stroke-width: 2.8; }
@media (min-width: 980px) { .sv-hero__grade { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(40px, 5vw, 84px); } }
@media (max-width: 700px) {
  .sv-hero__acoes { flex-direction: column; align-self: stretch; }
  .sv-hero__acoes .btn { display: flex; }
  .sv-hero__acoes .btn__txt { flex: 1; justify-content: center; }
  .sv-hero__provas { flex-direction: column; gap: 9px; }
}

/* ---------- Número de resultado ---------- */
.prova { padding-bottom: clamp(64px, 8vw, 112px); }
.prova__caixa { display: grid; gap: 14px 48px; align-items: center; padding: clamp(26px, 4vw, 46px) clamp(24px, 4.4vw, 56px); overflow: hidden; }
.prova__num { display: flex; align-items: baseline; gap: .12em; font: 400 clamp(70px, 10vw, 136px)/1 var(--f-titulo); letter-spacing: .005em; color: #fff; white-space: nowrap; }
.prova__num i { font-style: normal; font-size: .46em; color: var(--azul-claro); }
.prova__txt p { font-size: clamp(18px, 1.9vw, 24px); line-height: 1.42; color: var(--texto-2); max-width: 30ch; }
.prova__txt p b { color: #fff; font-weight: 600; }
.prova__txt small { display: block; margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--texto-3); }
@media (min-width: 860px) { .prova__caixa { grid-template-columns: auto minmax(0, 1fr); } }

/* ---------- Passos em cartões, cada um com a sua mini-animação ---------- */
.passos { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.passo { display: flex; flex-direction: column; overflow: hidden; }
.passo__mini {
  position: relative; margin: 10px 10px 0; border-radius: 20px; height: 204px; overflow: hidden; padding: 18px; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: radial-gradient(120% 90% at 50% 0%, #142550 0%, #0a0f1d 58%, #070a13 100%);
}
.passo__txt { padding: 20px 22px 26px; }
.passo__n { font: 500 12.5px/1 var(--f-mono); letter-spacing: .12em; color: var(--destaque); }
.passo h3 { margin-top: 10px; font: 400 clamp(27px, 2.3vw, 31px)/1.16 var(--f-titulo); text-transform: uppercase; letter-spacing: .01em; color: var(--t1); }
.passo p { margin-top: 8px; color: var(--t2); font-size: 15.5px; }
@media (min-width: 620px) { .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .passos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* a chamada final precisa de respiro em cima quando vem depois de uma seção clara */
.final--folga { padding-top: clamp(64px, 8vw, 110px); }

/* =====================================================================
   Hélix Tráfego
   ===================================================================== */

/* ---------- Ilustração do topo: o anúncio, a conversa que chega e o relatório ---------- */
.fluxo { position: relative; width: min(100%, 520px); aspect-ratio: 10 / 11.4; margin-inline: auto; --px: 0; --py: 0; }
.fluxo__halo {
  position: absolute; inset: 8% 4%; z-index: -1;
  background: radial-gradient(closest-side, rgba(19, 82, 232, .6), rgba(19, 82, 232, .16) 62%, transparent); filter: blur(46px);
}

.anuncio {
  position: absolute; z-index: 1; left: 3%; top: 0; width: 58%; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #141c31, #0b101d);
  box-shadow: inset 0 0 0 1px rgba(157, 188, 255, .22), 0 44px 70px -34px rgba(0, 0, 0, .9);
  transform: translate3d(calc(var(--px) * -12px), calc(var(--py) * -10px), 0) rotate(-3deg); transition: transform .7s var(--ease);
}
.anuncio__topo { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.anuncio__topo i {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(from 200deg, #1352e8, #9dbcff, #1352e8);
  box-shadow: 0 0 0 2px #10172a, 0 0 0 3.5px rgba(157, 188, 255, .55);
}
.anuncio__topo b, .chegada__topo b { display: block; font: 600 13px/1.25 var(--f-texto); color: #fff; }
.anuncio__topo small, .chegada__topo small { display: block; font-size: 11px; line-height: 1.3; color: var(--texto-2); }
.anuncio__arte {
  position: relative; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px;
  overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 100% at 15% 0%, #4d86ff 0%, #1352e8 36%, #0b2d8f 74%, #071a52 100%);
}
.anuncio__arte::before {
  content: ""; position: absolute; z-index: -1; right: -26%; bottom: -30%; width: 86%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0));
}
.anuncio__arte::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.4px); background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(20deg, #000, transparent 60%); mask-image: linear-gradient(20deg, #000, transparent 60%);
}
.anuncio__arte span {
  padding: 6px 9px; border-radius: 999px; font: 500 9.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(5, 7, 12, .34);
}
.anuncio__arte strong { font: 400 clamp(25px, 2.9vw, 36px)/1.05 var(--f-titulo); text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.anuncio__cta {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 14px;
  font: 600 13px/1 var(--f-texto); color: #fff; background: rgba(77, 134, 255, .18);
}
.anuncio__cta .ico { width: 15px; height: 15px; }
.anuncio__toque {
  position: absolute; left: 62px; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: rgba(255, 255, 255, .34); opacity: 0; animation: toque 8s var(--ease) infinite;
}
@keyframes toque { 0% { transform: scale(.3); opacity: 0; } 2% { transform: scale(.8); opacity: .9; } 8%, 100% { transform: scale(2); opacity: 0; } }
.anuncio__icones { display: flex; gap: 12px; padding: 11px 14px 13px; color: var(--texto-2); }
.anuncio__icones .ico { width: 19px; height: 19px; }

.relat {
  position: absolute; z-index: 2; right: 0; top: 7%; width: 39%; padding: 13px 14px 14px; border-radius: 18px;
  background: #f3f3f3; color: var(--tinta); box-shadow: 0 30px 54px -24px rgba(0, 0, 0, .85);
  transform: translate3d(calc(var(--px) * 26px), calc(var(--py) * 20px), 0) rotate(4deg); transition: transform .8s var(--ease);
}
.relat small, .folha small { display: block; font: 500 9.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tinta-2); }
.relat__barras { display: flex; align-items: flex-end; gap: 5px; height: 58px; margin-top: 12px; }
.relat__barras i {
  flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: #c5d3f4; transform-origin: 50% 100%;
  animation: crescer 8s var(--ease) infinite both; animation-delay: calc(var(--k) * .1s);
}
.relat__barras i:last-child { background: var(--azul); }
@keyframes crescer { 0% { transform: scaleY(.12); } 14%, 90% { transform: scaleY(1); } 100% { transform: scaleY(.12); } }

.chegada {
  position: absolute; z-index: 2; right: 0; bottom: 1%; width: 61%; padding: 12px; border-radius: 22px;
  display: flex; flex-direction: column; gap: 7px;
  background: linear-gradient(180deg, #151f38, #0a0f1c);
  box-shadow: inset 0 0 0 1px rgba(157, 188, 255, .26), 0 34px 60px -26px rgba(0, 0, 0, .9);
  transform: translate3d(calc(var(--px) * 20px), calc(var(--py) * 16px), 0); transition: transform .8s var(--ease);
}
.chegada__topo { display: flex; align-items: center; gap: 9px; padding: 0 2px 9px; margin-bottom: 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.chegada__topo i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; }
.chegada__topo .ico { width: 16px; height: 16px; stroke-width: 2.2; }
/* as três mensagens chegam uma depois da outra e o ciclo recomeça junto */
.bal {
  align-self: flex-start; max-width: 90%; margin: 0; padding: 8px 11px; border-radius: 4px 14px 14px 14px;
  background: #1d2946; color: #fff; font-size: 12.5px; line-height: 1.35;
  animation: 8s var(--ease) infinite both;
}
.bal--eu { align-self: flex-end; border-radius: 14px 4px 14px 14px; background: #0f6b4f; }
.bal--1 { animation-name: bal1; }
.bal--2 { animation-name: bal2; }
.bal--3 { animation-name: bal3; }
@keyframes bal1 { 0%, 5% { opacity: 0; transform: translateY(10px) scale(.94); } 10%, 91% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes bal2 { 0%, 19% { opacity: 0; transform: translateY(10px) scale(.94); } 24%, 91% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes bal3 { 0%, 37% { opacity: 0; transform: translateY(10px) scale(.94); } 42%, 91% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }

.etq {
  position: absolute; z-index: 3; --prof: 26;
  transform: translate3d(calc(var(--px) * var(--prof) * 1px), calc(var(--py) * var(--prof) * 1px), 0); transition: transform .8s var(--ease);
}
.etq > span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 11px 12px; border-radius: 999px; white-space: nowrap;
  font: 600 14px/1 var(--f-texto); color: #fff;
  background: linear-gradient(180deg, rgba(34, 52, 104, .86), rgba(14, 22, 48, .86));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(157, 188, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .18), 0 18px 34px -14px rgba(0, 0, 0, .7);
  animation: boiar var(--dur, 7s) ease-in-out infinite alternate;
}
.etq .ico { width: 18px; height: 18px; color: var(--azul-luz); }
@keyframes boiar { from { transform: translateY(-6px); } to { transform: translateY(7px); } }
.etq--1 { left: -8%; top: 35%; --prof: 34; --dur: 6.4s; }
.etq--2 { left: -11%; top: 48.5%; --prof: 44; --dur: 7.6s; }
.etq--3 { left: 9%; bottom: 3%; --prof: 28; --dur: 8.2s; }

@media (max-width: 1120px) { .etq--1 { left: -3%; } .etq--2 { left: -4%; } }
@media (max-width: 620px) {
  .fluxo { width: min(100%, 400px); aspect-ratio: 10 / 12.6; }
  .etq > span { font-size: 12.5px; padding: 9px 13px 9px 10px; gap: 6px; }
  .etq .ico { width: 15px; height: 15px; }
  .etq--1 { left: -2%; top: 37%; }
  .etq--2 { left: -3%; top: 47.5%; }
  .etq--3 { left: 3%; bottom: 1%; }
  .anuncio__toque { left: 56px; }
}

/* ---------- Mini-animações dos passos ---------- */
/* 01: o alvo e o que entra na estratégia */
.alvo { position: relative; flex: none; width: 88px; height: 88px; }
.alvo i { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(157, 188, 255, .3); }
.alvo i:nth-child(2) { inset: 17px; box-shadow: inset 0 0 0 1.5px rgba(157, 188, 255, .55); }
.alvo i:nth-child(3) { inset: 34px; background: var(--azul-claro); box-shadow: 0 0 0 0 rgba(77, 134, 255, .6); animation: pulso 2.6s ease-out infinite; }
@keyframes pulso { 70%, 100% { box-shadow: 0 0 0 28px rgba(77, 134, 255, 0); } }
.tags { display: flex; gap: 6px; }
.tags li {
  padding: 7px 11px; border-radius: 999px; font: 500 12px/1 var(--f-texto); color: #94a0b8; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  animation: acende 6s var(--ease) infinite both; animation-delay: calc(var(--k) * .8s);
}
@keyframes acende {
  0%, 8% { color: #94a0b8; background: rgba(19, 82, 232, 0); }
  16%, 70% { color: #fff; background: rgba(19, 82, 232, .55); }
  82%, 100% { color: #94a0b8; background: rgba(19, 82, 232, 0); }
}

/* 02: as plataformas entrando no ar */
.canais { width: 100%; max-width: 252px; display: flex; flex-direction: column; gap: 8px; }
.canal {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); font: 500 13.5px/1 var(--f-texto);
}
.canal .ico { width: 18px; height: 18px; color: var(--azul-luz); }
.canal span { flex: 1; }
.canal em {
  display: inline-flex; align-items: center; gap: 6px; font: 500 10px/1 var(--f-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase;
  color: #6f7a8f; animation: noar 6s var(--ease) infinite both; animation-delay: calc(var(--k) * .7s);
}
.canal em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
@keyframes noar { 0%, 10% { color: #6f7a8f; } 18%, 86% { color: #45d483; } 96%, 100% { color: #6f7a8f; } }

/* 03: o que fica, o que sai e o que entra */
.testes { width: 100%; max-width: 252px; display: flex; flex-direction: column; gap: 13px; }
.teste { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; align-items: center; font: 500 12.5px/1 var(--f-texto); }
.teste span { grid-area: 1 / 1; }
.teste em { grid-area: 1 / 2; font: 500 10px/1 var(--f-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #45d483; }
.teste i { grid-area: 2 / 1 / 3 / 3; position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.teste i::after {
  content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: var(--azul-claro);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease) .35s;
}
.passo.is-in .teste i::after, html:not(.js) .teste i::after { transform: none; }
.teste--sai { color: #7c879c; }
.teste--sai i::after { background: #56607a; }
.teste--sai em { color: #e3a44c; }
.teste--novo em { color: var(--azul-luz); }

/* 04: a folha do relatório com a linha sendo desenhada */
.folha { width: 100%; max-width: 252px; padding: 13px 14px 14px; border-radius: 14px; background: #f3f3f3; color: var(--tinta); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); }
.folha svg { display: block; width: 100%; height: 50px; margin-top: 8px; overflow: visible; }
.folha__area { fill: rgba(19, 82, 232, .12); stroke: none; }
.folha__linha {
  fill: none; stroke: var(--azul); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .35s;
}
.passo.is-in .folha__linha, html:not(.js) .folha__linha { stroke-dashoffset: 0; }
.folha ul { display: grid; gap: 6px; margin-top: 10px; }
.folha li { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 8px; font: 500 10.5px/1 var(--f-texto); color: var(--tinta-2); }
.folha li i { height: 6px; border-radius: 99px; background: #d3d9e6; width: var(--w); }

@media (prefers-reduced-motion: reduce) {
  .etq > span, .anuncio__toque, .relat__barras i, .bal, .alvo i, .tags li, .canal em { animation: none !important; }
  .canal em { color: #45d483; }
  .anuncio, .relat, .chegada, .etq { transition: none; }
  .teste i::after { transition: none; transform: none; }
  .folha__linha { transition: none; stroke-dashoffset: 0; }
}

/* =====================================================================
   Topo centralizado (Dúvidas e Diagnóstico)
   ===================================================================== */
.pg-hero { position: relative; padding: clamp(126px, 18vh, 190px) 0 clamp(44px, 5.5vw, 72px); overflow: clip; isolation: isolate; }
.pg-hero__fundo {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(62% 62% at 50% 0%, rgba(19, 82, 232, .38), transparent 72%),
    radial-gradient(36% 30% at 90% 46%, rgba(77, 134, 255, .12), transparent 70%);
}
.pg-hero__fundo::before {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.3px); background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 22%, #000, transparent 76%);
  mask-image: radial-gradient(70% 60% at 50% 22%, #000, transparent 76%);
}
.pg-hero__txt { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pg-hero__titulo { font-size: clamp(40px, 5.8vw, 84px); margin-top: 20px; }
.pg-hero .lead { margin-top: clamp(16px, 2vw, 22px); max-width: 56ch; }

/* =====================================================================
   Sobre nós
   ===================================================================== */

/* ---------- Ilustração do topo: a Hélix no centro e as três frentes girando em volta ---------- */
.orbita { position: relative; width: min(100%, 470px); aspect-ratio: 1; margin-inline: auto; --px: 0; --py: 0; }
.orbita__halo {
  position: absolute; inset: 16%; z-index: -1;
  background: radial-gradient(closest-side, rgba(19, 82, 232, .62), rgba(19, 82, 232, .14) 64%, transparent); filter: blur(42px);
}
.orbita__anel { position: absolute; inset: 7%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(157, 188, 255, .28); }
.orbita__anel--2 { inset: 22%; box-shadow: inset 0 0 0 1px rgba(157, 188, 255, .15); }
.orbita__centro {
  position: absolute; inset: 32%; border-radius: 50%; overflow: hidden; background: #11121c;
  box-shadow: 0 0 0 1px rgba(157, 188, 255, .34), 0 0 70px rgba(19, 82, 232, .5), 0 30px 60px -20px rgba(0, 0, 0, .8);
  transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -10px), 0); transition: transform .7s var(--ease);
}
.orbita__centro img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.orbita__gira { position: absolute; inset: 7%; animation: girar 54s linear infinite; }
.orbita__gira--2 { inset: 22%; animation-duration: 30s; animation-direction: reverse; }
.orbita__item { position: absolute; inset: 0; transform: rotate(var(--a)); }
/* a etiqueta gira ao contrário do anel para o texto ficar sempre em pé */
.orbita__item span {
  position: absolute; left: 50%; top: 0; display: inline-flex; align-items: center; padding: 12px 18px; border-radius: 999px; white-space: nowrap;
  font: 600 15px/1 var(--f-texto); color: #fff;
  background: linear-gradient(180deg, rgba(34, 52, 104, .9), rgba(14, 22, 48, .9));
  box-shadow: inset 0 0 0 1px rgba(157, 188, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .18), 0 18px 34px -14px rgba(0, 0, 0, .7);
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--a))); animation: contra 54s linear infinite;
}
.orbita__item i {
  position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: var(--azul-claro); box-shadow: 0 0 14px 2px rgba(77, 134, 255, .7);
}
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes contra {
  from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a))); }
  to { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a) - 360deg)); }
}
@media (max-width: 620px) {
  .orbita { width: min(100%, 360px); }
  .orbita__anel, .orbita__gira { inset: 15%; }
  .orbita__anel--2, .orbita__gira--2 { inset: 27%; }
  .orbita__item span { font-size: 13px; padding: 10px 14px; }
}

/* ---------- No que acreditamos + princípios ---------- */
.credo { display: grid; gap: 44px; }
.credo__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.principios { border-top: 1px solid var(--ln); }
.principios li {
  display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--ln); transition: padding .45s var(--ease);
}
.principios li > span { font: 500 12.5px/1 var(--f-mono); letter-spacing: .12em; color: var(--t2); transition: color .3s; }
.principios h3 { font: 400 clamp(26px, 2.6vw, 34px)/1.16 var(--f-titulo); text-transform: uppercase; letter-spacing: .01em; color: var(--t1); }
.principios p { margin-top: 6px; color: var(--t2); }
@media (hover: hover) {
  .principios li:hover { padding-left: 14px; }
  .principios li:hover > span { color: var(--destaque); }
}
@media (min-width: 940px) {
  .credo { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
  .credo__txt { position: sticky; top: 120px; }
}

/* ---------- As etapas que a Hélix acompanha ---------- */
.etapas { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.etapa { display: flex; flex-direction: column; gap: 8px; padding: 26px; overflow: hidden; }
.etapa__n { font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; color: var(--azul-claro); }
.etapa h3 { margin-top: 6px; font: 400 clamp(40px, 4.2vw, 56px)/1.1 var(--f-titulo); text-transform: uppercase; letter-spacing: .01em; }
.etapa p { color: var(--texto-2); font-size: 15.5px; max-width: 34ch; }
.etapa__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.etapa__links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font: 600 13.5px/1 var(--f-texto); color: #fff; box-shadow: inset 0 0 0 1px var(--linha-forte);
  transition: background .25s, box-shadow .25s;
}
.etapa__links .ico { width: 15px; height: 15px; transition: transform .35s var(--ease); }
@media (hover: hover) {
  .etapa__links a:hover { background: var(--azul); box-shadow: none; }
  .etapa__links a:hover .ico { transform: translateX(3px); }
}
@media (min-width: 860px) { .etapas { grid-template-columns: repeat(3, minmax(0, 1fr)); } .etapa { min-height: 300px; } }

/* ---------- Os dois sócios ---------- */
.socios { display: grid; gap: 40px; align-items: center; }
.socios__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.socios__fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); width: 100%; max-width: 640px; }
.socio { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: clamp(18px, 2.4vw, 28px); overflow: hidden; isolation: isolate; background: #0a0f1a; }
.socio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
/* as fotos vêm com as cores originais e no mesmo recorte (tools/preparar-socios.mjs);
   a sombra só na parte de baixo deixa o nome legível em cima de qualquer foto */
.socio::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(5, 7, 12, .5) 72%, rgba(5, 7, 12, .9) 100%);
}
.socio figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding: clamp(14px, 2vw, 24px); color: #fff; }
.socio strong { font: 400 clamp(24px, 3vw, 38px)/1.1 var(--f-titulo); text-transform: uppercase; letter-spacing: .01em; }
.socio span { font: 500 clamp(10px, 1vw, 12px)/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--azul-luz); }
@media (hover: hover) { .socio:hover img { transform: scale(1.05); } }
.especialidades { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.especialidades small { font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--t2); }
.especialidades ul { display: flex; flex-wrap: wrap; gap: 8px; }
.especialidades li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  font: 600 14px/1 var(--f-texto); color: var(--t1); background: var(--superficie); box-shadow: inset 0 0 0 1px var(--ln);
}
.especialidades li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--destaque); }
@media (min-width: 1080px) {
  /* no computador: fotos maiores e desencontradas (Henrique um pouco acima, Gustavo um pouco abaixo).
     Durante a rolagem as duas se afastam devagar uma da outra; --v vem do site.js (data-visto) e muda
     o tempo todo enquanto o bloco aparece, então nada fica preso nem para no meio da tela */
  .socios { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 4vw, 64px); }
  .socios__fotos { max-width: none; gap: 22px; }
  .socio { aspect-ratio: 3 / 4; translate: 0 calc(var(--desloca, 0px) + (var(--v, .5) - .5) * var(--forca, 0px)); }
  .socio:nth-child(1) { --desloca: -46px; --forca: -70px; }
  .socio:nth-child(2) { --desloca: 46px; --forca: 70px; }
  /* entrada: cada foto se revela de baixo para cima enquanto a imagem perde o zoom; o nome aparece por último.
     O recorte fica na imagem, não no <figure>: o detector de entrada observa o <figure> e precisa vê-lo inteiro */
  .js .socio[data-rev] { opacity: 1; transform: none; background: transparent; }
  .js .socio[data-rev] img {
    clip-path: inset(100% 0 0 0); transform: scale(1.2); transform-origin: 50% 100%;
    transition: clip-path 1.25s var(--ease), transform 1.7s var(--ease); transition-delay: calc(var(--i, 0) * 180ms);
  }
  .js .socio[data-rev].is-in img { clip-path: inset(0); transform: none; }
  .js .socio[data-rev]::after { opacity: 0; transition: opacity .8s var(--ease); transition-delay: calc(var(--i, 0) * 180ms + 400ms); }
  .js .socio[data-rev].is-in::after { opacity: 1; }
  .js .socio[data-rev] figcaption { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 180ms + 650ms); }
  .js .socio[data-rev].is-in figcaption { opacity: 1; transform: none; }
}
@media (min-width: 1080px) and (hover: hover) {
  .js .socio[data-rev].is-in:hover img { transform: scale(1.05); transition: transform .9s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  .socio { --forca: 0px !important; }
  .js .socio[data-rev], .js .socio[data-rev] img, .js .socio[data-rev]::after, .js .socio[data-rev] figcaption { transition: none !important; }
}

/* =====================================================================
   Dúvidas
   ===================================================================== */
.atalhos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(24px, 3vw, 34px); }
.atalhos a {
  display: inline-flex; align-items: center; padding: 12px 18px; border-radius: 999px; text-decoration: none;
  font: 600 14.5px/1 var(--f-texto); color: #fff; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--linha-forte);
  transition: background .25s, box-shadow .25s, transform .35s var(--ease);
}
@media (hover: hover) { .atalhos a:hover { background: var(--azul); box-shadow: none; transform: translateY(-2px); } }

.faq-grupo { display: grid; gap: 22px; }
.faq__resp a { color: var(--destaque); text-underline-offset: 3px; }
.faq-grupo + .faq-grupo { margin-top: clamp(48px, 7vw, 96px); }
.faq-grupo__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.faq-grupo__txt .titulo { line-height: 1.26; }
.faq-grupo__txt p { color: var(--t2); max-width: 34ch; }
@media (min-width: 940px) {
  .faq-grupo { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .faq-grupo__txt { position: sticky; top: 120px; }
}

/* =====================================================================
   Diagnóstico (quiz)
   ===================================================================== */
.quiz { max-width: 860px; margin: clamp(30px, 4vw, 48px) auto 0; }
.quiz__caixa {
  position: relative; padding: clamp(20px, 4vw, 44px); border-radius: clamp(24px, 3vw, 36px);
  background: linear-gradient(180deg, #111a2c, #0a0f1b);
  box-shadow: inset 0 0 0 1px var(--linha-forte), 0 60px 100px -60px rgba(0, 0, 0, .95), 0 0 90px -30px rgba(19, 82, 232, .5);
}
.quiz__topo {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2);
}
.quiz__topo span, .quiz__topo b { white-space: nowrap; }
.quiz__topo b { font-weight: 500; color: var(--azul-luz); }
.quiz__barra { height: 6px; margin-top: 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.quiz__barra i {
  display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--azul), var(--azul-claro));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease);
}
.quiz__passo { margin-top: clamp(22px, 3vw, 34px); }
.quiz__passo.is-entrando { animation: entra .5s var(--ease) both; }
.quiz__passo.is-voltando { animation: volta .5s var(--ease) both; }
@keyframes entra { from { opacity: 0; transform: translateX(26px); } }
@keyframes volta { from { opacity: 0; transform: translateX(-26px); } }
.quiz__pergunta { font: 400 clamp(28px, 3.7vw, 46px)/1.16 var(--f-titulo); text-transform: uppercase; letter-spacing: .004em; color: #fff; outline: none; text-wrap: balance; }
.quiz__pergunta em { font: italic 400 1.07em/1 var(--f-serifa); text-transform: none; letter-spacing: -.012em; color: var(--azul-luz); }
.quiz__dica { margin-top: 8px; color: var(--texto-2); font-size: 15px; }
.quiz__opcoes { display: grid; gap: 10px; margin-top: 22px; }
@media (min-width: 700px) { .quiz__opcoes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.opc { position: relative; display: block; }
.opc input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opc span {
  display: flex; align-items: center; gap: 13px; min-height: 64px; height: 100%; padding: 14px 16px; border-radius: 16px;
  font: 500 16px/1.35 var(--f-texto); color: #fff; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--linha-forte);
  transition: background .25s, box-shadow .25s, transform .35s var(--ease);
}
.opc span::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32);
  background: transparent center / 13px no-repeat; transition: background-color .25s, box-shadow .25s;
}
.opc input[type="checkbox"] + span::before { border-radius: 7px; }
.opc input:checked + span { background: rgba(19, 82, 232, .24); box-shadow: inset 0 0 0 1.5px var(--azul-claro); }
.opc input:checked + span::before {
  background-color: var(--azul); box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.opc input:focus-visible + span { outline: 2px solid var(--azul-luz); outline-offset: 2px; }
@media (hover: hover) { .opc:hover input:not(:checked) + span { background: rgba(255, 255, 255, .08); transform: translateY(-2px); } }

.quiz__acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: clamp(22px, 3vw, 30px); }
.quiz__voltar {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 4px; border: 0; background: none; cursor: pointer;
  font: 600 15px/1 var(--f-texto); color: var(--texto-2); transition: color .25s;
}
.quiz__voltar .ico { width: 16px; height: 16px; transform: rotate(180deg); }
.quiz__voltar:hover { color: #fff; }
.quiz__voltar[hidden] { display: none; }
.quiz__acoes .btn[disabled] { opacity: .38; pointer-events: none; }
.quiz__acoes .btn { margin-left: auto; border: 0; cursor: pointer; background: none; padding: 0; }

/* resultado */
.resultado__texto { margin-top: 16px; font-size: clamp(16.5px, 1.45vw, 19px); line-height: 1.6; color: var(--texto-2); max-width: 60ch; }
.resultado__mais { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.resultado__mais a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font: 600 13.5px/1 var(--f-texto); color: #fff; box-shadow: inset 0 0 0 1px var(--linha-forte); transition: background .25s, box-shadow .25s;
}
.resultado__mais a small { font: inherit; font-weight: 500; color: var(--texto-2); }
.resultado__mais .ico { width: 15px; height: 15px; }
@media (hover: hover) { .resultado__mais a:hover { background: var(--azul); box-shadow: none; } .resultado__mais a:hover small { color: #dbe6ff; } }
.resumo { display: grid; gap: 0 28px; margin-top: 26px; border-top: 1px solid var(--linha); }
.resumo div { display: grid; grid-template-columns: 124px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--linha); font-size: 15px; }
.resumo dt { font: 500 11px/1.5 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); }
.resumo dd { margin: 0; color: #fff; }
.campos { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 700px) { .campos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.campo { display: flex; flex-direction: column; gap: 8px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--texto-2); }
.campo input {
  width: 100%; height: 54px; padding: 0 16px; border: 0; border-radius: 14px; outline: none;
  font: 500 16px/1 var(--f-texto); letter-spacing: 0; text-transform: none; color: #fff;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--linha-forte); transition: box-shadow .25s, background .25s;
}
.campo input::placeholder { color: var(--texto-3); }
.campo input:focus { background: rgba(19, 82, 232, .14); box-shadow: inset 0 0 0 1.5px var(--azul-claro); }
.resultado__nota { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--texto-3); max-width: 64ch; }
.js .resultado > * { animation: sobe-um .6s var(--ease) both; animation-delay: calc(var(--o, 0) * 70ms); }
@keyframes sobe-um { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 520px) {
  .resumo div { grid-template-columns: 1fr; gap: 3px; }
  .quiz__acoes .btn { margin-left: 0; display: flex; width: 100%; }
  .quiz__acoes .btn .btn__txt { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .orbita__gira, .orbita__item span { animation: none !important; }
  .orbita__centro { transition: none; }
  .quiz__passo, .js .resultado > * { animation: none !important; }
  .quiz__barra i { transition: none; }
}

/* =====================================================================
   Hélix Sites
   ===================================================================== */

/* ---------- Ilustração do topo: um site de cliente rolando na janela e outro no celular ---------- */
.vitrine { position: relative; width: min(100%, 560px); aspect-ratio: 10 / 8.7; margin-inline: auto; --px: 0; --py: 0; }
.vitrine__halo {
  position: absolute; inset: 10% 4%; z-index: -1;
  background: radial-gradient(closest-side, rgba(19, 82, 232, .6), rgba(19, 82, 232, .16) 62%, transparent); filter: blur(46px);
}
.janela {
  position: absolute; left: 0; top: 0; width: 90%; border-radius: 16px; overflow: hidden; background: #0d1322;
  box-shadow: inset 0 0 0 1px rgba(157, 188, 255, .24), 0 44px 80px -36px rgba(0, 0, 0, .9);
  transform: translate3d(calc(var(--px) * -12px), calc(var(--py) * -10px), 0); transition: transform .7s var(--ease);
}
/* barra de janela de navegador, usada no topo e nos cartões do portfólio */
.janela__barra, .caso__barra { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #131b2e; }
.janela__barra i, .caso__barra i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #2c3854; }
.janela__barra span, .caso__barra b {
  flex: 1; min-width: 0; height: 20px; margin-left: 8px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .06);
  font: 500 10.5px/20px var(--f-mono); color: var(--texto-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* a captura tem 960x1733; a janela mostra 960x600 e a imagem sobe até 65% da própria altura */
.janela__tela, .caso__img { display: block; aspect-ratio: 960 / 600; overflow: hidden; background: #fff; }
.janela__tela img, .caso__img img { display: block; width: 100%; height: auto; }
.janela__tela img { animation: rolar-site 24s ease-in-out infinite alternate; }
@keyframes rolar-site { 0%, 10% { transform: translateY(0); } 90%, 100% { transform: translateY(-65%); } }

.aparelho {
  position: absolute; z-index: 2; right: 0; bottom: 0; width: 30%; padding: 6px; border-radius: 26px; background: #0b101c;
  box-shadow: inset 0 0 0 1px rgba(157, 188, 255, .32), 0 36px 60px -24px rgba(0, 0, 0, .9);
  transform: translate3d(calc(var(--px) * 22px), calc(var(--py) * 18px), 0); transition: transform .8s var(--ease);
}
.aparelho__tela { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 420 / 909; background: #fff; }
.aparelho__tela img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aparelho__tela::before {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 6px; width: 34%; height: 9px; margin-left: -17%; border-radius: 99px; background: #0b101c;
}
.etq--s1 { left: -5%; top: 71%; --prof: 34; --dur: 6.4s; }
.etq--s2 { left: 17%; bottom: 2%; --prof: 26; --dur: 7.8s; }
@media (max-width: 1120px) { .etq--s1 { left: -1%; } }
@media (max-width: 620px) {
  .vitrine { width: min(100%, 420px); }
  .aparelho { padding: 4px; border-radius: 20px; }
  .aparelho__tela { border-radius: 16px; }
  .etq--s1 { left: -1%; top: 72%; }
  .etq--s2 { left: 6%; bottom: 0; }
}

/* ---------- Portfólio: a captura rola quando o mouse passa por cima ---------- */
.casos { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.caso { display: flex; flex-direction: column; overflow: hidden; }
.caso__tela { display: block; margin: 10px 10px 0; border-radius: 18px; overflow: hidden; background: #0d1322; text-decoration: none; }
.caso__img img { transition: transform 5.5s cubic-bezier(.3, 0, .3, 1); }
.caso__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px 24px; }
.caso h3 { font: 400 clamp(28px, 2.8vw, 36px)/1.16 var(--f-titulo); text-transform: uppercase; letter-spacing: .01em; color: var(--t1); }
.caso p { color: var(--t2); font-size: 15.5px; max-width: 46ch; }
.caso .link-seta { margin-top: 4px; }
@media (hover: hover) { .caso:hover .caso__img img { transform: translateY(-65%); } }
@media (min-width: 760px) { .casos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 759px) {
  /* no celular os cartões ficam lado a lado e a pessoa desliza */
  .js .casos [data-rev] { opacity: 1; transform: none; }
  .casos {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .casos::-webkit-scrollbar { display: none; }
  .caso { flex: 0 0 84%; scroll-snap-align: start; }
}

/* ---------- Mini-animações do que vem no site ---------- */
/* 01: a página carregando rápido */
.veloz { width: 100%; max-width: 232px; display: flex; flex-direction: column; gap: 12px; }
.veloz__barra { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.veloz__barra i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--azul), var(--azul-claro)); transform-origin: 0 50%; animation: veloz-barra 5s var(--ease) infinite both; }
.veloz__blocos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.veloz__blocos b { height: 26px; border-radius: 8px; background: rgba(157, 188, 255, .2); animation: veloz-bloco 5s var(--ease) infinite both; }
.veloz__blocos b:first-child { grid-column: 1 / -1; height: 36px; background: rgba(77, 134, 255, .5); }
.veloz__blocos b:nth-child(2) { animation-delay: .12s; }
.veloz__blocos b:nth-child(3) { animation-delay: .24s; }
.veloz__ok { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font: 500 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #45d483; animation: veloz-ok 5s var(--ease) infinite both; }
.veloz__ok .ico { width: 14px; height: 14px; stroke-width: 3; }
@keyframes veloz-barra { 0% { transform: scaleX(0); } 12%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes veloz-bloco { 0%, 10% { opacity: 0; transform: translateY(8px); } 18%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes veloz-ok { 0%, 22% { opacity: 0; transform: translateY(6px); } 30%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }

/* 02: a mesma página se ajeitando da tela larga para a tela do celular */
.adapta {
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; width: 196px; height: 118px; padding: 10px; border-radius: 12px;
  box-shadow: inset 0 0 0 1.5px rgba(157, 188, 255, .5); animation: adapta 6.5s var(--ease) infinite;
}
.adapta i { flex: 1 1 40px; height: 22px; border-radius: 6px; background: rgba(157, 188, 255, .26); }
.adapta i:first-child { flex-basis: 100%; height: 30px; background: var(--azul-claro); }
@keyframes adapta {
  0%, 18% { width: 196px; height: 118px; border-radius: 12px; }
  42%, 76% { width: 84px; height: 164px; border-radius: 18px; }
  100% { width: 196px; height: 118px; border-radius: 12px; }
}

/* 03: o toque no botão vira mensagem */
.toque { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.toque__botao {
  position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 13px 18px; border-radius: 999px;
  font: 600 14px/1 var(--f-texto); color: #fff; background: #1fa855; box-shadow: 0 14px 30px -12px rgba(31, 168, 85, .8);
}
.toque__botao .ico { width: 17px; height: 17px; stroke-width: 2.2; }
.toque__botao i {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: rgba(255, 255, 255, .4); opacity: 0; animation: toque 6s var(--ease) infinite;
}
.toque__msg {
  margin: 0; padding: 9px 13px; border-radius: 14px 4px 14px 14px; background: #0f6b4f; color: #fff; font-size: 13px; line-height: 1.35;
  animation: toque-msg 6s var(--ease) infinite both;
}
@keyframes toque-msg { 0%, 12% { opacity: 0; transform: translateY(10px) scale(.94); } 20%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }

/* 04: o endereço sendo digitado e o site entrando no ar */
.endereco { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.endereco__barra {
  display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(157, 188, 255, .3);
}
.endereco__barra .ico { width: 15px; height: 15px; color: #45d483; }
.endereco__barra span {
  display: block; width: 17ch; overflow: hidden; white-space: nowrap; font: 500 13.5px/1.4 var(--f-mono); color: #fff;
  border-right: 2px solid var(--azul-luz); animation: digitar 7s steps(17) infinite both, cursor .8s step-end infinite;
}
.endereco em {
  display: inline-flex; align-items: center; gap: 7px; font: 500 10px/1 var(--f-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase;
  color: #45d483; animation: veloz-ok 7s var(--ease) infinite both; animation-delay: 1.6s;
}
.endereco em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
@keyframes digitar { 0% { width: 0; } 30%, 100% { width: 17ch; } }
@keyframes cursor { 50% { border-color: transparent; } }

/* ---------- Um depoimento só, ao lado do texto ---------- */
.solo { display: grid; gap: 36px; align-items: center; }
.solo__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.solo .depo { flex: none; width: min(100%, 340px); margin-inline: auto; }
@media (min-width: 860px) { .solo { grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(48px, 8vw, 120px); } }

@media (prefers-reduced-motion: reduce) {
  .janela__tela img, .veloz__barra i, .veloz__blocos b, .veloz__ok, .adapta, .toque__botao i, .toque__msg, .endereco__barra span, .endereco em { animation: none !important; }
  .janela, .aparelho { transition: none; }
  .caso__img img { transition: none; }
}

/* =====================================================================
   Hélix CRM
   ===================================================================== */

/* botões e provas do topo centralizado */
.pg-hero__acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: clamp(26px, 3vw, 34px); }
.pg-hero__provas { justify-content: center; }
@media (max-width: 700px) {
  .pg-hero__acoes { flex-direction: column; align-self: stretch; }
  .pg-hero__acoes .btn { display: flex; }
  .pg-hero__acoes .btn__txt { flex: 1; justify-content: center; }
  .pg-hero__provas { align-items: center; }
}
/* texto só para leitores de tela */
.so-leitor { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- Funil de demonstração (os cartões se movem: assets/js/funil.js) ---------- */
.funil {
  position: relative; max-width: 1080px; margin: clamp(34px, 4.6vw, 60px) auto 0; border-radius: clamp(18px, 2.4vw, 26px); overflow: hidden;
  background: #0b101c; text-align: left; -webkit-user-select: none; user-select: none;
  box-shadow: inset 0 0 0 1px var(--linha-forte), 0 60px 110px -60px rgba(0, 0, 0, .95), 0 0 110px -30px rgba(19, 82, 232, .55);
}
.funil__barra { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #131b2e; }
.funil__barra i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #2c3854; }
.funil__barra span {
  flex: 0 1 300px; min-width: 0; height: 21px; margin-left: 10px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .06);
  font: 500 10.5px/21px var(--f-mono); color: var(--texto-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.funil__topo { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px clamp(14px, 2vw, 22px) 4px; }
.funil__topo strong { display: block; font: 600 16px/1.25 var(--f-texto); color: #fff; }
.funil__topo div span { font-size: 13px; color: var(--texto-2); }
.funil__fechado {
  flex: none; padding: 9px 13px; border-radius: 999px; font: 600 13px/1 var(--f-texto); color: #45d483;
  background: rgba(69, 212, 131, .1); box-shadow: inset 0 0 0 1px rgba(69, 212, 131, .32);
}
.funil__fechado.is-pulo { animation: pulo .6s var(--ease); }
@keyframes pulo { 35% { transform: scale(1.14); background: rgba(69, 212, 131, .26); } }

.funil__colunas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: start; padding: 12px clamp(14px, 2vw, 22px) 6px; }
.coluna {
  min-height: 318px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--linha);
  transition: background .2s, box-shadow .2s;
}
.coluna.is-alvo { background: rgba(19, 82, 232, .16); box-shadow: inset 0 0 0 1.5px var(--azul-claro); }
.coluna header { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 8px; padding: 4px 4px 11px; }
.coluna header b { display: flex; align-items: center; gap: 7px; min-width: 0; font: 500 11px/1.2 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: #fff; }
.coluna header b::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cor); }
.coluna header span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); font: 600 11.5px/22px var(--f-texto); text-align: center; color: var(--texto-2); }
.coluna header small { grid-column: 1 / -1; font-size: 12px; color: var(--texto-3); }
.coluna__lista { display: flex; flex-direction: column; gap: 8px; min-height: 64px; }

.ficha {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; align-items: center; padding: 11px 12px;
  border-radius: 13px; background: #141c2f; box-shadow: inset 0 0 0 1px var(--linha-forte); cursor: grab;
  transition: background .2s, box-shadow .2s, opacity .2s; -webkit-tap-highlight-color: transparent;
}
.ficha i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 600 11px/1 var(--f-texto); font-style: normal; color: #fff; background: var(--c); }
.ficha b { display: block; font: 600 13.5px/1.25 var(--f-texto); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ficha div span { display: block; font-size: 12px; line-height: 1.35; color: var(--texto-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ficha footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.ficha em { font-style: normal; font-weight: 600; color: #45d483; }
.ficha small { margin-left: auto; color: var(--texto-3); }
.ficha:focus-visible { outline: 2px solid var(--azul-luz); outline-offset: 2px; }
.ficha.is-arrastando { opacity: .28; }
.ficha.is-fechou { animation: fechou 1.2s var(--ease); }
@keyframes fechou {
  0% { box-shadow: inset 0 0 0 1px var(--linha-forte), 0 0 0 0 rgba(69, 212, 131, .7); }
  30% { background: #143326; box-shadow: inset 0 0 0 1.5px #45d483, 0 0 0 10px rgba(69, 212, 131, 0); }
  100% { box-shadow: inset 0 0 0 1px var(--linha-forte), 0 0 0 0 rgba(69, 212, 131, 0); }
}
.ficha--fantasma {
  position: fixed; z-index: 200; margin: 0; pointer-events: none; cursor: grabbing; transform: rotate(2.5deg) scale(1.03);
  box-shadow: inset 0 0 0 1.5px var(--azul-claro), 0 30px 50px -18px rgba(0, 0, 0, .85);
}
.funil.is-arrastando, .funil.is-arrastando .ficha { cursor: grabbing; }
@media (hover: hover) { .ficha:hover { background: #18223a; box-shadow: inset 0 0 0 1px rgba(157, 188, 255, .42); } }

.funil__pe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 8px clamp(14px, 2vw, 22px) 16px; }
.funil__dica { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 13px; line-height: 1.4; color: var(--texto-2); }
.funil__dica .ico { flex: none; width: 16px; height: 16px; color: var(--azul-luz); }
.funil__reset {
  padding: 9px 14px; border: 0; border-radius: 999px; cursor: pointer; font: 600 13px/1 var(--f-texto); color: #fff;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--linha-forte); transition: background .25s;
}
.funil__reset:hover { background: rgba(255, 255, 255, .13); }
@media (max-width: 820px) {
  /* no celular as etapas ficam lado a lado e a pessoa desliza */
  .funil__colunas {
    display: flex; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-inline: 14px; scroll-padding-inline: 14px;
  }
  .funil__colunas::-webkit-scrollbar { display: none; }
  .coluna { flex: 0 0 72%; min-height: 292px; scroll-snap-align: start; }
}

/* ---------- Mini-animações de como funciona ---------- */
/* 02: o funil afunilando até a venda */
.degraus { width: 100%; max-width: 252px; display: flex; flex-direction: column; gap: 9px; }
.degraus div { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 10px; font: 500 12px/1 var(--f-texto); }
.degraus i {
  height: 18px; border-radius: 6px; width: var(--w); background: rgba(77, 134, 255, .55);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease);
}
.degraus div:nth-child(2) i { transition-delay: .12s; }
.degraus div:nth-child(3) i { transition-delay: .24s; }
.degraus div:nth-child(4) i { transition-delay: .36s; background: #45d483; }
.passo.is-in .degraus i, html:not(.js) .degraus i { transform: none; }

/* 03: o lembrete tocando e a mensagem programada saindo */
.lembrete { width: 100%; max-width: 252px; display: flex; flex-direction: column; gap: 8px; }
.lembrete__linha {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 13px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
}
.lembrete__linha > span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(77, 134, 255, .22); color: var(--azul-luz); }
.lembrete__linha .ico { width: 16px; height: 16px; }
.lembrete__linha b { display: block; font: 600 13px/1.25 var(--f-texto); }
.lembrete__linha small { display: block; font-size: 11.5px; line-height: 1.35; color: var(--texto-2); }
.lembrete__sino .ico { transform-origin: 50% 10%; animation: sino 3.2s ease-in-out infinite; }
.lembrete__linha--ok > span { background: rgba(69, 212, 131, .18); color: #45d483; }
.lembrete__linha--ok .ico { stroke-width: 2.8; }
@keyframes sino { 0%, 62%, 100% { transform: rotate(0); } 68% { transform: rotate(16deg); } 76% { transform: rotate(-14deg); } 84% { transform: rotate(9deg); } 92% { transform: rotate(-5deg); } }

/* ---------- Recursos em cartões curtos ---------- */
.recursos { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.recurso { display: flex; align-items: flex-start; gap: 16px; padding: 22px; }
.recurso__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(19, 82, 232, .2); box-shadow: inset 0 0 0 1px rgba(157, 188, 255, .26); color: var(--azul-luz); }
.recurso__ico .ico { width: 22px; height: 22px; }
.recurso h3 { font: 600 18px/1.3 var(--f-texto); letter-spacing: -.01em; color: #fff; }
.recurso p { margin-top: 6px; color: var(--texto-2); font-size: 15px; }
@media (min-width: 700px) { .recursos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .recursos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.garantia { margin-top: clamp(14px, 2vw, 22px); }
.garantia .prova__txt p { max-width: 44ch; }

@media (prefers-reduced-motion: reduce) {
  .lembrete__sino .ico, .funil__fechado, .ficha { animation: none !important; }
  .degraus i { transition: none; transform: none; }
}
