/* Taxonomy hero — lead on the left, documented selection on the right.
   Shared by /jogos/{modalidade} and /pagamento/{metodo}. Fraunces comes from sections.css. */

.taxo-hero{
  background:linear-gradient(150deg,#07402E 0%,#042C21 74%);
  border-bottom:1px solid var(--line);
  padding:48px 0 34px;
}
.taxo-hero + .section{padding-top:32px}

.taxo-hero-grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.78fr);
  gap:52px;align-items:center;
}
.taxo-hero-grid.is-hub{grid-template-columns:1fr}
.taxo-hero-grid.is-hub .taxo-lede{max-width:70ch}

.taxo-kicker{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;font-weight:700}
.taxo-kicker b{
  background:var(--gold);color:var(--forest-2);
  padding:4px 9px;border-radius:5px;font-size:11px;
}
.taxo-kicker > span{
  color:var(--muted);letter-spacing:.14em;text-transform:uppercase;font-size:11px;font-weight:700;
}

.taxo-title{
  margin:18px 0 0;
  font-family:Fraunces,Georgia,'Times New Roman',serif;
  font-variation-settings:'opsz' 120,'wght' 600,'SOFT' 40,'WONK' 1;
  font-weight:600;
  font-size:clamp(34px,4.1vw,56px);line-height:1.04;letter-spacing:-.02em;
}
.taxo-hero .page-update-date{margin:12px 0 0;font-size:12px;color:var(--heromuted)}
.taxo-lede{margin:14px 0 0;font-size:16.5px;color:#CFE3D7;max-width:50ch}

.taxo-actions{margin-top:24px;display:flex;gap:12px;flex-wrap:wrap}
.taxo-btn{
  display:inline-block;text-decoration:none;
  background:var(--button);color:var(--buttonink);
  font-weight:700;font-size:15px;padding:13px 24px;border-radius:12px;
  transition:filter .16s;
}
.taxo-btn:hover{filter:brightness(1.08)}
.taxo-btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.taxo-btn.ghost:hover{border-color:var(--gold);color:var(--gold);filter:none}

.taxo-meta{margin:18px 0 0;display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#8FAFA0}
.taxo-meta span::after{content:"·";margin-left:18px;color:var(--line)}
.taxo-meta span:last-child::after{content:""}

/* --- the selection card --- */
.taxo-card{
  border:1px solid var(--line);border-radius:18px;
  background:rgba(4,36,27,.62);padding:22px 22px 16px;
}
.taxo-card-head{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:4px}
.taxo-eyebrow{
  font-size:10.5px;letter-spacing:.15em;text-transform:uppercase;font-weight:800;color:var(--gold);
}
.taxo-card-head h2{
  margin:8px 0 0;
  font-family:Fraunces,Georgia,serif;
  font-variation-settings:'opsz' 120,'wght' 600,'SOFT' 40,'WONK' 1;
  font-weight:600;font-size:27px;line-height:1.1;
}
.taxo-card-head p{margin:4px 0 0;font-size:12.5px;color:var(--muted)}

.taxo-item{
  display:flex;align-items:center;gap:14px;
  padding:13px 0;border-bottom:1px solid rgba(255,255,255,.07);
  text-decoration:none;
}
.taxo-item:last-of-type{border-bottom:0}
.taxo-rank{
  flex:0 0 20px;font-family:'JetBrains Mono',ui-monospace,monospace;
  font-size:12px;font-weight:700;color:var(--gold);
}
.taxo-item .operator-logo{
  width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;
  border-radius:11px;background:#fff;padding:5px;
  display:grid;place-items:center;font-size:12px;
}
.taxo-item .operator-logo img{width:100%;height:100%;object-fit:contain}
.taxo-name{flex:1;min-width:0}
.taxo-name strong{display:block;font-size:15.5px;color:var(--ink)}
.taxo-name small{
  display:block;font-size:12px;color:var(--muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.taxo-arrow{color:var(--gold);transition:transform .16s}
.taxo-item:hover .taxo-name strong,.taxo-item:focus-visible .taxo-name strong{color:var(--gold)}
.taxo-item:hover .taxo-arrow{transform:translate(2px,-2px)}

.taxo-empty{margin:16px 0;font-size:14px;color:var(--muted)}
.taxo-card-foot{
  display:flex;justify-content:space-between;gap:12px;
  border-top:1px solid var(--line);margin-top:10px;padding-top:12px;
  font-size:11.5px;color:#8FAFA0;
}

@media (max-width:1080px){
  .taxo-hero-grid{grid-template-columns:1fr;gap:30px}
  .taxo-lede{max-width:none}
}
@media (max-width:720px){
  .taxo-hero{padding:32px 0 26px}
  .taxo-hero + .section{padding-top:24px}
  .taxo-title{font-size:clamp(28px,7.5vw,38px)}
  .taxo-btn{flex:1 1 100%;text-align:center}
  .taxo-card{padding:18px 16px 14px}
  .taxo-card-head h2{font-size:23px}
}
@media (prefers-reduced-motion:reduce){
  .taxo-item:hover .taxo-arrow{transform:none}
}
