/* sales-twin-mockup.css - ICONICO STUDIO, Sales Twin: mockup interativo para a pagina de Servicos (v001, 30/10/2026).
   Tudo com o prefixo .stmk (nao vaza para o site). Cores e fontes por variaveis: ajuste no seletor .stmk do site. */
.stmk {
  --stmk-tinta: #1f2420;
  --stmk-suave: #5d6660;
  --stmk-fundo: transparent;
  --stmk-linha: rgba(31, 36, 32, .14);
  --stmk-destaque: #124c5a;
  --stmk-destaque-2: #d69a4c;
  --stmk-aparelho: #141716;
  --stmk-titulo-fonte: inherit;
  --stmk-texto-fonte: inherit;
  --stmk-raio: 16px;
  box-sizing: border-box;
  color: var(--stmk-tinta);
  background: var(--stmk-fundo);
  font-family: var(--stmk-texto-fonte);
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  width: 100%;
}
.stmk *, .stmk *::before, .stmk *::after { box-sizing: border-box; }
.stmk > * { min-width: 0; }   /* sem isto a fileira de abas (rolagem horizontal) alarga a coluna no celular */

/* ---------- coluna de texto e abas ---------- */
.stmk-sobre { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--stmk-destaque); margin: 0 0 12px; }
/* v002: no maximo 28 px - "EMPREENDIMENTO" em Syncopate cabe inteiro na coluna de 380 px (retorno do SISTEMA ICONICO) */
.stmk-titulo { font-family: var(--stmk-titulo-fonte); font-size: clamp(20px, 2vw, 28px); line-height: 1.15; margin: 0 0 12px; font-weight: 700; overflow-wrap: break-word; }
.stmk-texto { color: var(--stmk-suave); font-size: 16px; line-height: 1.55; margin: 0 0 20px; }
.stmk-abas { display: flex; flex-direction: column; gap: 4px; margin: 0 0 22px; padding: 0; }
.stmk-aba {
  all: unset; position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start;
  padding: 10px 12px; border-radius: 12px; cursor: pointer; color: var(--stmk-suave); transition: background .2s, color .2s;
}
.stmk-aba:hover { background: rgba(18, 76, 90, .06); background: color-mix(in srgb, var(--stmk-destaque) 6%, transparent); color: var(--stmk-tinta); }
.stmk-aba:focus-visible { outline: 2px solid var(--stmk-destaque); outline-offset: 2px; }
.stmk-aba[aria-selected="true"] { background: rgba(18, 76, 90, .09); background: color-mix(in srgb, var(--stmk-destaque) 9%, transparent); color: var(--stmk-tinta); }   /* v002: segue --stmk-destaque (rgba = reserva sem color-mix) */
.stmk-aba-num { font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 3px; color: var(--stmk-destaque); opacity: .8; }
.stmk-aba-nome { font-weight: 600; font-size: 15px; line-height: 1.3; }
.stmk-aba-desc { display: none; font-size: 14px; line-height: 1.45; color: var(--stmk-suave); margin-top: 3px; font-weight: 400; }
.stmk-aba[aria-selected="true"] .stmk-aba-desc { display: block; }
.stmk-aba-barra { position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--stmk-linha); overflow: hidden; opacity: 0; }
.stmk-aba[aria-selected="true"] .stmk-aba-barra { opacity: 1; }
.stmk-aba-barra i { display: block; height: 100%; width: 0; background: var(--stmk-destaque); }
.stmk-acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.stmk-botao {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; background: var(--stmk-destaque); color: #fff; border: 1px solid var(--stmk-destaque);
}
.stmk-botao.stmk-sec { background: transparent; color: var(--stmk-destaque); }
.stmk-botao:focus-visible { outline: 2px solid var(--stmk-destaque-2); outline-offset: 2px; }

/* ---------- palco com o aparelho ---------- */
.stmk-palco { position: relative; display: grid; place-items: center; min-height: 0; }
.stmk-aparelho {
  position: relative; width: 100%; max-width: 860px; aspect-ratio: 16 / 10.6; padding: 2.4% 2.4%; border-radius: 4.2% / 6.3%;
  background: var(--stmk-aparelho); box-shadow: 0 40px 80px -30px rgba(10, 20, 16, .45), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  transition: max-width .45s cubic-bezier(.2, .9, .25, 1.15), aspect-ratio .45s cubic-bezier(.2, .9, .25, 1.15), border-radius .45s;
}
.stmk-aparelho::before { content: ""; position: absolute; top: 50%; left: 1.1%; width: .55%; aspect-ratio: 1; border-radius: 50%; background: #2b302e; transform: translateY(-50%); }
.stmk-tela { position: relative; width: 100%; height: 100%; border-radius: 1.6% / 2.5%; overflow: hidden; background: #0e1211; }
.stmk.stmk-movel .stmk-aparelho { max-width: 300px; aspect-ratio: 390 / 844; padding: 3.2%; border-radius: 13% / 6%; }
.stmk.stmk-movel .stmk-aparelho::before { left: 50%; top: 1.6%; width: 22%; aspect-ratio: auto; height: 1.1%; border-radius: 99px; transform: translateX(-50%); background: #000; z-index: 2; }
.stmk.stmk-movel .stmk-tela { border-radius: 10% / 4.6%; }
.stmk-midia { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.stmk-midia.stmk-on { opacity: 1; }
.stmk-sol-regua {
  position: absolute; left: 50%; bottom: -54px; transform: translateX(-50%); width: min(520px, 92%); display: none;
  align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .25);
}
.stmk.stmk-sol .stmk-sol-regua { display: flex; }
.stmk.stmk-sol .stmk-palco { padding-bottom: 54px; }
.stmk-sol-hora { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 54px; color: var(--stmk-tinta); font-size: 15px; }
.stmk-sol-regua input { flex: 1; accent-color: var(--stmk-destaque-2); height: 28px; cursor: grab; }
.stmk-sol-dica { font-size: 12px; color: var(--stmk-suave); white-space: nowrap; }

/* ---------- celular / telas estreitas ---------- */
@media (max-width: 860px) {
  .stmk { grid-template-columns: 1fr; }
  .stmk-palco { order: -1; }
  .stmk-abas { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .stmk-abas::-webkit-scrollbar { display: none; }
  .stmk-aba { grid-template-columns: auto; scroll-snap-align: start; flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--stmk-linha); border-radius: 999px; }
  .stmk-aba-num, .stmk-aba-barra { display: none; }
  .stmk-aba-desc, .stmk-aba[aria-selected="true"] .stmk-aba-desc { display: none; }
  .stmk-aba[aria-selected="true"] { border-color: var(--stmk-destaque); }
  .stmk-desc-movel { display: block !important; }
  .stmk-sol-dica { display: none; }
  .stmk-titulo { font-size: clamp(17px, 6.1vw, 28px); }   /* "EMPREENDIMENTO" inteiro numa linha ate ~280 px de largura */
}
.stmk-desc-movel { display: none; color: var(--stmk-suave); font-size: 15px; line-height: 1.5; margin: -8px 0 18px; min-height: 3em; }
@media (prefers-reduced-motion: reduce) {
  .stmk-aparelho, .stmk-midia { transition: none; }
}
