/* Telas animadas dos módulos da Jornada ConnVC (prefixo hm-). Usa o motor e os tokens de frames.css */
.hm-h { display: block; font: 700 10px var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--hf-mut); margin: 4px 0 6px; }
.hm-kp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hm-kp div { background: var(--hf-panel); border-radius: 10px; padding: 8px 10px; }
.hm-kp small { display: block; color: var(--hf-mut); font-size: 10px; }
.hm-kp b { font: 800 16px var(--font-head); color: #fff; white-space: nowrap; }
.hm-toast2 { position: absolute; right: 12px; bottom: 12px; background: var(--grad); color: #fff; font: 700 11px var(--font-head); padding: 8px 12px; border-radius: 10px; display: flex; gap: 6px; align-items: center; box-shadow: 0 10px 24px -8px rgba(255,97,80,.6); z-index: 3; }
.hm-toast2.wa { background: #1f9d55; bottom: 12px; }
.hm-toast2 + .hm-toast2 { bottom: 12px; }
.hf .hm-toast2.on:not(.wa) { animation: hmFade 1.8s forwards; }
@keyframes hmFade { 0%, 75% { opacity: 1; } 100% { opacity: 0; } }

/* ---- celular ---- */
.hf.hm-phone { max-width: 290px; margin-inline: auto; border-radius: 36px; border: 7px solid #0a1326; background: #f4f6fb; color: #0b1f3f; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.1); }
.hm-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90px; height: 18px; background: #0a1326; border-radius: 0 0 14px 14px; z-index: 2; }
.hm-screen { min-height: 470px; display: flex; flex-direction: column; }
.hm-top { background: var(--grad); color: #fff; padding: 30px 16px 14px; }
.hm-top b { display: block; font: 800 14px var(--font-head); }
.hm-top small { opacity: .9; font-size: 11px; }
.hm-pad { padding: 12px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.hm-box { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: 0 6px 16px -10px rgba(11,31,63,.4); font-size: 12px; }
.hm-box b { display: flex; align-items: center; gap: 6px; font: 700 12px var(--font-head); margin-bottom: 4px; color: #0b1f3f; }
.hm-box p { display: flex; justify-content: space-between; gap: 8px; margin: 3px 0; color: #55627c; }
.hm-box p span { color: #0b1f3f; font-weight: 700; }
.hm-box p.tot { border-top: 1px dashed #d6dcea; padding-top: 5px; margin-top: 5px; }
.hm-box p span.g { color: #1a9b50; }
.hm-box p span.code { letter-spacing: .25em; background: #fff1ee; color: #ff6150; border-radius: 6px; padding: 1px 6px; }
.hm-box.mini { background: #e8fbef; box-shadow: none; }
.hm-box svg, .hm-pad svg { width: 14px; height: 14px; }
.hm-prog { background: #e3e8f2; border-radius: 99px; height: 8px; position: relative; }
.hm-prog i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad); transition: width 1.6s var(--ease) .4s; }
.hf.run .hm-prog i { width: var(--w); }
.hm-prog small { position: absolute; top: 12px; left: 0; color: #55627c; font-size: 10.5px; white-space: nowrap; }
.hm-prog { margin-bottom: 16px; }
.hm-prog.inl { margin: 4px 0 8px; }
.hm-two { display: grid; position: relative; grid-template-columns: 1fr 1fr; gap: 8px; }
.hm-two.single { grid-template-columns: 1fr; }
.hm-two .ok-btn, .hm-two .no-btn { text-align: center; padding: 9px; border-radius: 10px; font: 700 12px var(--font-head); }
.hm-two .ok-btn { background: #1f9d55; color: #fff; }
.hm-two .no-btn { background: #fff; color: #ec4b3a; box-shadow: inset 0 0 0 1.5px #f4c6c0; }
.hm-two .hm-done { position: absolute; inset: 0; background: #e8fbef; color: #14783f; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; font: 700 12px var(--font-head); }
.hm-days, .hm-slots { display: flex; gap: 6px; flex-wrap: wrap; }
.hm-days span, .hm-slots span { padding: 7px 10px; border-radius: 9px; background: #fff; font: 600 11.5px var(--font-head); box-shadow: inset 0 0 0 1px #dde3f0; }
.hm-days span.sel, .hm-slots span.pick { background: #ff6150; color: #fff; box-shadow: none; }
.hm-slots span.off { color: #b1bacd; text-decoration: line-through; background: #f0f2f8; }
.hm-slots span { flex: 1 0 28%; text-align: center; }
.hm-slots span.pick { animation: hmTap 7.5s infinite; }
@keyframes hmTap { 0%, 38% { background: #fff; color: #0b1f3f; box-shadow: inset 0 0 0 1px #dde3f0; } 42%, 100% { background: #ff6150; color: #fff; box-shadow: none; } }

/* ---- Serviços ---- */
.hm-os { display: flex; flex: 1; position: relative; min-width: 0; }
.hm-os-list { width: 34%; flex: none; border-right: 1px solid var(--hf-line); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.hm-os-row { background: var(--hf-panel); border-radius: 10px; padding: 8px; display: grid; gap: 2px; }
.hm-os-row.act { box-shadow: inset 0 0 0 1px rgba(255,97,80,.5); }
.hm-os-row span { font: 700 11px var(--font-head); color: #fff; }
.hm-os-row small { color: var(--hf-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st { font-style: normal; font: 700 9.5px var(--font-head); padding: 2px 6px; border-radius: 6px; background: rgba(255,138,31,.18); color: #ffb26b; justify-self: start; }
.st.ok { background: rgba(37,211,102,.16); color: #5fe19a; }
.st.wait { background: rgba(139,92,246,.2); color: #cbb5ff; }
.hm-os-main { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hm-steps { display: flex; gap: 4px; justify-content: space-between; }
.hm-steps span { flex: 1; text-align: center; font: 600 10px var(--font-head); color: var(--hf-mut); position: relative; }
.hm-steps i { display: grid; place-items: center; width: 22px; height: 22px; margin: 0 auto 4px; border-radius: 50%; background: linear-gradient(135deg, #ff6150, #ff8a1f); color: #fff; font: 800 10px var(--font-head); font-style: normal; }
.hm-card2 { background: var(--hf-panel); border-radius: 10px; padding: 9px 10px; border-left: 3px solid #ff6150; }
.hm-card2 b { display: block; color: #fff; font: 700 12px var(--font-head); }
.hm-card2 small { color: var(--hf-mut); }
.hm-tab { width: 100%; border-collapse: collapse; background: var(--hf-panel); border-radius: 10px; overflow: hidden; }
.hm-tab td { padding: 7px 10px; border-bottom: 1px solid var(--hf-line); }
.hm-tab td:last-child { text-align: right; color: #fff; font-weight: 700; }
.hm-tab tr.tot td { background: rgba(255,97,80,.12); color: #fff; font: 800 12px var(--font-head); }
.hm-actions .btn1 { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); border-radius: 8px; padding: 6px 10px; font: 700 10.5px var(--font-head); }

/* ---- Reservas ---- */
.hm-res { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; position: relative; min-width: 0; }
.hm-grid { display: grid; grid-template-columns: 38px repeat(3, 1fr); grid-template-rows: 22px repeat(4, 38px); gap: 4px; flex: 1; }
.hm-grid .hd { font: 700 10px var(--font-head); color: var(--hf-mut); text-align: center; align-self: center; }
.hm-grid .hr { font: 600 10px var(--font-head); color: var(--hf-mut); align-self: start; padding-top: 4px; }
.hm-bk { border-radius: 8px; padding: 6px 7px; background: rgba(255,255,255,.07); border-left: 3px solid #5b8def; font-size: 10.5px; display: flex; }
.hm-bk b { font: 600 10.5px var(--font-head); color: #fff; }
.hm-bk.grp { border-left-color: #8b5cf6; background: rgba(139,92,246,.15); }
.hm-bk.new { border-left-color: #25d366; background: rgba(37,211,102,.2); box-shadow: 0 0 0 1.5px #25d366; }
.hm-bk.free { background: transparent; border: 1px dashed rgba(255,255,255,.16); }
.hm-bk.free b { color: var(--hf-mut); font-weight: 500; }

/* ---- Link na bio ---- */
.hm-bio { flex: 1; display: flex; gap: 12px; padding: 12px; position: relative; min-width: 0; align-items: stretch; }
.hm-bio-phone { width: 42%; flex: none; border-radius: 26px; border: 6px solid #0a1326; background: #fff7ee; overflow: hidden; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.hm-bio-phone.big { width: 46%; }
.hm-bio-screen { height: 100%; min-height: 300px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px; background: linear-gradient(180deg, #fff1de, #ffd9b3); color: #3b2410; }
.hm-bio-screen .ph { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #ff6150, #ffc24a); box-shadow: 0 0 0 3px #fff; }
.hm-bio-screen b { font: 800 13px var(--font-head); }
.hm-bio-screen small { font-size: 10.5px; opacity: .75; margin-top: -4px; }
.hm-bbtn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 8px; border-radius: 99px; background: #fff; color: #3b2410; font: 700 11px var(--font-head); box-shadow: 0 4px 10px -6px rgba(0,0,0,.35); }
.hm-bbtn svg { width: 13px; height: 13px; }
.hm-bbtn.wa { background: #25d366; color: #fff; }
.hf .hm-bbtn.tap.on { animation: hmPress 1.6s 1.8s 1; }
@keyframes hmPress { 40% { transform: scale(.94); box-shadow: 0 0 0 8px rgba(37,211,102,.35); } 100% { transform: none; } }
.hm-bio-m { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hm-bars { background: var(--hf-panel); border-radius: 10px; padding: 10px; }
.hm-bars small { color: var(--hf-mut); font-size: 10px; display: block; margin-bottom: 4px; }
.hm-bars div { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 6px; margin: 9px 0; font-size: 10.5px; }
.hm-bars i { height: 9px; border-radius: 9px; background: var(--c); width: 0; transition: width 1.4s var(--ease); }
.hf.run .hm-bars i { width: var(--w); }
.hm-bio-m .hm-toast2 { position: static; align-self: flex-start; }
.hm-ed { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hm-sw { display: flex; gap: 8px; }
.hm-sw i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255,255,255,.2); animation: hmSw 8s infinite; }
.hm-sw i:nth-child(4) { animation-delay: 0s; }
@keyframes hmSw { 0%, 100% { box-shadow: 0 0 0 2px rgba(255,255,255,.2); } 45%, 60% { box-shadow: 0 0 0 3px #ff6150; } }
.hm-field { display: flex; justify-content: space-between; align-items: center; background: var(--hf-panel); border-radius: 9px; padding: 8px 10px; font: 600 11px var(--font-head); color: #fff; }
.hm-field span { display: flex; gap: 6px; align-items: center; }
.tg { width: 26px; height: 14px; border-radius: 99px; background: #3a4767; position: relative; display: block; }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: transform .3s; }
.tg.on { background: #1f9d55; }
.tg.on::after { transform: translateX(12px); }
.hm-bio-screen.themed { animation: hmTheme 8s infinite; }
@keyframes hmTheme { 0%, 28% { background: linear-gradient(180deg, #fff1de, #ffd9b3); color: #3b2410; } 34%, 66% { background: linear-gradient(180deg, #f97316, #c2410c); color: #fff; } 72%, 100% { background: linear-gradient(180deg, #0e7490, #083344); color: #fff; } }

/* ---- Instagram ---- */
.hf.hm-ig { --ig: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); background: #000; color: #f5f5f5; }
.hm-ig-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #121212; border-bottom: 1px solid #262626; }
.hm-ig-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6150; }
.hm-ig-bar i:nth-child(2) { background: #ffc24a; } .hm-ig-bar i:nth-child(3) { background: #25d366; }
.hm-ig-bar span { margin-left: 8px; font: 600 12px var(--font-head); color: #a8a8a8; }
.hm-auto { margin-left: auto; display: flex; gap: 5px; align-items: center; font: 700 10px var(--font-head); background: var(--ig); color: #fff; padding: 4px 9px; border-radius: 99px; }
.hm-auto svg { width: 12px; height: 12px; }
.hm-ig-body { display: flex; min-height: 400px; }
.hm-post { flex: 1.15; padding: 12px; display: flex; flex-direction: column; gap: 7px; min-width: 0; border-right: 1px solid #262626; }
.hm-ph { display: flex; align-items: center; gap: 8px; }
.hm-ph b { font: 700 12px var(--font-head); display: block; line-height: 1.1; }
.hm-ph small { font-size: 10px; color: #a8a8a8; display: block; }
.ring { width: 34px; height: 34px; border-radius: 50%; background: var(--ig); display: grid; place-items: center; flex: none; }
.ring em { width: 29px; height: 29px; border-radius: 50%; background: #000; display: grid; place-items: center; font: 800 12px var(--font-head); font-style: normal; border: 2px solid #000; }
.hm-img { aspect-ratio: 1.45; border-radius: 4px; background: linear-gradient(135deg, #ee2a7b, #f9a03f); display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; text-align: center; }
.hm-img b { font: 900 30px var(--font-head); letter-spacing: -.02em; }
.hm-img small { font: 700 12px var(--font-head); background: #000; padding: 3px 10px; border-radius: 99px; margin-top: 4px; }
.hm-acts { display: flex; gap: 12px; align-items: center; }
.hm-acts svg { width: 22px; height: 22px; }
.hm-acts svg:first-child { color: #ff3040; animation: hmHeart 9s infinite; }
@keyframes hmHeart { 0%, 5% { fill: transparent; } 8%, 100% { fill: #ff3040; } }
.hm-acts .sv { margin-left: auto; }
.hm-lk, .hm-cap { margin: 0; font-size: 11.5px; line-height: 1.35; }
.hm-cm { display: flex; gap: 7px; align-items: flex-start; }
.hm-cm p { margin: 0; font-size: 11.5px; line-height: 1.35; }
.hm-cm em { display: inline-block; font: 700 9px var(--font-head); font-style: normal; background: #262626; color: #a8a8a8; padding: 1px 6px; border-radius: 5px; margin-left: 4px; }
.hm-cm.reply { margin-left: 26px; }
.a { width: 22px; height: 22px; border-radius: 50%; background: var(--c, #555); color: #fff; display: grid; place-items: center; font: 800 10px var(--font-head); flex: none; }
.hm-dm { flex: 1; display: flex; flex-direction: column; min-width: 0; background: #0a0a0a; }
.hm-dm-top { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid #262626; }
.hm-dm-top b { font: 700 12px var(--font-head); display: block; }
.hm-dm-top small { color: #a8a8a8; font-size: 10px; }
.hm-dm-msgs { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.hm-dm-msgs p { margin: 0; max-width: 85%; padding: 8px 11px; border-radius: 18px; font-size: 11.5px; line-height: 1.35; }
.hm-dm-msgs .in { background: #262626; align-self: flex-start; border-bottom-left-radius: 5px; }
.hm-dm-msgs .out { background: linear-gradient(135deg, #7638fa, #d300c5); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.hm-dm-msgs .qr, .hm-dm-msgs .qrs span { align-self: flex-start; border: 1px solid #4a4a4a; color: #6cb3ff; border-radius: 99px; padding: 5px 12px; font: 600 11px var(--font-head); }
.qrs { display: flex; gap: 6px; flex-wrap: wrap; }
.hm-ig .hf-live { display: none; }
/* editor da automação */
.hm-ed-ig { display: flex; flex: 1; gap: 12px; padding: 12px; min-width: 0; }
.hm-col2 { flex: 1.3; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hm-col2.side { flex: .8; }
.hm-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--hf-panel); border-radius: 9px; padding: 8px 10px; }
.hm-line span { color: var(--hf-mut); font-size: 11px; }
.hm-line em { font: 700 10.5px var(--font-head); font-style: normal; color: #fff; text-align: right; }
.hm-line.is-tg em.on::before { content: "● "; color: #25d366; }
.hm-save { align-self: flex-start; margin-top: 4px; display: inline-flex; gap: 6px; align-items: center; background: var(--grad); color: #fff; font: 800 10.5px var(--font-head); padding: 8px 12px; border-radius: 9px; }
.hm-save svg { width: 13px; height: 13px; }
.hm-prev { background: #121212; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.hm-prev p { margin: 0; background: #262626; border-radius: 14px; padding: 7px 10px; font-size: 11px; color: #f5f5f5; }
.hm-prev span { align-self: flex-start; border: 1px solid #4a4a4a; color: #6cb3ff; border-radius: 99px; padding: 4px 10px; font: 600 10.5px var(--font-head); }
.hm-prev .hm-dm-top { padding: 0 0 6px; border: 0; color: #fff; }
.hm-stat { background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.4); border-radius: 10px; padding: 8px 10px; }
.hm-stat small { color: #6be39c; display: block; font-size: 10px; }
.hm-stat b { font: 800 14px var(--font-head); color: #fff; }
.hm-stat em { font-style: normal; color: var(--hf-mut); font-size: 10px; margin-left: 4px; }

/* ---- Mail Marketing ---- */
.hm-mail { flex: 1; display: flex; gap: 12px; padding: 12px; min-width: 0; }
.hm-email { flex: 1; background: #fff; color: #1b2438; border-radius: 10px; padding: 0 0 12px; display: flex; flex-direction: column; gap: 7px; align-items: stretch; overflow: hidden; min-width: 0; }
.hm-email .band { background: linear-gradient(135deg, #ff6150, #ff8a1f); color: #fff; text-align: center; padding: 16px 8px; }
.hm-email .band b { display: block; font: 900 24px var(--font-head); }
.hm-email .band small { font: 600 11px var(--font-head); opacity: .95; }
.hm-email p { margin: 4px 14px 0; font-size: 12px; }
.hm-email mark { background: #fff1ee; color: #ff6150; border-radius: 4px; padding: 0 4px; }
.hm-email i { display: block; height: 7px; border-radius: 7px; background: #e3e8f2; margin: 0 14px; }
.hm-email i.s { width: 55%; }
.hm-email .cta { align-self: center; background: #ff6150; color: #fff; font: 700 11px var(--font-head); padding: 8px 16px; border-radius: 99px; margin: 4px 0; }
.hm-email .ft { text-align: center; color: #8993a9; font-size: 9.5px; margin-top: 2px; }
.hm-send { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hm-bar-t { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.hm-bar-t small { color: var(--hf-mut); } .hm-bar-t b { font: 700 12px var(--font-head); color: #fff; }
.hm-bar { height: 9px; border-radius: 9px; background: rgba(255,255,255,.1); overflow: hidden; }
.hm-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff6150, #ff8a1f); transition: width 2.6s var(--ease) .7s; }
.hf.run .hm-bar i { width: 97%; }
.hm-ev { background: var(--hf-panel); border-radius: 9px; padding: 7px 10px; display: flex; align-items: center; gap: 8px; font-size: 11px; }
.hm-ev .d { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.hm-blocks { width: 28%; flex: none; display: flex; flex-direction: column; gap: 6px; }
.hm-blocks span { background: var(--hf-panel); border-radius: 9px; padding: 8px 10px; display: flex; align-items: center; gap: 7px; font: 600 11px var(--font-head); color: #fff; }
.hm-canvas { flex: 1; position: relative; min-width: 0; display: flex; }
.hm-canvas .hm-email { min-height: 300px; }
.hm-canvas .hm-toast2 { bottom: 6px; right: 6px; }

/* ---- Projetos ---- */
.hm-prj { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; position: relative; min-width: 0; }
.hm-banner { background: rgba(255,194,74,.12); color: #ffd98a; border-radius: 10px; padding: 8px 10px; display: flex; gap: 7px; align-items: center; font-size: 11px; }
.hm-banner svg { width: 14px; height: 14px; flex: none; }
.hm-board .hf-col h6 { font-size: 9.5px; }
.hm-prj .hm-toast2 { bottom: 10px; }

@media (max-width: 560px) {
  .hm-ig-body { flex-direction: column; }
  .hm-post { border-right: 0; border-bottom: 1px solid #262626; }
  .hm-bio, .hm-mail, .hm-ed-ig { flex-direction: column; }
  .hm-bio-phone, .hm-bio-phone.big, .hm-blocks { width: 100%; }
  .hm-bio-phone { max-width: 220px; margin-inline: auto; }
  .hm-os { flex-direction: column; }
  .hm-os-list { width: 100%; border-right: 0; border-bottom: 1px solid var(--hf-line); }
  .hm-blocks { flex-direction: row; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-slots span.pick, .hm-bio-screen.themed, .hm-acts svg:first-child, .hm-sw i { animation: none; }
}
.hf-live { white-space: nowrap; }
