:root {
  --bg: #4a86e8;
  --panel: rgba(255, 255, 255, .08);
  --border: rgba(255, 255, 255, .18);
  --text: #fff;
  --gold: #ffd966;
  --green: #00ff00;
  --orange: #ff9900;
  --yellow: #ffff00;
  --shadow: 0 12px 30px rgba(0, 0, 0, .18);
  --max: 980px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6
}

.page {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 20px 14px 60px
}

img.hero-image {
  width: 100%;
  max-width: 760px;
  display: block;
  margin: 0 auto 24px;
  border-radius: 24px;
  box-shadow: var(--shadow)
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 1.4rem 0 .9rem;
  color: var(--green)
}

h1 {
  font-size: clamp(1.5rem, 3.8vw, 2.5rem)
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.9rem)
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem)
}

p,
li,
span {
  font-size: clamp(1rem, 1.6vw, 1.08rem)
}

p {
  margin: 0 0 1rem
}

a {
  color: #fff;
  text-decoration: underline
}

.center {
  text-align: center
}

.justify {
  text-align: justify
}

.gold {
  color: var(--gold)
}

.green {
  color: var(--green)
}

.orange {
  color: var(--orange)
}

.yellow {
  color: var(--yellow)
}

.blue {
  color: #9fd4ff
}

.white {
  color: #fff
}

.big {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700
}

.spacer {
  height: 1.2rem;
  margin: 0
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
  margin: 1.4rem 0
}

.choice-wrap {
  display: flex;
  justify-content: center;
  margin: 1.8rem auto 0
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto
}

.choice-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  padding: 14px;
  text-decoration: none;
  box-shadow: var(--shadow);
  min-height: 84px;
  width: 220px;
  text-align: left
}

.choice-card:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .12)
}

.choice-card .emoji {
  font-size: 1.2rem;
  line-height: 1.2
}

.portal-back,
.desire-btn {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .12)
}

.desire-box {
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 1.6rem 0 0
}

.desire-btn {
  cursor: pointer;
  color: #fff;
  font-weight: 700
}

.content>p:first-of-type,
.content>h1:first-of-type,
.content>h2:first-of-type,
.content>h3:first-of-type {
  margin-top: 0
}

@media (max-width:640px) {
  .page {
    padding: 16px 12px 42px
  }

  .choice-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 1000px;
    margin: 0 auto
  }
}

.choice-wrap+.choice-wrap {
  display: none
}

.page-home {
  padding-top: 18px
}

.hero-opening {
  display: grid;
  gap: 18px;
  align-items: start
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto
}

.scene-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px
}

.scene-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  padding: 16px;
  text-align: left
}

.scene-card h2 {
  margin-top: 0
}

.choice-grid-home {
  justify-content: center;
  max-width: 1100px
}

.choice-grid-home .choice-card {
  width: 230px
}

.page .desire-box {
  margin-top: 12px;
  margin-bottom: 0
}

.page-home .panel {
  max-width: 760px;
  margin: 0 auto;
}

.page-home .scene-card {
  text-align: left
}

@media (max-width:640px) {
  .choice-grid-home .choice-card {
    width: 100%;
    max-width: 340px
  }
}


.nav-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px 28px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  font-size: 18px;
  min-width: 260px;
  text-align: center;
  transition: 0.2s;
}

.card:hover {
  transform: scale(1.04);
  background: rgba(255, 255, 255, 0.25);
}

.back-home {
  margin-top: 50px;
  text-align: center;
}

.btn-home {
  display: inline-block;
  padding: 14px 26px;
  background: #ffffff22;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  font-size: 18px;
}

.texto-capitulo {
  text-align: justify !important;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.portal-texto h1 {
  margin: 0 0 24px;
  font-size: 2rem;
  font-weight: 800;
  color: #ffd84d;
  text-shadow: 0 0 6px rgba(255, 216, 77, 0.35);
}

.portal-texto .subtitulo {
  margin: 0 0 26px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffd84d;
}

.portal-texto .topicos {
  display: inline-block;
  margin: 0 0 26px;
  padding-left: 1.4rem;
  text-align: left;
  color: #ffd84d;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
}

.portal-texto .chamada {
  margin: 18px 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #39ff14;
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.35);
}

.portal-texto .destaque-amarelo {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffd84d;
}

.portal-texto .texto-explicativo {
  margin: 18px auto 24px;
  max-width: 680px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
  color: #fff2a8;
  text-align: center;
}

.portal-texto .rodape-final {
  margin-top: 34px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.intro-links {
  margin: 36px auto 28px;
  max-width: 760px;
  text-align: left;
}

.link-linha {
  margin: 14px 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.link-linha a {
  color: white;
  text-decoration: none;
}

.link-linha a:hover {
  text-decoration: none;
}

.bussola-wrap h3 {
  margin-bottom: 16px;
  text-align: center;
}

.bussola-lista {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.bussola-lista li {
  margin: 8px 0;
  font-size: 1rem;
  line-height: 1.5;
}

.sumario-box {
  width: 100%;
  margin: 34px auto 24px;
  max-width: 420px;
  text-align: center;
}

.bussola-wrap {
  margin: 34px auto 24px;
  max-width: 420px;
  text-align: center;
}

.sumario-box h3 {
  margin: 0;
  text-align: center;
}

.sumario-lista {
  margin: 0;
  padding-left: 28px;
  text-align: left;
}

.sumario-lista {
  margin: 0;
  padding-left: 28px;
  text-align: left;
}

.sumario-lista {
  display: inline-block;
  text-align: left;
  list-style-position: outside;
  margin: 0 auto;
  padding-left: 22px;
}

.sumario-lista li {
  margin: 8px 0;
}

.sumario-lista a {
  color: white;
  text-decoration: underline;
}

.sumario-lista a:hover {
  text-decoration: underline;
}

.misterios {
  margin: 30px 0 24px;
  text-align: center;
}

.misterios-link {
  color: white;
  text-decoration: underline;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.misterios-link:hover {
  text-decoration: underline;
}

.clave {
  font-size: 2rem;
  color: orange;
  line-height: 1;
}

.pentagrama {
  font-size: 1.1rem;
  color: orange;
  letter-spacing: 1px;
}

.misterios-texto {
  color: white;
}

.misterios a {
  color: white;
  text-decoration: underline;
}

.misterios a:hover {
  text-decoration: underline;
}

.portal-back {
  display: inline-block;
  margin-top: 24px;
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.portal-back:hover {
  text-decoration: none;
}

.grid-duplo {
  display: grid;
  grid-template-columns: repeat(2, 300px);
  /* largura fixa igual */
  gap: 40px;
  justify-content: center;
  /* centraliza no meio da página */
  align-items: stretch;
  /* força mesma altura */
  margin: 40px auto;
}

.bussola-wrap,
.sumario-box {
  width: 100%;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.05);
  padding: 22px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bussola-wrap h3,
.sumario-box h3 {
  margin: 0 0 20px;
  text-align: center;
}

/* mantém lista organizada */
.bussola-lista,
.sumario-lista {
  display: inline-block;
  text-align: left;
}

/* mobile */
@media (max-width: 700px) {
  .grid-duplo {
    grid-template-columns: 1fr;
  }
}

.choice-card.locked {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(0.35);
  cursor: not-allowed;
}

.choice-card.unlocked {
  opacity: 1;
  pointer-events: auto;
  filter: none;
}

.choice-card.locked {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(0.35);
  cursor: not-allowed;
}

.choice-card.unlocked {
  opacity: 1;
  pointer-events: auto;
  filter: none;
}

.choice-card.bloqueado {
  opacity: 0.55;
  filter: grayscale(80%);
  cursor: not-allowed;
}

.choice-card.bloqueado:hover {
  transform: none;
}

.choice-card.liberado {
  pointer-events: auto;
  opacity: 1;
  filter: none;
  cursor: pointer;
}

.choice-card.bloqueado {
  opacity: 0.45;
  filter: grayscale(85%);
  cursor: not-allowed;
}

.choice-card.bloqueado:hover {
  transform: none;
}

/* Faz o button parecer exatamente um card */
.choice-trigger {
  display: block;
  width: 100%;

  border: none;
  outline: none;

  background: inherit;
  /* herda o fundo do card */
  color: inherit;

  font: inherit;
  text-align: center;

  padding: 0;
  margin: 0;

  cursor: pointer;
}

/* Se seu card usa flex/grid, garante alinhamento */
.choice-trigger .emoji {
  pointer-events: none;
}

.choice-trigger span {
  pointer-events: none;
}

/* ===== ajuste do card "Qual é o seu desejo?" e bloqueio dos demais ===== */

.choice-card {
  transition: transform .2s ease, background .2s ease, opacity .2s ease, filter .2s ease;
}

.choice-card-center {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.choice-card-center .emoji {
  flex: 0 0 auto;
}

.choice-card-center span:last-child {
  text-align: center;
}

.choice-card.bloqueado {
  opacity: 0.45;
  filter: grayscale(85%);
  cursor: not-allowed;
}

.choice-card.bloqueado:hover {
  transform: none;
}

.choice-card.liberado {
  opacity: 1;
  filter: none;
  cursor: pointer;
}

.portal-back-wrap {
  margin-top: 18px;
}

.contador-visitas {
  margin: 0 0 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff2a8;
  text-align: center;
}

