/* =========================================================
   NeoClub 2026 — Stylesheet Completo e Unificado (V4)
   Design System: Neogrid B2B SaaS
   Fonte Única: Raleway (Pesos 300 a 800)
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&display=swap");

/* ─── 1. TOKENS & VARIÁVEIS CSS ──────────────────────────── */
:root {
  --neo-red:          #F0000B;
  --neo-red-dark:     #C00008;
  --neo-navy:         #072E43;
  --neo-navy-mid:     #0D3E5A;
  --neo-navy-light:   #165B82;
  --neo-white:        #FFFFFF;
  --neo-gray-light:   #F4F2EE;
  --neo-gray:         #8899AA;
  --neo-gray-dark:    #4A5A6A;

  --seg-integra:      #0B83F3;
  --seg-supply:       #00AA51;
  --seg-intel:        #843DF5;
  --seg-retail:       #FF8C00;

  --gold:             #F5C842;
  --silver:           #B0BEC5;
  --bronze:           #CD7F32;

  --font-sans:        'Raleway', sans-serif;

  --radius-sm:        6px;
  --radius-md:        12px;
  --radius-lg:        20px;
  --radius-pill:      999px;

  --shadow-sm:        0 2px 8px rgba(7, 46, 67, 0.08);
  --shadow-md:        0 8px 24px rgba(7, 46, 67, 0.12);
  --shadow-lg:        0 16px 40px rgba(7, 46, 67, 0.2);
  --shadow-red:       0 0 0 3px rgba(240, 0, 11, 0.25);

  --transition:       180ms ease;
  --transition-cb:    0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-height:       64px;

  /* Aliases usados na landing page */
  --navy:        var(--neo-navy);
  --navy-mid:    var(--neo-navy-mid);
  --red:         var(--neo-red);
  --white:       var(--neo-white);
  --off-white:   var(--neo-gray-light);
  --gray:        var(--neo-gray);
  --font-cond:   var(--font-sans);
  --font-display:var(--font-sans);
}

/* ─── 2. RESET E ESTILOS BASE ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); background: var(--neo-gray-light); color: var(--neo-navy); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--neo-red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--neo-red-dark); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ─── 3. LAYOUT GLOBAL E UTILITÁRIOS ────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-content { padding: 32px 0 64px; }

.text-center   { text-align: center; }
.text-right    { text-align: right; }
.text-muted    { color: var(--neo-gray); }
.text-red      { color: var(--neo-red); }
.text-navy     { color: var(--neo-navy); }
.text-sm       { font-size: 13px; }
.text-xs       { font-size: 11px; }
.fw-bold       { font-weight: 700; }
.fw-semi       { font-weight: 600; }

.mt-4  { margin-top: 4px; } .mt-8  { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }

.d-flex         { display: flex; }
.align-center   { align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-8          { gap: 8px; }
.gap-12         { gap: 12px; }
.gap-16         { gap: 16px; }
.w-100          { width: 100%; }
.flex-wrap      { flex-wrap: wrap; }

.page-title { font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--neo-navy); }

/* ─── 4. HEADER, NAVBAR E NAVEGAÇÃO ─────────────────────── */
.navbar { position: sticky; top: 0; z-index: 1000; height: var(--nav-height); background: var(--neo-navy); border-bottom: 3px solid var(--neo-red); display: flex; align-items: center; box-shadow: var(--shadow-md); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { height: 38px; width: auto; }
.nav-brand { font-size: 20px; font-weight: 800; color: var(--neo-white); letter-spacing: .02em; }
.nav-brand .neo  { color: var(--neo-white); }
.nav-brand .club { color: var(--neo-red); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-sm); color: var(--neo-gray-light); font-size: 14px; font-weight: 600; transition: all var(--transition); }
.nav-links a:hover, .nav-links a.active { background: var(--neo-navy-light); color: var(--neo-white); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-bell { position: relative; background: none; border: none; cursor: pointer; padding: 6px; color: var(--neo-gray-light); font-size: 20px; border-radius: var(--radius-sm); transition: all var(--transition); }
.nav-bell:hover { color: var(--neo-white); background: var(--neo-navy-light); }
.nav-bell .badge { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; background: var(--neo-red); color: var(--neo-white); font-size: 10px; font-weight: 700; border-radius: var(--radius-pill); display: flex; align-items: center; justify-content: center; padding: 0 3px; }

.notif-dropdown { position: absolute; top: calc(var(--nav-height) + 2px); right: 16px; width: 340px; background: var(--neo-white); border: 1px solid rgba(7, 46, 67, 0.12); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: 2000; display: none; }
.notif-dropdown.open { display: block; }
.notif-dropdown-header { padding: 12px 16px; font-weight: 700; font-size: 14px; border-bottom: 1px solid rgba(7, 46, 67, 0.08); display: flex; justify-content: space-between; align-items: center; }
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-item { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(7, 46, 67, 0.06); transition: background var(--transition); cursor: pointer; }
.notif-item:hover { background: var(--neo-gray-light); }
.notif-item.unread { background: #FFF0F1; }
.notif-item.unread:hover { background: #FFE2E4; }
.notif-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-size: 13px; font-weight: 600; color: var(--neo-navy); }
.notif-text  { font-size: 12px; color: var(--neo-gray-dark); margin-top: 2px; }
.notif-time  { font-size: 11px; color: var(--neo-gray); margin-top: 4px; }
.notif-footer { padding: 10px 16px; text-align: center; }
.notif-footer a { font-size: 13px; font-weight: 600; }

.nav-avatar-wrap { display: flex; align-items: center; gap: 8px; }
.nav-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--neo-red); }
.nav-avatar-placeholder { width: 34px; height: 34px; border-radius: 50%; background: var(--neo-navy-mid); border: 2px solid var(--neo-red); display: flex; align-items: center; justify-content: center; color: var(--neo-gray-light); font-size: 16px; }
.nav-name { font-size: 13px; font-weight: 600; color: var(--neo-white); max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.countdown-bar { background: var(--neo-navy-mid); padding: 6px 0; text-align: center; font-size: 13px; color: var(--neo-gray-light); letter-spacing: .06em; }
.countdown-bar strong { color: var(--gold); }
.countdown-timer { display: inline-flex; gap: 8px; align-items: center; }
.cd-unit { display: inline-flex; flex-direction: column; align-items: center; }
.cd-num { font-size: 18px; font-weight: 700; color: var(--neo-white); line-height: 1; }
.cd-label { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

.nav-hamburger { display: none; background: none; border: none; color: var(--neo-gray-light); font-size: 22px; cursor: pointer; padding: 6px 8px; border-radius: var(--radius-sm); line-height: 1; transition: all var(--transition); flex-shrink: 0; }
.nav-hamburger:hover { background: var(--neo-navy-light); color: var(--neo-white); }
.nav-show-mobile { display: none; }
.nav-sair-mobile { display: flex; align-items: center; gap: 6px; padding: 11px 8px; font-size: 15px; font-weight: 600; color: var(--neo-gray-light); background: none; border: none; cursor: pointer; width: 100%; border-radius: var(--radius-sm); font-family: inherit; transition: all var(--transition); }
.nav-sair-mobile:hover { background: var(--neo-navy-light); color: var(--neo-white); }

/* ─── 5. BOTÕES E COMPONENTES DE FORMULÁRIO ─────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; cursor: pointer; transition: all var(--transition); border: none; text-decoration: none; }
.btn-primary { background: var(--neo-red); color: var(--neo-white); }
.btn-primary:hover { background: var(--neo-red-dark); color: var(--neo-white); box-shadow: var(--shadow-red); }
.btn-secondary { background: transparent; color: var(--neo-red); border: 2px solid var(--neo-red); }
.btn-secondary:hover { background: var(--neo-red); color: var(--neo-white); }
.btn-ghost { background: transparent; color: var(--neo-navy); border: 1px solid var(--neo-gray); }
.btn-ghost:hover { background: var(--neo-gray-light); }

.navbar .btn-ghost { color: var(--neo-gray-light); border-color: rgba(244, 242, 238, 0.4); }
.navbar .btn-ghost:hover { color: var(--neo-white); background: var(--neo-navy-light); border-color: var(--neo-gray-light); }
.btn-navy { background: var(--neo-navy); color: var(--neo-white); }
.btn-navy:hover { background: var(--neo-navy-mid); color: var(--neo-white); }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-lg { padding: 12px 28px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--neo-navy); margin-bottom: 6px; letter-spacing: .02em; }
.form-control { width: 100%; padding: 10px 14px; background: var(--neo-white); border: 1.5px solid var(--neo-gray); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--neo-navy); transition: all var(--transition); outline: none; }
.form-control:focus { border-color: var(--neo-red); box-shadow: var(--shadow-red); }
.form-control::placeholder { color: var(--neo-gray); }

.flash { padding: 12px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.flash-success { background: #e6f9ee; color: #1a7a3e; border-left: 4px solid #14C86E; }
.flash-error   { background: #fff0f0; color: var(--neo-red-dark); border-left: 4px solid var(--neo-red); }

/* ─── 6. CARDS GERAIS E DASHBOARD ───────────────────────── */
.card { background: var(--neo-white); border-radius: var(--radius-md); border: 1px solid rgba(7, 46, 67, 0.08); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-header { padding: 16px 20px; border-bottom: 1px solid rgba(7, 46, 67, 0.07); display: flex; align-items: center; justify-content: space-between; }
.card-title { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--neo-navy); }
.card-body  { padding: 20px; }
.card-footer { padding: 12px 20px; border-top: 1px solid rgba(7, 46, 67, 0.07); background: rgba(7, 46, 67, 0.02); }
.card-accent::before { content: ''; display: block; height: 4px; background: var(--neo-red); }

.dashboard-grid   { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.dashboard-grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 24px; }
.stat-card { background: var(--neo-white); border-radius: var(--radius-md); border: 1px solid rgba(7, 46, 67, 0.09); box-shadow: var(--shadow-sm); padding: 20px; }
.stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--neo-gray); margin-bottom: 8px; }
.stat-value { font-size: 42px; font-weight: 800; color: var(--neo-navy); line-height: 1; }
.stat-value.stat-red { color: var(--neo-red); }

.kpi-bar-wrap { margin-bottom: 16px; }
.kpi-bar-header { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.kpi-bar-track { height: 10px; background: rgba(7, 46, 67, 0.08); border-radius: var(--radius-pill); position: relative; }
.kpi-bar-fill { height: 100%; background: var(--neo-red); border-radius: var(--radius-pill); transition: width .6s ease; min-width: 4px; }
.kpi-bar-target { position: absolute; top: -4px; width: 2px; height: 18px; background: var(--neo-navy); border-radius: 2px; }

.health-bar-wrap { margin-bottom: 16px; }
.health-bar-track { height: 16px; background: rgba(7, 46, 67, 0.08); border-radius: var(--radius-pill); overflow: hidden; }
.health-bar-fill { height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--neo-red), var(--gold)); transition: width .8s ease; }

/* ─── 7. CARROSSEL DE DESTAQUES ─────────────────────────── */
.carousel-wrapper { position: relative; width: 100%; margin: 40px 0; }
.carousel-track-container { position: relative; height: 480px; width: 100%; overflow: hidden; outline: none; }
.carousel-track { list-style: none; width: 100%; height: 100%; position: relative; }

/* SLIDE PRINCIPAL - TAMANHO FIXO ESTRITO */
.js-ready .carousel-slide {
  position: absolute; top: 50%; width: 310px; 
  height: 380px; /* Impede o card de crescer ou encolher */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform var(--transition-cb), left var(--transition-cb), opacity var(--transition-cb), box-shadow var(--transition-cb);
}

.js-ready .carousel-slide.pos-active { left: 50%; transform: translate(-50%, -50%) scale(1.15); opacity: 1; visibility: visible; z-index: 10; box-shadow: var(--shadow-lg); pointer-events: auto; border-radius: var(--radius-lg); }
.js-ready .carousel-slide.pos-prev1  { left: 20%; transform: translate(-50%, -50%) scale(0.9); opacity: 0.75; visibility: visible; z-index: 5; pointer-events: auto; cursor: pointer; }
.js-ready .carousel-slide.pos-next1  { left: 80%; transform: translate(-50%, -50%) scale(0.9); opacity: 0.75; visibility: visible; z-index: 5; pointer-events: auto; cursor: pointer; }
.js-ready .carousel-slide.pos-prev2  { left: -5%; transform: translate(-50%, -50%) scale(0.75); opacity: 0.3; visibility: visible; z-index: 1; pointer-events: auto; cursor: pointer; }
.js-ready .carousel-slide.pos-next2  { left: 105%; transform: translate(-50%, -50%) scale(0.75); opacity: 0.3; visibility: visible; z-index: 1; pointer-events: auto; cursor: pointer; }
.js-ready .carousel-slide.pos-hidden { opacity: 0; visibility: hidden; }

.carousel-track:not(.js-ready *) { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.carousel-track:not(.js-ready *) .carousel-slide { position: static; transform: none; width: 100%; height: 380px; }
.carousel-wrapper:not(.js-ready) .carousel-arrow, .carousel-wrapper:not(.js-ready) .carousel-dots { display: none; }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: var(--neo-white); border: none; border-radius: 50%;
  box-shadow: var(--shadow-md); color: var(--neo-navy); font-size: 16px; cursor: pointer; z-index: 20; display: flex; align-items: center; justify-content: center; transition: all var(--transition);
}
.carousel-arrow:hover { background: var(--neo-red); color: var(--neo-white); transform: translateY(-50%) scale(1.1); }
.carousel-arrow.prev { left: -12px; }
.carousel-arrow.next { right: -12px; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--neo-gray); border: none; cursor: pointer; transition: all var(--transition); }
.carousel-dot.active { background: var(--neo-red); transform: scale(1.4); }

/* ─── 8. CARD ESPECIAL NEOCLUB 26 ───────────────────────── */
.special-card {
  /* O !important impede que o background branco base sobrescreva o degradê */
  background: linear-gradient(135deg, var(--neo-red) 0%, var(--neo-navy) 100%) !important;
  color: var(--neo-white) !important;
  border: none !important;
}
.special-card .highlight-rank { background: rgba(255, 255, 255, 0.18); color: var(--neo-white); }
.special-avatar-icon { font-size: 52px; line-height: 72px; width: 72px; height: 72px; margin: 0 auto 12px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)); }
.special-card .highlight-name { color: var(--neo-white); font-size: 20px; font-weight: 800; text-transform: uppercase; }
.special-card .highlight-category { color: var(--gold); font-weight: 700; letter-spacing: 0.05em; }
.special-quote {
  font-size: 13px; font-weight: 500; font-style: italic; opacity: 0.95; line-height: 1.5;
  margin-top: auto; /* Empurra para baixo alinhado ao score */
  margin-bottom: 8px;
}
.special-card .reactions-bar { background: rgba(0, 0, 0, 0.15); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.special-card .comment-panel,
.special-card .comment-panel * { color: var(--neo-navy) !important; }
.special-card .comment-panel .cmt-send { color: white !important; }
.special-card .reaction-btn { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: var(--neo-white); }
.special-card .reaction-btn:hover:not(:disabled), .special-card .reaction-btn.active { background: rgba(255, 255, 255, 0.22); border-color: var(--gold); color: var(--neo-white); }
.special-confetti {
  position: absolute; inset: 0; z-index: -1; opacity: 0.12;
  background-image: radial-gradient(circle at 15% 25%, #fff 2px, transparent 2px), radial-gradient(circle at 85% 15%, #fff 2px, transparent 2px),
                    radial-gradient(circle at 50% 75%, #fff 3px, transparent 3px), radial-gradient(circle at 25% 80%, var(--gold) 3px, transparent 3px);
  background-size: 80px 80px;
}

/* ─── 9. ELEMENTOS DE CARDS DE DESTAQUES BASE ───────────── */
.highlight-card {
  background: var(--neo-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  width: 100%;
  padding-bottom: 50px; /* Espaço para o campo de comentários fixo */
}
.highlight-card-inner {
  padding: 24px 20px;
  text-align: center;
  flex: 1; /* Preenche espaço vazio, empurrando a barra de emojis pro fundo */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.highlight-rank { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--neo-navy); margin: 0 auto 16px; padding: 4px 12px; background: var(--neo-gray-light); border-radius: var(--radius-pill); }
.medal { font-size: 18px; }
.highlight-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--neo-gray-light); margin: 0 auto 12px; }
.highlight-avatar-placeholder { width: 72px; height: 72px; border-radius: 50%; background: var(--neo-navy-light); color: var(--neo-white); display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 12px; }

/* TRUNCAMENTO DE NOME (Impede quebra de layout por nomes gigantes) */
.highlight-name {
  font-size: 18px; font-weight: 700; color: var(--neo-navy); margin-bottom: 4px; line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limita estritamente a 2 linhas e põe ... */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.highlight-category { font-size: 12px; font-weight: 600; color: var(--neo-gray-dark); margin-bottom: 12px; text-transform: uppercase; }

/* Fixa o Score embaixo, acima dos emojis */
.highlight-score {
  font-size: 32px; font-weight: 800; color: var(--neo-red); line-height: 1;
  margin-top: auto; 
  margin-bottom: 4px;
}
.highlight-score-label { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--neo-gray); letter-spacing: 0.04em; }

/* ─── 10. REAÇÕES E PARTÍCULAS DINÂMICAS ────────────────── */
.reactions-bar { display: flex; justify-content: center; gap: 8px; padding: 12px; background: rgba(7, 46, 67, 0.03); border-top: 1px solid rgba(7, 46, 67, 0.06); }
.reaction-btn { display: flex; align-items: center; gap: 4px; background: var(--neo-white); border: 1px solid var(--neo-gray); border-radius: var(--radius-pill); padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--neo-gray-dark); cursor: pointer; transition: all var(--transition); }
.reaction-btn:hover:not(:disabled) { border-color: var(--neo-red); color: var(--neo-red); background: #FFF0F1; transform: translateY(-2px); }
.reaction-btn.active { border-color: var(--neo-red); color: var(--neo-red); background: #FFF0F1; }
.reaction-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.react-count { transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: inline-block; }

.reaction-particle { position: fixed; pointer-events: none; font-size: 24px; z-index: 9999; animation: floatUpParticle 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes floatUpParticle { 0% { transform: translate(-50%, 0) scale(1); opacity: 1; } 100% { transform: translate(-50%, -80px) scale(1.6); opacity: 0; } }

/* ─── 11. EXPANSÃO DO PODIUM INFERIOR ───────────────────── */
.podiums-container { margin-top: 16px; }
.podium-panel { display: none; opacity: 0; transform: translateY(20px); }
.podium-panel.active { display: block; animation: slideUpFadePodium 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes slideUpFadePodium { to { opacity: 1; transform: translateY(0); } }

.podium-title { text-align: center; font-size: 20px; font-weight: 800; color: var(--neo-navy); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.04em; }
.podium-empty { text-align: center; color: var(--neo-gray-dark); font-size: 14px; font-weight: 600; padding: 24px; background: var(--neo-white); border-radius: var(--radius-md); border: 1px dashed var(--neo-gray); max-width: 400px; margin: 0 auto; }
.podium-cards { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }

.highlight-card-sm {
  width: 270px;
  height: 340px; /* Impede variação de altura nos cards de baixo */
  cursor: pointer;
}
.highlight-card-sm:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.highlight-card-sm .highlight-card-inner { padding: 20px 16px; }
.highlight-card-sm .highlight-avatar { width: 60px; height: 60px; margin-bottom: 8px; }
.highlight-card-sm .highlight-avatar-placeholder { width: 60px; height: 60px; font-size: 22px; margin-bottom: 8px; }
.highlight-card-sm .highlight-name { font-size: 16px; }
.highlight-card-sm .highlight-score { font-size: 26px; }
.disabled-reactions { opacity: 0.7; pointer-events: none; }

/* ─── 12. FEED, MURAL E COMENTÁRIOS ─────────────────────── */
.feed-list { display: flex; flex-direction: column; gap: 16px; }
.feed-item-card { background: var(--neo-white); border-radius: var(--radius-md); border: 1px solid rgba(7, 46, 67, 0.09); box-shadow: var(--shadow-sm); overflow: hidden; }
.feed-item-header { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px 12px; }
.feed-item-meta { flex: 1; }
.feed-item-title { font-size: 15px; font-weight: 700; color: var(--neo-navy); margin-bottom: 2px; }
.feed-item-desc  { font-size: 13px; color: var(--neo-gray-dark); line-height: 1.5; }
.feed-item-time  { font-size: 11px; color: var(--neo-gray); margin-top: 6px; }
.feed-item-comments { padding: 12px 20px; border-top: 1px solid rgba(7, 46, 67, 0.07); }

.comment-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.comment-item { display: flex; gap: 8px; font-size: 13px; }
.comment-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-body { flex: 1; }
.comment-author { font-weight: 700; color: var(--neo-navy); margin-right: 6px; }

/* ─── 13. PAINEL ADMINISTRATIVO E TABELAS ────────────────── */
.admin-sidebar { width: 220px; flex-shrink: 0; background: var(--neo-navy); border-radius: var(--radius-md); overflow: hidden; }
.admin-sidebar-title { padding: 14px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--neo-gray); border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-section { padding: 14px 16px 4px 16px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--neo-gray); opacity: 0.85; border-top: 1px solid rgba(255,255,255,.05); margin-top: 8px; }
.admin-nav { padding: 8px 0; }
.admin-nav a { display: flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 13px; font-weight: 600; color: var(--neo-gray-light); transition: all var(--transition); text-decoration: none; }
.admin-nav a:hover, .admin-nav a.active { background: var(--neo-navy-light); color: var(--neo-white); }
.admin-layout { display: flex; gap: 24px; align-items: flex-start; }
.admin-main { flex: 1; min-width: 0; }

/* Toggle Switch */
.switch { position: relative; display: inline-block; width: 44px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--neo-gray); transition: .3s; border-radius: 22px; }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; transition: .3s; border-radius: 50%; }
input:checked + .slider { background-color: #00aa51; }
input:checked + .slider:before { transform: translateX(22px); }

.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { background: var(--neo-gray-light); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--neo-gray-dark); padding: 10px 14px; text-align: left; border-bottom: 2px solid rgba(7, 46, 67, 0.08); }
.data-table td { padding: 10px 14px; border-bottom: 1px solid rgba(7, 46, 67, 0.06); color: var(--neo-navy); vertical-align: middle; }

/* ─── 14. SELOS, BADGES E ROLES ────────────────────────── */
.badge-list { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.badge-pill.badge-raffle  { background: #FFF0F1; color: var(--neo-red); border: 1px solid rgba(240,0,11,.25); }
.badge-pill.badge-streak  { background: #fff8e1; color: #8a6000; border: 1px solid rgba(248,171,43,.4); }

.role-tag { display: inline-block; padding: 2px 8px; border-radius: var(--radius-pill); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.role-admin       { background: var(--neo-red); color: var(--neo-white); }
.role-gestor      { background: var(--neo-navy); color: var(--neo-white); }

/* ─── 15. TABS, PAGINAÇÃO E OUTROS ELEMENTOS ────────────── */
.tabs { display: flex; gap: 0; border-bottom: 2px solid rgba(7, 46, 67, 0.1); margin-bottom: 24px; }
.tab-btn { padding: 10px 20px; background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--neo-gray-dark); transition: all var(--transition); }
.tab-btn.active { color: var(--neo-red); border-bottom-color: var(--neo-red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.empty-state { text-align: center; padding: 60px 24px; color: var(--neo-gray-dark); }
.empty-state-icon { font-size: 56px; margin-bottom: 16px; }
.empty-state-title { font-size: 20px; font-weight: 700; color: var(--neo-navy); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }

#confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }

/* ─── 16. RESPONSIVIDADE (BREAKPOINTS) ──────────────────── */
@media (max-width: 1200px) {
  .js-ready .carousel-slide.pos-prev2, .js-ready .carousel-slide.pos-next2 { display: none; }
}
@media (max-width: 768px) {
  /* ── Admin layout ── */
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .admin-nav { display: none; }
  .admin-sidebar.sidebar-open .admin-nav { display: block; }
  .admin-sidebar-title { cursor: pointer; user-select: none; }
  .admin-sidebar-arrow { font-size: 10px; float: right; opacity: 0.7; transition: transform var(--transition); }
  .admin-sidebar.sidebar-open .admin-sidebar-arrow { transform: rotate(180deg); }

  /* ── Navbar ── */
  .nav-name { display: none; }
  .navbar { height: auto; }
  .navbar .container { flex-wrap: wrap; padding: 0 16px; gap: 0; }
  .nav-hamburger { display: flex; align-items: center; }
  .nav-hide-mobile { display: none !important; }
  .nav-show-mobile { display: block; }
  .nav-links {
    display: none;
    order: 99;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 4px 0 12px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 11px 8px; font-size: 15px; border-radius: var(--radius-sm); }

  /* ── Grids ── */
  .dashboard-grid, .dashboard-grid-2 { grid-template-columns: 1fr; }

  /* ── Carousel ── */
  .carousel-track-container { height: 440px; }
  .js-ready .carousel-slide.pos-active { transform: translate(-50%, -50%) scale(1.05); }
  .js-ready .carousel-slide.pos-prev1 { left: 8%; transform: translate(-92%, -50%) scale(0.8); opacity: 0.35; }
  .js-ready .carousel-slide.pos-next1 { left: 92%; transform: translate(-8%, -50%) scale(0.8); opacity: 0.35; }
  .carousel-arrow.prev { left: 0; }
  .carousel-arrow.next { right: 0; }

  /* ── Podium ── */
  .podium-cards { flex-direction: column; align-items: center; }
  .highlight-card-sm { width: 100%; max-width: 320px; }

  /* ── Notification dropdown ── */
  .notif-dropdown { left: 8px; right: 8px; width: auto; }

  /* ── Impersonate panel ── */
  .impersonate-toggle { display: none; }
  .impersonate-panel { position: fixed !important; top: calc(var(--nav-height) + 8px); left: 8px; right: 8px; width: auto !important; z-index: 2000 !important; }

  /* ── Countdown ── */
  .countdown-bar { font-size: 11px; padding: 5px 0; }
  .cd-num { font-size: 14px; }

  /* ── Tables: oculta colunas secundarias ── */
  .col-hide-m { display: none; }
}

@media (max-width: 480px) {
  .auth-box { padding: 36px 24px; }
  .container { padding: 0 16px; }
  .page-content { padding: 16px 0 40px; }
  .page-title { font-size: 22px; }
  .stat-value { font-size: 32px; }
  .hero-sticker-hide { display: none; }
}

.cmt-toggle {
  background: none; border: none; cursor: pointer;
  font-size: 18px; padding: 2px 4px; opacity: 0.7; line-height: 1;
}
.cmt-toggle:hover { opacity: 1; }
.comment-panel {
  position: absolute; bottom: 0; left: 0; width: 100%;
  background: var(--neo-white);
  border-top: 1px solid rgba(7,46,67,0.1);
  padding: 8px 10px 10px;
  flex-direction: column; gap: 6px;
  font-size: 13px; color: var(--neo-navy);
  z-index: 20; box-sizing: border-box;
}
.cmt-list { max-height: 80px; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; }
.cmt-entry { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.cmt-body { flex: 1; min-width: 0; word-break: break-word; }
.cmt-text { }
.cmt-actions { display: flex; gap: 2px; flex-shrink: 0; }
.cmt-edit, .cmt-del { background: none; border: none; cursor: pointer; font-size: 13px; padding: 0 2px; opacity: 0.5; }
.cmt-edit:hover { opacity: 1; }
.cmt-del:hover { opacity: 1; color: var(--neo-red); }
.cmt-footer { display: flex; gap: 6px; align-items: center; }
.cmt-input { flex: 1; padding: 6px 8px; border: 1px solid var(--neo-gray); border-radius: var(--radius-sm); font-size: 13px; box-sizing: border-box; }
.cmt-cancel { background: #e9ecef; color: var(--neo-navy); border: none; padding: 5px 8px; border-radius: 4px; cursor: pointer; font-size: 12px; }
.cmt-send { background: var(--neo-red); color: white; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; font-size: 12px; }

/* ─── Impersonação ─────────────────────────────────────────── */
.impersonation-bar { background: #d4500a; color: #fff; padding: 7px 20px; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 13px; font-weight: 500; }
.stop-impersonate-btn { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.45); color: #fff; padding: 4px 12px; border-radius: 4px; cursor: pointer; font-size: 12px; font-weight: 600; }
.stop-impersonate-btn:hover { background: rgba(255,255,255,.32); }
.impersonate-wrap { position: relative; }
.impersonate-toggle { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 5px 12px; border-radius: 4px; cursor: pointer; font-size: 12px; white-space: nowrap; }
.impersonate-toggle:hover { background: rgba(255,255,255,.22); }
.impersonate-panel { position: absolute; top: calc(100% + 8px); right: 0; width: 290px; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.16); z-index: 200; overflow: hidden; }
.impersonate-panel input { width: 100%; padding: 10px 14px; border: none; border-bottom: 1px solid #eee; font-size: 13px; box-sizing: border-box; outline: none; color: var(--neo-navy); }
#impersonate-list { max-height: 260px; overflow-y: auto; }
.impersonate-user { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; cursor: pointer; }
.impersonate-user:hover { background: #f5f7fa; }
.impersonate-user-name { font-size: 13px; color: var(--neo-navy); font-weight: 500; }
.impersonate-user-role { font-size: 11px; color: var(--neo-gray); text-transform: uppercase; letter-spacing: .5px; }
.impersonate-loading, .impersonate-empty { padding: 16px 14px; font-size: 13px; color: var(--neo-gray); text-align: center; }
.impersonate-user-role.unreg { color: #d4500a; }


/* ─── FAIXA DE RESULTADO PARCIAL ───────────────────────── */
.ribbon-wrapper {
  position: absolute;
  top: 0; left: 0;
  width: 130px; height: 130px;
  overflow: hidden;
  pointer-events: none;
  z-index: 15;
}
.ribbon-text {
  position: absolute;
  top: 24px; left: -35px;
  width: 165px;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #b81d24, #8b0000);
  color: #ffffff;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 6px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  border: 1px dashed rgba(255, 215, 0, 0.4); /* Aplicando borda sólida em todos os lados para simular o contorno */
}

/* ─── 17. TOOLTIP DE REAÇÕES ─────────────────────────────── */
.reactors-tooltip {
  position: absolute;
  z-index: 9999;
  background: rgba(13, 32, 53, 0.96);
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.7;
  max-width: 220px;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  pointer-events: none;
  animation: tooltipIn .15s ease;
}
.reactors-tooltip span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reactors-tooltip::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(13,32,53,.96);
  border-top: none;
}
@keyframes tooltipIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* ─── 18. ACESSIBILIDADE E RECONHECIMENTO DE MOVIMENTO ──── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ─── 19. PÁGINAS DE AUTENTICAÇÃO ────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neo-navy);
  padding: 24px;
}
.auth-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--neo-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  text-decoration: none;
}
.auth-logo img { height: 36px; width: auto; }
.auth-brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--neo-navy);
  letter-spacing: .02em;
}
.auth-brand span { color: var(--neo-red); }
.auth-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--neo-navy);
  margin-bottom: 24px;
}
.auth-divider {
  border: none;
  border-top: 1px solid rgba(7, 46, 67, 0.12);
  margin: 24px 0;
}
.auth-footer {
  font-size: 14px;
  color: var(--neo-gray);
  text-align: center;
}
.auth-footer a { color: var(--neo-red); font-weight: 600; }


/* ─── 20. LÍDERES DE EQUIPE ─────────────────────────────── */
.leaders-card .highlight-rank { color: #b8860b; }
.leaders-team-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  background: linear-gradient(135deg, #b8860b, #d4af37);
  border-radius: 20px;
  padding: 3px 10px;
  margin: 4px auto 8px;
  display: inline-block;
}

/* Admin: leaders management */
.leader-row {
  border-bottom: 1px solid rgba(7,46,67,.08);
}
.leader-row:last-child { border-bottom: none; }
.leader-row-display,
.leader-row-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.leader-row-medal { font-size: 20px; flex-shrink: 0; }
.leader-row-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--neo-navy);
  width: 110px;
  flex-shrink: 0;
}
.slot-required {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #e74c3c;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.leader-row-name {
  flex: 1;
  font-size: 14px;
  color: var(--neo-navy);
}
.leader-row-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.slot-edit-btn,
.slot-del-btn,
.slot-cancel-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  padding: 4px 6px;
  border-radius: 4px;
  line-height: 1;
  transition: background .15s;
}
.slot-edit-btn:hover { background: rgba(7,46,67,.08); }
.slot-del-btn:hover  { background: #fde8e8; }
.slot-cancel-btn:hover { background: rgba(7,46,67,.08); }
.slot-search-results {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border: 1px solid rgba(7,46,67,.15);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
}
.slot-result-item {
  padding: 9px 12px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slot-result-item:hover { background: rgba(7,46,67,.06); }
.leaders-flash {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
}
.leaders-flash-success { background: #e8f5e9; color: #2e7d32; }
.leaders-flash-error   { background: #fde8e8; color: #c0392b; }

/* ── Team table ──────────────────────────────────────────── */
.team-table { width: 100%; border-collapse: collapse; }
.team-table thead th {
  padding: 10px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--neo-gray);
  border-bottom: 2px solid rgba(7,46,67,.1);
  white-space: nowrap;
}
.team-table thead th.th-right { text-align: right; }
.team-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(7,46,67,.06);
  vertical-align: middle;
}
.team-table tbody tr:last-child td { border-bottom: none; }
.team-table tbody tr:hover td { background: rgba(7,46,67,.025); }
.team-table .td-right { text-align: right; }
.team-table .td-score-val { font-size: 17px; font-weight: 800; color: var(--neo-navy); }
.team-table .td-score-val.score-high { color: #2e7d32; }
.team-table .td-score-val.score-mid  { color: #e67e22; }
.team-group-row td {
  background: rgba(7,46,67,.04);
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--neo-navy);
  border-top: 2px solid rgba(7,46,67,.08);
  border-bottom: 1px solid rgba(7,46,67,.08);
}
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; }
.badge-active   { background: #dcfce7; color: #166534; }
.badge-inactive { background: #fee2e2; color: #991b1b; }
.member-row-inactive td { opacity: .65; }
.member-row-inactive:hover td { background: rgba(153,27,27,.03) !important; }
.participant-inactive-row td { opacity: .65; }
.btn-danger  { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-outline { background: transparent; color: var(--neo-navy); border: 1px solid var(--neo-gray); }
.btn-outline:hover { background: var(--neo-gray-light); }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; border-radius: var(--radius-sm); padding: 10px 16px; font-size: 13px; }
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; border-radius: var(--radius-sm); padding: 10px 16px; font-size: 13px; }
.tm-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(7,46,67,.1);
  display: block;
}
.tm-avatar-initials {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neo-navy-light), var(--neo-navy));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  flex-shrink: 0;
}

/* ── Sticker System ──────────────────────────────────────── */
.sticker {
  position: absolute;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(3px 5px 10px rgba(0,0,0,.4));
  z-index: 10;
}
.sticker-xs { width: 60px;  }
.sticker-sm { width: 90px;  }
.sticker-md { width: 130px; }
.sticker-lg { width: 180px; }
.sticker-xl { width: 240px; }

.sticker-r-n15 { transform: rotate(-15deg); }
.sticker-r-n10 { transform: rotate(-10deg); }
.sticker-r-n8  { transform: rotate(-8deg);  }
.sticker-r-n3  { transform: rotate(-3deg);  }
.sticker-r-5   { transform: rotate(5deg);   }
.sticker-r-8   { transform: rotate(8deg);   }
.sticker-r-12  { transform: rotate(12deg);  }
.sticker-r-18  { transform: rotate(18deg);  }

/* ── Photo upload ────────────────────────────────────────── */
.photo-upload-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--off-white);
  border: 3px dashed var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 12px;
  transition: border-color .2s;
}
.photo-upload-placeholder:hover { border-color: var(--red); }
.photo-upload-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--red);
  margin: 0 auto 12px;
  display: block;
}

/* ─── DASHBOARD EXECUTIVO (admin / diretor) ─────────────── */
.exec-page-header { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.exec-summary-pills { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.exec-pill { font-size: 13px; color: var(--neo-gray-dark); }
.exec-pill strong { color: var(--neo-navy); font-weight: 700; }
.exec-pill-sep { color: var(--neo-gray); font-size: 12px; }

.exec-manager-card {
  background: var(--neo-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(7, 46, 67, 0.09);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
}

.exec-manager-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--neo-navy) 0%, var(--neo-navy-mid) 100%);
  border-bottom: 3px solid rgba(255,255,255,0.06);
}

.exec-rank-badge {
  flex-shrink: 0;
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.exec-rank-gold    { background: rgba(245, 200, 66, 0.2); }
.exec-rank-silver  { background: rgba(176, 190, 197, 0.2); }
.exec-rank-bronze  { background: rgba(205, 127, 50, 0.2); }
.exec-rank-default { background: rgba(255,255,255,0.08); font-size: 13px; color: var(--neo-gray); }

.exec-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.exec-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neo-navy-light);
  color: var(--neo-white);
  font-size: 16px;
  font-weight: 700;
}

.exec-manager-info { flex: 1; min-width: 0; }
.exec-manager-name  { font-size: 15px; font-weight: 700; color: var(--neo-white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exec-manager-email { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }

.exec-manager-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.exec-stat-item { display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.exec-stat-val  { font-size: 20px; font-weight: 800; color: var(--neo-white); line-height: 1; }
.exec-stat-lbl  { font-size: 10px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.exec-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.12); }
.text-green { color: #4ade80 !important; }
.text-amber { color: var(--gold) !important; }

.exec-teams-list { padding: 0 24px; }

.exec-team-block { border-bottom: 1px solid rgba(7,46,67,.06); }
.exec-team-block:last-child { border-bottom: none; }

.exec-team-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.exec-team-icon { font-size: 14px; flex-shrink: 0; }
.exec-team-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.exec-team-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--neo-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.exec-team-metrics {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--neo-gray-dark);
}
.exec-metric-item { display: flex; align-items: baseline; gap: 3px; }
.exec-metric-label { font-size: 11px; color: var(--neo-gray); }
.exec-metric-sep { color: var(--neo-gray); }
.exec-team-link {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--neo-red);
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(240,0,11,0.2);
  transition: all var(--transition);
}
.exec-team-link:hover { background: var(--neo-red); color: var(--neo-white); }

.exec-subleader-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(7,46,67,.1);
  background: rgba(7,46,67,.03);
  transition: all var(--transition);
  flex-shrink: 0;
}
.exec-subleader-inline:hover { border-color: var(--neo-red); background: rgba(240,0,11,.04); }
.exec-subleader-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(7,46,67,.12);
  flex-shrink: 0;
}
.exec-subleader-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neo-navy-light);
  color: var(--neo-white);
  font-size: 9px;
  font-weight: 700;
}
.exec-role-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.exec-role-coord  { background: rgba(11,131,243,0.1); color: #0B83F3; }
.exec-role-superv { background: rgba(132,61,245,0.1); color: #843DF5; }
.exec-subleader-name { font-size: 12px; color: var(--neo-gray-dark); white-space: nowrap; }

.exec-manager-footer {
  padding: 12px 24px;
  border-top: 1px solid rgba(7,46,67,.06);
  background: rgba(7,46,67,.02);
}

.exec-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--neo-gray-dark);
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(7,46,67,.12);
  transition: all var(--transition);
}
.exec-back-link:hover { color: var(--neo-navy); background: rgba(7,46,67,.05); }

@media (max-width: 768px) {
  .exec-page-header { flex-direction: column; gap: 8px; }
  .exec-manager-header { flex-wrap: wrap; gap: 12px; }
  .exec-manager-stats { flex-wrap: wrap; gap: 8px; }
  .exec-team-metrics { display: none; }
  .exec-stat-divider { display: none; }
}
/* ─── Tiebreak ─────────────────────────────────────────────────────────────── */
.tiebreak-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  background: rgba(255,193,7,.18);
  border: 1px solid rgba(255,193,7,.5);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  color: #7a5c00;
  text-align: center;
  line-height: 1.4;
}
.tiebreak-badge-sm {
  font-size: 9px;
  padding: 2px 6px;
  margin-top: 4px;
}
.tiebreak-pending-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  background: rgba(220,53,69,.12);
  border: 1px solid rgba(220,53,69,.4);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  color: #8b1c28;
  text-align: center;
}
.tiebreak-pending-badge-sm { font-size: 9px; padding: 2px 6px; margin-top: 4px; }
.tiebreak-resolve-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 6px 12px;
  background: var(--neo-navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
}
.tiebreak-resolve-btn:hover { opacity: .85; }
.tiebreak-resolve-btn-sm { padding: 4px 8px; font-size: 10px; margin-top: 6px; }

/* Modal de desempate */
.tiebreak-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.tiebreak-modal-overlay.open { display: flex; }
.tiebreak-modal {
  background: #fff;
  border-radius: var(--radius-md, 12px);
  padding: 28px 24px 24px;
  max-width: 420px;
  width: 92%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
}
.tiebreak-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none; border: none;
  font-size: 18px; cursor: pointer;
  color: var(--neo-gray-dark);
}
.tiebreak-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--neo-navy);
  margin: 0 0 6px;
}
.tiebreak-modal-subtitle {
  font-size: 13px;
  color: var(--neo-gray-dark);
  margin: 0 0 16px;
}
.tiebreak-candidate-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tiebreak-candidate-item { display: block; }
.tiebreak-pick-btn {
  width: 100%;
  padding: 10px 14px;
  background: var(--neo-navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}
.tiebreak-pick-btn:hover { background: var(--neo-red, #c0392b); }

/* ─── Ribbon "Você é" no card do usuário logado ─────────────────────────────── */
.you-ribbon-wrap {
  position: absolute;
  top: 0; left: 0;
  width: 200px; height: 200px;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}
.you-ribbon {
  position: absolute;
  top: 63px; left: -53px;
  width: 230px;
  text-align: center;
  transform: rotate(-45deg);
  color: #b71c1c;
  font-family: 'Dancing Script', cursive;
  font-style: normal;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(0,0,0,.20);
}
.highlight-card-sm .you-ribbon-wrap { width: 140px; height: 140px; }
.highlight-card-sm .you-ribbon { top: 44px; left: -37px; width: 160px; font-size: 20px; }
