@font-face {
  font-family: "Neulis Alt";
  src: url("../fonts/neulis-alt-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bebas Neue Pro";
  src: url("../fonts/bebas-neue-pro-expanded.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --roxo: #4c0e4b;
  --roxo-grid: rgba(255, 255, 255, 0.06);
  --amarelo: #fbbf10;
  --terracota: #b06139;
  --sim: #2f9e44;
  --nao: #d6336c;
  --branco: #ffffff;
  --texto-suave: rgba(255, 255, 255, 0.82);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Neulis Alt", "Segoe UI", sans-serif;
  background-color: var(--roxo);
  color: var(--branco);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.25rem calc(1.5rem + var(--safe-bottom));
  overflow: hidden;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/Pattern_TLW.png");
  background-size: 220px auto;
  background-repeat: repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.page > * {
  position: relative;
  z-index: 1;
}

/* —— Splash —— */
.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--roxo);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.splash::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/Pattern_TLW.png");
  background-size: 220px auto;
  background-repeat: repeat;
  opacity: 0.18;
}

.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash__logo {
  position: relative;
  width: min(72vw, 280px);
  height: auto;
  animation: splash-in 0.7s ease both;
}

@keyframes splash-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* —— Kit / conteúdo —— */
.shell {
  width: min(100%, 420px);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.brand-mark {
  width: min(46vw, 168px);
  height: auto;
  margin-bottom: 0.5rem;
}

.question {
  font-family: "Neulis Alt", sans-serif;
  font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  max-width: 16ch;
}

.actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 3.4rem;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 0.85rem;
  font-family: "Bebas Neue Pro", "Impact", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--branco);
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--amarelo);
  outline-offset: 3px;
}

.btn--sim {
  background: var(--sim);
}

.btn--nao {
  background: var(--nao);
}

.btn--amarelo {
  background: var(--amarelo);
  color: var(--roxo);
}

.btn__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.footer-logo {
  margin-top: auto;
  padding-top: 2rem;
  width: 92px;
  height: auto;
  opacity: 0.95;
}

/* —— Páginas Sim / Não —— */
.panel {
  width: min(100%, 420px);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: center;
  min-width: 7.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 0.75rem;
  font-family: "Bebas Neue Pro", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
}

.badge--sim {
  background: var(--sim);
}

.badge--nao {
  background: var(--nao);
}

.panel__title {
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  text-align: center;
}

.panel__text {
  color: var(--texto-suave);
  font-size: 1rem;
  text-align: center;
}

.info-box {
  margin-top: 0.5rem;
  padding: 1.15rem 1rem;
  border: 1px dashed rgba(251, 191, 16, 0.55);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.18);
  color: var(--texto-suave);
  font-size: 0.95rem;
  text-align: left;
  min-height: 8rem;
}

.info-box strong {
  display: block;
  color: var(--amarelo);
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.link-card {
  display: block;
  padding: 1.1rem 1rem;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: var(--branco);
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--amarelo);
  background: rgba(0, 0, 0, 0.32);
}

.link-card__label {
  font-family: "Bebas Neue Pro", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--amarelo);
  margin-bottom: 0.25rem;
}

.link-card__hint {
  font-size: 0.9rem;
  color: var(--texto-suave);
}

.back {
  margin-top: auto;
  align-self: center;
  color: var(--amarelo);
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.75rem;
}

.back:hover,
.back:focus-visible {
  text-decoration: underline;
}

@media (min-width: 480px) {
  .actions {
    gap: 1rem;
  }
}
