/* PsiNote Match — identidade própria usando os tokens da vitrine (css/psico-cards.css) */
.match-body { font-family: 'Raleway', sans-serif; color: var(--texto); background: var(--fundo-alt); min-height: 100vh; }
.match-voltar-busca { color: var(--texto-sub); font-weight: 600; font-size: .88rem; text-decoration: none; }
.match-voltar-busca:hover { color: var(--roxo); }

.match-wrap { padding: 40px 0 80px; }
.match-card {
  max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg);
  border: 1.5px solid var(--borda); box-shadow: var(--shadow); padding: 32px 36px;
}
.match-topo { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.match-eyebrow {
  display: inline-flex; gap: 6px; align-items: center; font-size: .75rem; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase; color: var(--roxo); background: var(--roxo-light);
  padding: 5px 14px; border-radius: 50px;
}
.match-anonimo { font-size: .78rem; color: var(--texto-muted); font-weight: 600; }
.match-progresso { height: 6px; border-radius: 6px; background: var(--roxo-light); overflow: hidden; }
.match-progresso-barra { height: 100%; width: 33%; background: var(--gradiente); border-radius: 6px; transition: width .4s cubic-bezier(.4,0,.2,1); }
.match-etapa-label { font-size: .78rem; color: var(--texto-muted); font-weight: 600; margin: 8px 0 22px; }

.match-etapa { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.match-etapa.ativa { display: block; animation: matchEntra .35s ease both; }
@keyframes matchEntra { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .match-etapa.ativa { animation: none; } .match-progresso-barra { transition: none; } }
.match-etapa legend {
  font-family: 'Playfair Display', serif; font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 700;
  line-height: 1.25; margin-bottom: 6px; float: none; outline: none;
}
.match-sub { color: var(--texto-sub); font-size: .92rem; margin-bottom: 16px; }

.match-opcoes { display: grid; gap: 14px; margin-top: 18px; }
.match-opcoes-3 { grid-template-columns: repeat(3, 1fr); }
.match-opcoes-2 { grid-template-columns: repeat(2, 1fr); }
.match-opcoes-lista { grid-template-columns: 1fr; gap: 10px; }

.match-opcao { position: relative; cursor: pointer; margin: 0; }
.match-opcao input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.match-opcao-conteudo {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  height: 100%; padding: 22px 16px; border-radius: var(--radius); border: 2px solid var(--borda);
  background: var(--fundo); transition: var(--transition);
}
.match-opcao-conteudo strong { font-size: .95rem; font-weight: 700; color: var(--texto); }
.match-opcao-conteudo small { display: block; font-size: .82rem; color: var(--texto-muted); font-weight: 500; margin-top: 2px; }
.match-ilustra {
  width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--roxo); background: var(--roxo-light); transition: var(--transition); flex-shrink: 0;
}
.match-opcao:hover .match-opcao-conteudo { border-color: var(--roxo-mid); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.match-opcao input:focus-visible + .match-opcao-conteudo { outline: 3px solid var(--azul-claro); outline-offset: 2px; }
.match-opcao input:checked + .match-opcao-conteudo { border-color: var(--roxo); background: var(--roxo-light); box-shadow: var(--shadow-sm); }
.match-opcao input:checked + .match-opcao-conteudo .match-ilustra { background: var(--gradiente); color: #fff; }

.match-opcao-linha .match-opcao-conteudo { flex-direction: row; text-align: left; padding: 14px 16px; gap: 14px; }
.match-opcao-linha .match-ilustra { width: 44px; height: 44px; font-size: 1.15rem; border-radius: 12px; }
.match-opcao-linha .match-opcao-conteudo > span:nth-child(2) { flex: 1; }
.match-check {
  width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--borda); display: flex;
  align-items: center; justify-content: center; color: transparent; flex-shrink: 0; transition: var(--transition);
}
.match-opcao input:checked + .match-opcao-conteudo .match-check { background: var(--roxo); border-color: var(--roxo); color: #fff; }

.match-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.match-btn-voltar, .match-btn-continuar {
  border-radius: 50px; padding: 12px 26px; font-weight: 700; font-size: .92rem; border: 0;
  display: inline-flex; align-items: center; gap: 8px; transition: var(--transition);
}
.match-btn-voltar { background: transparent; color: var(--texto-sub); border: 1.5px solid var(--borda); }
.match-btn-voltar:disabled { opacity: .4; }
.match-btn-continuar { background: var(--gradiente); color: #fff; }
.match-btn-continuar:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: var(--shadow); }
.match-privacidade { margin: 22px 0 0; font-size: .78rem; color: var(--texto-muted); line-height: 1.6; }

/* Resultados */
.match-res-hero { max-width: 900px; margin: 0 auto 28px; text-align: center; }
.match-res-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 700; margin: 14px 0 8px; }
.match-res-hero p { color: var(--texto-sub); }
.match-aviso {
  max-width: 900px; margin: 0 auto 22px; background: #fff; border: 1.5px dashed var(--roxo-mid);
  border-radius: var(--radius); padding: 14px 18px; font-size: .88rem; color: var(--texto-sub);
}
.match-aviso i { color: var(--roxo); margin-right: 6px; }
.match-resultados { max-width: 900px; margin: 0 auto; }
.match-compat {
  display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800;
  color: var(--roxo); background: #fff; border: 1.5px solid var(--roxo-mid); border-radius: 50px;
  padding: 3px 12px; margin: 0 0 8px 6px;
}
.match-refazer { text-align: center; margin-top: 32px; }
.match-refazer a { color: var(--roxo); font-weight: 700; text-decoration: none; margin: 0 10px; }

@media (max-width: 767px) {
  .match-card { padding: 22px 18px; border-radius: var(--radius); }
  .match-opcoes-3, .match-opcoes-2 { grid-template-columns: 1fr; }
  .match-opcoes-3 .match-opcao-conteudo, .match-opcoes-2 .match-opcao-conteudo { flex-direction: row; text-align: left; padding: 14px 16px; }
  .match-opcoes-3 .match-ilustra, .match-opcoes-2 .match-ilustra { width: 44px; height: 44px; font-size: 1.2rem; }
  .match-btn-voltar, .match-btn-continuar { padding: 12px 18px; }
}
