/* ==========================================================================
   [1.0] RESET, VARIÁVEIS MASTER E SCROLLBAR
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-absoluto: #121212; 
    --bg-painel: #1e1e1e;
    --borda-painel: #333333;
    --texto-principal: #ffffff;
    --texto-secundario: #a0a0a0;
    --ds-verde: #009c3b; 
    --ds-amarelo: #fed900;
    --ds-azul: #2979ff; 
    --ds-vermelho: #ee2e31;
    --verde-ev: #00e676;
    --cor-campo: #064e3b;
}

body {
    font-family: 'Open Sans', -apple-system, sans-serif;
    background-color: var(--bg-absoluto); 
    color: var(--texto-principal);
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background-color: #121212; border-left: 1px solid #1e1e1e; }
::-webkit-scrollbar-thumb { background-color: #333333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background-color: var(--ds-azul); }
* { scrollbar-width: thin; scrollbar-color: #333333 #121212; }

h1, h2, h3, h4, h5, h6, .navbar-brand, .numero-destaque, .comp-pontos, .r-val, .dado-valor, .slot-pontos, .slot-vazio, .radar-nome, .btn-escalar, .btn-filtro-radar, .seletor-formacao {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   [2.0] NAVBAR UNIVERSAL
   ========================================================================== */
.navbar-master {
    width: 100%; background-color: #000000; border-bottom: 2px solid var(--ds-azul);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 40px; height: 60px; position: sticky; top: 0; z-index: 1000;
}
.nav-header { display: flex; justify-content: space-between; align-items: center; width: auto; }
.logo-nav { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.logo-nav span { color: var(--ds-azul); }
.menu-toggle { display: none; cursor: pointer; color: #fff; font-size: 26px; user-select: none; }
.links-nav { display: flex; gap: 25px; align-items: center; }
.links-nav a { font-family: 'Open Sans', sans-serif; color: #a0a0a0; text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; transition: 0.2s; letter-spacing: 0.5px; }
.links-nav a:hover { color: #ffffff; }

@media screen and (max-width: 768px) {
    .navbar-master { padding: 15px 20px; height: auto; flex-direction: column; align-items: flex-start; }
    .nav-header { width: 100%; }
    .menu-toggle { display: block; }
    .links-nav { display: none; flex-direction: column; width: 100%; gap: 15px; margin-top: 15px; border-top: 1px solid #333; padding-top: 15px; align-items: center; }
    .links-nav.ativo { display: flex; }
}

/* ==========================================================================
   [3.0] PÁGINA INICIAL E COMPONENTES GERAIS
   ========================================================================== */
.hero-section {
    padding: 80px 20px 80px 20px; text-align: center; position: relative;
    background-color: var(--bg-absoluto);
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px; border-bottom: 1px solid var(--borda-painel);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.hero-title { font-size: 42px; font-weight: 900; margin-bottom: 20px; letter-spacing: -1px; line-height: 1.1; text-transform: uppercase; }
.hero-title span { color: var(--ds-azul); }
.hero-subtitle { color: var(--texto-secundario); font-size: 16px; margin: 0 auto 40px auto; line-height: 1.6; font-weight: 600; }
.status-bar { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 30px; }
.badge-status { background: var(--bg-painel); border: 1px solid var(--borda-painel); padding: 8px 15px; border-radius: 2px; font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-status.urgente { border-color: rgba(245, 158, 11, 0.5); color: #f59e0b; }
.badge-status i { width: 8px; height: 8px; background: currentColor; }
.btn-cta-hero { display: inline-block; background: var(--ds-azul); color: #fff; padding: 15px 35px; border-radius: 2px; font-size: 14px; font-weight: 800; text-decoration: none; transition: all 0.2s ease; border: 1px solid var(--ds-azul); text-transform: uppercase; }
.btn-cta-hero:hover { background: transparent; color: var(--ds-azul); }

/* Placar de Comparação */
.comparacao-wrapper { position: relative; margin-top: -60px; padding: 0 20px; z-index: 10; }
.comparacao-container { max-width: 850px; margin: 0 auto; background: var(--bg-painel); border: 1px solid var(--borda-painel); border-radius: 16px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); position: relative; padding: 40px 20px; background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 70%); }
.comp-inner { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.comp-team { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.comp-vs-badge { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; font-size: 20px; z-index: 3; }
.comp-avatar { width: 65px; height: 65px; border-radius: 50%; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1); padding: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.comp-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.comp-avatar svg { width: 35px; height: 35px; color: #a78bfa; }
.comp-titulo { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.comp-subtitle { font-size: 11px; color: var(--texto-secundario); text-transform: uppercase; font-weight: bold; }
.team-ds .comp-pontos { color: #38bdf8; } 
.team-comunidade .comp-pontos { color: #a78bfa; } 
.comp-pontos { font-size: 46px; font-weight: 900; margin: 10px 0; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.diferenca-tag { background: rgba(56, 189, 248, 0.15); color: #38bdf8; font-size: 11px; font-weight: 800; padding: 6px 14px; border-radius: 50px; display: inline-block; margin-top: 5px; border: 1px solid rgba(56, 189, 248, 0.2); text-transform: uppercase; }

/* Features & Pricing */
.features-section, .pricing-section { max-width: 1200px; margin: 80px auto; padding: 0 20px; text-align: center; }
.section-header { margin-bottom: 50px; }
.section-header h2 { font-size: 32px; color: #fff; margin-bottom: 15px; font-weight: 800; }
.section-header p { font-size: 16px; color: var(--texto-secundario); max-width: 650px; margin: 0 auto; line-height: 1.6; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; text-align: left; }
.feature-card { background: var(--bg-painel); border: 1px solid var(--borda-painel); border-radius: 16px; padding: 40px 30px; transition: transform 0.3s, box-shadow 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.1); }
.feature-icon { width: 55px; height: 55px; background: rgba(16,185,129,0.1); color: var(--verde-ev); border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 25px; }
.feature-title { font-size: 20px; color: #fff; margin-bottom: 15px; font-weight: 700; }
.feature-desc { font-size: 15px; color: var(--texto-secundario); line-height: 1.6; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.plan-card { background: var(--bg-painel); border: 1px solid var(--borda-painel); border-radius: 2px; padding: 40px 30px; text-align: left; display: flex; flex-direction: column; }
.plan-pro { border-top: 4px solid var(--ds-azul); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.plan-title { font-size: 22px; color: #fff; margin-bottom: 10px; font-weight: 800; text-transform: uppercase; }
.plan-price { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 20px; font-family: 'Montserrat', sans-serif; }
.plan-price span { font-size: 14px; color: var(--texto-secundario); font-weight: 600; }
.plan-desc { font-size: 13px; color: var(--texto-secundario); margin-bottom: 30px; line-height: 1.5; }
.plan-features { list-style: none; margin-bottom: 40px; flex-grow: 1; padding: 0; }
.plan-features li { font-size: 13px; color: #cbd5e1; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.plan-features li svg { color: var(--verde-ev); flex-shrink: 0; }
.plan-features li.disabled { color: #475569; text-decoration: line-through; }
.plan-features li.disabled svg { color: #475569; }
.btn-plan { display: block; width: 100%; text-align: center; padding: 15px; border-radius: 2px; font-size: 14px; font-weight: 800; text-decoration: none; text-transform: uppercase; transition: 0.2s; }
.btn-free { background: transparent; border: 1px solid var(--borda-painel); color: var(--texto-secundario); }
.btn-free:hover { border-color: #fff; color: #fff; }
.btn-premium { background: var(--ds-azul); border: 1px solid var(--ds-azul); color: #fff; }
.btn-premium:hover { background: #1565c0; }

/* Gráficos e Split */
.dashboard-split { max-width: 1300px; margin: 0 auto 60px auto; padding: 0 20px; display: flex; gap: 40px; align-items: flex-start; }
.chart-wrapper { flex: 1; display: flex; flex-direction: column; }
.chart-container { background: var(--bg-painel); border: 1px solid var(--borda-painel); border-radius: 2px; padding: 20px; height: 400px; position: relative; display: block; width: 100%; }

/* Modais Jurídicos */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 2000; align-items: center; justify-content: center; }
.modal-content { background: var(--bg-painel); border: 1px solid var(--borda-painel); border-radius: 2px; width: 90%; max-width: 600px; padding: 40px; position: relative; max-height: 80vh; overflow-y: auto; text-align: left; }
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 24px; color: var(--texto-secundario); cursor: pointer; border: none; background: transparent; font-weight: bold; }
.modal-close:hover { color: #fff; }

/* Rodapé */
.site-footer { background: #030712; border-top: 1px solid var(--borda-painel); padding: 50px 20px 30px 20px; text-align: center; margin-top: auto; }
.footer-links { display: flex; justify-content: center; gap: 25px; margin-bottom: 30px; flex-wrap: wrap; }
.footer-links a { color: var(--texto-secundario); text-decoration: none; font-size: 13px; transition: 0.3s; font-weight: 500; }
.footer-links a:hover { color: var(--texto-principal); }
.footer-disclaimer { font-size: 11px; color: #475569; max-width: 800px; margin: 0 auto; line-height: 1.6; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-copy { margin-top: 25px; font-size: 12px; color: #64748b; }

/* ==========================================================================
   [4.0] ESCALAÇÃO E CAMPINHO (ASSISTENTE TÉCNICO)
   ========================================================================== */
.app-container { display: flex; flex: 1; padding: 20px; gap: 20px; max-width: 1400px; margin: 0 auto; width: 100%; overflow: hidden; }
.esquerda-campinho { flex: 6; display: flex; flex-direction: column; background: var(--bg-painel); border: 1px solid var(--borda-painel); border-radius: 12px; padding: 20px; overflow: hidden; }
.direita-radar { flex: 4; display: flex; flex-direction: column; background: var(--bg-painel); border: 1px solid var(--borda-painel); border-radius: 12px; padding: 20px; overflow: hidden; }

.painel-controle { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; background: rgba(0,0,0,0.3); padding: 15px; border-radius: 8px; border: 1px solid var(--borda-painel); flex-wrap: wrap; gap: 15px; flex-shrink: 0; }
.dados-time { display: flex; gap: 25px; }
.dado-item { display: flex; flex-direction: column; }
.dado-label { font-size: 10px; color: var(--texto-secundario); font-weight: bold; text-transform: uppercase; margin-bottom: 2px; }
.dado-valor { font-size: 20px; font-weight: 900; color: #fff; }
.valor-destaque { color: var(--verde-ev); }
.seletor-formacao { background: #1e293b; color: #fff; border: 1px solid var(--borda-painel); padding: 8px 15px; border-radius: 6px; font-weight: bold; outline: none; cursor: pointer; }

.campo-futebol { flex: 1; background: linear-gradient(180deg, #064e3b 0%, #022c22 100%); border-radius: 8px; border: 2px solid rgba(16, 185, 129, 0.3); position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 15px 10px; overflow: hidden; min-height: 550px; }
.campo-futebol::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,0.15); transform: translateY(-50%); z-index: 1; }
.campo-futebol::after { content: ''; position: absolute; top: 50%; left: 50%; width: 100px; height: 100px; border: 2px solid rgba(255,255,255,0.15); border-radius: 50%; transform: translate(-50%, -50%); z-index: 1; }
.linha-campo { display: flex; justify-content: space-around; align-items: center; width: 100%; position: relative; z-index: 2; flex: 1; }

.slot-jogador { width: 85px; height: 105px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; cursor: pointer; transition: transform 0.2s; position: relative; }
.slot-jogador:hover { transform: scale(1.08); z-index: 50; }
.slot-vazio { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 2px dashed rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 5px; font-size: 11px; color: #fff; font-weight: bold; text-transform: uppercase; }
.slot-ativo .slot-vazio { border-color: var(--verde-ev); background: rgba(16, 185, 129, 0.2); box-shadow: 0 0 15px rgba(16,185,129,0.5); }
.slot-ativo { filter: drop-shadow(0 0 8px rgba(16,185,129,0.8)); z-index: 10; }

.foto-wrapper { position: relative; width: 55px; height: 55px; margin-bottom: 5px; display: inline-flex; justify-content: center; }
.foto-slot { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #334155; background: #1e293b; }
.escudo-mini { position: absolute; bottom: -3px; right: -3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; padding: 2px; }

.slot-nome { font-size: 10px; color: #fff; font-weight: bold; text-shadow: 1px 1px 2px #000; text-align: center; width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: rgba(0,0,0,0.5); padding: 3px 5px; border-radius: 4px; }
.slot-pontos { font-size: 11px; color: var(--verde-ev); font-weight: 900; text-shadow: 1px 1px 2px #000; margin-top: 3px; }

.hover-actions { position: absolute; top: -10px; left: -10px; right: -10px; display: flex; justify-content: space-between; z-index: 20; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.slot-jogador:hover .hover-actions, .slot-jogador.mostrar-botoes .hover-actions { opacity: 1 !important; pointer-events: auto !important; }
.btn-hover { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.5); transition: transform 0.2s; }
.btn-hover:hover { transform: scale(1.2); }
.btn-hover.remover { background: #e74c3c; color: #fff; }
.btn-hover.capitao { background: #f1c40f; color: #000; }
.btn-hover.rdl { background: #3498db; color: #fff; }

.badge-ativo { position: absolute; top: -5px; right: -5px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; box-shadow: 0 2px 5px rgba(0,0,0,0.5); z-index: 5; border: 2px solid transparent; }
.badge-ativo.capitao { background: #000; color: #f1c40f; border-color: #f1c40f; }
.badge-ativo.rdl { background: #000; color: #3498db; border-color: #3498db; }
.is-capitao .foto-slot { border-color: #f1c40f !important; border-width: 3px; }
.is-rdl .foto-slot { border-color: #3498db !important; border-width: 3px; }

.banco-reservas { background: rgba(0,0,0,0.4); border-radius: 8px; padding: 10px; margin-top: 10px; border: 1px solid var(--borda-painel); flex-shrink: 0; }
.banco-titulo { font-size: 11px; color: var(--texto-secundario); margin: 0 0 10px 0; text-align: center; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; }
.banco-slots { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.banco-slots .slot-jogador { width: 65px; height: 85px; }
.banco-slots .foto-wrapper { width: 40px; height: 40px; margin-bottom: 2px; }
.banco-slots .foto-img { border-width: 2px; }
.banco-slots .slot-vazio { width: 35px; height: 35px; font-size: 9px; }
.banco-slots .slot-nome { font-size: 9px; width: 70px; padding: 2px; margin-bottom: 1px; }
.banco-slots .slot-pontos { font-size: 9px; margin-top: 1px; }

.radar-header { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--borda-painel); flex-shrink: 0; }
.radar-header h2 { font-size: 18px; color: #fff; margin: 0 0 5px 0; }
.radar-header p { font-size: 12px; color: var(--texto-secundario); margin: 0 0 15px 0; line-height: 1.4; }
.filtros-radar { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-filtro-radar { background: #1e293b; color: var(--texto-secundario); border: 1px solid var(--borda-painel); padding: 8px 12px; border-radius: 6px; font-size: 11px; font-weight: bold; cursor: pointer; transition: 0.2s; flex: 1; text-align: center; text-transform: uppercase; }
.btn-filtro-radar.ativo { background: var(--verde-ev); color: #000; border-color: var(--verde-ev); }

.lista-jogadores { flex: 1; overflow-y: auto; min-height: 0; padding-right: 5px; display: flex; flex-direction: column; gap: 10px; }
.lista-jogadores::-webkit-scrollbar { width: 6px; }
.lista-jogadores::-webkit-scrollbar-thumb { background: #334155; border-radius: 3px; }

.card-radar { display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,0.3); border: 1px solid var(--borda-painel); padding: 12px; border-radius: 8px; transition: 0.2s; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.card-radar:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); }
.radar-info-atleta { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 150px; }
.foto-wrapper-radar { position: relative; width: 45px; height: 45px; flex-shrink: 0; display: inline-flex; justify-content: center; }
.foto-wrapper-radar .foto-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #334155; display: block; }
.foto-wrapper-radar .escudo-mini { position: absolute; width: 18px; height: 18px; bottom: -3px; right: -3px; border-radius: 50%; background: #fff; padding: 2px; }
.radar-nome { font-size: 14px; font-weight: bold; color: #fff; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.radar-detalhes { font-size: 10px; color: var(--texto-secundario); display: flex; gap: 8px; align-items: center; font-weight: bold; text-transform: uppercase; }

.radar-stats { display: flex; gap: 15px; text-align: center; }
.r-stat { display: flex; flex-direction: column; }
.r-label { font-size: 9px; color: var(--texto-secundario); margin-bottom: 2px; text-transform: uppercase; }
.r-val { font-size: 14px; font-weight: 900; color: #fff; }
.r-val.verde { color: var(--verde-ev); }

.radar-botoes { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; min-width: 100px; }
.btn-escalar { background: #1e293b; color: #fff; border: 1px solid var(--borda-painel); display: flex; align-items: center; justify-content: center; padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: bold; cursor: pointer; transition: 0.2s; width: 100%; text-transform: uppercase; }
.btn-escalar:hover { background: var(--verde-ev); color: #000; border-color: var(--verde-ev); }
.btn-capitao-radar { background: #1e293b; border-color: #f1c40f; color: #fff; }
.btn-capitao-radar:hover { background: #f1c40f; color: #000; }
.btn-rdl-radar { background: #1e293b; border-color: #3498db; color: #fff; }
.btn-rdl-radar:hover { background: #3498db; color: #000; }
.btn-remover { background: rgba(231, 76, 60, 0.1); color: #e74c3c; border-color: rgba(231, 76, 60, 0.3); }
.btn-remover:hover { background: #e74c3c; color: #fff; border-color: #e74c3c; }
.badge-c { background: #000; color: #f1c40f; border-radius: 50%; width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 900; margin-right: 5px; border: 1px solid #f1c40f; }
.mensagem-vazia { text-align: center; color: var(--texto-secundario); padding: 50px 20px; font-size: 13px; font-weight: bold; }

/* ==========================================================================
   [5.0] ESQUADRÃO EV+ (CARDS)
   ========================================================================== */
.resumo-ia { display: flex; gap: 20px; margin-bottom: 50px; flex-wrap: wrap; justify-content: center; }
.box-resumo { flex: 1; min-width: 250px; max-width: 350px; background: rgba(16, 185, 129, 0.05); border: 1px solid rgba(16, 185, 129, 0.2); border-radius: 12px; padding: 25px 20px; text-align: center; position: relative; overflow: hidden; }
.box-resumo::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--verde-ev); }
.box-resumo h3 { font-size: 11px; color: var(--texto-secundario); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 10px 0; }
.box-resumo .valor { font-size: 32px; font-weight: 900; color: #fff; margin-bottom: 5px; }
.box-resumo .subtexto { font-size: 11px; color: var(--verde-ev); font-weight: bold; }

.setor-tatico { margin-bottom: 40px; }
.setor-titulo { font-size: 14px; color: var(--texto-secundario); text-transform: uppercase; font-weight: bold; letter-spacing: 2px; border-bottom: 1px solid var(--borda-painel); padding-bottom: 10px; margin-bottom: 20px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card-jogador { background: #1e293b; border-radius: 12px; padding: 20px; border: 1px solid var(--borda-painel); transition: transform 0.2s, border-color 0.2s; display: flex; flex-direction: column; justify-content: space-between; }
.card-jogador:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.foto-atleta { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; border: 2px solid #334155; background: #0f172a; }
.escudo-miniatura { position: absolute; bottom: -5px; right: -5px; width: 22px; border-radius: 50%; background: #fff; padding: 2px; }
.info-atleta h4 { margin: 0; font-size: 16px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.info-atleta span { font-size: 11px; color: var(--texto-secundario); text-transform: uppercase; font-weight: bold; }
.card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: rgba(0,0,0,0.2); padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.stat-box { display: flex; flex-direction: column; text-align: left; }
.stat-box.destaque { border-right: 1px solid rgba(255,255,255,0.05); }
.stat-label { font-size: 10px; color: var(--texto-secundario); text-transform: uppercase; margin-bottom: 4px; }
.stat-valor { font-size: 16px; font-weight: 900; color: #fff; }
.valor-verde { color: var(--verde-ev); }
.valor-amarelo { color: #f1c40f; }
.card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px dashed var(--borda-painel); }
.adv-info { display: flex; align-items: center; gap: 8px; }
.adv-info span { font-size: 11px; color: var(--texto-secundario); font-weight: bold; }
.mando-tag { font-size: 9px; padding: 3px 6px; border-radius: 4px; font-weight: bold; color: #fff; }
.tag-mandante { background: #059669; }
.tag-visitante { background: #dc2626; }

/* ==========================================================================
   [6.0] TABELAS DE SCOUTS E RADAR ANALÍTICO
   ========================================================================== */
.tabela-interativa tbody tr:hover { background-color: rgba(52, 152, 219, 0.1); }
.tabela-interativa th { cursor: pointer; user-select: none; position: relative; padding-right: 20px; }
.tabela-interativa th.sort-asc::after { content: " \25B2"; position: absolute; right: 5px; font-size: 10px; color: var(--ds-azul); }
.tabela-interativa th.sort-desc::after { content: " \25BC"; position: absolute; right: 5px; font-size: 10px; color: var(--ds-azul); }

.pos-photo-container { position: relative; display: inline-block; width: 40px; height: 40px; }
.tecnico-foto { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.escudo-badge { position: absolute; bottom: -4px; right: -6px; width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.6); z-index: 10; background-color: var(--bg-painel); padding: 1px; }

/* STATUS RINGS (Unificados) */
.status-ring-7, .status-Provável { border: 2px solid #10b981 !important; box-shadow: 0 0 8px rgba(16, 185, 129, 0.5) !important; }
.status-ring-2, .status-Dúvida { border: 2px solid #f59f00 !important; box-shadow: 0 0 8px rgba(245, 159, 0, 0.7) !important; }
.status-ring-3, .status-ring-5, .status-Suspenso, .status-Contundido { border: 2px solid #d63939 !important; box-shadow: 0 0 8px rgba(214, 57, 57, 0.5) !important; }
.status-ring-6, .status-Nulo { border: 2px solid #6c7a91 !important; }

/* Scouts Table Override */
#tabelaScouts { width: 100%; white-space: nowrap; table-layout: auto; }
#tabelaScouts th, #tabelaScouts td { padding: 8px 10px !important; font-size: 12px !important; white-space: nowrap !important; }
.score-box { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; color: #ffffff; font-weight: bold; font-size: 0.85em; }
.score-verde { background-color: #10b981; }
.score-amarelo { background-color: #f59f00; }
.score-cinza { background-color: #6c7a91; }
.score-vermelho { background-color: #d63939; }

/* Filtros */
.btn-filtro, .btn-filtro-status { border-radius: 50px !important; padding: 4px 16px !important; font-size: 11px !important; font-weight: 600 !important; text-transform: uppercase; border: 1px solid rgba(0,0,0,0.1) !important; background-color: var(--bg-painel) !important; color: #6c7a91 !important; transition: all 0.2s ease; }
.btn-filtro:hover, .btn-filtro-status:hover { background-color: rgba(0,0,0,0.05) !important; }
.btn-filtro.ativo, .btn-filtro-status.ativo { background-color: var(--ds-azul) !important; color: white !important; border-color: var(--ds-azul) !important; box-shadow: 0 4px 8px rgba(41, 121, 255, 0.3) !important; }

/* Radar Dropdown Cards */
.linha-clicavel { cursor: pointer; transition: background-color 0.2s ease; }
.linha-clicavel:hover { background-color: rgba(59, 130, 246, 0.1) !important; }
.scout-card-container { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease; background-color: #0f172a; border-radius: 0 0 8px 8px; }
.scout-card-container.open { max-height: 500px; padding: 15px; border-top: 1px solid #1e293b; box-shadow: inset 0 4px 6px -1px rgba(0, 0, 0, 0.3); }
.metric-box { text-align: center; padding: 10px; background: #1e293b; border-radius: 6px; border: 1px solid #334155; }
.metric-value { font-size: 1.1rem; font-weight: 800; color: #f8fafc; }
.metric-label { font-size: 0.75rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; }

/* Mobile Cards (Radar Analítico) */
.mobile-card { background: var(--bg-painel); border: 1px solid var(--borda-painel); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); overflow: hidden; }
.mobile-card-header { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-card-stats { padding: 12px; display: flex; justify-content: space-around; background: rgba(0,0,0,0.2); }
.mobile-card-detailed { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease; background: #0f172a; }
.mobile-card-detailed.open { max-height: 800px; padding: 15px; border-top: 1px solid #1e293b; }

/* ==========================================================================
   [7.0] FORMULÁRIO DE CONTATO (SUPORTE)
   ========================================================================== */
.form-container { background-color: var(--bg-painel); border: 1px solid var(--borda-painel); border-radius: 2px; padding: 40px; width: 100%; max-width: 500px; margin: 60px auto; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.form-container h2 { font-size: 28px; margin-bottom: 10px; color: #fff; }
.form-container p { font-size: 14px; color: var(--texto-secundario); margin-bottom: 30px; line-height: 1.5; }
.input-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.input-group label { font-size: 12px; color: var(--texto-secundario); margin-bottom: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.input-group input, .input-group textarea { background-color: var(--bg-absoluto); border: 1px solid var(--borda-painel); border-radius: 2px; padding: 12px 15px; color: #fff; font-size: 14px; transition: border-color 0.2s; outline: none; }
.input-group input:focus, .input-group textarea:focus { border-color: var(--ds-azul); }
.input-group textarea { resize: vertical; min-height: 100px; }
.btn-submit { background-color: var(--ds-azul); color: #fff; padding: 15px; border: none; border-radius: 2px; font-size: 16px; font-weight: 700; cursor: pointer; width: 100%; text-transform: uppercase; transition: background 0.2s; }
.btn-submit:hover { background-color: #1565c0; }
.status-msg { margin-top: 20px; padding: 12px; border-radius: 2px; text-align: center; font-size: 13px; font-weight: bold; text-transform: uppercase; }
.status-sucesso { background-color: rgba(0, 230, 118, 0.1); color: var(--verde-ev); border: 1px solid var(--verde-ev); }
.status-erro { background-color: rgba(255, 61, 0, 0.1); color: var(--ds-vermelho); border: 1px solid var(--ds-vermelho); }

/* ==========================================================================
   [8.0] OVERRIDES MOBILE (GERAL)
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .app-container { flex-direction: column; height: auto; overflow: visible; padding: 10px; }
    .esquerda-campinho { height: auto; flex: none; overflow: visible; }
    .direita-radar { height: 800px; flex: none; }
}

@media screen and (max-width: 768px) {
    .app-container { padding: 10px; gap: 15px; }
    .esquerda-campinho, .direita-radar { padding: 15px; border-radius: 8px; }
    .painel-controle { flex-direction: column; align-items: stretch; gap: 15px; }
    .dados-time { width: 100%; justify-content: space-between; }
    .dado-valor { font-size: 16px; }
    .seletor-formacao { width: 100%; text-align: center; }
    .campo-futebol { min-height: 420px; padding: 10px 5px; }
    .btn-hover { width: 26px; height: 26px; font-size: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.8); }
    .slot-jogador { transform: scale(0.8); transform-origin: bottom center; width: 65px; height: 90px; }
    .slot-jogador:hover { transform: scale(0.9); z-index: 50; }
    .foto-wrapper { width: 45px; height: 45px; }
    .slot-nome { width: 70px; font-size: 9px; padding: 2px; }
    .slot-pontos { font-size: 10px; }
    .direita-radar { height: 500px; }
    .radar-info-atleta { min-width: auto; }
    .radar-nome { max-width: 100px; font-size: 12px; }
    .banco-slots .slot-jogador { transform: scale(0.9); width: 55px; }
    .form-container { padding: 30px 20px; margin-top: 40px; border-left: none; border-right: none; }
}

/* ==========================================================================
   [9.0] HOTFIX: REGRESSÃO VISUAL (FOTOS, ESCUDOS E NAVBAR)
   ========================================================================== */

/* [9.1] Restauração da Identidade Visual da Navbar Mestre */
.navbar-brand span {
    color: var(--ds-azul) !important;
    font-weight: 900;
}

/* [9.2] Restauração de Dimensões das Fotos de Atletas */
.atleta-foto {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* [9.3] Restauração do Posicionamento Geométrico dos Escudos */
.escudo-badge {
    position: absolute;
    bottom: -4px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--bg-painel);
    padding: 1px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.6);
    z-index: 10;
    object-fit: cover;
}

/* [9.4] Restauração dos Painéis Estruturais do Radar */
.grafico-container {
    position: relative;
    min-height: 450px;
    height: 100%;
    width: 100%;
    background-color: var(--bg-painel);
    border: 1px solid var(--borda-painel);
    border-radius: 8px;
    padding: 15px;
}

.filtro-painel {
    background: rgba(0,0,0,0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--borda-painel);
}