/* DISC.CSS - ESTILOS DO DISC (TESTE DE PERFIL) */

.page-disc {
  --scanlines-url: url("../img/bg-scanlines_black.gif");
}

/* ===== DISC HERO (look & feel do print) ===== */
.page-disc {
  background: #0b0f19;
}

.disc-hero {
  padding: 28px 0 56px;
}

.disc-title-big {
  letter-spacing: .04em;
}

.disc-btn {
  background: #761bff;
  border: 0;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.disc-btn:hover {
  filter: brightness(1.05);
}

.disc-stripe {
  margin: 28px 0 26px;
  height: 8px;
  width: 100%;
  border-radius: 2px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(118,27,255,.95) 0 10px,
    rgba(118,27,255,.15) 10px 20px
  );
  max-width: 820px;
}

.disc-quote {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
  max-width: 880px;
}

/* ===== Painel com menu lateral (tabs verticais) ===== */
.disc-panel-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 0;
  align-items: stretch;
}

.disc-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
}

.disc-rail-btn {
  all: unset;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 15px 0;
  border-radius: 10px 0 0 10px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .15s ease, background .15s ease;
}

.disc-rail-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.09);
}

.disc-rail-btn span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}

.disc-rail-btn.is-active {
  background: rgba(118,27,255,.4);
  outline: 1px solid rgba(118,27,255,.7);
}

.disc-rail-btn.is-active span {
  color: #ff006e;
}

.disc-panel {
  background: rgba(118,27,255,.4);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  min-height: 420px;
}

.disc-panel h5 {
  font-weight: 900;
  letter-spacing: .02em;
  margin-bottom: 12px;
  color: #fff;
}

.disc-panel p,
.disc-panel li {
  color: rgba(255,255,255,.86);
}

.disc-panel .small-note {
  color: rgba(255,255,255,.75);
}

.disc-tab {
  display: none;
}

.disc-tab.is-active {
  display: block;
}

.disc-panel ul {
  margin-bottom: 12px;
}

.disc-panel ul li {
  margin-bottom: 6px;
}

/* Responsivo */
@media (max-width: 991.98px) {
  .disc-panel-wrap {
    grid-template-columns: 1fr;
  }
  .disc-rail {
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 0 12px;
  }
  .disc-rail-btn {
    width: auto;
    height: auto;
    padding: 10px 12px;
  }
  .disc-rail-btn span {
    writing-mode: horizontal-tb;
    letter-spacing: .08em;
  }
}

/* ====== INLINE TEST (igual prints) ====== */
.disc-test-card,
.disc-result-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
  overflow: hidden;
}

.disc-test-topbar {
  background: rgba(255,255,255,.12);
  padding: 12px 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.disc-test-restart {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.85);
  text-decoration: underline;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.disc-test-body {
  padding: 14px 14px 0;
}

.disc-test-error {
  background: rgba(255,0,110,.14);
  border: 1px solid rgba(255,0,110,.35);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.92);
  font-weight: 700;
}

.disc-statement {
  padding: 12px 12px 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.disc-statement-title {
  background: rgba(255,255,255,.18);
  border-radius: 8px 8px 0 0;
  padding: 5px;
  text-align: center;
  margin-bottom: 10px;
}

.disc-opts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.disc-opt {
  background: #6f1fff;
  border-radius: 0 0 8px 8px ;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,.25);
  user-select: none;
  transition: opacity .15s ease, filter .15s ease, transform .12s ease;
}

.disc-opt small {
  display: block;
  margin-bottom: 6px;
}

.disc-opt input {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.9);
  display: inline-block;
  position: relative;
  top: 1px;
}

.disc-opt input:checked {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.15);
}

/* Opção desativada visualmente */
.disc-opt.is-disabled {
  opacity: .35;
  filter: grayscale(.4);
  pointer-events: none;
}

/* Opção selecionada */
.disc-opt.is-selected {
  opacity: 1;
  filter: none;
  transform: scale(1.02);
  box-shadow: 0 0 0 2px rgba(255,255,255,.15);
}

.disc-opt input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  background: transparent;
  display: inline-grid;
  place-content: center;
}

.disc-opt input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform .12s ease;
  background: #00ff6a;
  box-shadow: 0 0 12px rgba(0,255,106,.55);
}

.disc-opt input[type="radio"]:checked {
  border-color: rgba(0,255,106,.8);
}

.disc-opt input[type="radio"]:checked::before {
  transform: scale(1);
}

.disc-test-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.disc-test-progress {
  font-weight: 900;
  color: rgba(255,255,255,.9);
}

.disc-test-next {
  background: rgba(255,255,255,.18);
  border: 0;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ====== RESULTADO (igual print) ====== */
.disc-result-card {
  padding: 16px;
}

.disc-result-title {
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: clamp(28px, 3.4vw, 52px);
  color: #fff;
}

.disc-result-title .pink {
  color: #ff006e;
}

.disc-result-scores {
  display: flex;
  gap: 22px;
  margin: 10px 0 6px;
  color: rgba(255,255,255,.86);
  font-weight: 900;
}

.disc-result-restart {
  background: rgba(255,255,255,.14);
  border: 0;
  padding: 10px 16px;
  margin-top: -20px;
  border-radius: 0 0 10px 10px;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.disc-result-restart:hover {
  background: #ff006e;
  color: #fff;
}

.disc-result-grid {
  display: grid;
  grid-template-columns: 1.5fr .6fr;
  gap: 14px;
  margin-top: 12px;
}

.disc-result-panel {
  background: rgba(190,200,255,1);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 14px;
}

.disc-result-panel .panel-aside {
  background: rgba(255,255,255,.06);
}

.disc-result-mini {
  color: rgba(255,255,255,.82);
}

.disc-result-bottom {
  text-align: center;
  margin-top: 18px;
}

.disc-result-code {
  font-weight: 1000;
  letter-spacing: .08em;
  font-size: 42px;
  color: #fff;
}

.disc-result-tagline {
  opacity: .85;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.disc-profile-box {	
  font-size:1rem;
  border: 1px solid #662288;
  border-radius: 10px;
  padding: 15px 15px;
  margin-bottom: 15px;
}

.disc-profile-box .profile-title {	
  font-size:1.5rem;
  margin-bottom:.25rem;
}

@media (max-width: 992px) {
  .disc-opts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .disc-result-grid {
    grid-template-columns: 1fr;
  }
}