/* ==========================================================================
   stand-06-todos.css
   Estilos EXCLUSIVOS do Stand 06 — Todos fazemos parte.

   Todas as classes usam o prefixo s6-. Este arquivo nao altera a Home nem
   os demais stands: reaproveita apenas os tokens, o cabecalho e o botao
   ja aprovados.
   ========================================================================== */

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

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

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

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

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

.s6-tela {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.4vh, 32px);
  text-align: center;
}

/* --- Revelacao progressiva dos elementos de cada tela ------------------- */

.s6-revela {
  opacity: 0;
  transform: translateY(16px);
}

.s6-tela:not([hidden]) .s6-revela {
  animation: s6-surgir 620ms cubic-bezier(0.22, 0.68, 0.24, 1) both;
}

.s6-tela:not([hidden]) .s6-revela:nth-child(1) { animation-delay: 60ms; }
.s6-tela:not([hidden]) .s6-revela:nth-child(2) { animation-delay: 260ms; }
.s6-tela:not([hidden]) .s6-revela:nth-child(3) { animation-delay: 460ms; }
.s6-tela:not([hidden]) .s6-revela:nth-child(4) { animation-delay: 660ms; }
.s6-tela:not([hidden]) .s6-revela:nth-child(5) { animation-delay: 860ms; }
.s6-tela:not([hidden]) .s6-revela:nth-child(6) { animation-delay: 1060ms; }

@keyframes s6-surgir {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .s6-revela { opacity: 1; transform: none; }
  .s6-tela:not([hidden]) .s6-revela { animation: none; }
  .s6-broto-anima, .s6-linha-anima { animation: none !important; }
  .s6-linha-anima { stroke-dashoffset: 0 !important; }
  .s6-postit { animation: none !important; opacity: 1 !important; }
}

/* ==========================================================================
   2. TIPOGRAFIA
   ========================================================================== */

.s6-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);
}

.s6-titulo {
  margin: 0;
  font-family: var(--fonte-texto);
  font-size: clamp(1.75rem, 2.2vw + 1.05rem, 3.1rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--texto-forte);
}

.s6-frase {
  max-width: 22ch;
  margin: 0 auto;
  font-family: var(--fonte-texto);
  font-size: clamp(1.95rem, 3vw + 1.1rem, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--texto-forte);
}

.s6-frase--media {
  max-width: 26ch;
  font-size: clamp(1.45rem, 1.9vw + 0.98rem, 2.8rem);
  line-height: 1.16;
}

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

.s6-texto {
  max-width: 56ch;
  margin: 0 auto;
  font-size: clamp(1rem, 0.6vw + 0.87rem, 1.35rem);
  line-height: 1.55;
  color: var(--texto-suave);
}

.s6-apoio {
  font-family: var(--fonte-titulo);
  font-size: clamp(0.78rem, 0.28vw + 0.7rem, 0.96rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texto-apoio);
}

.s6-assinatura {
  max-width: 18ch;
  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.06;
  letter-spacing: -0.015em;
  color: var(--cor-marrom-medio);
}

/* ==========================================================================
   3. TELA 1 — OS MULTIPLICADORES
   ========================================================================== */

/* A grade fica dentro da largura util da pagina — sem deslocamentos
   laterais e sem depender de 100vw, que inclui a barra de rolagem e fazia
   os ultimos cards ficarem fora da area visivel. */
.s6-rede {
  width: 100%;
  margin-inline: auto;
}

/* Colunas fluidas: o proprio navegador redistribui os 22 cards em novas
   linhas antes de deixa-los pequenos demais. */
.s6-grade {
  display: grid;
  gap: clamp(12px, 1.1vw, 18px);
  grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
  justify-content: center;
}

.s6-pessoa {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: clamp(13px, 1.1vw, 18px) clamp(10px, 0.8vw, 14px);
  border-radius: var(--raio-caixa);
  text-align: center;
  background: var(--cor-branco);
  box-shadow: var(--sombra-card);
  transition: transform var(--transicao), box-shadow var(--transicao);
}

.s6-pessoa:hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra-card-hover);
}

.s6-pessoa__foto {
  width: clamp(72px, 6vw, 96px);
  aspect-ratio: 1;
  border: 3px solid var(--cor-branco);
  border-radius: 50%;
  object-fit: cover;          /* proporcao preservada, sem deformar */
  background-color: var(--cor-branco);
  background-image:
    linear-gradient(var(--tint-marrom), var(--tint-marrom)),
    linear-gradient(var(--tint-laranja), var(--tint-laranja));
  box-shadow: 0 0 0 3px var(--tint-laranja);
}

.s6-pessoa__nome {
  font-size: clamp(0.8rem, 0.24vw + 0.75rem, 0.92rem);
  font-weight: 700;
  line-height: 1.24;
  color: var(--texto-forte);
}

.s6-pessoa__setor {
  font-size: clamp(0.74rem, 0.2vw + 0.7rem, 0.84rem);
  line-height: 1.28;
  color: var(--cor-marrom-medio);
}

/* ==========================================================================
   4. TELA 2 — PROPOSITO E MISSAO
   ========================================================================== */

.s6-bloco {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2vh, 24px);
  padding: clamp(22px, 3vw, 44px) clamp(18px, 2.6vw, 40px);
  border-radius: var(--raio-card);
  background: var(--cor-branco);
  box-shadow: var(--sombra-card);
}

.s6-bloco + .s6-bloco { margin-top: clamp(18px, 2.4vh, 32px); }

.s6-grafico {
  width: min(620px, 100%);
  height: auto;
}

.s6-grafico--largo { width: min(820px, 100%); }

.s6-linha-anima {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: s6-desenhar 1600ms ease forwards;
}

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

/* ==========================================================================
   5. TELA 3 — DESCOBERTA
   ========================================================================== */

/* A caixa acompanha exatamente a proporcao da ilustracao (800 x 500).
   Assim a arte preenche toda a area, sem faixas do fundo nas laterais e
   sem qualquer distorcao. */
.s6-moldura {
  display: grid;
  width: min(760px, 100%, calc(min(46vh, 470px) * 1.6));
  aspect-ratio: 800 / 500;
  place-items: center;
  overflow: hidden;
  border-radius: var(--raio-card);
  box-shadow: var(--sombra-card);
}

.s6-moldura img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;        /* proporcao original preservada */
}

/* ==========================================================================
   6. TELA 4 — POST-ITS
   ========================================================================== */

.s6-postits {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  padding-block: clamp(10px, 2vh, 26px);
}

.s6-postit {
  display: grid;
  width: clamp(136px, 13vw, 182px);
  aspect-ratio: 1;
  place-items: center;
  padding: clamp(12px, 1.4vw, 20px);
  font-size: clamp(0.94rem, 0.42vw + 0.85rem, 1.16rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--texto-forte);
  background: var(--cor-amarelo);
  box-shadow: 0 10px 22px rgba(68, 13, 0, 0.14);
  opacity: 0;
  animation: s6-colar 520ms ease forwards;
}

.s6-postit:nth-child(1) { transform: rotate(-3deg); animation-delay: 240ms; }
.s6-postit:nth-child(2) { transform: rotate(2.2deg); animation-delay: 420ms; background: var(--cor-laranja); color: var(--cor-branco); }
.s6-postit:nth-child(3) { transform: rotate(-1.6deg); animation-delay: 600ms; }
.s6-postit:nth-child(4) { transform: rotate(3deg); animation-delay: 780ms; background: var(--cor-marrom-medio); color: var(--cor-branco); }
.s6-postit:nth-child(5) { transform: rotate(-2.4deg); animation-delay: 960ms; }

@keyframes s6-colar { to { opacity: 1; } }

/* ==========================================================================
   7. TELA 5 — SEMENTE E VALORES
   ========================================================================== */

.s6-semente { width: min(300px, 62vw); height: auto; }

.s6-broto-anima {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: s6-brotar 2200ms ease forwards 300ms;
}

@keyframes s6-brotar { to { stroke-dashoffset: 0; } }

.s6-folha { opacity: 0; animation: s6-abrir 900ms ease forwards; }
.s6-folha--a { animation-delay: 1500ms; }
.s6-folha--b { animation-delay: 1900ms; }

@keyframes s6-abrir { to { opacity: 1; } }

.s6-valores {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 30px);
}

.s6-valor {
  display: flex;
  width: clamp(84px, 8vw, 116px);
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: s6-abrir 620ms ease forwards;
}

.s6-valor:nth-child(1) { animation-delay: 2100ms; }
.s6-valor:nth-child(2) { animation-delay: 2220ms; }
.s6-valor:nth-child(3) { animation-delay: 2340ms; }
.s6-valor:nth-child(4) { animation-delay: 2460ms; }
.s6-valor:nth-child(5) { animation-delay: 2580ms; }
.s6-valor:nth-child(6) { animation-delay: 2700ms; }
.s6-valor:nth-child(7) { animation-delay: 2820ms; }

.s6-valor img { width: clamp(46px, 4.4vw, 64px); height: auto; aspect-ratio: 1; }

.s6-valor span {
  font-size: clamp(0.76rem, 0.26vw + 0.7rem, 0.92rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--cor-marrom-medio);
}

/* ==========================================================================
   8. NAVEGACAO — mesmo padrao dos demais stands
   ========================================================================== */

.s6-botao {
  min-height: 64px;
  padding: 16px 38px;
  font-size: clamp(1rem, 0.4vw + 0.92rem, 1.22rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.s6-botao svg { width: 24px; height: 24px; }

.s6-navegacao {
  display: flex;
  width: 100%;
  max-width: 1240px;
  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);
}

.s6-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);
}

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

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

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

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

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

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

.s6-marcadores { display: flex; align-items: center; gap: clamp(5px, 0.7vw, 10px); }

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

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

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

.s6-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);
}

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

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