/* Casthink site v2: estilos exclusivos de /demonstracao.
   Usa só os tokens e componentes de css/casthink.css (carregado antes). */

/* Como usar o tour */
.instrucoes { list-style: none; padding: 0; display: grid; gap: 10px 28px; }
.instrucoes li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.instrucoes__marca {
  flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px;
  background: var(--tinta); color: var(--gelo); border-radius: 3px;
  font-family: var(--mono); font-size: 14px; line-height: 1;
}
@media (min-width: 900px) { .instrucoes { grid-template-columns: repeat(3, auto); justify-content: start; } }

/* Palco do sistema */
.demo__palco { display: grid; gap: 14px; margin-top: 8px; }
.demo__barra { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.demo__tela-cheia { gap: 10px; padding: 12px 20px; }
.icone-cheia { flex: none; }
.demo__moldura {
  position: relative;
  background: var(--branco-gelo); border: 1px solid var(--linha); border-radius: 6px;
  overflow: hidden; box-shadow: var(--sombra);
}
/* O quadro cabe inteiro na janela: com o sistema à vista, a barra do tour também está */
.demo__moldura iframe {
  display: block; width: 100%; border: 0; background: var(--gelo);
  height: calc(100vh - var(--altura-topo) - 40px); height: calc(100svh - var(--altura-topo) - 40px);
  min-height: 520px; max-height: 900px;
}

/* Capa antes do tour: o sistema aparece esmaecido por trás e a pessoa escolhe como ver */
.demo__capa { display: none; }
html.js .demo__capa {
  display: grid; place-items: center; position: absolute; inset: 0; z-index: 2; padding: 16px;
  background: rgba(232, 237, 240, .74); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
html.js .demo__capa[hidden] { display: none; }
.demo__capa-cartao {
  display: grid; gap: 10px; justify-items: start; max-width: 420px; width: 100%;
  background: var(--branco-gelo); border-left: 3px solid var(--violet); border-radius: 6px;
  padding: 26px 28px 24px; box-shadow: 0 24px 48px -20px rgba(28, 23, 18, .55), 0 1px 2px rgba(28, 23, 18, .12);
}
.demo__capa-meta { font-family: var(--mono); font-size: 13px; color: var(--aco); }
.demo__capa-titulo { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; color: var(--tinta); }
.demo__capa-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 8px; }
.demo__capa-acoes .botao { gap: 10px; padding: 14px 22px; font-size: 16px; }
.demo__capa-aqui { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.demo__moldura:fullscreen { border: 0; border-radius: 0; box-shadow: none; }
.demo__moldura:fullscreen iframe { height: 100vh; max-height: none; min-height: 0; }
.demo__moldura:-webkit-full-screen iframe { height: 100vh; max-height: none; min-height: 0; }
.demo__legenda { font-family: var(--mono); font-size: 13px; line-height: 1.5; color: var(--aco); max-width: 72ch; }

/* Aviso de tela pequena: o sistema foi desenhado para tela grande */
.demo__aviso {
  display: none; background: var(--branco-gelo); border-left: 3px solid var(--violet);
  border-radius: 4px; padding: 12px 14px; font-size: 15px; line-height: 1.5; max-width: 60ch;
}
@media (max-width: 767.98px) {
  .demo__aviso { display: block; }
  .demo__moldura iframe { height: 70vh; min-height: 460px; }
}

/* Chamada final: botão principal e alternativa por conversa */
.chamada .acoes { gap: 14px 24px; }

/* Celular: sem teclado físico, a instrução das setas sai */
@media (max-width: 767.98px) { .instrucoes li.instrucoes__teclado { display: none; } }

/* Definição em citação, com o trecho-chave em Think Violet */
.demo__definicao { font-style: italic; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 52ch; color: var(--tinta); }
.demo__destaque { font-style: normal; font-weight: 600; color: var(--violet); }
.demo__sobre { justify-self: start; }

/* Abertura em mural: o conteúdo dos criadores ocupa metade da tela, a marca recua */
.intro--mural .wrap { display: grid; gap: 32px; align-items: center; }
.intro__texto { display: grid; gap: 22px; align-content: center; }
.mural { display: none; }
@media (min-width: 960px) {
  .intro--mural { padding-block: clamp(32px, 4vw, 56px); }
  .intro--mural .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 64px); }
  .mural { display: block; position: relative; aspect-ratio: 1 / 1.02; max-height: 620px; width: 100%; }
}
.mural__q {
  position: absolute; margin: 0; background: var(--branco-gelo);
  padding: 6px; border-radius: 4px; box-shadow: var(--sombra);
}
.mural__q img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; background: var(--gelo); }
.mural__q--1 { left: 0;   top: 9%;  width: 38%; transform: rotate(-3deg); z-index: 1; }
.mural__q--2 { left: 31%; top: 0;   width: 40%; transform: rotate(1.5deg); z-index: 2; }
.mural__q--3 { left: 64%; top: 11%; width: 36%; transform: rotate(3deg);  z-index: 1; }
.mural__q--4 { left: 17%; top: 50%; width: 33%; transform: rotate(-1.5deg); z-index: 3; }
.mural__q--5 { left: 52%; top: 55%; width: 32%; transform: rotate(2deg);  z-index: 3; }
.mural__nota {
  position: absolute; left: 38%; top: 43%; z-index: 4;
  background: var(--tinta); color: var(--gelo); font-family: var(--mono); font-size: 13px; line-height: 1.4;
  padding: 8px 12px; border-radius: 3px; box-shadow: 0 10px 20px -12px rgba(28, 23, 18, .6);
}
.mural__selo { position: absolute; right: 0; bottom: -6px; font-family: var(--mono); font-size: 11px; color: var(--aco); }

/* Fechamento: quem conduz o diagnóstico, no padrão da home */
.demo-conduz > .wrap { justify-items: start; gap: 20px; }
.demo-conduz .lead { font-size: clamp(18px, 1.6vw, 21px); }
.demo-conduz__duracao { font-family: var(--mono); font-size: 13px; color: var(--aco); }
.demo-conduz .card-humano { margin: 12px 0 8px; }
@media (max-width: 559.98px) {
  .demo-conduz .acoes { width: 100%; flex-direction: column; align-items: stretch; }
  .demo-conduz .acoes .botao { width: 100%; }
}
