/* Faixa Soluções (2026-11-26): o que a Front Zero faz, em mosaico. Texto preso à esquerda enquanto os serviços passam (computador);
   no celular, cards de deslizar. Mini animações só em transform/opacity (+ traço do gráfico), rodando só com a faixa na tela
   (.sv-vivo, js/solucoes.js). Luz do mouse e borda acesa ficam no card (pequeno), nunca em camada de tela cheia (observação 0008). */

#solucoes { display: grid; grid-template-columns: minmax(0, 33vw) 1fr; column-gap: 4.4vw; align-items: start; padding: clamp(96px, 9vw, 160px) var(--gx, var(--margem)); }
.solucoes5-texto { position: sticky; top: clamp(96px, 12vh, 140px); }
.solucoes5-texto .corpo { max-width: 40ch; }

.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.3vw, 22px); margin: 0; padding: 0; list-style: none; }
.svc { --mx: 50%; --my: 0%; --py: 0; position: relative; display: flex; flex-direction: column; padding: clamp(14px, 1.3vw, 22px); border-radius: 18px; isolation: isolate;
  background: linear-gradient(180deg, #121211 0%, #0a0a0a 100%); border: 1px solid rgba(242,239,232,.08); translate: 0 calc(var(--py) * 1px);
  transition: border-color .35s, box-shadow .45s; }
.svc-sites, .svc-seo { grid-column: 1 / -1; }
.svc-sites { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(16px, 2vw, 32px); align-items: center; }
/* borda acesa que segue o mouse (máscara fixa; só o degradê muda) + luz interna */
.svc::before { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(245,197,24,.85), rgba(245,197,24,0) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.svc::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(245,197,24,.08), transparent 65%); }
.svc:hover, .svc:focus-within { border-color: rgba(245,197,24,.18); box-shadow: 0 24px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(245,197,24,.06); }
.svc:hover::before, .svc:hover::after, .svc:focus-within::before, .svc:focus-within::after { opacity: 1; }

.svc-vis { position: relative; height: clamp(130px, 11vw, 176px); border-radius: 12px; overflow: hidden; background-color: #070707;
  background-image: linear-gradient(rgba(242,239,232,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(242,239,232,.035) 1px, transparent 1px); background-size: 16px 16px;
  border: 1px solid rgba(242,239,232,.06); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.svc-sites .svc-vis { height: clamp(170px, 15vw, 240px); }
.svc:hover .svc-vis { transform: scale(1.025); }
.svc-info { position: relative; margin-top: 16px; display: grid; gap: 8px; justify-items: start; }
.svc-sites .svc-info { margin-top: 0; }
.svc-n { font: 400 11px/1 var(--mono); letter-spacing: .16em; color: var(--amarelo); }
.svc h3 { margin: 0; font: 600 clamp(17px, 1.35vw, 22px)/1.2 'Sora', var(--sans); color: #f4f2ee; letter-spacing: -.01em; }
.svc p { margin: 0; font: 400 clamp(14px, 1vw, 15.5px)/1.55 var(--sans); color: #a9a59c; max-width: 38ch; }
.svc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 0; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amarelo);
  opacity: .62; transition: opacity .25s; }
.svc-link span { display: inline-block; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.svc:hover .svc-link, .svc-link:focus-visible { opacity: 1; }
.svc-link:hover span, .svc-link:focus-visible span { transform: translate(3px, -3px); }
.svc-link:active { transform: scale(.96); }

/* ---------- mini animações (rodam só com .sv-vivo) ---------- */
.solucoes5:not(.sv-vivo) .svc-vis *, .solucoes5:not(.sv-vivo) .svc-vis *::after { animation: none !important; }   /* parado = interface pronta (sem quadro vazio) */
/* 01 site montando + cursor clica no botão */
.mv-nav { position: absolute; left: 14px; right: 14px; top: 12px; display: flex; align-items: center; gap: 5px; }
.mv-nav i { width: 6px; height: 6px; border-radius: 50%; background: rgba(242,239,232,.25); }
.mv-nav b { margin-left: auto; width: 34%; height: 6px; border-radius: 3px; background: rgba(242,239,232,.12); }
.mv-corpo > span, .mv-img { position: absolute; transform-origin: 0 50%; border-radius: 4px; animation: mv-monta 6.5s cubic-bezier(.16,1,.3,1) infinite; }
.mv-t1 { left: 14px; top: 42px; width: 46%; height: 12px; background: #f2efe8; }
.mv-t2 { left: 14px; top: 60px; width: 34%; height: 12px; background: var(--amarelo); animation-delay: .15s !important; }
.mv-t3 { left: 14px; top: 82px; width: 40%; height: 6px; background: rgba(242,239,232,.3); animation-delay: .3s !important; }
.mv-btn { left: 14px; top: 100px; width: 62px; height: 18px; border-radius: 9px !important; background: var(--amarelo); animation-delay: .45s !important; }
.mv-img { right: 14px; top: 38px; bottom: 14px; width: 36%; transform-origin: 50% 100%; animation-delay: .2s !important;
  background: radial-gradient(120% 80% at 70% 20%, rgba(245,197,24,.55), rgba(245,197,24,0) 60%), linear-gradient(160deg, #2a2a2a, #121212); }
@keyframes mv-monta { 0% { transform: scaleX(0); opacity: 0; } 9%, 86% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
.mv-cursor { position: absolute; left: 50px; top: 108px; width: 16px; animation: mv-cursor 6.5s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes mv-cursor { 0%, 18% { transform: translate(140px, 50px); opacity: 0; } 24% { opacity: 1; } 42% { transform: none; } 46% { transform: scale(.82); } 50%, 82% { transform: none; opacity: 1; } 92%, 100% { opacity: 0; } }
.mv-clique { position: absolute; left: 33px; top: 97px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--amarelo); opacity: 0; animation: mv-clique 6.5s ease-out infinite; }
@keyframes mv-clique { 0%, 45% { transform: scale(.3); opacity: 0; } 47% { opacity: 1; } 62%, 100% { transform: scale(2.4); opacity: 0; } }
/* 02 kanban: um card dourado anda pelas colunas */
.kb { position: absolute; inset: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kb-col { padding: 6px; border-radius: 8px; background: rgba(242,239,232,.03); border: 1px solid rgba(242,239,232,.05); display: grid; align-content: start; gap: 6px; }
.kb-col i { height: 18px; border-radius: 4px; background: rgba(242,239,232,.08); }
.kb-card { position: absolute; left: 7px; top: 31px; width: calc((100% - 16px) / 3 - 14px); height: 18px; border-radius: 4px; background: var(--amarelo); box-shadow: 0 6px 18px -4px rgba(245,197,24,.6);
  animation: kb-anda 5.5s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes kb-anda { 0%, 14% { transform: none; opacity: 1; } 18% { transform: translateY(-4px) scale(1.06) rotate(-3deg); } 36%, 50% { transform: translateX(calc(100% + 22px)); }
  54% { transform: translateX(calc(100% + 22px)) translateY(-4px) scale(1.06) rotate(3deg); } 72%, 86% { transform: translateX(calc(200% + 44px)); opacity: 1; } 94% { transform: translateX(calc(200% + 44px)); opacity: 0; } 95%, 100% { transform: none; opacity: 0; } }
/* 03 dashboard: barras sobem + linha se desenha */
.db { position: absolute; left: 16px; right: 16px; bottom: 14px; top: 26px; display: flex; align-items: flex-end; gap: 8%; }
.db i { flex: 1; height: 100%; border-radius: 4px 4px 2px 2px; transform-origin: 50% 100%; background: linear-gradient(180deg, var(--amarelo), rgba(245,197,24,.25));
  animation: db-sobe 4.8s cubic-bezier(.16,1,.3,1) infinite; transform: scaleY(var(--h)); }
.db i:nth-child(2) { animation-delay: .08s; } .db i:nth-child(3) { animation-delay: .16s; } .db i:nth-child(4) { animation-delay: .24s; } .db i:nth-child(5) { animation-delay: .32s; } .db i:nth-child(6) { animation-delay: .4s; }
@keyframes db-sobe { 0% { transform: scaleY(.04); } 28%, 84% { transform: scaleY(var(--h)); } 100% { transform: scaleY(.04); } }
.db-linha { position: absolute; left: 16px; right: 16px; top: 14px; height: 48%; width: calc(100% - 32px); overflow: visible; }
.db-linha path { fill: none; stroke: #f2efe8; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: db-traco 4.8s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes db-traco { 0%, 10% { stroke-dashoffset: 1; } 50%, 86% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
/* 04 app: tela rola + aviso cai */
.ap { position: absolute; left: 50%; top: 50%; width: 70px; height: 128px; translate: -50% -42%; border-radius: 15px; border: 2px solid rgba(242,239,232,.45); background: #0d0d0d; }
.ap-tela { position: absolute; inset: 5px; border-radius: 10px; overflow: hidden; }
.ap-rolo { display: grid; gap: 5px; animation: ap-rola 6s cubic-bezier(.65,0,.35,1) infinite; }
.ap-rolo span { height: 24px; border-radius: 5px; background: rgba(242,239,232,.1); }
.ap-rolo span:nth-child(1), .ap-rolo span:nth-child(4) { height: 40px; background: linear-gradient(140deg, rgba(245,197,24,.7), rgba(245,197,24,.15)); }
@keyframes ap-rola { 0%, 25% { transform: none; } 45%, 70% { transform: translateY(-58px); } 90%, 100% { transform: none; } }
.ap-aviso { position: absolute; left: -26px; right: -26px; top: -14px; height: 18px; border-radius: 9px; background: #1d1d1c; border: 1px solid rgba(245,197,24,.4);
  animation: ap-aviso 6s cubic-bezier(.34,1.56,.64,1) infinite; }
.ap-aviso::before { content: ''; position: absolute; left: 7px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--amarelo); }
.ap-aviso::after { content: ''; position: absolute; left: 20px; right: 10px; top: 7px; height: 3px; border-radius: 2px; background: rgba(242,239,232,.35); }
@keyframes ap-aviso { 0%, 30% { transform: translateY(-30px); opacity: 0; } 38%, 70% { transform: none; opacity: 1; } 78%, 100% { transform: translateY(-30px); opacity: 0; } }
/* 05 automação: pulso corre pelos nós e acende cada um */
.au { position: absolute; inset: 0 18px; display: flex; align-items: center; }
.au-no { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #111; border: 1.5px solid rgba(242,239,232,.18); color: #cfcac0; }
.au-no svg { width: 20px; }
.au-fio { flex: 1; height: 1.5px; background: linear-gradient(90deg, rgba(245,197,24,.15), rgba(245,197,24,.4), rgba(245,197,24,.15)); }
.au-no.n1 { animation: au-acende 3.6s linear infinite; } .au-no.n2 { animation: au-acende 3.6s linear infinite 1.2s; } .au-no.n3 { animation: au-acende 3.6s linear infinite 2.4s; }
.au-no.n2 svg { animation: au-gira 3.6s linear infinite; }
@keyframes au-acende { 0%, 6% { border-color: var(--amarelo); color: var(--amarelo); box-shadow: 0 0 18px -2px rgba(245,197,24,.55); } 22%, 100% { border-color: rgba(242,239,232,.18); color: #cfcac0; box-shadow: none; } }
@keyframes au-gira { to { transform: rotate(180deg); } }
.au-pulso { position: absolute; left: 21px; right: 21px; top: 50%; height: 0; animation: au-corre 3.6s linear infinite; }
.au-pulso::after { content: ''; position: absolute; right: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 14px 4px rgba(245,197,24,.75); }
@keyframes au-corre { 0% { transform: translateX(-100%); opacity: 0; } 4% { opacity: 1; } 66% { transform: none; opacity: 1; } 72%, 100% { transform: none; opacity: 0; } }
/* 06 marca: emblema + paleta + tipo */
.mc { position: absolute; inset: 0; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; padding: 0 18px; gap: 12px; }
.mc-emb { width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(245,197,24,.25)); animation: mc-emb 6s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes mc-emb { 0%, 100% { transform: rotate(-2deg) scale(.98); } 50% { transform: rotate(2deg) scale(1.02); } }
.mc-cores { display: flex; gap: 6px; }
.mc-cores i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); border: 1px solid rgba(242,239,232,.25); animation: mc-cor 6s cubic-bezier(.34,1.56,.64,1) infinite; }
.mc-cores i:nth-child(2) { animation-delay: .12s; } .mc-cores i:nth-child(3) { animation-delay: .24s; } .mc-cores i:nth-child(4) { animation-delay: .36s; }
@keyframes mc-cor { 0%, 8% { transform: scale(0); } 18%, 86% { transform: none; } 96%, 100% { transform: scale(0); } }
.mc-aa { position: absolute; right: 22px; bottom: 12px; font: 900 italic 30px/1 'Creato Display', 'Sora', sans-serif; color: #f2efe8; }
/* 07 SEO: busca digitando + o seu resultado sobe para o 1º lugar */
.se { position: absolute; inset: 14px; display: grid; align-content: start; gap: 10px; }
.se-busca { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 14px; background: #141414; border: 1px solid rgba(242,239,232,.12); color: #8d897f; overflow: hidden; }
.se-busca svg { width: 13px; flex: none; }
.se-txt { font: 400 11px/1 var(--mono); color: #d8d4cb; white-space: nowrap; overflow: hidden; border-right: 1.5px solid var(--amarelo); clip-path: inset(0 0 0 0); animation: se-digita 6.4s steps(24) infinite; }
@keyframes se-digita { 0% { clip-path: inset(0 100% 0 0); } 30%, 88% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
.se-lista { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.se-r { display: grid; gap: 4px; padding: 6px 8px; border-radius: 6px; background: rgba(242,239,232,.035); }
.se-r b { width: 62%; height: 6px; border-radius: 3px; background: rgba(242,239,232,.28); }
.se-r i { width: 40%; height: 4px; border-radius: 2px; background: rgba(242,239,232,.12); }
.se-sua { background: rgba(245,197,24,.12); border: 1px solid rgba(245,197,24,.4); animation: se-sobe 6.4s cubic-bezier(.65,0,.35,1) infinite; }
.se-sua b { background: var(--amarelo); }
.se-r.r1, .se-r.r2 { animation: se-desce 6.4s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes se-sobe { 0%, 36% { transform: none; } 52%, 88% { transform: translateY(calc(-200% - 14px)); } 100% { transform: none; } }
@keyframes se-desce { 0%, 36% { transform: none; } 52%, 88% { transform: translateY(calc(100% + 7px)); } 100% { transform: none; } }

/* ---------- telas médias ---------- */
@media (min-width: 900px) and (max-width: 1180px) {
  #solucoes { grid-template-columns: minmax(0, 36vw) 1fr; column-gap: 3.4vw; }
  .svc-sites { grid-template-columns: 1fr; }
  .svc-sites .svc-info { margin-top: 4px; }
}
/* ---------- celular: texto em cima, cards de deslizar ---------- */
@media (max-width: 899px) {
  #solucoes { display: block; padding: 72px 0 80px; }
  .solucoes5-texto { position: relative; top: auto; padding: 0 20px; }
  .bento { margin-top: 34px; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82vw; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; padding: 4px 20px 16px; scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .svc { scroll-snap-align: start; translate: none; }
  .svc-sites, .svc-seo { grid-column: auto; } .svc-sites { display: flex; }
  .svc-sites .svc-info { margin-top: 16px; }
  .svc-vis, .svc-sites .svc-vis { height: 150px; }
  .svc-link { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-vis *, .svc-vis *::after { animation: none !important; }
  .mv-cursor, .mv-clique, .au-pulso { display: none; }
}


/* ---------- organização 3x2 (2026-11-27): cabeçalho em duas colunas, cards iguais, nada preso ---------- */
@media (min-width: 900px) {
  #solucoes { display: block; }
  .solucoes5-texto { position: relative; top: auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: 5vw; align-items: end; }
  .solucoes5-texto .rotulo { grid-column: 1; grid-row: 1; }
  .solucoes5-texto .titulo-sec { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .solucoes5-texto .corpo { grid-column: 2; grid-row: 2; align-self: end; margin: 0; max-width: 46ch; }
  .solucoes5-texto .cta-moldura { grid-column: 2; grid-row: 3; justify-self: start; }
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 4.4vw, 72px); align-items: stretch; }
  .bento .svc-sites, .bento .svc-seo { grid-column: auto; }
  .bento .svc-sites { display: flex; }
  .bento .svc-sites .svc-info { margin-top: 16px; }
  .bento .svc-sites .svc-vis { height: clamp(130px, 11vw, 176px); }
  .svc-info { flex: 1; align-content: start; }
  .svc-link { margin-top: auto; }
}

/* card de Sites: a regra antiga de centralizar (layout largo) espremia o desenho para 1 px de largura */
.bento .svc-sites { align-items: stretch; }
.bento .svc-sites .svc-vis { width: 100%; }
