/* ==========================================================================
   stand-02-proposito.css
   Estilos EXCLUSIVOS do Stand 02 — Nosso Proposito.

   Todas as classes usam o prefixo s2-. Este arquivo nao altera a Home,
   o Stand 01 nem o Stand 03: reaproveita apenas os tokens, o cabecalho e
   o botao ja aprovados.

   Sem emojis, sem imagens externas: todos os elementos graficos sao
   linhas em SVG, na mesma familia visual da Home.
   ========================================================================== */

/* ==========================================================================
   1. ESTRUTURA
   ========================================================================== */

.s2-pagina {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.s2-conteudo {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(14px, 2vh, 34px);
}

.s2-largura {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 44px);
}

.s2-tela[hidden] { display: none !important; }

.s2-tela {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.6vh, 36px);
  text-align: center;
  animation: s2-entrada 420ms ease both;
}

@keyframes s2-entrada {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   2. TIPOGRAFIA E DESTAQUES
   ========================================================================== */

.s2-etiqueta {
  padding: 6px 20px;
  border-radius: var(--raio-pill);
  font-family: var(--fonte-titulo);
  font-size: clamp(0.78rem, 0.3vw + 0.7rem, 0.96rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cor-branco);
  background: var(--cor-laranja);
}

.s2-titulo {
  margin: 0;
  font-family: var(--fonte-texto);
  font-size: clamp(1.7rem, 2vw + 1.05rem, 3rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--texto-forte);
}

/* Frase-chave de cada tela: o elemento de maior peso visual */
.s2-frase {
  max-width: 20ch;
  margin: 0 auto;
  font-family: var(--fonte-texto);
  font-size: clamp(2.1rem, 3.4vw + 1.1rem, 4.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--texto-forte);
}

.s2-frase--media {
  max-width: 24ch;
  font-size: clamp(1.6rem, 2.2vw + 1rem, 3.2rem);
  line-height: 1.14;
}

.s2-frase--laranja { color: var(--cor-laranja); }
.s2-frase--marrom { color: var(--cor-marrom-medio); }

.s2-texto {
  max-width: 56ch;
  margin: 0 auto;
  font-size: clamp(1.02rem, 0.62vw + 0.88rem, 1.42rem);
  line-height: 1.55;
  color: var(--texto-suave);
}

.s2-apoio {
  font-family: var(--fonte-titulo);
  font-size: clamp(0.8rem, 0.3vw + 0.72rem, 1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texto-apoio);
}

/* Faixa de destaque, usada com parcimonia */
.s2-realce {
  padding: clamp(16px, 2vw, 28px) clamp(20px, 2.6vw, 40px);
  border-radius: var(--raio-pill);
  font-size: clamp(1.05rem, 0.8vw + 0.9rem, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--cor-branco);
  background: var(--cor-marrom-medio);
  box-shadow: var(--sombra-card);
}

.s2-realce--claro {
  color: var(--texto-forte);
  background: var(--cor-branco);
}

/* ==========================================================================
   3. ELEMENTOS GRAFICOS DE LINHA
   ========================================================================== */

.s2-grafico {
  width: min(760px, 100%);
  height: auto;
  color: var(--cor-marrom-medio);
}

.s2-grafico--estreito { width: min(520px, 92%); }
.s2-grafico--fio { width: min(680px, 100%); }

.s2-traco {
  width: clamp(80px, 12vw, 170px);
  height: auto;
  color: var(--cor-laranja);
}

/* Linha animada discreta: desenha-se uma vez na entrada da tela */
.s2-anima-linha {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: s2-desenhar 1500ms ease forwards;
}

@keyframes s2-desenhar { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .s2-tela { animation: none; }
  .s2-anima-linha { animation: none; stroke-dashoffset: 0; }
}

/* ==========================================================================
   4. TELAS 2 E 8 — COMPOSICOES DE PALAVRAS (apenas visuais)
   ========================================================================== */

/* Nada aqui e clicavel: sao listas de texto, sem estado e sem interacao. */
.s2-nuvem {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 24px) clamp(14px, 2vw, 38px);
  padding-block: clamp(6px, 1.4vh, 18px);
}

.s2-palavra {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--fonte-texto);
  font-weight: 700;
  line-height: 1.1;
  color: var(--texto-forte);
  white-space: nowrap;
}

.s2-palavra::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.s2-palavra--g { font-size: clamp(1.5rem, 2.1vw + 0.95rem, 3rem); }
.s2-palavra--m { font-size: clamp(1.2rem, 1.3vw + 0.9rem, 2.15rem); }
.s2-palavra--p { font-size: clamp(1.02rem, 0.8vw + 0.85rem, 1.6rem); }

.s2-palavra--laranja { color: var(--cor-laranja); }
.s2-palavra--marrom { color: var(--cor-marrom-medio); }

.s2-palavra--sobe { transform: translateY(clamp(-16px, -1.2vw, -6px)); }
.s2-palavra--desce { transform: translateY(clamp(6px, 1.2vw, 16px)); }

/* Tela 8: frases encadeadas por um fio condutor */
.s2-percurso {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 820px;
  flex-direction: column;
  gap: clamp(10px, 1.6vh, 22px);
  padding-left: clamp(22px, 3vw, 44px);
  text-align: left;
}

.s2-percurso::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: clamp(4px, 0.6vw, 10px);
  width: 2px;
  border-radius: var(--raio-pill);
  background: var(--linha-suave);
}

.s2-passo {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 20px);
  font-family: var(--fonte-texto);
  font-size: clamp(1.12rem, 1.15vw + 0.9rem, 2.05rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--texto-forte);
}

.s2-passo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(clamp(4px, 0.6vw, 10px) - clamp(22px, 3vw, 44px) - 4px);
  width: 12px;
  height: 12px;
  border: 2px solid var(--cor-laranja);
  border-radius: 50%;
  background: var(--cor-fundo);
  transform: translateY(-50%);
}

.s2-passo:nth-child(even) { margin-left: clamp(14px, 4vw, 68px); }
.s2-passo:nth-child(3n) { color: var(--cor-marrom-medio); }

/* ==========================================================================
   5. TELA 4 — IKIGAI (somente representacao visual)
   ========================================================================== */

.s2-ikigai {
  width: min(720px, 100%);
  height: auto;
  pointer-events: none;      /* nao ha nenhuma interacao neste elemento */
}

/* ==========================================================================
   6. NAVEGACAO DO PERCURSO
   ========================================================================== */

.s2-navegacao {
  display: flex;
  width: 100%;
  max-width: 1180px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 26px);
  margin-inline: auto;
  padding: clamp(12px, 1.6vh, 20px) clamp(16px, 3vw, 44px);
}

.s2-nav-botao {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--raio-pill);
  font-size: clamp(0.94rem, 0.3vw + 0.88rem, 1.08rem);
  font-weight: 700;
  color: var(--texto-forte);
  background: var(--cor-branco);
  box-shadow: var(--sombra-suave);
  transition: transform var(--transicao), box-shadow var(--transicao), opacity var(--transicao);
}

.s2-nav-botao svg { width: 22px; height: 22px; flex: 0 0 auto; }

.s2-nav-botao:hover:not([disabled]) {
  transform: translateY(-2px);
  box-shadow: var(--sombra-card-hover);
}

.s2-nav-botao[disabled] { opacity: 0.4; cursor: default; }

/* display: inline-flex sobrepoe o hidden padrao do navegador */
.s2-nav-botao[hidden] { display: none; }

.s2-nav-botao--principal {
  color: var(--cor-branco);
  background: var(--cor-laranja);
  box-shadow: var(--sombra-botao);
}

.s2-nav-botao--fim {
  color: var(--cor-branco);
  background: var(--cor-marrom-medio);
  box-shadow: var(--sombra-botao);
}

/* Indicador de posicao no percurso */
.s2-marcadores {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 11px);
}

.s2-marcador {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tint-marrom);
  transition: background-color var(--transicao), width var(--transicao);
}

.s2-marcador[data-atual="true"] {
  width: 30px;
  border-radius: var(--raio-pill);
  background: var(--cor-laranja);
}

.s2-marcador[data-visitado="true"] { background: var(--cor-marrom-medio); }

.s2-posicao {
  font-family: var(--fonte-titulo);
  font-size: clamp(0.78rem, 0.26vw + 0.72rem, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texto-apoio);
}

.s2-indicador {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (max-width: 720px) {
  .s2-navegacao { justify-content: center; }
  .s2-marcador { width: 8px; height: 8px; }
  .s2-marcador[data-atual="true"] { width: 24px; }
}
