/* ============================================================
   result.css — Tela de resultado do diagnostico (screen 11)
   DS: preto + off-white + gold. Neue Plak.
   Mobile-first. Contraste maximo, sem gradientes, sem sombras.
   ============================================================ */

/* --- Container principal --- */
.result-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 24px 4px;
  overflow: hidden;
}

/* --- Simbolo ancestral como background --- */
.result-symbol {
  display: none;
}

.result-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* --- Conteudo acima do simbolo --- */
.result-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 540px;
}

/* --- Logo (herdada do brandmark, nao precisa de classe propria) --- */
.result-logo {
  width: 160px;
  height: auto;
  margin-bottom: 40px;
  opacity: .9;
}

/* --- Headline: "[Nome], ja temos seu diagnostico..." --- */
.result-greeting {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(18px, 4.5vw, 24px);
  letter-spacing: 0.2px;
  text-transform: none;
  color: var(--sand);
  margin: 0 0 16px;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
}

/* --- Box do diagnostico (borda sutil) --- */
.result-diagnostico-box {
  border: 1px solid rgba(253,213,2,.25);
  border-radius: 2px;
  padding: 28px 20px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 540px;
}

/* --- Intro: "Identificamos pelas suas respostas..." --- */
.result-intro {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 3.5vw, 17px);
  letter-spacing: 0.3px;
  color: var(--warm);
  margin: 0 0 24px;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

/* Nome do usuario em destaque amarelo */
.result-greeting span {
  color: var(--gold);
}

/* --- Badge row --- */
.result-badge-row {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

/* --- Badge do perfil --- */
.result-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  padding: 12px 36px;
  line-height: 1;
  border-radius: 0;
}

/* --- Divisor --- */
.result-divider {
  display: none;
}

/* --- Frase-ancora (entre divider e paragrafo) --- */
.result-anchor {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 20px;
  text-align: center;
}

/* --- Paragrafo do diagnostico (leitura funcional) --- */
.result-paragraph {
  font-family: 'Neue Plak Text', var(--font-body);
  font-weight: 600;
  font-size: clamp(17px, 4vw, 20px);
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: var(--sand);
  max-width: 480px;
  margin: 0 0 36px;
  text-align: left;
  text-wrap: pretty;
}

/* --- Intro text dentro do bloco de resultado --- */
.result-intro-text {
  margin: 0 0 20px;
  text-align: center;
  font-weight: 400;
}

/* --- Label antes da lista de sintomas --- */
.result-sintomas-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  text-align: center;
}

/* --- Lista de sintomas --- */
.result-sintomas-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-sintomas-list li {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 3.5vw, 17px);
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--sand);
  padding-left: 20px;
  position: relative;
}

.result-sintomas-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 0;
}

/* --- Fechamento após lista --- */
.result-fechamento {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(15px, 3.5vw, 17px);
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--gold);
  margin: 0 0 4px;
  text-align: center;
  padding-bottom: 0;
}

.result-fechamento br ~ * {
  /* Nao funciona em text nodes, usar abordagem inline */
}

/* Linha "Para recebe-lo..." em branco */
.result-fechamento-white {
  color: var(--sand);
}

/* --- Frase ponte emocional (antes do fechamento) --- */
.result-ponte {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(15px, 3.5vw, 17px);
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--sand);
  text-align: center;
  margin: 0 0 12px;
  font-style: italic;
}

/* --- Contexto minimo do Desafio --- */
.result-desafio-info {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin: 16px 0 0;
}

/* --- Quebra de linha so no mobile --- */
.mobile-break {
  display: inline;
}
@media (min-width: 640px) {
  .mobile-break { display: none; }
}

/* --- Seta apontando pro botao --- */
.result-arrow-down {
  text-align: center;
  margin: 4px 0 0;
  animation: bounceDown 1.5s ease-in-out infinite;
  line-height: 1;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- Texto convite (antes do CTA) --- */
.result-cta-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(13px, 3vw, 15px);
  line-height: 1.55;
  color: rgba(245, 240, 236, 0.55);
  max-width: 400px;
  margin: 0 0 16px;
  text-align: center;
}

/* --- CTA principal --- */
.result-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 4vw, 20px);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 22px 28px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, transform .1s ease;
  margin-top: 0;
  margin-bottom: 48px;
}

.result-cta-arrow {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform .15s ease;
}

.result-cta:hover {
  background: #FFFFFF;
  color: var(--bg-deep);
}

.result-cta:hover .result-cta-arrow {
  transform: translateX(4px);
}

.result-cta:active {
  transform: translateY(1px);
}

/* --- Linha de borda superior sutil no CTA --- */
.result-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bg-deep);
  opacity: 0.08;
}

/* ============================
   Desktop (>=640px)
   ============================ */
@media (min-width: 640px) {
  .result-section {
    padding: 32px 40px 4px;
  }

  .result-symbol {
    display: none;
  }

  .result-logo {
    width: 200px;
    margin-bottom: 52px;
  }

  .result-greeting {
    margin-bottom: 28px;
  }

  .result-badge {
    font-size: 22px;
    letter-spacing: 5px;
    padding: 14px 44px;
  }

  .result-paragraph {
    text-align: left;
    max-width: 520px;
    margin-bottom: 40px;
  }

  .result-cta {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}
