/* Tema escuro das telas internas: mesmo fundo de estádio da home; o conteúdo fica em painéis claros. */
html { background:#050d1f; }
body:not(.home-dark) { background:transparent !important; position:relative; min-height:100vh; }
body:not(.home-dark)::before {
  content:''; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background: linear-gradient(rgba(3,8,20,0.55), rgba(3,8,20,0.68)), url('../assets/bg-estadio.jpg') center 58% / cover no-repeat, #050d1f;
}
body:not(.home-dark) .bg-glow { display:none; }

/* cabeçalho e barra de atalhos: escuros, combinando com o fundo */
body:not(.home-dark) .public-topbar { background:rgba(3,10,26,0.86) !important; border-bottom:1px solid rgba(255,255,255,0.1) !important; backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); color:#E6EFFF; }
body:not(.home-dark) .public-topbar a { color:#E6EFFF; }
body:not(.home-dark) .public-topbar .btn, body:not(.home-dark) .public-topbar .nav-pill { color:var(--text-primary); }
body:not(.home-dark) .atleta-nav { background:rgba(3,10,26,0.82); border-bottom:1px solid rgba(255,255,255,0.1); }
body:not(.home-dark) .brand-tagline { background:rgba(3,10,26,0.86); border-bottom:1px solid rgba(255,255,255,0.08); }
body:not(.home-dark) .brand-tagline .bt-base { color:#6FA8FF; }
body:not(.home-dark) .brand-tagline .bt-sep, body:not(.home-dark) .brand-tagline .bt-sub { color:#E6EFFF; }
/* a logo tem letras azul-escuras: no fundo escuro ela vai sobre uma plaquinha clara */
body:not(.home-dark) .public-topbar .brand-logo { background:#FFFFFF; border-radius:12px; padding:5px 12px; box-sizing:content-box; height:34px; }

/* textos soltos sobre o fundo (títulos e frases que não estão dentro de painéis) */
body:not(.home-dark) .main > h1, body:not(.home-dark) .main > h2, body:not(.home-dark) .page-title { color:#FFFFFF; }
body:not(.home-dark) .eyebrow { color:rgba(230,239,255,0.7); }
body:not(.home-dark) .card .eyebrow { color:var(--text-muted); }body:not(.home-dark) .page-title ~ p, body:not(.home-dark) .page-title ~ div > p { color:rgba(230,239,255,0.8) !important; }
body:not(.home-dark) .public-topbar a.whoami-pill { color:var(--lime-text); }
body:not(.home-dark) .public-topbar .whoami-text small, body:not(.home-dark) .public-topbar .whoami-text b { color:var(--lime-text); }
/* títulos e frases dos blocos do painel que ficam direto sobre o fundo */
body:not(.home-dark) [id^="bloco"] > div:first-child .eyebrow { color:rgba(230,239,255,0.72); }
body:not(.home-dark) [id^="bloco"] > div:first-child h2 { color:#FFFFFF; }
body:not(.home-dark) [id^="bloco"] > div:first-child p { color:rgba(230,239,255,0.88) !important; }

/* marca (copiada da home) */
.lp-marca { font-family:'Space Grotesk', sans-serif; font-weight:700; font-style:italic; font-size:21px; letter-spacing:0.14em; text-decoration:none; display:flex; align-items:baseline; justify-content:center; gap:6px; white-space:nowrap; }
.lp-marca { align-items:center; gap:10px; }
.lp-marca .lp-marca-logo { height:44px; width:auto; display:block; flex-shrink:0; margin-right:4px; filter:drop-shadow(0 0 6px rgba(255,255,255,0.25)); }
.lp-marca .bt-base { color:#6FA8FF; }
.lp-marca .bt-nex { color:#8BD100; margin-left:-4px; }
.lp-marca .bt-sep { color:#E6EFFF; opacity:0.6; }
.lp-marca .bt-sub { color:#E6EFFF; font-size:15px; letter-spacing:0.18em; }
@media (max-width: 520px) { .lp-marca { font-size:16px; gap:6px; } .lp-marca .lp-marca-logo { height:34px; margin-right:0; }.lp-marca .bt-sub { font-size:11px; letter-spacing:0.1em; } }
.lp-marca .lp-marca-txt { display:inline-block; white-space:nowrap; line-height:1; }
.lp-marca .lp-marca-txt .bt-base { margin-right:3px; }
.lp-marca .lp-marca-txt .bt-sep { margin:0 10px; }
.lp-marca .lp-marca-nex { display:inline-block; height:24px; width:auto; vertical-align:baseline; margin:0 0 -1px 0; }
@media (max-width: 520px) { .lp-marca .lp-marca-nex { height:18px; margin-bottom:-1px; } .lp-marca .lp-marca-txt .bt-sep { margin:0 6px; } }

/* ---- a mesma marca do topo da home (corredor + BASE NEX + CONEXÕES ESPORTIVAS) nas telas internas ---- */
body:not(.home-dark) .brand-tagline { display:none !important; }
.public-topbar { position:relative; }
body:not(.home-dark) .public-topbar > a.lp-marca:first-child { background:none !important; padding:0 !important; height:auto !important; }
@media (min-width: 1101px) {
  .public-topbar { display:flex; align-items:center; justify-content:space-between; gap:16px; }
  .public-topbar > a.lp-marca:first-child { position:static; transform:none; flex:1 1 auto; justify-content:center; order:0; }
}
@media (min-width: 1600px) { .public-topbar > a.lp-marca:first-child { position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); flex:none; } }