@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #04060c; --bg2: #0a1222; --card: rgba(255,255,255,.045); --card2: rgba(255,255,255,.075);
  --line: rgba(255,255,255,.08); --text: #f3f6fc; --mute: #8f99ad; --dim: #5d6679;
  --blue: #2f7bff; --cyan: #3fd4ff; --good: #34d399; --warn: #fbbf24; --bad: #f87171;
  --r: 18px; --pad: clamp(16px, 4.5vw, 22px);
  --f-hero: clamp(30px, 8.5vw, 40px); --f-h: clamp(21px, 5.8vw, 26px); --f-b: clamp(14px, 3.8vw, 16px); --f-s: clamp(11.5px, 3.1vw, 13px);
}
:root { color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #04060c; --text: #f3f6fc; } }
:root[data-theme="dark"] { --bg: #04060c; --text: #f3f6fc; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #000; overflow: hidden; overscroll-behavior: none; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif; color: var(--text);
  -webkit-font-smoothing: antialiased; overflow: hidden; display: flex; justify-content: center; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input { font: inherit; color: inherit; }

/* ---------- Moldura do app ---------- */
.app { position: relative; width: 100%; max-width: 440px; height: min(var(--appH, 100dvh), 100%); overflow: hidden; background: var(--bg); isolation: isolate; }
@media (min-width: 520px) { .app { height: min(var(--appH, 100dvh), 900px); margin-top: max(0px, calc((var(--appH, 100dvh) - 900px) / 2)); border-radius: 34px; box-shadow: 0 0 0 1px var(--line), 0 40px 120px rgba(47,123,255,.18); } }
.glow { position: absolute; inset: auto -30% -35% -30%; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 60%, rgba(47,123,255,.45), rgba(63,212,255,.12) 45%, transparent 70%); filter: blur(10px);
  animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translateY(-4%) scale(1.06); opacity: .8; } }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background: radial-gradient(120% 60% at 50% -10%, rgba(63,212,255,.08), transparent 60%); }

.screen { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--pad) + env(safe-area-inset-top)) var(--pad) calc(var(--pad) + env(safe-area-inset-bottom));
  opacity: 0; transform: translateY(14px) scale(.985); pointer-events: none; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.screen.on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Intro ---------- */
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .14em; font-size: 11px; color: var(--mute); text-transform: uppercase; }
.brand b { color: var(--text); letter-spacing: .06em; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.intro-face { position: relative; width: clamp(150px, 46vw, 196px); aspect-ratio: 1; margin: auto auto 0; border-radius: 50%; }
.intro-face img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: relative; z-index: 1; }
.intro-face::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, var(--blue), var(--cyan), transparent 60%); animation: spin 4s linear infinite; }
.intro-face::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: var(--bg); }
@keyframes spin { to { transform: rotate(360deg); } }
.intro-txt { text-align: center; margin: 26px 0 auto; }
.eyebrow { font-size: var(--f-s); color: var(--cyan); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero { font-size: var(--f-hero); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 10px 0 12px; }
.hero em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--mute); font-size: var(--f-b); line-height: 1.45; }
.pills { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pill { font-size: 12px; color: var(--mute); padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); }
.sig { text-align: center; font-size: 12px; color: var(--dim); margin-top: 12px; }

/* ---------- Botões ---------- */
.btn { width: 100%; height: 56px; border-radius: 16px; font-weight: 700; font-size: 16px; letter-spacing: -.01em;
  background: linear-gradient(180deg, #4a8dff, var(--blue)); box-shadow: 0 10px 30px rgba(47,123,255,.35), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s, opacity .2s, filter .2s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .35; filter: grayscale(.6); }
.btn.ghost { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.btn.wa { background: linear-gradient(180deg, #2fe07a, #1fb862); box-shadow: 0 10px 30px rgba(31,184,98,.3), inset 0 1px 0 rgba(255,255,255,.25); color: #04140a; }

/* ---------- Conversa ---------- */
.topbar { display: flex; align-items: center; gap: 12px; height: 32px; }
.back { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--card); }
.back svg { width: 16px; height: 16px; }
.prog { flex: 1; height: 4px; border-radius: 4px; background: var(--card2); overflow: hidden; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 4px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.chat { margin-top: clamp(18px, 5vh, 40px); display: flex; gap: 12px; align-items: flex-start; }
.av { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px rgba(63,212,255,.6); }
.bubble { background: var(--card2); border: 1px solid var(--line); border-radius: 6px 20px 20px 20px; padding: 14px 16px; font-size: clamp(16px, 4.4vw, 18px); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
.bubble small { display: block; color: var(--mute); font-size: var(--f-s); font-weight: 400; margin-top: 6px; }
.who { font-size: 12px; color: var(--mute); margin-bottom: 6px; font-weight: 600; }
.typing span { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--mute); animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; transform: translateY(-2px); } }
.answer { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; align-items: center; gap: 6px; height: 60px; padding: 0 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: rgba(63,212,255,.6); box-shadow: 0 0 0 4px rgba(63,212,255,.1); }
.field span { color: var(--mute); font-size: 18px; }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 18px; font-weight: 500; }
.field input::placeholder { color: var(--dim); }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chips.one { grid-template-columns: 1fr; }
.chip { min-height: 48px; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; text-align: left; line-height: 1.2; transition: background .2s, border-color .2s, transform .12s; }
.chip:active { transform: scale(.98); }
.chip.sel { background: rgba(47,123,255,.18); border-color: rgba(63,212,255,.7); box-shadow: inset 0 0 0 1px rgba(63,212,255,.3); }
.chips.dense .chip { min-height: 42px; font-size: 13px; padding: 8px 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--mute); line-height: 1.4; }
.consent input { margin-top: 2px; accent-color: var(--blue); width: 16px; height: 16px; flex: none; }
.skip { font-size: 13px; color: var(--mute); text-align: center; padding: 4px; }

/* ---------- Tela de dado ---------- */
.insight { margin: auto 0; text-align: center; }
.insight .big { font-size: clamp(64px, 20vw, 92px); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: linear-gradient(180deg, #fff, #9fc2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.insight .big.word { font-size: clamp(40px, 12vw, 56px); }
.insight p { font-size: var(--f-h); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; margin: 14px auto 0; max-width: 340px; }
.insight .open { font-size: var(--f-b); color: var(--mute); font-weight: 400; margin-top: 14px; }
.src { font-size: 11px; color: var(--dim); margin-top: 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); padding: 6px 10px; border-radius: 99px; background: rgba(63,212,255,.1); border: 1px solid rgba(63,212,255,.25); }

/* ---------- Análise rodando ---------- */
.scan { margin: clamp(24px, 6vh, 56px) auto 0; position: relative; width: 120px; height: 120px; }
.scan img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.scan::before, .scan::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(63,212,255,.5); animation: ping 1.8s ease-out infinite; }
.scan::after { animation-delay: .9s; }
@keyframes ping { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.scan-title { text-align: center; font-size: var(--f-h); font-weight: 700; letter-spacing: -.02em; margin-top: 26px; }
.steps { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--dim); transition: color .3s; }
.step i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; transition: all .3s; }
.step.run { color: var(--text); } .step.run i { border-color: var(--cyan); border-top-color: transparent; animation: spin .8s linear infinite; }
.step.ok { color: var(--mute); } .step.ok i { background: var(--good); border-color: var(--good); }
.step.ok i::after { content: ''; width: 9px; height: 5px; border-left: 2px solid #04140a; border-bottom: 2px solid #04140a; transform: rotate(-45deg) translate(1px, -1px); }
.factcard { margin-top: auto; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); min-height: 104px; transition: opacity .4s; }
.factcard b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--cyan); }
.factcard p { font-size: 14px; line-height: 1.4; margin-top: 4px; }
.factcard small { display: block; font-size: 11px; color: var(--dim); margin-top: 6px; }

/* ---------- Resultado (stories) ---------- */
.story { padding-top: calc(12px + env(safe-area-inset-top)); }
.segs { display: flex; gap: 4px; }
.segs i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; }
.segs i.done { background: rgba(255,255,255,.85); }
.segs i.now { background: linear-gradient(90deg, rgba(255,255,255,.9) var(--p, 100%), rgba(255,255,255,.15) var(--p, 100%)); }
.shead { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.shead .av { width: 32px; height: 32px; }
.shead div { flex: 1; min-width: 0; }
.shead b { display: block; font-size: 13px; font-weight: 600; }
.shead span { font-size: 11.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.demo { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); border: 1px solid rgba(251,191,36,.35); padding: 4px 7px; border-radius: 6px; }
.tapL, .tapR { position: absolute; top: 90px; bottom: 90px; width: 30%; z-index: 5; }
.tapL { left: 0; } .tapR { right: 0; }
.sbody { flex: 1; display: flex; flex-direction: column; min-height: 0; margin-top: clamp(10px, 2.4vh, 20px); gap: clamp(8px, 1.6vh, 14px); position: relative; z-index: 6; pointer-events: none; }
.sbody > * { pointer-events: auto; }
.kicker { font-size: var(--f-s); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); display: flex; align-items: center; gap: 8px; }
.kicker svg { width: 16px; height: 16px; }
.title { font-size: var(--f-h); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.title em { font-style: normal; color: var(--cyan); }
.snav { display: flex; gap: 10px; margin-top: 10px; position: relative; z-index: 7; }
.snav .btn { height: 50px; font-size: 15px; }
.snav .btn.ghost { flex: 0 0 50px; }

/* medidor */
.gauge { position: relative; display: grid; place-items: center; }
.gauge svg { transform: rotate(-90deg); }
.gauge .num { position: absolute; text-align: center; }
.gauge .num b { display: block; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge .num span { font-size: 12px; color: var(--mute); }
.gauge circle { fill: none; stroke-linecap: round; }
.gauge .trk { stroke: rgba(255,255,255,.08); }
.gauge .val { transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }

.hero-score { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 4px 0; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; }
.band { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: var(--card2); }

/* barras por canal */
.bars { display: flex; flex-direction: column; gap: clamp(7px, 1.3vh, 11px); }
.bar { display: grid; grid-template-columns: 22px 92px 1fr 34px; align-items: center; gap: 10px; font-size: 13.5px; }
.bar svg { width: 18px; height: 18px; color: var(--mute); }
.bar .t { height: 8px; border-radius: 8px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar .t i { display: block; height: 100%; border-radius: 8px; width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.bar b { text-align: right; font-variant-numeric: tabular-nums; }

/* cartões e linhas de verificação */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(11px, 1.8vh, 15px) 14px; }
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 10px; padding: clamp(6px, 1.05vh, 9px) 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.st { width: 24px; height: 24px; border-radius: 8px; flex: none; display: grid; place-items: center; }
.st svg { width: 14px; height: 14px; }
.st.ok { background: rgba(52,211,153,.15); color: var(--good); }
.st.mid { background: rgba(251,191,36,.15); color: var(--warn); }
.st.bad { background: rgba(248,113,113,.15); color: var(--bad); }
.row .lbl { flex: 1; min-width: 0; }
.row .lbl b { display: block; font-size: 14px; font-weight: 600; }
.row .lbl span { display: block; font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ess { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); margin-left: 6px; vertical-align: 1px; }

/* fala do Arthur (dor) */
.says { display: flex; gap: 10px; align-items: flex-start; margin-top: auto; }
.says .av { width: 34px; height: 34px; }
.says .bubble { font-size: clamp(13.5px, 3.7vw, 15px); padding: 12px 14px; font-weight: 500; }
.says .bubble .bias { display: inline-block; margin-top: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); }

/* tiles de números */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(10px, 1.6vh, 14px) 12px; }
.tile b { display: block; font-size: clamp(20px, 5.6vw, 26px); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tile span { font-size: 12px; color: var(--mute); }
.tile.bad b { color: var(--bad); } .tile.warn b { color: var(--warn); } .tile.good b { color: var(--good); }

/* calendário 30 dias */
.cal { display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; }
.cal i { aspect-ratio: 1; border-radius: 5px; background: rgba(255,255,255,.06); }
.cal i.p { background: var(--blue); box-shadow: 0 0 10px rgba(47,123,255,.6); }
.cal i.r { background: var(--cyan); box-shadow: 0 0 10px rgba(63,212,255,.6); }
.legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--mute); margin-top: 8px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* medidores lineares */
.meter { display: flex; flex-direction: column; gap: 6px; }
.meter .top { display: flex; justify-content: space-between; font-size: 13px; }
.meter .top b { font-variant-numeric: tabular-nums; }
.meter .t { position: relative; height: 10px; border-radius: 10px; background: linear-gradient(90deg, rgba(248,113,113,.35), rgba(251,191,36,.35), rgba(52,211,153,.35)); }
.meter .t i { position: absolute; top: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; transform: translateY(-50%); box-shadow: 0 0 0 4px rgba(255,255,255,.15); transition: left 1.2s cubic-bezier(.2,.8,.2,1); left: 0; }
.meter small { font-size: 11px; color: var(--dim); }

/* ranking concorrentes */
.rank { display: flex; flex-direction: column; gap: 8px; }
.rk { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: clamp(8px, 1.4vh, 11px) 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.rk.me { background: rgba(248,113,113,.1); border-color: rgba(248,113,113,.45); }
.rk .pos { font-weight: 800; font-size: 16px; color: var(--mute); text-align: center; }
.rk.me .pos { color: var(--bad); }
.rk .nm b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk .nm .t { height: 5px; border-radius: 5px; background: rgba(255,255,255,.07); margin-top: 6px; overflow: hidden; }
.rk .nm .t i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.rk.me .nm .t i { background: var(--bad); }
.rk .sc { text-align: right; font-size: 13px; }
.rk .sc b { font-size: 15px; } .rk .sc span { display: block; font-size: 11px; color: var(--mute); }

/* google */
.gstat { display: flex; align-items: center; gap: 16px; }
.gstat .nota { font-size: clamp(48px, 14vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.vs { display: flex; flex-direction: column; gap: 8px; }
.vs .r { display: grid; grid-template-columns: 92px 1fr 46px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--mute); }
.vs .t { height: 8px; border-radius: 8px; background: rgba(255,255,255,.07); overflow: hidden; }
.vs .t i { display: block; height: 100%; width: 0; border-radius: 8px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.vs b { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }

/* dinheiro na mesa */
.leaks { display: flex; flex-direction: column; gap: 8px; }
.leak { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: clamp(10px, 1.6vh, 13px) 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.leak .n { font-size: clamp(22px, 6vw, 28px); font-weight: 800; letter-spacing: -.04em; color: var(--bad); min-width: 70px; }
.leak p { font-size: 13px; line-height: 1.35; }
.leak small { display: block; font-size: 10.5px; color: var(--dim); margin-top: 3px; }

/* plano */
.plan { display: flex; flex-direction: column; gap: 10px; }
.pstep { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.pstep .k { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; background: linear-gradient(180deg, #4a8dff, var(--blue)); }
.pstep b { display: block; font-size: 14.5px; font-weight: 700; }
.pstep span { display: block; font-size: 12.5px; color: var(--mute); margin-top: 3px; line-height: 1.35; }

/* oferta */
.offer-face { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--cyan); }
.offer-top { display: flex; gap: 14px; align-items: center; }
.svc { display: flex; flex-direction: column; gap: 8px; }
.sv { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.sv .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(47,123,255,.15); color: var(--cyan); flex: none; }
.sv .ic svg { width: 18px; height: 18px; }
.sv div b { display: block; font-size: 14px; }
.sv div span { font-size: 12px; color: var(--mute); }
.coupon { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 16px; border: 1.5px dashed rgba(63,212,255,.55); background: rgba(63,212,255,.06); }
.coupon b { font-size: 17px; letter-spacing: .08em; }
.coupon span { font-size: 12px; color: var(--mute); }
.premium { padding: 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(47,123,255,.28), rgba(63,212,255,.08)); border: 1px solid rgba(63,212,255,.4); }
.premium b { font-size: 15px; } .premium p { font-size: 12.5px; color: #c9d6ee; margin-top: 4px; line-height: 1.4; }

.fade-in { animation: fin .6s both; }
.fade-in:nth-child(2) { animation-delay: .08s; } .fade-in:nth-child(3) { animation-delay: .16s; } .fade-in:nth-child(4) { animation-delay: .24s; } .fade-in:nth-child(5) { animation-delay: .32s; } .fade-in:nth-child(6) { animation-delay: .4s; }
@keyframes fin { from { opacity: 0; transform: translateY(10px); } }

@media (max-height: 700px) {
  .bubble { font-size: 15.5px; padding: 12px 14px; }
  .says .bubble { font-size: 13px; }
  .row .lbl span { display: none; }
  .hide-short { display: none !important; }
}

.row .lbl b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story.tight .sbody { gap: 7px; margin-top: 8px; }
.story.tight .card { padding: 9px 12px; }
.story.tight .row { padding: 5px 0; }
.story.tight .title { font-size: clamp(19px, 5.2vw, 22px); }
.story.tight .says .bubble { font-size: 13px; padding: 10px 12px; }
.story.tight .hide-short { display: none !important; }
.story.tighter .row .lbl span { display: none; }
.story.tighter .tile { padding: 8px 10px; }
.story.tighter .says .av { display: none; }

.nofx .fade-in { animation: none !important; }
.story.tighter .leak { padding: 8px 12px; gap: 10px; }
.story.tighter .leak p { font-size: 12.5px; }
.story.tighter .leak .n { font-size: 22px; min-width: 58px; }
.story.tighter .pstep { padding: 9px 12px; }
.story.tighter .pstep span { font-size: 12px; }
.story.tighter .says .bubble { font-size: 12.5px; }

/* rede de segurança: se algo não couber (teclado aberto, tela muito baixa), a tela rola em vez de cortar */
.screen { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen .answer { padding-bottom: 2px; }
@media (max-height: 560px) {
  .chat { margin-top: 12px; }
  .bubble { font-size: 15px; padding: 10px 12px; }
  .field { height: 52px; }
  .btn { height: 50px; }
  .intro-face { width: 110px; }
}

/* sugestões (estado/cidade) e cartão do perfil */
.sug { display: flex; flex-direction: column; gap: 6px; }
.sug .chip { min-height: 44px; text-align: left; }
.perfil-card { display: flex; gap: 12px; align-items: center; }
.pf-av { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 20px; background: linear-gradient(135deg, #2f7bff, #3fd4ff); color: #04060c; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(63,212,255,.5); }
.pf-info { min-width: 0; }
.pf-info b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-info span { display: block; font-size: 12px; color: var(--mute); margin-top: 2px; }
.pf-info small { display: block; font-size: 12px; color: var(--text); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* frase de abertura em caixa alta */
.intro-txt .hero { text-transform: uppercase; font-size: clamp(26px, 7.6vw, 34px); letter-spacing: -.015em; line-height: 1.04; }

/* ícones das plataformas na tela inicial */
.plats { display: flex; justify-content: center; gap: clamp(8px, 3vw, 14px); margin-top: 18px; }
.plat { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 58px; }
.plat span { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.plat svg { width: 28px; height: 28px; }
.plat small { font-size: 10.5px; color: var(--mute); white-space: nowrap; }

/* cases do segmento */
.cases { display: flex; flex-direction: column; gap: 7px; }
.case { display: grid; grid-template-columns: 38px 1fr 28px; gap: 12px; align-items: center; padding: clamp(8px, 1.3vh, 11px) 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.case .cic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(47,123,255,.14); color: var(--cyan); }
.case .cic svg { width: 19px; height: 19px; }
.case.nao { border-color: rgba(248,113,113,.35); background: rgba(248,113,113,.06); }
.case.nao .cic { background: rgba(248,113,113,.14); color: var(--bad); }
.case .ctx b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.case .ctx span { display: block; font-size: 11.5px; color: var(--mute); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case .cst { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.case.sim .cst { background: rgba(52,211,153,.18); color: var(--good); } .case.nao .cst { background: rgba(248,113,113,.18); color: var(--bad); }
.case .cst svg { width: 14px; height: 14px; }
.gap-meter .gm-top { display: flex; justify-content: space-between; font-size: 13px; }
.gap-meter .gm-top b { font-size: 18px; font-weight: 800; }
.gap-meter .gm-bar { height: 10px; border-radius: 10px; margin-top: 8px; background: rgba(248,113,113,.25); overflow: hidden; }
.gap-meter .gm-bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.gap-meter .gm-leg { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--dim); margin-top: 5px; }

/* perdas */
.leaks2 { display: flex; flex-direction: column; gap: 8px; }
.lk { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: clamp(10px, 1.5vh, 13px) 12px; border-radius: 18px; background: linear-gradient(135deg, rgba(248,113,113,.10), rgba(248,113,113,.03)); border: 1px solid rgba(248,113,113,.3); }
.lk-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(248,113,113,.18); color: var(--bad); }
.lk-ic svg { width: 21px; height: 21px; }
.lk-tx b { display: block; font-size: 14px; font-weight: 700; }
.lk-tx span { display: block; font-size: 12px; color: var(--mute); margin-top: 1px; }
.lk-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); margin-top: 7px; overflow: hidden; }
.lk-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--bad); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.lk-tx small { display: block; font-size: 10.5px; color: var(--dim); margin-top: 4px; }
.lk-n { text-align: right; max-width: 92px; }
.lk-n b { display: block; font-size: clamp(20px, 5.6vw, 26px); font-weight: 800; letter-spacing: -.04em; color: var(--bad); line-height: 1; }
.lk-n span { display: block; font-size: 10px; color: var(--mute); margin-top: 3px; line-height: 1.25; }
.perda { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.perda b { display: block; font-size: 26px; font-weight: 800; color: var(--warn); letter-spacing: -.03em; }
.perda span { display: block; font-size: 12px; color: var(--mute); max-width: 210px; }
.perda-ring { width: 54px; height: 54px; border-radius: 50%; flex: none; background: conic-gradient(var(--warn) calc(var(--p) * 1%), rgba(255,255,255,.08) 0); -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%); mask: radial-gradient(circle, transparent 55%, #000 56%); }

/* plano */
.proj { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; position: relative; padding-bottom: 26px; }
.pj span { display: block; font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.pj b { display: block; font-size: clamp(34px, 10vw, 44px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-top: 4px; }
.pj-seta { height: 4px; border-radius: 4px; background: linear-gradient(90deg, rgba(255,255,255,.15), var(--good)); position: relative; margin-top: 16px; }
.pj-seta i { position: absolute; right: -2px; top: 50%; width: 10px; height: 10px; border-top: 3px solid var(--good); border-right: 3px solid var(--good); transform: translateY(-50%) rotate(45deg); }
.pj-ganho { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-size: 12px; font-weight: 800; color: var(--good); background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.35); padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.plan2 { display: flex; flex-direction: column; gap: 8px; }
.ps { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: clamp(10px, 1.5vh, 13px) 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.ps-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(180deg, #4a8dff, var(--blue)); color: #fff; }
.ps-ic svg { width: 20px; height: 20px; }
.ps-tx em { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.ps-tx b { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; margin-top: 2px; }
.ps-tx span { display: block; font-size: 11.5px; color: var(--mute); margin-top: 2px; }
.ps-g { font-size: 15px; font-weight: 800; color: var(--good); }
.story.tight .case, .story.tight .lk, .story.tight .ps { padding: 8px 11px; }
.story.tighter .case .ctx span, .story.tighter .lk-tx small { display: none; }

/* logo do canal no topo da tela */
.klogo { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--line); flex: none; }
.klogo svg { width: 18px !important; height: 18px !important; }
.kicker { align-items: center; }

/* Meta Ads */
.no-ads { display: flex; gap: 14px; align-items: center; border-color: rgba(248,113,113,.35); background: linear-gradient(135deg, rgba(248,113,113,.10), rgba(248,113,113,.02)); }
.na-logo { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border: 1px solid rgba(248,113,113,.35); flex: none; }
.na-logo svg { width: 34px; height: 34px; display: block; opacity: .6; }
.no-ads b { display: block; font-size: 18px; font-weight: 800; color: var(--bad); }
.no-ads span { display: block; font-size: 11.5px; color: var(--mute); margin-top: 2px; }
.no-ads em { display: block; font-style: normal; font-size: 12px; font-weight: 600; margin-top: 6px; }
.no-ads em.ruim { color: var(--bad); } .no-ads em.bom { color: var(--warn); }
.ads-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.af { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 11px 10px; display: flex; flex-direction: column; gap: 4px; }
.af b { font-size: clamp(20px, 5.8vw, 26px); font-weight: 800; letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #9fc2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.af span { font-size: 11px; line-height: 1.3; color: var(--text); }
.af small { font-size: 9.5px; color: var(--dim); margin-top: auto; }
.story.tighter .af span { font-size: 10.5px; }

.no-ads .na-logo { display: flex; align-items: center; justify-content: center; margin: 0; }
.no-ads .na-logo svg { display: block; margin: 0; }

/* anúncio ativo: parabéns + limite da análise */
.ok-ads { display: flex; gap: 12px; align-items: flex-start; border-color: rgba(52,211,153,.35); background: linear-gradient(135deg, rgba(52,211,153,.10), rgba(52,211,153,.02)); }
.oa-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(52,211,153,.18); color: var(--good); flex: none; }
.oa-ic svg { width: 16px; height: 16px; }
.ok-ads b { display: block; font-size: 14px; font-weight: 700; }
.ok-ads span { display: block; font-size: 12px; color: var(--mute); line-height: 1.45; margin-top: 3px; }

/* ---------- Telas de solução (tom verde de "tratamento") ---------- */
/* telas de oferta: fundo branco e verde, para o cliente perceber que agora é a solução */
.story.sol { --text: #0d1f18; --mute: #5c6d66; --dim: #8a9a93; --card: #ffffff; --card2: #eef7f2; --line: rgba(13,40,30,.10); --good: #10a36e; --bg: #ffffff;
  color: var(--text); background: radial-gradient(120% 55% at 50% -10%, rgba(16,163,110,.14), transparent 60%), linear-gradient(180deg, #f6fbf8, #ffffff 40%); }
.story.sol .title em { color: var(--good); background: none; -webkit-text-fill-color: currentColor; }
.story.sol .kicker { align-self: flex-start; color: #0b7a52; background: rgba(16,163,110,.10); border: 1px solid rgba(16,163,110,.25); padding: 5px 10px 5px 6px; border-radius: 99px; }
.story.sol .kicker .klogo { background: #fff; }
.story.sol .segs i { background: rgba(13,40,30,.12); }
.story.sol .segs i.done { background: rgba(13,40,30,.55); }
.story.sol .segs i.now { background: var(--good); }
.story.sol .card { box-shadow: 0 8px 24px rgba(10,40,30,.07); }
.story.sol .ess { color: #0b7a52; }
.story.sol .pj-seta { background: linear-gradient(90deg, rgba(13,40,30,.12), var(--good)); }
.story.sol .pj-ganho { background: rgba(16,163,110,.10); }
.story.sol .bubble { background: var(--card2); border-color: rgba(16,163,110,.18); }
.story.sol .av { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(16,163,110,.6); }
.story.sol .snav .btn:not(.ghost) { background: linear-gradient(90deg, #0f9d6a, #19c48a); color: #fff; box-shadow: 0 10px 26px rgba(16,163,110,.35); }
.story.sol .snav .btn.ghost { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.story.sol .emp-serv div { background: #fff; border-color: rgba(16,163,110,.22); box-shadow: 0 4px 14px rgba(10,40,30,.05); color: var(--text); }
.story.sol .sol-entrega div { color: var(--text); }
.sol-lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.sol-dor { border-color: rgba(248,113,113,.25); }
.sol-proj { border-color: rgba(52,211,153,.35); background: linear-gradient(135deg, rgba(52,211,153,.10), rgba(52,211,153,.02)); }
.sol-entrega { display: grid; gap: 7px; }
.sol-entrega div { display: flex; gap: 9px; align-items: flex-start; font-size: clamp(13px, 3.6vw, 14.5px); line-height: 1.35; }
.sol-entrega span { width: 20px; height: 20px; border-radius: 7px; display: grid; place-items: center; flex: none; background: rgba(52,211,153,.16); color: var(--good); }
.sol-entrega svg { width: 12px; height: 12px; }
.emp-serv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.emp-serv div { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 4px; border-radius: 14px; text-align: center; font-size: 11px; font-weight: 600; line-height: 1.2;
  background: rgba(52,211,153,.07); border: 1px solid rgba(52,211,153,.22); }
.emp-serv span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(52,211,153,.15); color: var(--good); }
.emp-serv svg { width: 16px; height: 16px; }
.time { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 6px; margin-top: 6px; }
.time .mb { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.time img, .time span { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(52,211,153,.55); }
.time span { display: grid; place-items: center; background: rgba(52,211,153,.12); color: var(--good); }
.time span svg { width: 18px; height: 18px; }
.time b { font-size: 11.5px; font-weight: 700; line-height: 1.15; }
.time small { font-size: 10px; color: var(--mute); margin-top: -3px; }
.story.tight .time img, .story.tight .time span { width: 32px; height: 32px; }
.story.tighter .emp-serv div { padding: 6px 3px; font-size: 10px; }
/* tela final: a página do hero ocupa a tela toda */
.screen.final { padding: 0; }
.final-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #04060c; }
.story.sol .pj:first-child b { filter: brightness(.78) saturate(1.3); }
.story.sol .st.mid { background: rgba(217,119,6,.12); color: #b45309; }

/* ---------- Página de venda (telas da K4) ---------- */
.story.venda .sbody { gap: clamp(10px, 1.8vh, 16px); }
.story.venda .title { font-size: clamp(24px, 6.8vw, 30px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.v-dor p { font-size: clamp(14.5px, 4vw, 16px); line-height: 1.45; color: #2d3d36; }
.v-stat { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 14px; border-radius: 16px; background: #fff4f4; border: 1px solid #fbd5d5; }
.v-stat b { font-size: clamp(34px, 10vw, 44px); font-weight: 900; letter-spacing: -.04em; color: #dc2626; line-height: 1; flex: none; }
.v-stat span { font-size: 13.5px; line-height: 1.35; color: #3b2a2a; }
.v-dor small { display: block; margin-top: 5px; font-size: 10.5px; color: #8a9a93; }
.v-k4 { display: flex; gap: 12px; align-items: flex-start; font-size: clamp(14.5px, 4vw, 16px); line-height: 1.45; color: #2d3d36; }
.v-k4 img { width: 44px; height: auto; flex: none; margin-top: 2px; }
.v-k4 b { color: #0d1f18; }
.v-gancho { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; color: #fff;
  background: linear-gradient(120deg, #0f9d6a, #19c48a); box-shadow: 0 12px 30px rgba(16,163,110,.30); position: relative; overflow: hidden; }
.v-gancho::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 48%, transparent 60%); background-size: 260% 100%; animation: vbrilho 3.2s linear infinite; }
@keyframes vbrilho { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.v-gancho span { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.2); flex: none; }
.v-gancho span svg { width: 18px; height: 18px; }
.v-gancho p { font-size: 14.5px; line-height: 1.4; font-weight: 600; }
.v-gancho b { font-weight: 800; }
/* Plano Empresarial */
.pl-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: -4px; }
.pl-stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }
.pl-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, #f97316, #ef4444); padding: 4px 9px; border-radius: 99px; }
.pl-redes { width: 100%; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #5c6d66; }
.pl-redes svg { width: 15px; height: 15px; }
.pl-lista { background: #fff; border: 1px solid rgba(13,40,30,.10); border-radius: 16px; box-shadow: 0 8px 24px rgba(10,40,30,.06); padding: 4px 14px; }
.pl-lista div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: clamp(6px, 1vh, 9px) 0; border-bottom: 1px solid rgba(13,40,30,.07); font-size: 14px; font-weight: 600; color: #1b2d26; }
.pl-lista div:last-child { border-bottom: 0; }
.pl-lista em { font-style: normal; font-size: 12px; font-weight: 800; color: #10a36e; background: rgba(16,163,110,.10); padding: 2px 9px; border-radius: 99px; }
.pl-lista i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(16,163,110,.12); color: #10a36e; }
.pl-lista i svg { width: 13px; height: 13px; }
.pl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 6px; }
.pl-grid div { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; font-size: 10px; font-weight: 700; line-height: 1.15; color: #1b2d26; }
.pl-grid span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid rgba(16,163,110,.3); color: #10a36e; box-shadow: 0 4px 12px rgba(10,40,30,.06); }
.pl-grid svg { width: 19px; height: 19px; }
.story.plano.tight .pl-lista div { padding: 4px 0; font-size: 13px; }
.story.venda.tight .v-gancho { padding: 10px 12px; }
.story.venda .sbody > * { flex-shrink: 0; }
.story.plano .sbody { gap: 9px; }
.story.plano .pl-lista div { padding: 5px 0; font-size: 13.5px; }
.story.plano .v-gancho { padding: 10px 12px; }
.story.plano .v-gancho p { font-size: 13px; }
.story.plano .v-gancho span { width: 28px; height: 28px; }
/* telas de venda centralizadas */
.story.venda .sbody { text-align: center; align-items: stretch; }
.story.venda .kicker { align-self: center; }
.story.venda .title { text-align: center; }
.story.venda .v-stat { flex-direction: column; gap: 4px; text-align: center; }
.story.venda .v-k4 { flex-direction: column; align-items: center; gap: 8px; }
.story.venda .v-k4 img { margin-top: 0; width: 52px; }
.story.venda .v-gancho { flex-direction: column; text-align: center; gap: 8px; }
.story.venda .pl-top { justify-content: center; }
.story.venda .pl-redes { justify-content: center; }
.story.venda .pl-lista { text-align: left; }

/* ---------- Transição para a venda: funil se montando e clarão branco ---------- */
.screen.trans { background: radial-gradient(90% 60% at 50% 40%, #0d2a5c, #04060c 70%); overflow: hidden; }
.tr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; }
.tr-txt { text-align: center; opacity: 0; animation: trIn .6s ease .1s forwards; }
.tr-txt span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #8ff0c8; }
.tr-txt b { display: block; margin-top: 8px; font-size: clamp(20px, 5.6vw, 24px); font-weight: 800; letter-spacing: -.02em; color: #fff; padding: 0 24px; }
@keyframes trIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tr-funil { position: relative; width: 260px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 54px; }
.cam { --w: calc(260px - var(--i) * 52px); width: var(--w); height: 46px; display: grid; place-items: center; opacity: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 26px 100%);
  background: linear-gradient(90deg, color-mix(in srgb, #3fd4ff calc(100% - var(--i) * 30%), #34d399), color-mix(in srgb, #2f7bff calc(100% - var(--i) * 30%), #10a36e));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
  animation: camCai .55s cubic-bezier(.2,1.4,.4,1) forwards; animation-delay: calc(.35s + var(--i) * .2s); }
.cam span { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
@keyframes camCai { from { opacity: 0; transform: translateY(-70px) scaleX(.85); } to { opacity: 1; transform: none; } }
.tr-gotas { position: absolute; left: 50%; top: -30px; bottom: 54px; width: 0; pointer-events: none; }
.tr-gotas i { position: absolute; left: var(--x); top: 0; width: 7px; height: 7px; border-radius: 50%; background: #eafcff; box-shadow: 0 0 10px #3fd4ff; opacity: 0;
  animation: gota 1.1s cubic-bezier(.5,0,.8,1) forwards; animation-delay: var(--d); }
@keyframes gota { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(var(--x) * -1), 230px) scale(.6); } }
.tr-fim { position: absolute; bottom: 0; left: 50%; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: #10a36e; box-shadow: 0 0 0 0 rgba(52,211,153,.6); opacity: 0; transform: scale(.4); animation: fimPop .5s cubic-bezier(.2,1.6,.4,1) 2.15s forwards, fimPulso 1s ease 2.6s; }
.tr-fim svg { width: 22px; height: 22px; }
@keyframes fimPop { to { opacity: 1; transform: none; } }
@keyframes fimPulso { from { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } to { box-shadow: 0 0 0 26px rgba(52,211,153,0); } }
.tr-claro { position: absolute; left: 50%; top: 58%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #f6fbf8; transform: scale(0);
  animation: claro .75s cubic-bezier(.7,0,.3,1) 2.55s forwards; }
@keyframes claro { to { transform: scale(48); } }
@media (prefers-reduced-motion: reduce) { .cam, .tr-txt, .tr-fim { animation-duration: .01s; animation-delay: 0s; } .tr-gotas { display: none; } }
/* venda: só título e ícones no centro; textos à esquerda; ícone à esquerda e texto à direita; espaço distribuído na tela */
.story.venda .sbody { text-align: left; justify-content: space-evenly; gap: 10px; }
.story.venda .kicker, .story.venda .title { text-align: center; align-self: center; }
.story.venda .title { margin-bottom: 2px; }
.story.venda .v-dor p { text-align: left; }
.story.venda .v-stat { flex-direction: row; gap: 14px; text-align: left; align-items: center; }
.story.venda .v-stat b { min-width: 92px; text-align: center; }
.story.venda .v-dor small { text-align: right; }
.story.venda .v-k4 { flex-direction: row; align-items: flex-start; gap: 14px; text-align: left; }
.story.venda .v-k4 img { width: 48px; margin-top: 3px; }
.story.venda .v-gancho { flex-direction: row; text-align: left; gap: 12px; }
.story.venda .pl-top { justify-content: center; }
.story.venda.plano .sbody { justify-content: space-between; }
.story.venda .pl-pros .sol-lbl { text-align: center; }
.story.venda .sbody { padding-bottom: 8px; }

/* ---------- Ícones animados ---------- */
.ai { width: 100%; height: 100%; overflow: visible; }
.ai .ai-ln { fill: none; stroke: #10a36e; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ai .ai-fill { fill: #10a36e; }
/* designer: a caneta desenha a curva */
.ai-design .ai-trace { fill: none; stroke: #10a36e; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: aiTrace 2.6s ease-in-out infinite; }
.ai-design .ai-pen { offset-path: path('M8 36 C 14 12, 26 42, 40 12'); offset-rotate: 0deg; animation: aiPen 2.6s ease-in-out infinite; }
@keyframes aiTrace { 0% { stroke-dashoffset: 60; } 60%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -60; } }
@keyframes aiPen { 0% { offset-distance: 0%; } 60%, 100% { offset-distance: 100%; } }
/* social media: curtida pulando do celular */
.ai-social .ai-heart { fill: #ef4444; transform-box: fill-box; transform-origin: center; animation: aiHeart 2s ease-in-out infinite; }
.ai-social .ai-dot { fill: #f59e0b; opacity: 0; animation: aiDot 2s ease-out infinite; } .ai-social .d2 { animation-delay: .3s; fill: #3fa9f5; }
@keyframes aiHeart { 0% { transform: scale(0); opacity: 0; } 20% { transform: scale(1.25); opacity: 1; } 35% { transform: scale(1); } 70% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-10px) scale(.8); opacity: 0; } }
@keyframes aiDot { 0%, 25% { opacity: 0; transform: translateY(4px); } 45% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }
/* videomaker: gravando */
.ai-video .ai-rec { fill: #ef4444; animation: aiRec 1.2s steps(1) infinite; }
.ai-video .ai-play { fill: #10a36e; transform-box: fill-box; transform-origin: center; animation: aiPlay 1.6s ease-in-out infinite; }
@keyframes aiRec { 50% { opacity: .15; } }
@keyframes aiPlay { 50% { transform: scale(1.18); } }
/* estrategista: flecha no alvo */
.ai-alvo .ai-arrow { animation: aiFlecha 2.4s cubic-bezier(.3,.7,.3,1) infinite; }
.ai-alvo .ai-tg { transform-box: fill-box; transform-origin: center; animation: aiAlvo 2.4s ease infinite; }
@keyframes aiFlecha { 0% { transform: translate(16px,-16px); opacity: 0; } 15% { opacity: 1; } 35%, 85% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
@keyframes aiAlvo { 0%, 33% { transform: none; } 38% { transform: scale(1.08); } 44% { transform: none; } }
/* gestor de tráfego: barras subindo */
.ai-traf .ai-b { fill: #10a36e; transform-box: fill-box; transform-origin: bottom; animation: aiBarra 2.4s ease-in-out infinite; }
.ai-traf .b2 { animation-delay: .15s; } .ai-traf .b3 { animation-delay: .3s; }
.ai-traf .ai-up, .ai-traf .ai-up-h { fill: none; stroke: #f59e0b; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: aiSobe 2.4s ease-in-out infinite; }
@keyframes aiBarra { 0% { transform: scaleY(.2); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.2); } }
@keyframes aiSobe { 0%, 30% { stroke-dashoffset: 50; } 65%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 50; } }
/* site: página carregando e clique */
.ai-site .ai-l { fill: #10a36e; opacity: .85; transform-box: fill-box; transform-origin: left; animation: aiLinha 2.6s ease infinite; }
.ai-site .l2 { animation-delay: .2s; opacity: .45; } .ai-site .l3 { animation-delay: .4s; opacity: .45; }
.ai-site .ai-cur { fill: #0d1f18; animation: aiCursor 2.6s ease infinite; }
@keyframes aiLinha { 0% { transform: scaleX(0); } 35%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes aiCursor { 0%, 40% { transform: translate(6px, 8px); } 60% { transform: none; } 66% { transform: scale(.85); } 72%, 100% { transform: none; } }
/* google: pino quicando no mapa */
.ai-pin .ai-pg { animation: aiPino 1.8s cubic-bezier(.3,0,.3,1) infinite; }
.ai-pin .ai-sh { fill: rgba(13,31,24,.18); transform-box: fill-box; transform-origin: center; animation: aiSombra 1.8s cubic-bezier(.3,0,.3,1) infinite; }
.ai-pin .ai-st { fill: #f59e0b; transform-box: fill-box; transform-origin: center; animation: aiEstrela 1.8s ease infinite; } .ai-pin .s2 { animation-delay: .5s; }
@keyframes aiPino { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-7px); } }
@keyframes aiSombra { 0%, 100% { transform: scale(1); } 45% { transform: scale(.65); opacity: .6; } }
@keyframes aiEstrela { 0%, 100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.15) rotate(20deg); opacity: 1; } }
/* anúncios: megafone com ondas */
.ai-mega .ai-w { fill: none; stroke: #f59e0b; stroke-width: 3; stroke-linecap: round; opacity: 0; animation: aiOnda 1.8s ease-out infinite; }
.ai-mega .w2 { animation-delay: .25s; } .ai-mega .w3 { animation-delay: .5s; }
@keyframes aiOnda { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
/* plano: foguete decolando */
.ai-rocket .ai-rk { animation: aiFoguete 2s ease-in-out infinite; }
.ai-rocket .ai-fl { transform-box: fill-box; transform-origin: top; animation: aiChama .25s ease-in-out infinite alternate; }
@keyframes aiFoguete { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-4px); } }
@keyframes aiChama { from { transform: scaleY(.75); } to { transform: scaleY(1.15); } }
@media (prefers-reduced-motion: reduce) { .ai * { animation: none !important; } .ai-design .ai-trace, .ai-traf .ai-up, .ai-traf .ai-up-h { stroke-dashoffset: 0; } .ai-social .ai-heart { opacity: 1; } }

/* ícone grande no topo das páginas de venda */
.v-hero { align-self: center; width: clamp(64px, 18vw, 78px); height: clamp(64px, 18vw, 78px); padding: 12px; border-radius: 24px; background: #fff;
  border: 1px solid rgba(16,163,110,.22); box-shadow: 0 14px 34px rgba(10,40,30,.10), inset 0 0 0 6px rgba(16,163,110,.05); }
.story.venda.tight .v-hero { width: 54px; height: 54px; padding: 9px; border-radius: 18px; }
/* profissionais com ícones animados */
.story.venda .pl-grid span { width: 50px; height: 50px; padding: 8px; border-radius: 15px; background: #fff; border: 1px solid rgba(16,163,110,.25); box-shadow: 0 6px 16px rgba(10,40,30,.08); }
.story.venda .pl-grid span svg { width: 100%; height: 100%; }
/* recomendado para o perfil (anúncios) */
.v-rec { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(16,163,110,.25); box-shadow: 0 6px 18px rgba(10,40,30,.06); }
.v-rec .klogo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #f4f7f6; flex: none; }
.v-rec .klogo svg { width: 24px; height: 24px; }
.v-rec small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5c6d66; }
.v-rec b { display: block; font-size: 17px; font-weight: 800; color: #0d1f18; }

/* ícone do card "você já investe em tráfego pago": a regra dos textos do card não pode esticar o ícone */
.ok-ads .oa-ic { display: grid; place-items: center; width: 34px; height: 34px; margin: 0; font-size: 0; line-height: 0; }
.ok-ads .oa-ic svg { width: 16px; height: 16px; display: block; }
/* na tela de Meta Ads, a explicação de cada item aparece também no celular */
.mostra-ev .row .lbl span { display: block !important; white-space: normal; }

/* ---------- Celulares pequenos: compacta e, se ainda não couber, rola por dentro (nunca por baixo dos botões) ---------- */
.story .sbody { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.story .sbody::-webkit-scrollbar { display: none; }
.story.tighter .ads-facts .af small { display: none; }
.story.tighter .ads-facts .af span { font-size: 11px; line-height: 1.3; }
.story.tighter .ads-facts .af b { font-size: 22px; }
.story.tighter .ok-ads span { font-size: 11.5px; }
.story.tighter .case .ctx span { display: none; }
.story.tighter .case { padding-top: 7px; padding-bottom: 7px; }
.story.venda.tighter .v-hero { display: none; }
.story.venda.tighter .title { font-size: clamp(20px, 5.8vw, 23px); }
.story.venda.tighter .sbody { gap: 8px; justify-content: flex-start; }
.story.venda.tighter .v-dor p, .story.venda.tighter .v-k4 { font-size: 13.5px; line-height: 1.4; }
.story.venda.tighter .v-dor small { display: none; }
.story.venda.tighter .v-stat { padding: 8px 12px; }
.story.venda.tighter .v-stat b { font-size: 30px; min-width: 76px; }
.story.venda.tighter .v-stat span { font-size: 12.5px; }
.story.venda.tighter .v-k4 img { width: 38px; }
.story.venda.tighter .v-gancho { padding: 9px 12px; }
.story.venda.tighter .v-gancho p { font-size: 12.5px; }
.story.venda.tighter .v-gancho span { width: 26px; height: 26px; }
.story.venda.tighter .v-rec { padding: 7px 12px; }
.story.venda.tighter .v-rec b { font-size: 15px; }
.story.plano.tighter .pl-redes { display: none; }
.story.plano.tighter .pl-lista div { padding: 3px 0; font-size: 12.5px; }
.story.plano.tighter .pl-lista i { width: 18px; height: 18px; }
.story.plano.tighter .pl-grid span { width: 40px; height: 40px; padding: 6px; }
.story.plano.tighter .pl-grid div { font-size: 9px; }
/* último nível (telas bem baixas): o balão de fala sai para o conteúdo caber */
.story.tightest .says { display: none; }
.story.tightest .gap-meter { padding: 8px 12px; }
/* Meta Ads com anúncio ativo em tela bem baixa: ficam a lista e o parabéns; os três dados saem */
.story.tightest .ok-ads ~ .ads-facts { display: none; }

/* QA 21/11: linha do padrão dos líderes não vaza para o lado */
.case .ctx { min-width: 0; flex: 1 1 auto; }
.case .cst, .case .cic { flex-shrink: 0; }

/* ===== Parte grátis termina no Instagram; página do Check-up Completo (21/11) ===== */
.bars.mini .bar { grid-template-columns: 1fr 30px; row-gap: 5px; font-size: 12.5px; }
.bars.mini .bar .t { grid-column: 1 / -1; grid-row: 2; }
.story.completo .title { font-size: clamp(22px, 6.4vw, 28px); }
.cp-lista { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 12px; box-shadow: 0 8px 24px rgba(10,40,30,.07); }
.cp-it { display: flex; align-items: center; gap: 10px; padding: clamp(6px, 1.05vh, 9px) 0; border-bottom: 1px solid var(--line); animation: cpEntra .5s both; animation-delay: calc(.35s + var(--n, 0) * .07s); }
.cp-it:last-child { border-bottom: 0; }
.cp-it > div { flex: 1; min-width: 0; }
.cp-it b { display: block; font-size: 13.5px; line-height: 1.2; color: var(--text); }
.cp-it small { display: block; font-size: 11.5px; color: var(--mute); line-height: 1.3; margin-top: 1px; }
.cp-ic { width: 30px; height: 30px; border-radius: 9px; background: #eef3f1; color: #6d7f78; display: grid; place-items: center; flex: none; }
.cp-ic svg { width: 16px; height: 16px; }
.cp-it.feito .cp-ic { background: rgba(16,163,110,.12); color: var(--good); }
.cp-gratis { font-style: normal; font-size: 11px; font-weight: 800; color: var(--good); background: rgba(16,163,110,.12); padding: 4px 8px; border-radius: 99px; display: inline-flex; align-items: center; gap: 4px; flex: none; }
.cp-gratis svg { width: 11px; height: 11px; }
.cp-lock { color: #a3b2ac; flex: none; display: grid; }
.cp-lock svg { width: 16px; height: 16px; }
.cp-fato { font-size: 12.5px; line-height: 1.45; color: var(--text); background: #f2f7f5; border-left: 3px solid var(--good); border-radius: 10px; padding: 9px 12px; }
.cp-fato b { color: var(--good); font-size: 15px; }
.cp-fato .src { display: block; margin-top: 3px; }
.cp-preco { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.cp-preco > div { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.cp-preco b { font-size: clamp(30px, 9vw, 38px); font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1; }
.cp-preco span { font-size: 12px; color: var(--mute); }
.cp-preco small { font-size: 11.5px; color: var(--good); font-weight: 600; }
.cp-falar { display: block; text-align: center; font-size: 12.5px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
@keyframes cpEntra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cp-lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding: 8px 0 6px; }
.cp-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-bottom: 10px; }
.cp-ch { display: flex; align-items: center; gap: 7px; background: #f4f7f6; border-radius: 11px; padding: 7px 8px; animation: cpEntra .5s both; animation-delay: calc(.35s + var(--n, 0) * .06s); min-width: 0; }
.cp-ch b { flex: 1; min-width: 0; font-size: 12px; line-height: 1.2; color: var(--text); }
.cp-ch .cp-ic { width: 24px; height: 24px; border-radius: 7px; background: #fff; }
.cp-ch .cp-ic svg { width: 13px; height: 13px; }
.cp-ch .cp-lock svg { width: 12px; height: 12px; }
.story.completo.tight .cp-preco small { font-size: 11px; }
.story.completo.tighter .cp-it.feito small, .story.completo.tighter .cp-lbl { display: none; }
.story.completo.tightest .cp-fato .src { display: none; }
.story.completo.tighter .title { font-size: 21px; }
.story.completo.tighter .cp-ch { padding: 5px 7px; }
.story.completo.tighter .cp-grade { gap: 5px; padding-bottom: 8px; }
.story.completo.tightest .cp-preco small { display: none; }
.story.completo.tightest .cp-fato { font-size: 11.5px; padding: 7px 10px; }
.story.completo.tightest .cp-it.feito { padding: 5px 0; }

.cp-pq { font-size: 12px; line-height: 1.4; color: var(--mute); margin: 0 0 2px; }
.story.completo.tight .cp-fato .src { display: none; }
.story.completo.tighter .cp-fato { display: none; }
.story.completo.tightest .cp-pq { font-size: 11.5px; }
.cp-erro { display:block; color:#e5484d; font-size:12px; font-weight:600; margin-top:4px; }
