/* ============================================================
   ROO3 | Mockups (css/mockups.css)
   Componentes visuais "de produto" pra dar credibilidade às
   páginas: navegador com resultado do Google, celular com
   anúncio de Instagram, dashboard de métricas, conversa de
   WhatsApp e cartão de resposta de IA. Classes prefixadas mk-.
   Funciona em fundo escuro (padrão do site) e claro.
   ============================================================ */

/* ---- seção que abriga mockups (com decoração parallax) ---- */
.mk-sec { position: relative; overflow: hidden; }
.mk-decor { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(60px); opacity: .5; will-change: transform; }
.mk-decor-a { width: 420px; height: 420px; top: -80px; right: -120px; background: radial-gradient(circle, rgba(163,255,71,.16), transparent 65%); }
.mk-decor-b { width: 360px; height: 360px; bottom: -120px; left: -140px; background: radial-gradient(circle, rgba(163,255,71,.1), transparent 65%); }

/* ---- composição lado a lado ---- */
.mk-duo { display: grid; grid-template-columns: minmax(240px, 320px) minmax(300px, 1fr); gap: 44px; align-items: center; justify-content: center; }
.mk-duo figure { margin: 0; }
.mk-caption { margin-top: 16px; text-align: center; font-size: .85rem; color: rgba(255,255,255,.55); }
.mk-caption b { color: #a3ff47; font-weight: 700; }
.mk-on-light .mk-caption { color: rgba(10,10,10,.6); }
.mk-on-light .mk-caption b { color: #4c9c0f; }

/* leve flutuação (desliga com reduced motion) */
@keyframes mk-float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
.mk-float { animation: mk-float 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .mk-float { animation: none; } }

/* ============================================================
   NAVEGADOR (janela de browser com conteúdo branco)
   ============================================================ */
.mk-browser { max-width: 560px; width: 100%; margin: 0 auto; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.09); background: #fff; }
.mk-on-light .mk-browser { box-shadow: 0 30px 70px rgba(15,30,10,.18), 0 0 0 1px rgba(10,10,10,.08); }
.mk-browser-bar { display: flex; align-items: center; gap: 10px; background: #1d1f23; padding: 10px 14px; }
.mk-browser-dots { display: flex; gap: 6px; flex: 0 0 auto; }
.mk-browser-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mk-browser-dots i:nth-child(1) { background: #ff5f57; }
.mk-browser-dots i:nth-child(2) { background: #febc2e; }
.mk-browser-dots i:nth-child(3) { background: #28c840; }
.mk-browser-url { flex: 1; background: #2b2e33; border-radius: 100px; color: #9aa0a6; font-size: .74rem; padding: 6px 14px; font-family: 'Inter', system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-browser-body { background: #fff; color: #202124; font-family: arial, 'Inter', sans-serif; text-align: left; }

/* ---- resultado de busca estilo Google ---- */
.mk-serp { padding: 18px 22px 22px; }
.mk-serp-logo { font-family: 'Product Sans', arial, sans-serif; font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.mk-serp-logo span:nth-child(1) { color: #4285f4; }
.mk-serp-logo span:nth-child(2) { color: #ea4335; }
.mk-serp-logo span:nth-child(3) { color: #fbbc05; }
.mk-serp-logo span:nth-child(4) { color: #4285f4; }
.mk-serp-logo span:nth-child(5) { color: #34a853; }
.mk-serp-logo span:nth-child(6) { color: #ea4335; }
.mk-serp-search { display: flex; align-items: center; gap: 10px; border: 1px solid #dfe1e5; border-radius: 100px; padding: 9px 16px; font-size: .88rem; color: #202124; box-shadow: 0 1px 6px rgba(32,33,36,.1); margin-bottom: 18px; }
.mk-serp-search svg { flex: 0 0 auto; }
.mk-serp-tag { font-size: .72rem; font-weight: 700; color: #202124; margin-bottom: 4px; }
.mk-serp-ad { padding: 10px 0 4px; }
.mk-serp-site { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.mk-serp-fav { width: 26px; height: 26px; border-radius: 50%; background: #e8f0fe; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #1a73e8; flex: 0 0 auto; }
.mk-serp-site small { display: block; font-size: .74rem; color: #202124; line-height: 1.3; }
.mk-serp-site small em { font-style: normal; color: #5f6368; }
.mk-serp-title { color: #1a0dab; font-size: 1.05rem; line-height: 1.3; margin: 2px 0 3px; font-weight: 400; }
.mk-serp-desc { font-size: .8rem; color: #4d5156; line-height: 1.5; }
.mk-serp-links { display: flex; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.mk-serp-links span { color: #1a0dab; font-size: .8rem; }
.mk-serp-divider { border: 0; border-top: 1px solid #ecedef; margin: 14px 0; }
.mk-serp-organic .mk-serp-title { font-size: .98rem; }
.mk-serp-you { display: inline-flex; align-items: center; gap: 6px; background: #e6f4ea; color: #137333; font-size: .7rem; font-weight: 700; border-radius: 100px; padding: 3px 10px; margin-top: 6px; }

/* ---- cartão de resposta de IA (pra AEO/GEO) ---- */
.mk-ai { padding: 18px 22px 22px; font-family: 'Inter', system-ui, sans-serif; }
.mk-ai-q { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.mk-ai-q .mk-ai-avatar { width: 28px; height: 28px; border-radius: 50%; background: #e5e7eb; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #374151; flex: 0 0 auto; }
.mk-ai-q p { margin: 0; background: #f3f4f6; border-radius: 14px; padding: 9px 14px; font-size: .85rem; color: #111827; }
.mk-ai-a { display: flex; gap: 10px; }
.mk-ai-a .mk-ai-avatar { width: 28px; height: 28px; border-radius: 50%; background: #0a0a0a; display: grid; place-items: center; flex: 0 0 auto; }
.mk-ai-a .mk-ai-avatar i { width: 12px; height: 12px; border-radius: 50%; background: #a3ff47; display: block; }
.mk-ai-body { font-size: .84rem; color: #111827; line-height: 1.6; }
.mk-ai-body p { margin: 0 0 8px; }
.mk-ai-cite { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #d1d5db; border-radius: 100px; padding: 4px 12px; font-size: .74rem; color: #374151; font-weight: 600; }
.mk-ai-cite i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: block; }

/* ============================================================
   CELULAR (frame de smartphone)
   ============================================================ */
.mk-phone { max-width: 300px; width: 100%; margin: 0 auto; border-radius: 42px; background: #17181c; padding: 12px; box-shadow: 0 34px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1), inset 0 0 0 2px #000; position: relative; }
.mk-on-light .mk-phone { box-shadow: 0 34px 80px rgba(15,30,10,.22), 0 0 0 1px rgba(10,10,10,.12), inset 0 0 0 2px #000; }
.mk-phone::before { content: ''; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 86px; height: 22px; background: #000; border-radius: 100px; z-index: 3; }
.mk-phone-screen { border-radius: 32px; overflow: hidden; background: #fff; }
.mk-phone-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px 6px; font-size: .68rem; font-weight: 700; color: #111; background: #fff; font-family: 'Inter', system-ui, sans-serif; }
.mk-phone-status .sinal { display: inline-flex; gap: 3px; align-items: flex-end; }
.mk-phone-status .sinal i { width: 3px; background: #111; border-radius: 1px; display: block; }
.mk-phone-status .sinal i:nth-child(1) { height: 4px; }
.mk-phone-status .sinal i:nth-child(2) { height: 6px; }
.mk-phone-status .sinal i:nth-child(3) { height: 8px; }
.mk-phone-status .sinal i:nth-child(4) { height: 10px; }

/* ---- post/anúncio estilo Instagram ---- */
.mk-ig { background: #fff; font-family: 'Inter', system-ui, sans-serif; text-align: left; }
.mk-ig-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.mk-ig-avatar { width: 34px; height: 34px; border-radius: 50%; padding: 2px; background: conic-gradient(from 210deg, #f9ce34, #ee2a7b, #6228d7, #f9ce34); flex: 0 0 auto; }
.mk-ig-avatar i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #0a0a0a; color: #a3ff47; font-style: normal; font-weight: 800; font-size: .8rem; border: 2px solid #fff; }
.mk-ig-brand { flex: 1; line-height: 1.25; }
.mk-ig-brand b { display: block; font-size: .8rem; color: #111; }
.mk-ig-brand small { font-size: .68rem; color: #737373; }
.mk-ig-dots { color: #111; font-weight: 800; letter-spacing: 1px; }
.mk-ig-media { aspect-ratio: 1 / 1; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; overflow: hidden; background:
  radial-gradient(circle at 78% 18%, rgba(163,255,71,.5), transparent 42%),
  radial-gradient(circle at 15% 85%, rgba(163,255,71,.28), transparent 46%),
  linear-gradient(150deg, #101010 0%, #1c2413 55%, #0f130a 100%); }
.mk-ig-media::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(163,255,71,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(163,255,71,.07) 1px, transparent 1px); background-size: 26px 26px; }
.mk-ig-media-kicker { position: relative; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #a3ff47; margin-bottom: 6px; }
.mk-ig-media-title { position: relative; font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; font-size: 1.18rem; line-height: 1.2; color: #fff; margin: 0 0 4px; }
.mk-ig-media-sub { position: relative; font-size: .72rem; color: rgba(255,255,255,.75); margin: 0; }
.mk-ig-cta { display: flex; align-items: center; justify-content: space-between; background: #0095f6; color: #fff; font-size: .8rem; font-weight: 700; padding: 10px 14px; }
.mk-ig-actions { display: flex; align-items: center; gap: 14px; padding: 10px 14px 4px; color: #111; }
.mk-ig-actions svg { display: block; }
.mk-ig-actions .save { margin-left: auto; }
.mk-ig-likes { padding: 0 14px 4px; font-size: .76rem; color: #111; }
.mk-ig-caption { padding: 0 14px 16px; font-size: .74rem; color: #111; line-height: 1.45; }
.mk-ig-caption b { font-weight: 700; }

/* ---- conversa estilo WhatsApp ---- */
.mk-chat { background: #0b141a; font-family: 'Inter', system-ui, sans-serif; text-align: left; }
.mk-chat-head { display: flex; align-items: center; gap: 10px; background: #1f2c34; padding: 12px 14px; }
.mk-chat-ava { width: 34px; height: 34px; border-radius: 50%; background: #a3ff47; color: #0a0a0a; display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: 0 0 auto; }
.mk-chat-head b { display: block; color: #e9edef; font-size: .82rem; line-height: 1.2; }
.mk-chat-head small { color: #8696a0; font-size: .68rem; }
.mk-chat-body { padding: 16px 12px 18px; display: flex; flex-direction: column; gap: 8px; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 22px 22px; }
.mk-chat-msg { max-width: 82%; border-radius: 12px; padding: 8px 12px; font-size: .78rem; line-height: 1.45; position: relative; }
.mk-chat-msg small { display: block; text-align: right; font-size: .62rem; opacity: .6; margin-top: 3px; }
.mk-chat-in { align-self: flex-start; background: #1f2c34; color: #e9edef; border-top-left-radius: 4px; }
.mk-chat-out { align-self: flex-end; background: #005c4b; color: #e9edef; border-top-right-radius: 4px; }
.mk-chat-tag { align-self: center; background: #1a2328; color: #8696a0; font-size: .64rem; padding: 4px 12px; border-radius: 100px; }

/* ============================================================
   DASHBOARD de métricas (painel escuro com gráficos)
   ============================================================ */
.mk-dash { max-width: 640px; width: 100%; margin: 0 auto; background: #101114; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.55); overflow: hidden; font-family: 'Inter', system-ui, sans-serif; text-align: left; }
.mk-on-light .mk-dash { box-shadow: 0 30px 70px rgba(15,30,10,.2); }
.mk-dash-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mk-dash-head b { color: #fff; font-size: .85rem; font-family: 'Space Grotesk', 'Inter', sans-serif; }
.mk-dash-head span { font-size: .68rem; color: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.14); padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.mk-dash-body { padding: 16px 18px 18px; display: grid; gap: 14px; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-kpi { background: #17181d; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 12px; }
.mk-kpi small { display: block; font-size: .64rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.mk-kpi b { display: block; color: #fff; font-size: 1.15rem; font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.1; }
.mk-kpi .up { color: #a3ff47; font-size: .68rem; font-weight: 700; }
.mk-kpi .down { color: #ff7a6b; font-size: .68rem; font-weight: 700; }
.mk-dash-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; align-items: stretch; }
.mk-panel { background: #17181d; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 12px; }
.mk-panel small { display: block; font-size: .66rem; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.mk-panel svg { display: block; width: 100%; height: auto; }
.mk-donut { display: flex; align-items: center; gap: 12px; }
.mk-donut-ring { width: 84px; height: 84px; border-radius: 50%; flex: 0 0 auto; background: conic-gradient(#a3ff47 0 62%, #3f6d1a 62% 84%, #24301a 84% 100%); position: relative; }
.mk-donut-ring::after { content: ''; position: absolute; inset: 16px; border-radius: 50%; background: #17181d; }
.mk-legend { display: flex; flex-direction: column; gap: 6px; font-size: .68rem; color: rgba(255,255,255,.7); }
.mk-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 6px; }

/* ---- responsivo ---- */
@media (max-width: 900px) {
  .mk-duo { grid-template-columns: 1fr; gap: 40px; }
  .mk-browser { max-width: 480px; }
}
@media (max-width: 560px) {
  .mk-kpis { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .mk-kpi b { font-size: .95rem; }
  .mk-dash-row { grid-template-columns: 1fr; }
  .mk-serp { padding: 14px 14px 16px; }
  .mk-phone { max-width: 270px; }
}
