:root { --fundo: #0A1A15; --claro: #F5F4F1; --verde: #137354; --menta: #6FD3AC; --suave: #A9BBB3; --linha: #21382F; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--fundo); color: var(--claro); font: 400 1.05rem/1.55 "Inter Tight", system-ui, sans-serif; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--menta); outline-offset: 3px; }
h1, h2, h3, .troca, .linhas b { font-weight: 500; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 9vw, 3.8rem); margin-bottom: 20px; }
h3 { font-size: 1.45rem; margin: 20px 0 6px; }
p { color: var(--suave); max-width: 34rem; text-wrap: pretty; }
.miolo { width: min(1100px, 100% - 40px); margin-inline: auto; padding-block: 72px; }

.topo { position: absolute; z-index: 5; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 0 2px; }
.pilula { border: 1px solid var(--linha); border-radius: 99px; padding: 10px 18px; font-size: .95rem; text-decoration: none; }
.botao { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 99px; background: var(--verde); color: #fff; font-weight: 600; text-decoration: none; }
.botao.claro { background: var(--claro); color: var(--fundo); }
.link { display: inline-block; margin-top: 12px; padding-block: 8px; color: var(--menta); font-weight: 600; text-underline-offset: 5px; }

/* abertura: carrossel 3D de celulares */
.abertura { position: relative; height: 100svh; min-height: 640px; display: flex; flex-direction: column; padding: 84px 0 18px; overflow: hidden; text-align: center;
  background: radial-gradient(90% 55% at 50% 58%, rgba(30,160,115,.38), transparent 70%); }
h1 { font-size: clamp(2.7rem, 13.4vw, 8rem); text-transform: uppercase; line-height: .9; font-weight: 600; letter-spacing: -.045em; padding-inline: 8px; }
h1 span { display: block; white-space: nowrap; animation: 1s cubic-bezier(.16,1,.3,1) both; }
.entra-esq { animation-name: daEsquerda; }
.entra-dir { color: transparent; background: linear-gradient(100deg, #2FB989 20%, #C9F7E3 45%, #2FB989 70%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: daDireita 1s cubic-bezier(.16,1,.3,1) both, brilho 5s 1s linear infinite !important; }
@keyframes daEsquerda { from { transform: translateX(-100vw); } }
@keyframes daDireita { from { transform: translateX(100vw); } }
@keyframes brilho { from { background-position: 120% 0; } to { background-position: -100% 0; } }
.chamada { margin: 12px auto 0; padding-inline: 24px; max-width: 30rem; color: var(--claro); font-size: 1.05rem; line-height: 1.4; }
.palco { flex: 1; min-height: 0; position: relative; perspective: 1100px; margin-block: 14px 10px; touch-action: pan-y; cursor: grab; user-select: none; }
.tela { position: absolute; left: 50%; top: 50%; overflow: hidden; background: #000; border: 5px solid #26473B; box-shadow: 0 30px 60px rgba(0,0,0,.55); will-change: transform; }
.tela img, .tela video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.tela::after { content: ""; position: absolute; inset: 0; z-index: 2; background: #061310; opacity: var(--sombra, 0); pointer-events: none; }
.abertura-pe { display: grid; gap: 12px; padding-inline: 20px; justify-items: stretch; }
.legenda { display: grid; margin-inline: auto; line-height: 1.35; color: var(--claro); }
.legenda b { font-size: 1.15rem; }
.legenda span { color: var(--menta); font-size: .9rem; }

/* IA: o bloco de maior peso */
.ia { background: var(--verde); }
.ia h2 { font-size: clamp(2.3rem, 10.5vw, 4.6rem); max-width: 16ch; }
.troca { color: #fff; font-size: clamp(2.4rem, 12vw, 6rem); margin: 40px 0 28px; min-height: 2.1em; }
#palavra { display: block; color: var(--fundo); }
#palavra.muda { animation: sobe .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes sobe { from { transform: translateY(.5em); opacity: 0; } }
.linhas { list-style: none; margin-bottom: 32px; }
.linhas li { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid var(--linha); }
.linhas b { font-size: 1.6rem; }
.linhas span { color: var(--suave); }
.ia .linhas li { border-color: #4B9A80; }
.ia .linhas span { color: #E4F2EC; }
.linhas.grandes b { font-size: clamp(2.2rem, 10vw, 4rem); }
.linhas.grandes { margin: 0; }
/* projetos em vídeo */
.celular { width: min(300px, 78vw); aspect-ratio: 420 / 818; margin-inline: auto; border-radius: 34px; border: 7px solid #1C332A; overflow: hidden; background: #000; }
.celular video { width: 100%; height: 100%; object-fit: cover; }
.destaque { display: grid; gap: 40px; }
.projetos { display: grid; gap: 64px; margin-top: 12px; }
.projetos article { text-align: center; }
.projetos p { margin-inline: auto; }

.fim { background: var(--verde); text-align: center; padding: 88px 20px; }
.fim h2 { margin-bottom: 28px; }
.fim .botao { background: var(--claro); color: var(--fundo); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 20px 100px; font-size: .95rem; color: var(--suave); }
.flutua { position: fixed; z-index: 9; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); border: 1px solid var(--menta); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transform: translateY(160%); visibility: hidden; transition: transform .3s, visibility .3s; }
.flutua.visivel { transform: none; visibility: visible; }

@media (min-width: 860px) {
  .miolo { padding-block: 110px; }
  .topo { padding-inline: 20px 36px; }
  .abertura { padding: 92px 0 24px; }
  h1 { font-size: min(7.5rem, 11.5vh, 8.4vw); }
  h1 span { display: inline-block; margin-inline: .12em; }
  .abertura-pe { justify-items: center; }
  .linhas li { grid-template-columns: 1fr 1.4fr; align-items: baseline; }
  .destaque, .bot { grid-template-columns: 1fr 1fr; align-items: center; }
  .projetos { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .flutua { left: auto; right: 24px; bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  h1 span, #palavra.muda, .nucleo i, .ondas i { animation: none !important; }
}

/* antes e depois */
.comparar { position: relative; width: min(100%, 380px); aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.comparar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparar .antes { clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
.comparar i { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.comparar i b { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--fundo); display: grid; place-items: center; font: 600 .95rem system-ui; white-space: nowrap; }
.comparar span, .comparar figcaption { position: absolute; background: rgba(10,26,21,.72); border-radius: 99px; padding: 5px 12px; font-size: .75rem; font-weight: 600; pointer-events: none; }
.comparar span { top: 12px; left: 12px; text-transform: uppercase; }
.comparar span + span { left: auto; right: 12px; }
.comparar figcaption { bottom: 12px; left: 12px; }
.comparar input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.dica { color: #E4F2EC; margin-bottom: 14px; }
.opcoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 380px; margin: 0 auto 14px; }
.opcoes button { min-height: 52px; border-radius: 99px; border: 1.5px solid #8FD3B8; background: transparent; color: #fff; font: 600 1rem "Inter Tight", system-ui, sans-serif; cursor: pointer; transition: background .2s, color .2s, transform .1s; }
.opcoes button:active { transform: scale(.95); }
.opcoes button[aria-pressed="true"] { background: var(--claro); border-color: var(--claro); color: var(--fundo); }
.comparar { margin-inline: auto; }
.comparar .depois.surge { animation: surge .55s ease-out; }
@keyframes surge { from { filter: brightness(2.2) blur(8px); } }
.ia .nota { color: #DDEFE7; font-size: .85rem; margin: 14px auto 26px; text-align: center; max-width: 380px; }
.dica { text-align: center; max-width: 380px; margin-inline: auto; }

/* telegram */
.bot { display: grid; gap: 32px; }
.tg { width: min(100%, 390px); margin-inline: auto; color: #000; font-size: .93rem; line-height: 1.38; }
.tg-topo { display: flex; align-items: center; gap: 12px; background: #517DA2; color: #fff; padding: 10px 14px; border-radius: 22px 22px 0 0; }
.tg-topo i { font-style: normal; font-size: 1.6rem; line-height: 1; }
.tg-topo span { flex: 1; display: grid; line-height: 1.2; }
.tg-topo small { opacity: .8; }
.tg-foto { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(#FF885E, #FF516A); display: grid; place-items: center; font-size: .9rem; }
.tg-chat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 10px; background: radial-gradient(circle at 15% 20%, #D6D98B, transparent 55%), radial-gradient(circle at 85% 75%, #6FA879, transparent 60%), radial-gradient(circle at 20% 95%, #C9D487, transparent 50%), #90BE8C; }
.tg .m { background: #fff; padding: 7px 10px 6px; border-radius: 14px 14px 14px 4px; max-width: 86%; box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.tg .m.eu { align-self: flex-end; background: #EEFFDE; border-radius: 14px 14px 4px 14px; }
.tg time { float: right; margin: 6px 0 -2px 10px; font-size: .68rem; color: #8A9A8E; }
.tg .eu time { color: #4FAE4E; }
.tg code { display: block; margin-top: 6px; background: #EEF3F7; color: #3A76A8; border-radius: 6px; padding: 5px 8px; font-size: .78rem; }
.teclas { display: grid; gap: 4px; width: 86%; }
.teclas span { background: rgba(60,95,55,.48); color: #fff; border-radius: 9px; padding: 9px; text-align: center; font-weight: 600; font-size: .86rem; }
.tg .arq { display: flex; align-items: center; gap: 10px; }
.arq > b { width: 40px; height: 40px; border-radius: 50%; background: #4FAE4E; color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.arq span { display: grid; }
.arq small { color: #4FAE4E; }
.tg-pe { display: flex; justify-content: space-between; background: #fff; color: #9AA5AD; padding: 12px 18px; border-radius: 0 0 22px 22px; }
.tg-pe b { color: #517DA2; }
figcaption { color: var(--suave); font-size: .82rem; text-align: center; margin-top: 10px; }

/* canais automatizados */
.canais { background: #0F241D; border-block: 1px solid var(--linha); }
.fabrica { display: grid; gap: 28px; margin-top: 34px; justify-items: center; }
.nucleo { position: relative; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #8FF0C8, #137354 60%, #07261B); box-shadow: 0 0 60px rgba(47,185,137,.7); }
.nucleo b { font-size: 2.4rem; font-weight: 600; }
.nucleo i { position: absolute; inset: -12px; border-radius: 50%; border: 1.5px solid var(--menta); animation: pulso 2.4s ease-out infinite; }
.nucleo i + i { animation-delay: 1.2s; }
@keyframes pulso { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.etapas { list-style: none; width: min(100%, 360px); display: grid; gap: 8px; }
.etapas li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--linha); color: var(--suave); transition: background .3s, color .3s, border-color .3s; }
.etapas li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.etapas li.agora { background: #1A3D30; border-color: var(--menta); color: #fff; }
.etapas li.agora::before { border-color: var(--menta); border-right-color: transparent; animation: gira .8s linear infinite; }
.etapas li.feito { color: var(--claro); }
.etapas li.feito::before { content: "✓"; background: var(--menta); border-color: var(--menta); color: var(--fundo); }
@keyframes gira { to { transform: rotate(360deg); } }
.yt { width: min(100%, 360px); background: #0F0F0F; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.yt-tela { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(135deg, #12382B, #0B1512 55%, #2A1114); }
.yt-tela em { position: absolute; width: 66px; height: 46px; border-radius: 13px; background: #FF0033; display: grid; place-items: center; font-style: normal; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.ondas { display: flex; gap: 6px; align-items: center; height: 56px; transition: opacity .3s; }
.ondas i { width: 7px; height: 100%; border-radius: 4px; background: var(--menta); animation: onda .9s ease-in-out infinite alternate; }
.ondas i:nth-child(2n) { animation-delay: -.4s; } .ondas i:nth-child(3n) { animation-delay: -.7s; }
@keyframes onda { from { transform: scaleY(.18); } }
.yt-barra { height: 4px; background: #333; }
.yt-barra i { display: block; height: 100%; background: #FF0033; transform: scaleX(var(--avanco, 0)); transform-origin: left; transition: transform .8s; }
.yt p { display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px; color: #fff; }
.yt-status { color: #AAA; }
.pronto .yt-tela em { transform: scale(1); }
.pronto .ondas { opacity: 0; }
.pronto .yt-status { color: var(--menta); font-weight: 600; }
@media (min-width: 860px) { .fabrica { grid-template-columns: auto 1fr 1fr; align-items: center; gap: 56px; } }

/* app financeiro (exemplo) */
.apps { display: grid; gap: 32px; }
.celular.app { aspect-ratio: auto; background: #F7F8F6; color: #10231C; padding: 22px 16px; }
.app small { color: #6B7C74; }
.saldo { display: block; font-size: 2.1rem; letter-spacing: -.03em; }
.dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.dupla div { border-radius: 14px; padding: 10px 12px; font-size: .85rem; }
.dupla b { display: block; font-size: 1.15rem; }
.dupla .mais { background: #DCF3E7; } .dupla .menos { background: #FCE4E1; }
.mais { color: #12704F; } .menos { color: #B23A2E; }
.barras { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-bottom: 12px; }
.barras i { flex: 1; height: var(--h); background: var(--verde); border-radius: 6px 6px 2px 2px; }
.app ul { list-style: none; font-size: .9rem; }
.app li { display: flex; justify-content: space-between; border-top: 1px solid #E1E7E3; padding: 9px 0; }

/* identidade: fitas movidas pela rolagem */
.identidade { overflow: hidden; padding-bottom: 88px; }
.identidade .miolo { padding-bottom: 28px; }
.fita { display: flex; gap: 14px; width: max-content; padding-left: 20px; will-change: transform; }
.logos img { width: 150px; height: 150px; border-radius: 22px; }
.fim h2 { max-width: 18ch; margin-inline: auto; }
.fim p { color: #E4F2EC; margin: 0 auto 28px; }
.fim h2 { margin-bottom: 18px; }
@media (min-width: 860px) {
  .bot, .apps { grid-template-columns: 1fr 1fr; align-items: center; }
  .logos img { width: 200px; height: 200px; }
}
.legenda b { color: #fff; }
@media (min-width: 860px) {
  .abertura { padding: 76px 0 16px; }
  h1 { font-size: min(7.5rem, 10.5vh, 8.4vw); }
  .chamada { max-width: 48rem; margin-top: 8px; }
  .palco { margin-block: 12px 8px; }
  .abertura-pe { display: flex; justify-content: center; align-items: center; gap: 28px; }
  .legenda { margin: 0; text-align: right; min-width: 15rem; }
}
.comparar { aspect-ratio: 896 / 1200; }
@media (min-width: 860px) {
  .ia .miolo { display: grid; grid-template-columns: 1fr 380px; column-gap: 64px; align-content: start; }
  .ia .miolo > * { grid-column: 1; }
  .ia .miolo > .comparar { grid-column: 2; grid-row: 1 / span 5; align-self: start; width: 380px; }
  .ia .miolo > .nota { grid-column: 2; grid-row: 6; }
  .ia .miolo > .botao { justify-self: start; align-self: start; }
  .opcoes, .dica { margin-inline: 0; text-align: left; }
}
