/* Estilos comuns das páginas de serviço (servicos/*.html).
   Mesma identidade visual do index.html: cores, tipografia, cápsulas, botões e fundo vivo. */

:root {
  --void: #081214;
  --slate-900: #0f172a;
  --cream: #ffedd7;
  --cyan: #06b6d4;
  --cyan-2: #22d3ee;
  --teal: #0c8fae;
  --navy: #123a63;
  --blue: #155e8a;
  --green: #10b981;
  --muted: rgba(255, 237, 215, 0.62);
  --line: rgba(255, 237, 215, 0.10);
  --card: rgba(15, 23, 42, 0.72);
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; background: var(--void); }
body {
  background: transparent; color: var(--cream);
  font-family: Inter, -apple-system, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
section, header { position: relative; scroll-margin-top: 72px; }
h1, h2, h3 { text-wrap: balance; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(6,182,212,.2); }
:focus-visible { outline: 2px solid var(--cyan-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--cyan); color: var(--void); padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 calc(var(--gutter) + clamp(0px, 2vw, 32px)); position: relative; }
.mark { font-weight: 900; letter-spacing: -0.04em; }
.mark b { color: var(--cyan); font-weight: 900; }
h2 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.05; font-weight: 900; letter-spacing: -0.035em; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 60ch; }
.lead strong { color: var(--cream); font-weight: 600; }

/* ---------- fundo vivo ---------- */
#ambient { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.ambient-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,237,215,.09) 1px, transparent 1.2px); background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, #000 35%, transparent 100%);
}
.layer { position: absolute; will-change: transform; pointer-events: none; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; background: linear-gradient(90deg, var(--cyan), var(--green)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- cápsula de seção ---------- */
.eyebrow {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em; line-height: 1.2; color: var(--cream);
  background:
    linear-gradient(100deg, rgba(6,182,212,.16), rgba(18,58,99,.22) 60%, rgba(15,23,42,.35)) padding-box,
    linear-gradient(100deg, rgba(34,211,238,.7), rgba(34,211,238,.12) 55%, rgba(255,237,215,.14)) border-box;
  border: 1px solid transparent; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -14px rgba(6,182,212,.6), inset 0 1px 0 rgba(255,255,255,.06);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--cyan-2); box-shadow: 0 0 0 3px rgba(34,211,238,.18), 0 0 12px 2px rgba(34,211,238,.7);
  animation: eyebrowDot 2.8s ease-in-out infinite;
}
.eyebrow::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,237,215,.22) 50%, transparent 65%); transform: translateX(-120%);
}
.eyebrow.in::after, .hero .eyebrow::after { animation: eyebrowShine 1.4s .35s var(--ease) both; }
@keyframes eyebrowShine { to { transform: translateX(120%); } }
@keyframes eyebrowDot { 50% { box-shadow: 0 0 0 5px rgba(34,211,238,.06), 0 0 16px 3px rgba(34,211,238,.9); } }

/* ---------- botões ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 14px; text-align: left;
  padding: 10px 22px 10px 10px; border-radius: 999px; min-height: 64px;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s, box-shadow .3s;
}
.cta-txt { display: grid; line-height: 1.2; }
.cta-txt strong { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.cta-txt small { font-size: 13px; font-weight: 500; opacity: .72; }
.cta-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .35s var(--ease), background-color .3s; }
.cta-ic svg { width: 22px; height: 22px; }
.cta-primary { background: var(--cyan); color: var(--void); box-shadow: 0 14px 40px -12px rgba(6,182,212,.75); }
.cta-primary .cta-ic { background: var(--void); color: #25d366; }
.cta-primary:hover { background: var(--cyan-2); transform: translateY(-2px); box-shadow: 0 18px 48px -12px rgba(6,182,212,.9); }
.cta-primary:hover .cta-ic { transform: rotate(-10deg) scale(1.06); }
.cta-ghost { padding: 10px 10px 10px 24px; border: 1px solid rgba(255,237,215,.22); background: rgba(15,23,42,.35); backdrop-filter: blur(8px); }
.cta-ghost .cta-ic { border: 1px solid rgba(255,237,215,.22); color: var(--cyan-2); }
.cta-ghost:hover { border-color: var(--cyan); transform: translateY(-2px); }
.cta-ghost:hover .cta-ic { background: var(--cyan); color: var(--void); border-color: var(--cyan); }
.cta-ghost .cta-ic svg { animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(3px); } }
.cta:active { transform: translateY(0) scale(.98); }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 520px) { .cta { width: 100%; } .cta-ghost { justify-content: space-between; } }

/* ---------- navegação ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(8,18,20,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.nav .mark { font-size: 28px; }
.nav ul { display: flex; gap: 28px; list-style: none; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--cream); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--cyan); color: var(--void); font-size: 13px; font-weight: 700; transition: background-color .3s, transform .3s var(--ease); }
.nav-cta:hover { background: var(--cyan-2); transform: translateY(-1px); }
@media (max-width: 880px) { .nav ul { display: none; } }

/* trilho com os 5 serviços: mostra onde a pessoa está e leva aos outros */
.switcher { position: relative; z-index: 2; padding-top: 96px; }
.switcher ul { display: flex; gap: 8px; list-style: none; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.switcher ul::-webkit-scrollbar { display: none; }
.switcher a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); background: rgba(15,23,42,.45); transition: color .3s, border-color .3s, background-color .3s;
}
.switcher a svg { width: 16px; height: 16px; }
.switcher a:hover { color: var(--cream); border-color: rgba(34,211,238,.4); }
.switcher a[aria-current="page"] { color: var(--void); background: var(--cyan); border-color: var(--cyan); }

/* ---------- hero do serviço ---------- */
.hero { padding: clamp(40px, 7vh, 80px) 0 clamp(80px, 12vh, 130px); overflow-x: clip; }
.final { overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 80px); line-height: 1; font-weight: 900; letter-spacing: -0.045em; margin: 22px 0 22px; }
.hero h1 span { color: var(--cyan); }
.hero .lead { margin-bottom: 34px; }
.hero .ghost {
  font-size: clamp(160px, 26vw, 400px); font-weight: 900; letter-spacing: -0.06em; line-height: 1; white-space: nowrap;
  right: -6%; top: 0; color: transparent; -webkit-text-stroke: 1px rgba(255,237,215,.05);
}
.hero-grid > * { min-width: 0; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* moldura das demonstrações */
.demo {
  position: relative; border-radius: 24px; padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(160deg, rgba(18,58,99,.5), rgba(15,23,42,.85));
  border: 1px solid rgba(34,211,238,.18);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.8), 0 0 80px -40px rgba(6,182,212,.5);
}
.demo-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-size: 13px; font-weight: 600; color: var(--muted); }
@keyframes livePulse { 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.demo-foot { margin-top: 18px; font-size: 13px; color: var(--muted); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* RPA: vídeo em loop de 15 s (abertura, processo, números, marca).
   O JS só troca classes e variáveis; o tempo de cada cena está em servico.js. */
.reel {
  padding: 0; overflow: hidden; isolation: isolate; container-type: inline-size;
  /* altura por faixa de tela: com aspect-ratio + min-height o quadro ficava mais largo que o celular */
  height: clamp(500px, 62vw, 600px); perspective: 1100px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(18,58,99,.55), rgba(8,18,20,.95) 70%);
}
.reel-mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.reel-ui {
  position: absolute; inset: 14px 14px 60px; z-index: 1; border-radius: 18px;
  border: 1px solid rgba(34,211,238,.24); transform-origin: 50% 60%; will-change: transform;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.9), 0 0 60px -24px rgba(6,182,212,.55), inset 0 1px 0 rgba(255,255,255,.07);
}
/* o vidro fica num pseudo para poder sumir na cena da marca e deixar a rede aparecer */
.reel-ui::before, .reel-ui::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; }
.reel-ui::before { background: linear-gradient(160deg, rgba(18,58,99,.55), rgba(8,18,20,.92)); opacity: .55; transition: opacity .9s var(--ease); }
.reel-ui::after { background: linear-gradient(115deg, transparent 35%, rgba(255,237,215,.05) 48%, transparent 60%) ; }
.reel[data-scene="1"] .reel-ui::before { opacity: .94; }
.reel[data-scene="2"] .reel-ui::before { opacity: .7; }
.reel[data-scene="3"] .reel-ui::before { opacity: .08; }
.reel[data-scene="3"] .reel-ui { border-color: rgba(34,211,238,.1); }

.reel-top { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.reel-win { display: flex; gap: 6px; }
.reel-win i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,237,215,.16); }
.reel-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel-clock { font-variant-numeric: tabular-nums; color: var(--cream); }
.reel-clock, .reel-top .live { white-space: nowrap; }
.demo-head .live, .reel-top .live { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.demo-head .live::before, .reel-top .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: livePulse 2s infinite; }
@container (max-width: 380px) { .reel-title { display: none; } .reel-top .live { margin-left: auto; } .reel-top { gap: 10px; padding: 0 12px; } }
@container (max-width: 330px) { .reel-win { display: none; } }

.reel-stage { position: absolute; inset: 44px 0 0; }
.scene {
  position: absolute; inset: 0; padding: clamp(16px, 4.6cqi, 26px);
  display: flex; flex-direction: column; gap: clamp(10px, 3cqi, 16px);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.97);
  transition: opacity .55s var(--ease), transform .8s var(--ease), visibility 0s .55s;
}
.scene.on { opacity: 1; visibility: visible; transform: none; transition-delay: .15s, .15s, 0s; }
.scene > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.scene.on > * { opacity: 1; transform: none; }
.scene.on > :nth-child(2) { transition-delay: .3s; }
.scene.on > :nth-child(3) { transition-delay: .5s; }
.scene.on > :nth-child(4) { transition-delay: .7s; }

/* abertura */
.reel-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #6ee7b7; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.4); }
.reel-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px 2px rgba(16,185,129,.8); }
.reel-h {
  font-size: clamp(28px, 8.4cqi, 46px); line-height: 1.02; font-weight: 900; letter-spacing: -0.045em; max-width: 14ch;
  background: linear-gradient(100deg, var(--cream) 0 38%, var(--cyan-2) 48%, var(--cream) 58% 100%) 120% 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(34,211,238,.18);
}
.scene.on .reel-h { animation: reelShine 2.2s .5s var(--ease) both; }
@keyframes reelShine { from { background-position: 120% 0; } to { background-position: -20% 0; } }
.reel-dash { margin-top: auto; display: grid; gap: 10px; }
.dash-chart { padding: 12px 14px 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8,18,20,.55); }
.dash-chart span { font-size: 12px; font-weight: 600; color: var(--muted); }
.dash-chart svg { display: block; width: 100%; height: clamp(46px, 14cqi, 70px); margin-top: 6px; }
.dash-chart .area { fill: url(#reelArea); opacity: 0; transition: opacity 1s .9s; }
.dash-chart .line { fill: none; stroke: var(--cyan-2); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(34,211,238,.7)); transition: stroke-dashoffset 1.8s .5s var(--ease); }
.scene.on .dash-chart .line { stroke-dashoffset: 0; }
.scene.on .dash-chart .area { opacity: 1; }
.dash-sys { display: flex; gap: 8px; list-style: none; flex-wrap: wrap; }
.dash-sys li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 10px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line); background: rgba(8,18,20,.55); }
.dash-sys li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,237,215,.25); transition: background-color .3s, box-shadow .3s; }
.scene.on .dash-sys li::before { background: var(--cyan-2); box-shadow: 0 0 8px rgba(34,211,238,.9); }
.scene.on .dash-sys li:nth-child(1)::before { transition-delay: 1s; }
.scene.on .dash-sys li:nth-child(2)::before { transition-delay: 1.3s; }
.scene.on .dash-sys li:nth-child(3)::before { transition-delay: 1.6s; }
.scene.on .dash-sys li:nth-child(4)::before { transition-delay: 1.9s; }

/* processo: pipeline de 4 etapas + tela do que o robô está fazendo */
.reel-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; }
.reel-steps::before, .reel-steps::after { content: ""; position: absolute; left: 12%; right: 12%; top: 25px; height: 2px; border-radius: 2px; }
.reel-steps::before { background: rgba(255,237,215,.08); }
.reel-steps::after { background: linear-gradient(90deg, var(--teal), var(--cyan-2)); box-shadow: 0 0 10px rgba(34,211,238,.8); transform-origin: left; transform: scaleX(var(--pp, 0)); }
.reel-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; text-align: center; }
.reel-steps .ri {
  position: relative; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  color: var(--muted); background: #0d1b26; border: 1px solid var(--line);
  transition: background-color .35s, color .35s, border-color .35s, box-shadow .35s, transform .45s var(--ease);
}
.reel-steps .ri svg { width: 22px; height: 22px; }
.reel-steps strong { font-size: clamp(11.5px, 3.1cqi, 13.5px); font-weight: 700; line-height: 1.2; min-height: 2.4em; }
.reel-steps .rs { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.reel-steps .run .ri { color: var(--void); background: var(--cyan); border-color: var(--cyan-2); transform: translateY(-3px) scale(1.06); box-shadow: 0 0 0 4px rgba(34,211,238,.16), 0 0 28px rgba(34,211,238,.7); }
.reel-steps .run .ri::after { content: ""; position: absolute; inset: -6px; border-radius: 19px; border: 2px solid transparent; border-top-color: var(--cyan-2); animation: reelSpin .9s linear infinite; }
.reel-steps .run .rs { color: var(--cyan-2); }
.reel-steps .done .ri { color: var(--green); background: #0d2420; border-color: rgba(16,185,129,.5); }
.reel-steps .done .rs { color: var(--green); }
@keyframes reelSpin { to { transform: rotate(360deg); } }

.reel-screen { position: relative; flex: 1; min-height: 0; border-radius: 14px; border: 1px solid var(--line); background: rgba(8,18,20,.7); overflow: hidden; }
.shot { position: absolute; inset: 0; margin: 0; padding: 14px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: scale(.97); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.shot-img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.shot:has(.shot-img) .shot-mock { display: none; }
.reel-screen[data-step="0"] .shot-sheet, .reel-screen[data-step="1"] .shot-sheet,
.reel-screen[data-step="2"] .shot-sync, .reel-screen[data-step="3"] .shot-report { opacity: 1; transform: none; }

.sheet-file { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.sheet-file svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.sheet-file span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-file .dl { margin-left: auto; width: 34%; height: 4px; border-radius: 4px; background: rgba(255,237,215,.08); overflow: hidden; flex: none; }
.sheet-file .dl b { display: block; height: 100%; background: var(--cyan-2); box-shadow: 0 0 8px var(--cyan-2); transform-origin: left; transform: scaleX(var(--dl, 0)); }
.sheet { display: grid; gap: 6px; }
.sheet-row { display: grid; grid-template-columns: 1.3fr 1fr 22px; align-items: center; gap: 10px; height: 24px; padding: 0 10px; border-radius: 7px; background: rgba(255,237,215,.035); opacity: 0; transform: translateX(-12px); transition: opacity .3s, transform .4s var(--ease), background-color .3s; }
.sheet-row.head { opacity: 1; transform: none; background: none; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.sheet-row.got { opacity: 1; transform: none; }
.sheet-row i { display: block; height: 7px; width: var(--w); border-radius: 4px; background: rgba(255,237,215,.2); }
.sheet-row em { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255,237,215,.18); transition: background-color .25s, border-color .25s; }
.sheet-row.ok { background: rgba(16,185,129,.07); }
.sheet-row.ok em { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081214' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 36px; pointer-events: none; opacity: 0; transform: translateY(var(--scan, 0px)); background: linear-gradient(180deg, transparent, rgba(34,211,238,.18) 70%, rgba(34,211,238,.9) 98%, transparent); }
.reel-screen[data-step="1"] .scan { opacity: 1; }

.sync { flex: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.sync .sys { display: grid; place-items: center; width: clamp(64px, 19cqi, 92px); aspect-ratio: 1; border-radius: 18px; font-size: clamp(15px, 4.4cqi, 19px); font-weight: 900; letter-spacing: -0.02em; background: linear-gradient(150deg, rgba(6,182,212,.22), rgba(18,58,99,.55)); border: 1px solid rgba(34,211,238,.45); box-shadow: 0 0 40px -12px rgba(6,182,212,.7); }
.pipe { position: relative; height: 2px; background: rgba(34,211,238,.25); }
.pipe i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-2); box-shadow: 0 0 10px 2px rgba(34,211,238,.8); opacity: 0; }
.reel-screen[data-step="2"] .pipe i { animation: reelPacket 1s linear infinite; }
.pipe i:nth-child(2) { animation-delay: .33s !important; } .pipe i:nth-child(3) { animation-delay: .66s !important; }
@keyframes reelPacket { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.sync-n { text-align: center; font-size: 13px; color: var(--muted); }
.sync-n strong { color: var(--cream); font-size: 1.3em; font-weight: 900; font-variant-numeric: tabular-nums; }

.bars { flex: 1; display: flex; align-items: flex-end; gap: 8px; padding: 4px 4px 0; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--cyan-2), rgba(12,143,174,.35)); transform-origin: bottom; transform: scaleY(0); transition: transform .7s var(--ease); }
.reel-screen[data-step="3"] .bars i { transform: none; }
.bars i:nth-child(2) { transition-delay: .06s; } .bars i:nth-child(3) { transition-delay: .12s; } .bars i:nth-child(4) { transition-delay: .18s; } .bars i:nth-child(5) { transition-delay: .24s; } .bars i:nth-child(6) { transition-delay: .3s; }
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.45); opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.toast svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--green); color: var(--void); flex: none; }
.toast span { display: grid; font-size: 12px; line-height: 1.35; color: var(--muted); }
.toast strong { font-size: 13.5px; color: var(--cream); }
.reel-screen.fin .toast { opacity: 1; transform: none; }

/* números */
.s-nums { justify-content: center; }
.reel-stat .n { font-size: clamp(46px, 15cqi, 84px); font-weight: 900; letter-spacing: -0.05em; line-height: .95; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 0 46px rgba(34,211,238,.35); }
.reel-stat .u { color: var(--cyan); font-size: .5em; margin-left: .1em; letter-spacing: -0.02em; }
.reel-stat p { margin-top: 4px; font-size: clamp(13px, 3.6cqi, 15px); font-weight: 600; color: var(--muted); max-width: 30ch; }
.reel-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 4px; }
.reel-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; border: 1px solid rgba(34,211,238,.35); background: rgba(6,182,212,.1); }
.reel-chips li::before { content: ""; width: 12px; height: 12px; background: var(--green); -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='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%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='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }

/* marca: o logo é desenhado pela rede no canvas, aqui ficam a frase e a chamada */
.s-brand { justify-content: flex-end; align-items: center; text-align: center; padding-bottom: clamp(22px, 7cqi, 40px); }
.reel-end { font-size: clamp(20px, 5.8cqi, 30px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.1; max-width: 18ch; }
.reel-cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--void); background: var(--cyan); animation: reelCta 1.8s ease-in-out infinite; transition: background-color .3s; }
.reel-cta:hover { background: var(--cyan-2); }
@keyframes reelCta { 0%, 100% { box-shadow: 0 0 0 0 rgba(34,211,238,.55), 0 12px 34px -10px rgba(6,182,212,.8); } 60% { box-shadow: 0 0 0 12px rgba(34,211,238,0), 0 12px 44px -6px rgba(6,182,212,1); } }

/* telas por etapa (para qualquer página): .shot[data-shot="N"] aparece na etapa N,
   e [data-at] acende quando o JS marca .on */
.reel-screen[data-step="0"] [data-shot="0"], .reel-screen[data-step="1"] [data-shot="1"],
.reel-screen[data-step="2"] [data-shot="2"], .reel-screen[data-step="3"] [data-shot="3"] { opacity: 1; transform: none; }
.reel-screen [data-at] { opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.reel-screen [data-at].on { opacity: 1; transform: none; }

/* Engenharia: abertura com as 4 camadas em perspectiva, montadas de baixo pra cima */
.arch { margin-top: auto; list-style: none; display: grid; gap: 8px; perspective: 700px; }
.arch li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 800; letter-spacing: -0.01em;
  border: 1px solid rgba(34,211,238,.3); background: linear-gradient(120deg, rgba(18,58,99,.92), rgba(15,23,42,.96));
  box-shadow: 0 16px 24px -16px rgba(0,0,0,.8);
  opacity: 0; transform: rotateX(30deg) translateY(18px); transition: opacity .5s var(--ease), transform .7s var(--ease), border-color .5s, box-shadow .5s;
}
.arch small { font-size: 12px; font-weight: 600; color: var(--muted); }
@container (max-width: 400px) { .arch small { display: none; } .arch li { padding: 9px 14px; } }
.scene.on .arch li { opacity: 1; transform: rotateX(16deg); }
.scene.on .arch li:nth-child(4) { transition-delay: .7s; }
.scene.on .arch li:nth-child(3) { transition-delay: .95s; }
.scene.on .arch li:nth-child(2) { transition-delay: 1.2s; }
.scene.on .arch li:nth-child(1) { transition-delay: 1.45s; border-color: var(--cyan-2); box-shadow: 0 16px 24px -16px rgba(0,0,0,.8), 0 0 30px -8px rgba(6,182,212,.75); }

/* Engenharia: o que cada camada faz, na tela do processo */
.term, .schema, .api { font-family: ui-monospace, 'Cascadia Mono', Consolas, 'Liberation Mono', monospace; }
.term { flex: 1; display: grid; align-content: start; gap: 8px; padding: 2px; font-size: clamp(12px, 3.1cqi, 13.5px); line-height: 1.45; color: rgba(255,237,215,.85); }
.term .cmd { color: var(--cyan-2); }
.term b { color: var(--green); margin-right: 6px; }
.schema { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: center; font-size: 12px; }
.tbl { display: grid; border-radius: 10px; border: 1px solid rgba(34,211,238,.35); background: rgba(6,182,212,.06); overflow: hidden; }
.tbl strong { padding: 7px 9px; font-size: 12.5px; color: var(--void); background: var(--cyan-2); }
.tbl span { padding: 5px 9px; color: rgba(255,237,215,.8); border-top: 1px solid var(--line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel { grid-column: 1 / -1; justify-self: center; margin-top: 4px; padding: 6px 12px; border-radius: 999px; font: 600 12.5px Inter, system-ui, sans-serif; color: #6ee7b7; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.4); }
.api { flex: 1; display: grid; align-content: center; gap: 8px; font-size: clamp(12px, 3.2cqi, 13.5px); }
.api p { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; background: rgba(255,237,215,.04); border: 1px solid var(--line); }
.api i { font-style: normal; font-weight: 700; font-size: .86em; min-width: 3.6em; color: var(--cyan-2); }
.api b { margin-left: auto; color: var(--green); }
.wire { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 18px 1fr 1.3fr; gap: 8px; }
.wire i { display: block; border-radius: 8px; background: rgba(255,237,215,.07); border: 1px solid var(--line); }
.wire .w-bar { grid-column: 1 / -1; background: linear-gradient(90deg, rgba(6,182,212,.4), rgba(6,182,212,.08)); border: 0; }
.wire .w-chart { grid-column: 1 / -1; background: linear-gradient(180deg, rgba(34,211,238,.2), rgba(12,143,174,.04)); border-color: rgba(34,211,238,.3); }

/* Engenharia: o mesmo sistema no celular, no desktop e na web */
.s-ship { justify-content: center; }
.reel-h2 { font-size: clamp(22px, 6.6cqi, 34px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; max-width: 15ch; }
.devices { display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 3cqi, 18px); height: clamp(120px, 36cqi, 200px); margin: 6px 0 14px; }
.dev {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px;
  border: 1px solid rgba(34,211,238,.4); background: linear-gradient(160deg, rgba(18,58,99,.85), rgba(8,18,20,.95));
  box-shadow: 0 20px 30px -18px rgba(0,0,0,.9), 0 0 34px -12px rgba(6,182,212,.6);
  opacity: 0; transform: translateY(16px) scale(.94); transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.dev i { display: block; height: 7px; border-radius: 4px; background: rgba(255,237,215,.16); }
.dev i:first-child { height: 10px; background: linear-gradient(90deg, var(--cyan-2), rgba(34,211,238,.25)); }
.dev i:last-child { flex: 1; background: rgba(34,211,238,.12); }
.dev-phone { width: 22%; height: 90%; border-radius: 16px; }
.dev-desk { width: 44%; height: 74%; }
.dev-desk::after { content: ""; position: absolute; left: 38%; right: 38%; bottom: -12px; height: 12px; border-radius: 0 0 4px 4px; background: rgba(34,211,238,.3); }
.dev-web { width: 30%; height: 62%; padding-top: 20px; }
.dev-web::before { content: ""; position: absolute; top: 8px; left: 10px; width: 20px; height: 4px; border-radius: 2px; background: rgba(255,237,215,.3); }
.scene.on .dev { opacity: 1; transform: none; }
.scene.on .dev-phone { transition-delay: .45s; }
.scene.on .dev-desk { transition-delay: .65s; }
.scene.on .dev-web { transition-delay: .85s; }

/* Sites: abertura com uma página se montando dentro do navegador */
.browser { margin-top: auto; border-radius: 14px; border: 1px solid rgba(34,211,238,.35); background: rgba(8,18,20,.75); overflow: hidden; box-shadow: 0 24px 40px -24px rgba(0,0,0,.9), 0 0 40px -16px rgba(6,182,212,.6); }
.b-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: rgba(15,23,42,.8); }
.b-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,237,215,.18); }
.b-bar span { flex: 1; margin-left: 8px; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(255,237,215,.05); }
.b-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; }
.b-body > * { display: block; border-radius: 6px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.b-body b { grid-column: 1 / -1; height: 14px; width: 80%; background: var(--cream); }
.b-body b + b { width: 55%; height: 10px; background: rgba(255,237,215,.35); }
.b-body em { grid-column: 1 / -1; width: 40%; height: 26px; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 20px -4px rgba(6,182,212,.8); }
.b-body i { height: clamp(34px, 11cqi, 56px); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.25); }
.scene.on .b-body > * { opacity: 1; transform: none; }
.scene.on .b-body > :nth-child(1) { transition-delay: .8s; }
.scene.on .b-body > :nth-child(2) { transition-delay: 1s; }
.scene.on .b-body > :nth-child(3) { transition-delay: 1.25s; }
.scene.on .b-body > :nth-child(4) { transition-delay: 1.45s; }
.scene.on .b-body > :nth-child(5) { transition-delay: 1.55s; }
.scene.on .b-body > :nth-child(6) { transition-delay: 1.65s; }

/* Sites: estrutura, texto, design e publicação, na tela do processo */
.smap { flex: 1; display: grid; justify-items: center; align-content: center; gap: 16px; }
.pg { padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 700; border: 1px solid rgba(34,211,238,.35); background: rgba(6,182,212,.08); white-space: nowrap; }
.pg-root { color: var(--void); background: var(--cyan-2); border-color: var(--cyan-2); }
.smap-kids { position: relative; display: flex; gap: 8px; padding-top: 16px; }
.smap-kids::before { content: ""; position: absolute; top: 0; left: 18%; right: 18%; height: 2px; background: rgba(34,211,238,.35); }
.smap-kids::after { content: ""; position: absolute; top: -16px; left: 50%; width: 2px; height: 16px; background: rgba(34,211,238,.35); }
.pg-lp { border-style: dashed; color: var(--cyan-2); }
.doc { flex: 1; display: grid; align-content: center; gap: 12px; }
.doc p { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,237,215,.035); font-size: clamp(13px, 3.4cqi, 15px); font-weight: 700; line-height: 1.35; }
.doc p + p { font-weight: 500; color: rgba(255,237,215,.85); }
.doc small { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 600; color: var(--cyan-2); }
.doc b { display: inline-block; margin-top: 2px; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--void); background: var(--cyan); }
.page { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 14px 1.4fr 1fr; gap: 8px; }
.page > i { display: block; border-radius: 8px; }
.page .p-nav { grid-column: 1 / -1; background: rgba(255,237,215,.1); }
.page .p-hero { grid-column: 1 / -1; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 0 14px; background: linear-gradient(130deg, rgba(18,58,99,.9), rgba(12,143,174,.35)); border: 1px solid rgba(34,211,238,.3); }
.page .p-hero b { display: block; width: 70%; height: 11px; border-radius: 4px; background: var(--cream); }
.page .p-hero b + b { width: 48%; height: 8px; background: rgba(255,237,215,.4); }
.page .p-hero em { width: 30%; height: 18px; border-radius: 999px; background: var(--cyan); }
.page .p-card { background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.25); }
.checks { flex: 1; list-style: none; display: grid; align-content: center; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; border: 1px solid var(--line); background: rgba(255,237,215,.035); }
.checks li::before, .leads svg { flex: none; width: 20px; height: 20px; padding: 4px; border-radius: 50%; color: var(--void); background: var(--green); }
.checks li::before { content: ""; -webkit-mask: none; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081214' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Sites: contatos chegando depois que o site vai ao ar */
.leads { list-style: none; display: grid; gap: 8px; margin: 4px 0 6px; }
.leads li {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.4); box-shadow: 0 14px 24px -18px rgba(0,0,0,.9);
  opacity: 0; transform: translateX(24px) scale(.97); transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.leads svg { width: 28px; height: 28px; padding: 6px; }
.leads span { display: grid; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.leads strong { font-size: 14px; color: var(--cream); }
.scene.on .leads li { opacity: 1; transform: none; }
.scene.on .leads li:nth-child(1) { transition-delay: .5s; }
.scene.on .leads li:nth-child(2) { transition-delay: 1.1s; }
.scene.on .leads li:nth-child(3) { transition-delay: 1.7s; }
/* celular: menos linhas para tudo caber no quadro */
@container (max-width: 400px) {
  .checks { gap: 6px; }
  .checks li { padding: 7px 10px; font-size: 12.5px; }
  .checks li::before { width: 18px; height: 18px; }
  .checks li:nth-child(4) { display: none; }
  .shot .toast { padding: 8px 10px; }
  .s-ship { justify-content: flex-start; }
  .leads li { padding: 9px 12px; }
  .leads li:nth-child(3) { display: none; }
  .leads span { font-size: 12px; }
}

/* luz que varre o quadro na virada do loop */
.reel-flash {
  position: absolute; inset: -10% -60%; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(34,211,238,.28) 47%, rgba(255,237,215,.55) 50%, rgba(34,211,238,.28) 53%, transparent 62%);
  mix-blend-mode: screen;
}

/* controles: pausar e pular de cena */
.reel-bar { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 4; display: flex; align-items: center; gap: 6px; height: 36px; }
.reel-bar button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.reel-toggle { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--cream) !important; background: rgba(255,237,215,.08) !important; transition: background-color .3s; }
.reel-toggle:hover { background: rgba(34,211,238,.2) !important; }
.reel-toggle svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.reel-toggle .i-play, .reel.paused .reel-toggle .i-pause { display: none; }
.reel.paused .reel-toggle .i-play { display: block; }
.reel-seg { flex: 1; min-width: 0; height: 36px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 2px; text-align: left; }
.reel-seg span { font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.reel-seg i { display: block; height: 3px; border-radius: 3px; background: rgba(255,237,215,.12); overflow: hidden; }
.reel-seg i::before { content: ""; display: block; height: 100%; background: var(--cyan-2); transform-origin: left; transform: scaleX(var(--f, 0)); }
.reel-seg[aria-current] span, .reel-seg:hover span { color: var(--cream); }
.reel.paused *, .reel.paused *::before, .reel.paused *::after { animation-play-state: paused !important; }

/* IA: chamado chegando, sendo classificado e respondido */
.chat { display: grid; gap: 12px; min-height: 300px; align-content: start; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.msg.in-msg { background: rgba(255,237,215,.07); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.ai { justify-self: end; background: rgba(6,182,212,.14); border: 1px solid rgba(34,211,238,.35); border-bottom-right-radius: 4px; }
.msg .who { display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; opacity: 0; transform: scale(.8); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.chip.show { opacity: 1; transform: none; }
.chip.c1 { background: rgba(34,211,238,.15); color: var(--cyan-2); border: 1px solid rgba(34,211,238,.35); }
.chip.c2 { background: rgba(244,63,94,.12); color: #fda4af; border: 1px solid rgba(244,63,94,.35); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-2); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { opacity: .2; transform: translateY(-3px); } }
.resolved { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--green); opacity: 0; transition: opacity .5s; }
.resolved.show { opacity: 1; }
.resolved svg { width: 20px; height: 20px; flex: none; }
.typing-row:not(.show) { display: none; }

/* Suporte: painel ao vivo */
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.status-tile { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8,18,20,.5); }
.status-tile span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.status-tile strong { font-size: clamp(26px, 3vw, 34px); font-weight: 900; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pulse-chart { margin-top: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8,18,20,.5); padding: 12px; }
.pulse-chart svg { display: block; width: 100%; height: 90px; }
.pulse-chart path { fill: none; stroke: var(--cyan-2); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(34,211,238,.6)); }

/* Dados: fontes convergindo numa base única */
.converge { position: relative; height: 320px; }
.converge > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.converge .wire { fill: none; stroke: rgba(34,211,238,.25); stroke-width: 1.5; }
.converge .packet { fill: var(--cyan-2); filter: drop-shadow(0 0 6px rgba(34,211,238,.9)); }
.src, .base { position: absolute; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.src { left: 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8,18,20,.75); transform: translateY(-50%); }
.src svg { width: 18px; height: 18px; color: var(--cyan-2); }
.base { right: 0; top: 50%; transform: translateY(-50%); flex-direction: column; justify-content: center; width: 132px; height: 132px; border-radius: 28px; text-align: center; background: linear-gradient(150deg, rgba(6,182,212,.3), rgba(18,58,99,.6)); border: 1px solid rgba(34,211,238,.5); box-shadow: 0 0 60px -10px rgba(6,182,212,.6); }
.base svg { width: 34px; height: 34px; color: var(--cyan-2); }
.base.ping { animation: basePing .5s var(--ease); }
@keyframes basePing { 50% { box-shadow: 0 0 80px 0 rgba(6,182,212,.8); } }

/* ---------- seções de conteúdo ---------- */
.block { padding: clamp(80px, 13vh, 140px) 0; }
.block-head { margin-bottom: 48px; max-width: 760px; }
.block-head h2 { margin: 18px 0 16px; }

/* dores -> virada */
/* as dores não são clicáveis: tom de alerta leve, sem cara de card de navegação */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; }
.pain {
  display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start;
  padding: 20px 22px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(244,63,94,.07), rgba(15,23,42,.55) 60%);
  border: 1px solid rgba(253,164,175,.14);
}
.pain svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; color: #fda4af; background: rgba(244,63,94,.12); }
.pain p { font-size: 16.5px; font-weight: 600; line-height: 1.45; padding-top: 6px; }
.turn {
  margin-top: 18px; padding: 24px 28px; border-radius: 20px; display: flex; gap: 18px; align-items: center;
  background: linear-gradient(100deg, rgba(6,182,212,.16), rgba(15,23,42,.6)); border: 1px solid rgba(34,211,238,.3);
}
.turn svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; color: var(--void); background: var(--cyan-2); box-shadow: 0 0 24px -4px rgba(34,211,238,.7); flex: none; }
.turn p { font-size: clamp(17px, 1.6vw, 19px); font-weight: 600; line-height: 1.5; letter-spacing: -0.005em; max-width: 62ch; }
@media (max-width: 880px) { .pains { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 520px) { .turn { align-items: flex-start; padding: 20px; gap: 14px; } .turn svg { width: 38px; height: 38px; padding: 8px; } }

/* o que entra */
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--card);
  transition: border-color .4s, transform .5s var(--ease);
  --cx: 50%; --cy: 0%;
}
.feat::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(320px circle at var(--cx) var(--cy), rgba(6,182,212,.12), transparent 55%); opacity: 0; transition: opacity .4s; }
.feat:hover { border-color: rgba(34,211,238,.35); transform: translateY(-3px); }
.feat:hover::before { opacity: 1; }
.feat .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(6,182,212,.12); color: var(--cyan-2); }
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .feats { grid-template-columns: 1fr; } }

/* como funciona: sequência real, por isso numerada */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, var(--cyan), rgba(6,182,212,.15)); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.steps.in::before { transform: scaleX(1); }
.step { padding-right: 28px; position: relative; }
.step .num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 18px; background: var(--void); border: 2px solid var(--cyan); color: var(--cyan-2); position: relative; box-shadow: 0 0 0 6px var(--void); }
.step h3 { margin: 22px 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.015em; }
.step p { color: var(--muted); font-size: 15px; max-width: 32ch; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; background: linear-gradient(var(--cyan), rgba(6,182,212,.15)); }
  .steps.in::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; padding: 0; }
  .step h3 { margin: 12px 0 6px; }
  .step p { grid-column: 2; }
}

/* números reais */
.proof { border-radius: 28px; border: 1px solid var(--line); background: rgba(15,23,42,.6); overflow: hidden; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.proof > div { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); }
.proof > div:last-child { border-right: 0; }
.proof .n { font-size: clamp(36px, 4.2vw, 54px); font-weight: 900; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proof .n .u { color: var(--cyan); font-size: .55em; margin-left: .08em; letter-spacing: -0.02em; }
.proof h3 { margin-top: 12px; font-size: 15px; font-weight: 700; }
.proof p { color: var(--muted); font-size: 14px; margin-top: 4px; }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr 1fr; } .proof > div { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; } .proof > div { border-right: 0; } }

/* formas de contratar */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model { padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.model h3 { font-size: 22px; font-weight: 900; letter-spacing: -0.025em; margin-bottom: 8px; }
.model p { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .models { grid-template-columns: 1fr; } }

/* outros serviços */
.others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1180px) { .others { grid-template-columns: repeat(3, 1fr); } }
.other { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: border-color .4s, transform .5s var(--ease); }
.other:hover { border-color: rgba(34,211,238,.45); transform: translateY(-4px); }
.other .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(6,182,212,.12); color: var(--cyan-2); }
.other .ic svg { width: 22px; height: 22px; }
.other strong { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.other span { color: var(--muted); font-size: 14px; }
.other em { margin-top: auto; font-style: normal; font-size: 13px; font-weight: 700; color: var(--cyan-2); }
@media (max-width: 960px) { .others { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .others { grid-template-columns: 1fr; } }

/* chamada final */
.final { padding: clamp(90px, 14vh, 150px) 0 110px; text-align: center; overflow: hidden; }
.final .glow { width: 640px; height: 640px; left: 50%; top: 0; translate: -50% 0; border-radius: 50%; background: var(--teal); opacity: .22; filter: blur(110px); }
.final h2 { font-size: clamp(36px, 6vw, 76px); margin: 18px 0 18px; }
.final .lead { margin: 0 auto 36px; }
.final .ctas { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 34px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
footer .mark { font-size: 24px; color: var(--cream); }

/* WhatsApp flutuante */
.wa {
  position: fixed; z-index: 90; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: flex; align-items: center; padding: 6px; border-radius: 999px;
  background: rgba(15,23,42,.72); border: 1px solid rgba(37,211,102,.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); transition: transform .4s var(--ease), border-color .3s;
}
.wa-ic { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #2fe07a, #1fae55); color: #fff; flex: none; }
.wa-ic svg { width: 28px; height: 28px; }
.wa-ic::before, .wa-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPulse 2.4s var(--ease) infinite; }
.wa-ic::after { animation-delay: 1.2s; }
@keyframes waPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.75); opacity: 0; } }
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; line-height: 1.25; transition: max-width .45s var(--ease), padding .45s var(--ease); }
.wa-label small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.wa:hover, .wa:focus-visible { border-color: rgba(37,211,102,.7); transform: translateY(-3px); }
.wa:hover .wa-label, .wa:focus-visible .wa-label { max-width: 220px; padding: 0 18px 0 12px; }
@media (hover: none) { .wa-label { display: none; } }

/* ---------- aparecimento ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .eyebrow::before, .eyebrow::after, .wa-ic::before, .wa-ic::after, .cta-ghost .cta-ic svg, .demo-head .live::before, .typing i { animation: none !important; }
  .reel *, .reel *::before, .reel *::after { animation: none !important; transition: none !important; }
}
