/* =============================================
   RESET E BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: Tahoma, sans-serif;
    background: #F4F6FA;
    color: #2D3436;
    min-height: 100vh;
}

input,
button,
select,
textarea {
    font-family: Tahoma, sans-serif;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    background: linear-gradient(90deg, #1F3F7A 0%, #26539C 100%);
    display: flex;
    align-items: center;
    padding: 0 2rem;
    height: 56px;
    box-shadow: 0 2px 8px rgba(31,63,122,0.20);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 160px;
    text-decoration: none;
}

.nav-logo { font-size: 1.4rem; }

.nav-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    flex-wrap: wrap;
}

.nav-link {
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.3rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(2px);
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255,255,255,0.20);
    border-color: rgba(255,255,255,0.24);
    color: #fff;
    transform: translateY(-1px);
}

.nav-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(203,219,42,0.45);
}

.nav-link.active,
.nav-link[aria-current="page"] {
    background: rgba(255,255,255,0.26);
    border-color: rgba(255,255,255,0.30);
    color: #fff;
}

/* =============================================
   MAIN CONTENT
   ============================================= */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* =============================================
   ALERTS
   ============================================= */
.alert {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-success { background: #D4EDDA; color: #155724; border: 1px solid #C3E6CB; }
.alert-danger  { background: #F8D7DA; color: #721C24; border: 1px solid #F5C6CB; }
.alert-warning { background: #FFF3CD; color: #856404; border: 1px solid #FFEEBA; }
.alert-info    { background: #D1ECF1; color: #0C5460; border: 1px solid #BEE5EB; }

/* =============================================
   BOTOES
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    border: none;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.1s;
    white-space: nowrap;
}

.btn:hover        { opacity: 0.88; transform: translateY(-1px); }
.btn-primary      { background: #6C3FC5; color: #fff; }
.btn-warning      { background: linear-gradient(135deg, #F7971E, #FFD200); color: #2D3436; }
.btn-citrico      { background: #CBDB2A; color: #1F2A00; }
.btn-citrico:hover{ background: #BFCE27; color: #1F2A00; opacity: 1; }
.btn-danger       { background: #E74C3C; color: #fff; }
.btn-success      { background: #27AE60; color: #fff; }
.btn-outline      { background: transparent; border: 2px solid #6C3FC5; color: #6C3FC5; }
.btn-outline:hover{ background: #6C3FC5; color: #fff; }
.btn-sm           { padding: 0.3rem 0.75rem; font-size: 0.8rem; }

/* =============================================
   UTILITARIOS
   ============================================= */
.d-flex          { display: flex; }
.align-center    { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1           { gap: 0.5rem; }
.flex-wrap       { flex-wrap: wrap; }
.text-muted      { color: #636E72; font-size: 0.83rem; }

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2D3436;
}

/* =============================================
   HOME â FAIXA DO USUARIO LOGADO
   ============================================= */
.home-user-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.home-user-strip-empty {
    justify-content: center;
    font-size: 0.88rem;
    color: #636E72;
    font-style: italic;
}

.home-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C3FC5, #8B5CF6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    flex-shrink: 0;
}

.home-user-name {
    font-weight: 700;
    font-size: 0.97rem;
    color: #2D3436;
}

.home-user-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
    font-size: 0.83rem;
    color: #636E72;
}

.home-user-pontos {
    font-weight: 700;
    color: #6C3FC5;
}

.home-user-emblemas-label {
    color: #636E72;
}

.home-user-emblemas {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.home-user-emblema {
    background: #EDE7F6;
    color: #5E35B1;
    border-radius: 20px;
    padding: 0.15rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* =============================================
   HOME â HERO
   ============================================= */
/* =============================================
 HOME â HERO (Req 3)
 Mais elegante: imagem com overlay, tipografia e alinhamento
 ============================================= */
.hero-banner{
  border-radius: 16px;
  margin-bottom: 1.25rem; /* reduz espaÃ§o e dÃ¡ sensaÃ§Ã£o de layout mais âjustoâ */
  overflow: hidden;
  position: relative;
  color: #fff;
}

.hero-solid{
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.25rem 2rem;
    background: #26539C;
}

/* Quando tem imagem de fundo (index.html usa hero-with-img + hero-bg) */
.hero-with-img{
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 2rem;
}


/* Imagem 100% real (sem filtro) */
.hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;          /* remove zoom leve */
  filter: none;             /* remove saturate/contrast */
}



/* Overlay para melhorar leitura do texto */
.hero-with-img::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 320px at 50% 45%, rgba(0,0,0,0.28), rgba(0,0,0,0.55)),
    linear-gradient(135deg, rgba(108,63,197,0.80) 0%, rgba(139,92,246,0.62) 55%, rgba(108,63,197,0.78) 100%);
  z-index: 1;
}

/* ConteÃºdo do hero */
.hero-content{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  text-align: center;
  padding: 0.25rem 0;
}

.hero-brand-corner{
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 3;
}

.hero-logo-valia{
    width: min(230px, 56vw);
    height: auto;
    display: block;
    margin: 0;
}

/* Ãcone menor e mais elegante */
.hero-icon{
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  opacity: 0.95;
}

/* TÃ­tulo com melhor hierarquia */
.hero-titulo{
  font-size: 2.05rem;
  font-weight: 900;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

/* SubtÃ­tulo mais legÃ­vel */
.hero-sub{
  font-size: 1rem;
  opacity: 0.92;
  margin: 0 auto 1.15rem;
  max-width: 560px;
  line-height: 1.4;
}

/* BotÃ£o fica mais âCTAâ */
.hero-content .btn{
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}

/* Responsivo */
@media (max-width: 900px){
    .hero-solid{ min-height: 240px; padding: 1.8rem 1.25rem; }
  .hero-with-img{ min-height: 240px; padding: 1.8rem 1.25rem; }
    .hero-brand-corner{ top: 14px; right: 16px; }
    .hero-logo-valia{ width: min(180px, 42vw); }
  .hero-titulo{ font-size: 1.8rem; }
  .hero-sub{ font-size: 0.95rem; }
}

@media (max-width: 600px){
    .hero-solid{ min-height: 220px; padding: 1.35rem 1rem; }
  .hero-with-img{ min-height: 220px; padding: 1.35rem 1rem; }
    .hero-brand-corner{ top: 12px; right: 12px; }
    .hero-logo-valia{ width: min(140px, 38vw); }
  .hero-titulo{ font-size: 1.55rem; }
  .hero-icon{ font-size: 1.9rem; }
}

/* =============================================
   HOME â KPI GRID
   ============================================= */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.15s;
}

.kpi-card:hover { transform: translateY(-3px); }
.kpi-icon  { font-size: 1.8rem; margin-bottom: 0.4rem; }
.kpi-value { font-size: 2rem; font-weight: 800; color: #6C3FC5; }
.kpi-label { font-size: 0.82rem; color: #636E72; margin-top: 0.2rem; }

/* =============================================
   HOME â GRID (RANKING + RECENTES)
   ============================================= */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* =============================================
   CARD TITULO
   ============================================= */
.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2D3436;
    margin-bottom: 1.2rem;
}

/* =============================================
   RANKING CARD
   ============================================= */
.ranking-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ranking-list { display: flex; flex-direction: column; gap: 0.75rem; }

.ranking-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #FAFAFA;
    border: 1px solid #F0F0F0;
    transition: box-shadow 0.15s;
}

.ranking-item:hover { box-shadow: 0 2px 8px rgba(108,63,197,0.10); }

.rank-1 { background: linear-gradient(90deg, #FFF8E7, #FFF3CD); border-color: #FFD200; }
.rank-2 { background: #F8F9FA; border-color: #DDD; }
.rank-3 { background: linear-gradient(90deg, #FFF4EC, #FFE8D6); border-color: #F7971E; }

.ranking-pos {
    min-width: 32px;
    width: 32px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ranking-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #6C3FC5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.rank-2 .ranking-avatar { background: #888; }
.rank-3 .ranking-avatar { background: #F7971E; }

.ranking-main { flex: 1; min-width: 0; }

.ranking-nome {
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-bar {
    height: 6px;
    background: #EEE;
    border-radius: 4px;
    margin-top: 0.3rem;
    overflow: hidden;
}

.ranking-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #F7971E, #FFD200);
    border-radius: 4px;
    transition: width 0.8s ease;
    width: 0%;
}

.rank-2 .ranking-bar-fill { background: linear-gradient(90deg, #AAA, #CCC); }

.ranking-pontos {
    font-size: 0.8rem;
    color: #F7971E;
    font-weight: 700;
    margin-top: 0.2rem;
}

.ranking-emblema { display: none; }

/* =============================================
   RECENTES CARD
   ============================================= */
.recentes-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.recentes-list { display: flex; flex-direction: column; gap: 0.6rem; }

/* .recente-* definidos no bloco ONDA 2 abaixo */

/* =============================================
   FLUXO DO PROCESSO (IMAGEM)
   ============================================= */
.fluxo-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}

.fluxo-section-header {
    margin-bottom: 1rem;
}

.fluxo-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2D3436;
    margin-bottom: 0.25rem;
}

.fluxo-section-sub {
    font-size: 0.83rem;
    color: #636E72;
}

.fluxo-img-wrapper {
    width: 100%;
    overflow-x: auto;
}

.fluxo-img-wrapper img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* =============================================
   GAMIFICACAO CARD (RESUMO AMIGAVEL)
   ============================================= */
.gamificacao-card {
    background: linear-gradient(135deg, #F8F6FF 0%, #EDE7F6 100%);
    border: 1.5px solid #D1C4E9;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.gamificacao-title {
    font-size: 1rem;
    font-weight: 700;
    color: #5E35B1;
    margin-bottom: 0.5rem;
}

.gamificacao-text {
    font-size: 0.88rem;
    color: #636E72;
    margin-bottom: 1.25rem;
}

.gamificacao-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.gamificacao-item {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(108,63,197,0.08);
}

.gamificacao-item-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: #5E35B1;
    margin-bottom: 0.4rem;
}

.gamificacao-item-text {
    font-size: 0.82rem;
    color: #636E72;
    line-height: 1.5;
}

.gamificacao-footer {
    font-size: 0.82rem;
    color: #9575CD;
    font-style: italic;
    margin-top: 0.5rem;
}

/* =============================================
   CARD DE REGRAS DETALHADO (HOME)
   ============================================= */
.regras-home-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}

.regras-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.regras-col-titulo {
    font-size: 0.88rem;
    font-weight: 700;
    color: #6C3FC5;
    margin-bottom: 0.75rem;
}

.regras-lista {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.regras-lista li {
    font-size: 0.85rem;
    color: #2D3436;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pts-badge {
    background: #EDE7F6;
    color: #5E35B1;
    border-radius: 20px;
    padding: 0.1rem 0.55rem;
    font-weight: 700;
    font-size: 0.78rem;
    white-space: nowrap;
}

.regras-rodape {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #F0F0F0;
}

/* =============================================
   SELETOR DE USUARIO (FINAL DA HOME)
   ============================================= */
.user-selector-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
    text-align: center;
}

.user-selector-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2D3436;
    margin-bottom: 0.35rem;
}

.user-selector-sub {
    font-size: 0.85rem;
    color: #636E72;
    margin-bottom: 1rem;
}

.user-selector-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.user-selector-row label {
    font-weight: 600;
    font-size: 0.88rem;
    color: #2D3436;
}

.seletor-select {
    padding: 0.45rem 0.9rem;
    border: 1.5px solid #DDD;
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    color: #2D3436;
    background: #FAFAFA;
    cursor: pointer;
    min-width: 220px;
}

.seletor-select:focus {
    outline: none;
    border-color: #6C3FC5;
}

/* =============================================
   STATUS BADGES
   ============================================= */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-em_avaliacao        { background: #EDE7F6; color: #5E35B1; }
.status-aprovada            { background: #E8F5E9; color: #2E7D32; }
.status-em_implementacao    { background: #E3F2FD; color: #1565C0; }
.status-avaliacao_conclusao { background: #FFF3E0; color: #E65100; }
.status-concluida           { background: #E8F5E9; color: #1B5E20; }
.status-reprovada           { background: #FFEBEE; color: #B71C1C; }
.status-estacionamento      { background: #F5F5F5; color: #616161; }
.status-cancelada           { background: #EFEBE9; color: #5D4037; }

/* =============================================
   IDEIAS GRID (MINHAS IDEIAS)
   ============================================= */
.ideias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.ideia-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid #F0F0F0;
    transition: box-shadow 0.15s, transform 0.15s;
    cursor: pointer;
}

.ideia-card:hover { box-shadow: 0 4px 16px rgba(108,63,197,0.13); transform: translateY(-2px); }
.ideia-card-titulo   { font-weight: 700; font-size: 0.97rem; color: #2D3436; }
.ideia-card-hipotese { font-size: 0.82rem; color: #636E72; line-height: 1.5; }

.ideia-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.ideia-card-data { font-size: 0.78rem; color: #B2BEC3; }

/* =============================================
   PERFIL HEADER (MINHAS IDEIAS)
   ============================================= */
.perfil-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.perfil-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C3FC5, #8B5CF6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.perfil-nome { font-weight: 700; font-size: 1.05rem; }
.perfil-pts  { font-size: 0.85rem; color: #636E72; margin-top: 0.2rem; }

.emblemas-lista { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }

.emblema-tag {
    background: #EDE7F6;
    color: #5E35B1;
    border-radius: 20px;
    padding: 0.2rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* =============================================
   TABLE CARD
   ============================================= */
.table-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow-x: auto;
}

table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th { background: #F4F6FA; padding: 0.65rem 1rem; text-align: left; font-weight: 700; color: #636E72; }
td { padding: 0.65rem 1rem; border-bottom: 1px solid #F0F0F0; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #FAFAFA; }

.empty-msg { text-align: center; color: #B2BEC3; padding: 2rem; font-size: 0.92rem; }

/* =============================================
   FORMS
   ============================================= */
.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    max-width: 720px;
    margin: 0 auto;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    color: #2D3436;
}

.form-control {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1.5px solid #DDD;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #FAFAFA;
    transition: border-color 0.15s;
    color: #2D3436;
}

.form-control:focus {
    outline: none;
    border-color: #6C3FC5;
    background: #fff;
}

textarea.form-control { min-height: 90px; resize: vertical; }
.form-hint { font-size: 0.78rem; color: #636E72; margin-top: 0.3rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* =============================================
   FORM IDEIA â HIPOTESE CARD
   ============================================= */
.hipotese-card {
    background: #F8F6FF;
    border: 1.5px solid #EDE7F6;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.hipotese-titulo {
    color: #6C3FC5;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.btn-ia-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.varinha-btn, .btn-ia {
    background: linear-gradient(135deg, #F7971E, #FFD200);
    color: #2D3436;
    border: none;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: opacity 0.15s;
}

.varinha-btn:hover, .btn-ia:hover { opacity: 0.85; }

.btn-similaridade {
    background: transparent;
    border: 2px solid #6C3FC5;
    color: #6C3FC5;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.btn-similaridade:hover { background: #6C3FC5; color: #fff; }

.similaridade-alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-top: 0.75rem;
    display: none;
}

.similaridade-ok    { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.similaridade-aviso { background: #FFF3E0; color: #E65100; border: 1px solid #FFCC80; }
.similaridade-erro  { background: #FFEBEE; color: #B71C1C; border: 1px solid #EF9A9A; }

/* =============================================
   DETALHE DA IDEIA
   ============================================= */
.detalhe-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

.detalhe-titulo { font-size: 1.4rem; font-weight: 800; color: #2D3436; margin-bottom: 0.5rem; }

.detalhe-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #636E72;
    margin-bottom: 1.25rem;
}

.hipotese-bloco {
    background: #F8F6FF;
    border-left: 4px solid #6C3FC5;
    border-radius: 0 8px 8px 0;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.75rem;
}

.hipotese-label-detalhe {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6C3FC5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.hipotese-texto { font-size: 0.92rem; color: #2D3436; }

.detalhe-acoes {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #F0F0F0;
}

/* =============================================
   AVALIACAO ADMIN
   ============================================= */
.avaliacao-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
    border-top: 4px solid #6C3FC5;
}

.avaliacao-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: #2D3436; }

.avaliacao-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
}

.avaliacao-form input[type="text"] {
    flex: 1;
    min-width: 180px;
    padding: 0.5rem 0.9rem;
    border: 1.5px solid #DDD;
    border-radius: 8px;
    font-size: 0.88rem;
}

/* =============================================
   COMENTARIOS
   ============================================= */
.comentarios-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

.comentarios-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }

.comentario-item {
    padding: 0.9rem 1rem;
    background: #FAFAFA;
    border-radius: 8px;
    margin-bottom: 0.6rem;
    border-left: 3px solid #6C3FC5;
}

.comentario-autor { font-weight: 700; font-size: 0.85rem; color: #6C3FC5; }
.comentario-data  { font-size: 0.75rem; color: #B2BEC3; margin-left: 0.5rem; }
.comentario-texto { font-size: 0.9rem; margin-top: 0.35rem; color: #2D3436; }

.comentar-form textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid #DDD;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    min-height: 80px;
    resize: vertical;
    margin-bottom: 0.75rem;
    background: #FAFAFA;
}

.comentar-form textarea:focus { outline: none; border-color: #6C3FC5; background: #fff; }

/* =============================================
   KANBAN
   ============================================= */
.kanban-board {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.kanban-col {
    min-width: 220px;
    max-width: 260px;
    flex-shrink: 0;
    background: #F4F6FA;
    border-radius: 10px;
    padding: 0.85rem;
}

.kanban-col-title {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    text-align: center;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    color: #fff;
    background: #6C3FC5;
}

.kanban-card {
    background: #fff;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.6rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    font-size: 0.82rem;
    border-left: 3px solid #6C3FC5;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.15s;
}

.kanban-card:hover { box-shadow: 0 3px 10px rgba(108,63,197,0.15); }

/* =============================================
   DASHBOARD
   ============================================= */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.chart-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.status-bar-list { display: flex; flex-direction: column; gap: 0.75rem; }

.status-bar-row {
    display: grid;
    grid-template-columns: 140px 1fr 36px;
    align-items: center;
    gap: 0.75rem;
}

.status-bar-label { font-size: 0.82rem; color: #636E72; }

.status-bar-track {
    height: 8px;
    background: #EEE;
    border-radius: 4px;
    overflow: hidden;
}

.status-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: #6C3FC5;
    transition: width 0.6s ease;
}

.status-bar-fill.status-em_avaliacao        { background: #5E35B1; }
.status-bar-fill.status-aprovada            { background: #2E7D32; }
.status-bar-fill.status-em_implementacao    { background: #1565C0; }
.status-bar-fill.status-avaliacao_conclusao { background: #E65100; }
.status-bar-fill.status-concluida           { background: #1B5E20; }
.status-bar-fill.status-reprovada           { background: #B71C1C; }
.status-bar-fill.status-estacionamento      { background: #616161; }

.status-bar-value { font-size: 0.82rem; font-weight: 700; color: #2D3436; text-align: right; }

/* =============================================
   GAMIFICACAO (PAGINA DEDICADA)
   ============================================= */
.gamificacao-secao {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

.gamificacao-secao h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #6C3FC5;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #EDE7F6;
}

.pontos-tabela { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.pontos-tabela th { background: #F4F6FA; padding: 0.5rem 0.75rem; text-align: left; font-weight: 700; color: #636E72; }
.pontos-tabela td { padding: 0.5rem 0.75rem; border-bottom: 1px solid #F0F0F0; vertical-align: middle; }
.pontos-tabela tr:last-child td { border-bottom: none; }

.emblemas-gami-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.emblema-gami-card {
    background: #F8F6FF;
    border: 1.5px solid #EDE7F6;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.emblema-gami-icone { font-size: 1.8rem; flex-shrink: 0; }
.emblema-gami-nome  { font-weight: 700; font-size: 0.9rem; color: #2D3436; }
.emblema-gami-desc  { font-size: 0.78rem; color: #636E72; margin-top: 0.2rem; }

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 900px) {
    .kpi-grid         { grid-template-columns: repeat(2, 1fr); }
    .home-grid        { grid-template-columns: 1fr; }
    .dashboard-grid   { grid-template-columns: 1fr; }
    .regras-home-grid { grid-template-columns: 1fr; }
    .gamificacao-grid { grid-template-columns: 1fr; }
    .form-row         { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .kpi-grid     { grid-template-columns: repeat(2, 1fr); }
    .navbar       { flex-wrap: wrap; height: auto; padding: 0.75rem 1rem; }
    .nav-links    { gap: 0.15rem; }
    .main-content { padding: 1rem; }
}

/* =============================================
   DETALHE DA IDEIA â AJUSTES VISUAIS
   ============================================= */

.detalhe-card {
    border: none;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.detalhe-titulo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2D3436;
    margin-bottom: 0.35rem;
}

/* Linha "Criada por: Nome Â· Data" */
.detalhe-criado-por {
    font-size: 0.85rem;
    color: #636E72;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.detalhe-criado-por strong {
    color: #2D3436;
    font-weight: 700;
}

/* Badges de objetivo e OKR */
.detalhe-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.badge-objetivo {
    background: #EDE7F6;
    color: #5E35B1;
    border-radius: 20px;
    padding: 0.2rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.badge-okr {
    background: #E3F2FD;
    color: #1565C0;
    border-radius: 20px;
    padding: 0.2rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Status badge fica em linha prÃ³pria */
.detalhe-status-row {
    margin-bottom: 1.25rem;
}

/* HipÃ³tese â estilo simples sem borda lateral */
.hipotese-bloco {
    background: transparent;
    border-left: none;
    border-radius: 0;
    padding: 0.2rem 0;
    margin-bottom: 0.5rem;
}

.hipotese-label-detalhe {
    font-size: 0.82rem;
    font-weight: 600;
    color: #636E72;
    margin-bottom: 0.1rem;
    text-transform: none;
    letter-spacing: 0;
}

.hipotese-texto {
    font-size: 0.92rem;
    color: #2D3436;
}

/* Padrinhos */
.detalhe-padrinhos {
    margin-top: 0.9rem;
    font-size: 0.88rem;
    color: #636E72;
}

.detalhe-padrinhos strong {
    color: #2D3436;
}

.padrinho-pill {
    background: #EDE7F6;
    color: #5E35B1;
    border-radius: 20px;
    padding: 0.15rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 0.25rem;
}

/* Pills de votos e comentÃ¡rios */
.detalhe-stats-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.stat-pill {
    background: #F4F6FA;
    border-radius: 20px;
    padding: 0.2rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #636E72;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* BotÃ£o Editar â amarelo */
.btn-editar {
    background: linear-gradient(135deg, #F7971E, #FFD200);
    color: #2D3436;
    border: none;
    padding: 0.4rem 1.1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: opacity 0.15s;
}

.btn-editar:hover { opacity: 0.88; }

/* Header do detalhe com botÃµes Ã  direita */
.detalhe-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.detalhe-page-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2D3436;
}

.detalhe-header-btns {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* =============================================
   KANBAN V2 â MODERNO
   ============================================= */

.kanban-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.kanban-page-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2D3436;
    margin: 0;
}

.kanban-page-sub {
    font-size: 0.85rem;
    color: #636E72;
    margin: 0.15rem 0 0;
}

.kanban-page-btns {
    display: flex;
    gap: 0.5rem;
}

/* Totalizadores */
.kanban-totais {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.kanban-total-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    flex: 1;
}

.kanban-total-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #5E35B1;
    line-height: 1;
}

.kanban-total-label {
    font-size: 0.72rem;
    color: #636E72;
    text-align: center;
    margin-top: 0.2rem;
    font-weight: 500;
}

/* Board */
.kanban-board-v2 {
    display: flex;
    gap: 0.875rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    align-items: flex-start;
}

.kanban-board-v2::-webkit-scrollbar {
    height: 6px;
}

.kanban-board-v2::-webkit-scrollbar-track {
    background: #F4F6FA;
    border-radius: 3px;
}

.kanban-board-v2::-webkit-scrollbar-thumb {
    background: #C5B8E8;
    border-radius: 3px;
}

/* Coluna */
.kanban-col-v2 {
    flex: 0 0 220px;
    min-width: 220px;
    background: #F8F9FB;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header da coluna */
.kanban-col-head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    border-radius: 14px 14px 0 0;
}

.kcol-icon { font-size: 0.95rem; }

.kcol-nome { flex: 1; }

.kcol-badge {
    background: rgba(255,255,255,0.28);
    border-radius: 20px;
    padding: 0.1rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
}

/* Cores dos headers */
.kcol-avaliacao     { background: linear-gradient(135deg, #7E57C2, #5E35B1); }
.kcol-aprovada      { background: linear-gradient(135deg, #43A047, #2E7D32); }
.kcol-implementacao { background: linear-gradient(135deg, #1E88E5, #1565C0); }
.kcol-conclusao     { background: linear-gradient(135deg, #AB47BC, #7B1FA2); }
.kcol-concluida     { background: linear-gradient(135deg, #F9A825, #F57F17); }
.kcol-reprovada     { background: linear-gradient(135deg, #E53935, #B71C1C); }
.kcol-estacionamento{ background: linear-gradient(135deg, #78909C, #455A64); }

/* Ãrea de cards */
.kanban-cards-v2 {
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 120px;
    max-height: 68vh;
    overflow-y: auto;
}

.kanban-cards-v2::-webkit-scrollbar { width: 4px; }
.kanban-cards-v2::-webkit-scrollbar-thumb { background: #D1C4E9; border-radius: 2px; }

/* Card */
.kcard {
    background: #fff;
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    text-decoration: none;
    display: block;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    border-left: 3px solid transparent;
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

.kcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    text-decoration: none;
}

/* Cores da borda lateral por status */
.kcard-avaliacao     { border-left-color: #7E57C2; }
.kcard-aprovada      { border-left-color: #43A047; }
.kcard-implementacao { border-left-color: #1E88E5; }
.kcard-conclusao     { border-left-color: #AB47BC; }
.kcard-concluida     { border-left-color: #F9A825; }
.kcard-reprovada     { border-left-color: #E53935; }
.kcard-estacionamento{ border-left-color: #78909C; }

.kcard-titulo {
    font-size: 0.84rem;
    font-weight: 700;
    color: #2D3436;
    line-height: 1.35;
    margin-bottom: 0.45rem;
}

.kcard-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

/* Avatar inicial */
.kcard-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #EDE7F6;
    color: #5E35B1;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kcard-avatar-green  { background: #E8F5E9; color: #2E7D32; }
.kcard-avatar-blue   { background: #E3F2FD; color: #1565C0; }
.kcard-avatar-purple { background: #F3E5F5; color: #7B1FA2; }
.kcard-avatar-gold   { background: #FFF8E1; color: #F57F17; }
.kcard-avatar-red    { background: #FFEBEE; color: #B71C1C; }
.kcard-avatar-gray   { background: #ECEFF1; color: #455A64; }

.kcard-autor {
    font-size: 0.75rem;
    color: #636E72;
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kcard-data {
    font-size: 0.7rem;
    color: #B2BEC3;
    white-space: nowrap;
}

.kcard-obj {
    font-size: 0.72rem;
    color: #5E35B1;
    background: #EDE7F6;
    border-radius: 6px;
    padding: 0.15rem 0.5rem;
    margin-top: 0.4rem;
    display: inline-block;
    font-weight: 500;
}

.kcard-destaque {
    background: #FFF8E1;
    color: #F57F17;
}

.kcard-datas {
    font-size: 0.72rem;
    color: #636E72;
    margin-top: 0.4rem;
}

.kcard-justificativa {
    font-size: 0.72rem;
    color: #E53935;
    margin-top: 0.4rem;
    line-height: 1.3;
}

/* Empty state */
.kcard-empty {
    text-align: center;
    padding: 1.5rem 0.5rem;
    color: #B2BEC3;
    font-size: 0.8rem;
}

.kcard-empty-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

/* =============================================
   OBJETIVOS & OKRs
   ============================================= */

.obj-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.obj-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    overflow: hidden;
}

/* Header do card */
.obj-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #F4F6FA;
    flex-wrap: wrap;
}

.obj-card-header-left {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    flex: 1;
    min-width: 0;
}

.obj-icone {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.obj-titulo {
    font-size: 1rem;
    font-weight: 800;
    color: #2D3436;
    line-height: 1.3;
}

.obj-desc {
    font-size: 0.82rem;
    color: #636E72;
    margin-top: 0.2rem;
    line-height: 1.4;
}

.obj-acoes {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Ãrea OKRs */
.obj-okr-area {
    padding: 1rem 1.5rem 1.25rem;
}

.obj-okr-titulo {
    font-size: 0.82rem;
    font-weight: 700;
    color: #636E72;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.obj-okr-count {
    background: #EDE7F6;
    color: #5E35B1;
    border-radius: 20px;
    padding: 0.05rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Lista de OKRs */
.obj-okr-lista {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.obj-okr-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.875rem;
    background: #F8F9FB;
    border-radius: 8px;
    transition: background 0.15s;
}

.obj-okr-item:hover { background: #F0EAF8; }

.obj-okr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7E57C2;
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.obj-okr-conteudo { flex: 1; min-width: 0; }

.obj-okr-desc {
    font-size: 0.88rem;
    font-weight: 600;
    color: #2D3436;
    line-height: 1.35;
}

.obj-okr-meta {
    font-size: 0.76rem;
    color: #636E72;
    margin-top: 0.15rem;
}

.btn-okr-excluir {
    background: none;
    border: none;
    color: #B2BEC3;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
    flex-shrink: 0;
}

.btn-okr-excluir:hover {
    color: #E53935;
    background: #FFEBEE;
}

.obj-okr-empty {
    font-size: 0.82rem;
    color: #B2BEC3;
    padding: 0.5rem 0;
    margin-bottom: 0.75rem;
}

/* Form adicionar OKR */
.obj-okr-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px dashed #EDE7F6;
}

.obj-okr-form-inputs {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    flex-wrap: wrap;
    min-width: 0;
}

.obj-okr-form-inputs .form-control {
    flex: 2;
    min-width: 180px;
}

.obj-okr-meta-input {
    flex: 1 !important;
    min-width: 140px !important;
}

/* Empty state */
.obj-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.obj-empty-icon    { font-size: 3rem; margin-bottom: 0.75rem; }
.obj-empty-titulo  { font-size: 1.1rem; font-weight: 700; color: #2D3436; }
.obj-empty-desc    { font-size: 0.88rem; color: #636E72; margin-top: 0.4rem; }

/* =============================================
   PADRINHOS V2 â REFINADO
   ============================================= */

.pad-forms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .pad-forms-grid { grid-template-columns: 1fr; }
}

.pad-form-titulo {
    font-size: 1rem;
    font-weight: 700;
    color: #2D3436;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #EDE7F6;
}

/* Especialidades lista */
.esp-lista {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.esp-lista::-webkit-scrollbar { width: 4px; }
.esp-lista::-webkit-scrollbar-thumb { background: #D1C4E9; border-radius: 2px; }

.esp-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.875rem;
    background: #F8F9FB;
    border-radius: 8px;
    border-left: 3px solid #7E57C2;
    transition: background 0.15s;
}

.esp-item:hover { background: #F0EAF8; }

.esp-nome {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2D3436;
}

.esp-desc {
    font-size: 0.74rem;
    color: #7E57C2;
    margin-top: 0.1rem;
}

/* Separador seÃ§Ã£o padrinhos */
.pad-section-sep {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1.25rem;
}

.pad-section-sep-line {
    flex: 1;
    height: 1px;
    background: #EDE7F6;
}

.pad-section-sep-titulo {
    font-size: 1rem;
    font-weight: 800;
    color: #2D3436;
    white-space: nowrap;
}

.pad-section-sep-count {
    background: #EDE7F6;
    color: #5E35B1;
    border-radius: 20px;
    padding: 0.15rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Grid de padrinhos */
.pad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.1rem;
}

/* Card do padrinho */
.pad-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
}

.pad-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.11);
}

/* Barra colorida no topo do card */
.pad-card-bar {
    height: 5px;
    background: linear-gradient(90deg, #7E57C2, #5E35B1);
    width: 100%;
}

.pad-card-body {
    padding: 1.1rem 1.1rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}

/* Top: avatar + nome + excluir */
.pad-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pad-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7E57C2, #5E35B1);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(94,53,177,0.3);
}

.pad-card-info { flex: 1; min-width: 0; }

.pad-card-nome {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2D3436;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pad-card-email {
    font-size: 0.74rem;
    color: #636E72;
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Badge especialidade */
.pad-card-esp { display: flex; }

.pad-esp-badge {
    background: #EDE7F6;
    color: #5E35B1;
    border-radius: 20px;
    padding: 0.22rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #D1C4E9;
}

.pad-esp-vazio {
    background: #F4F6FA;
    color: #B2BEC3;
    border-color: #ECEFF1;
}

/* Bio */
.pad-card-bio {
    font-size: 0.81rem;
    color: #636E72;
    line-height: 1.55;
    border-top: 1px solid #F4F6FA;
    padding-top: 0.65rem;
}

.pad-bio-vazio {
    color: #B2BEC3;
    font-style: italic;
}

.recente-criador {
    font-size: 0.76rem;
    color: #7E57C2;
    font-weight: 600;
}


/* ââ IDEIAS RECENTES ââ */
.recente-item {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.recente-item:hover {
    background: #f8f7ff;
}

.recente-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}

.recente-titulo {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2937;
    flex: 1;
    line-height: 1.3;
}

.recente-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: #6b7280;
}

.recente-criador {
    display: flex;
    align-items: center;
    gap: 4px;
}

.recente-data {
    margin-left: auto;
}
.navbar-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

/* =============================================
   ONDA 2 — FLASH MESSAGES (TOAST SUTIL)
   ============================================= */

.flash-container {
    position: fixed;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min(360px, calc(100vw - 1.25rem));
    pointer-events: none;
}

.flash {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.68rem 0.75rem;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.35;
    box-shadow: 0 8px 22px rgba(0,0,0,0.14);
    border: 1px solid rgba(0,0,0,0.06);
    border-left-width: 4px;
    animation: flashToastIn 0.18s ease-out;
    backdrop-filter: blur(2px);
}

@keyframes flashToastIn {
    from { opacity: 0; transform: translateY(-6px) scale(0.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.flash.flash-out {
    opacity: 0;
    transform: translateY(-5px) scale(0.985);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.flash-icon {
    font-size: 1rem;
    line-height: 1.1;
    margin-top: 1px;
    flex-shrink: 0;
}

.flash-msg {
    flex: 1;
    min-width: 0;
}

.flash-close {
    background: transparent;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.62;
    line-height: 1;
    padding: 0 0.15rem;
    transition: opacity 0.15s, transform 0.15s;
    flex-shrink: 0;
}

.flash-close:hover {
    opacity: 1;
    transform: scale(1.03);
}

/* Variantes */
.flash-success {
    background: #F2FBF5;
    color: #185B33;
    border-color: #D9F2E2;
    border-left-color: #2E7D32;
}

.flash-danger {
    background: #FFF4F4;
    color: #7E1F1F;
    border-color: #F8DCDC;
    border-left-color: #C62828;
}

.flash-warning {
    background: #FFF9F0;
    color: #7A4D09;
    border-color: #F7E7CC;
    border-left-color: #EF6C00;
}

.flash-info {
    background: #F1F8FF;
    color: #0B4F82;
    border-color: #D7EAFB;
    border-left-color: #1565C0;
}

@media (max-width: 640px) {
  .flash-container {
    right: 0.5rem;
    left: 0.5rem;
    top: 0.6rem;
    width: auto;
  }
}


/* =============================================
   ONDA 2 â PÃGINA DE LOGIN
   ============================================= */

body.page-login {
    background: linear-gradient(135deg, #6C3FC5 0%, #8B5CF6 60%, #A78BFA 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-login .navbar { display: none; }

.login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 1.5rem;
}

.login-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* Link "Meu primeiro acesso" */
.login-primeiro-acesso {
    margin-top: 0.95rem;
    text-align: center;
    font-size: 0.84rem;
    color: #636E72;
}

.login-primeiro-acesso a {
    color: #6C3FC5;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(108,63,197,0.4);
    transition: color 0.15s, border-color 0.15s, opacity 0.15s;
}

.login-primeiro-acesso a:hover {
    color: #5B2DB9;
    border-bottom-color: rgba(91,45,185,0.8);
    opacity: 0.95;
}

/* Opcional: melhora leitura do card em fundo escuro/imagem */
.login-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(2px);
}


.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.login-brand-logo { font-size: 2rem; }

.login-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #6C3FC5;
}

.login-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: #636E72;
    margin-bottom: 2rem;
}

.login-field { margin-bottom: 1.1rem; }

.login-field label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: #2D3436;
    margin-bottom: 0.35rem;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-wrap .form-control {
    padding-right: 2.5rem;
}

.login-input-icon {
    position: absolute;
    left: 0.9rem;
    color: #B2BEC3;
    font-size: 0.9rem;
    pointer-events: none;
}

.login-input-wrap .form-control.with-icon {
    padding-left: 2.25rem;
}

.login-toggle-senha {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #B2BEC3;
    font-size: 0.85rem;
    padding: 0.2rem;
    transition: color 0.15s;
}

.login-toggle-senha:hover { color: #6C3FC5; }

.btn-login {
    width: 100%;
    padding: 0.7rem;
    background: #CBDB2A;
    color: #1F2A00;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
    margin-top: 0.5rem;
}

.btn-login:hover { background: #BFCE27; opacity: 1; transform: translateY(-1px); }

.login-piloto-banner {
    margin-top: 1.5rem;
    background: #F8F6FF;
    border: 1.5px dashed #C5B8E8;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
    color: #636E72;
    text-align: center;
}

.login-piloto-banner strong { color: #5E35B1; }

.login-piloto-creds {
    margin-top: 0.4rem;
    font-family: Tahoma, sans-serif;
    font-size: 0.82rem;
    background: #EDE7F6;
    color: #5E35B1;
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    display: inline-block;
}

/* =============================================
   ONDA 2 NOTIFICAÇÕES NA HOME (CARD)
   ============================================= */

.notif-home-card {
background: #fff;
border: 1px solid #ECEFF3;
border-radius: 14px;
padding: 1.30rem 1.10rem;
box-shadow: 0 1px 6px rgba(17,24,39,0.04);
margin-bottom: 1.25rem;
}

.notif-home-lista {
display: flex;
flex-direction: column;
gap: 0.55rem;
}

.notif-home-item {
display: flex;
align-items: flex-start;
gap: 0.6rem;
padding: 0.72rem 0.85rem;
border: 1px solid #EFF2F6;
border-radius: 10px;
background: #FCFCFD;
transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.notif-home-item:hover {
background: #fff;
border-color: #E6EAF0;
box-shadow: 0 2px 8px rgba(17,24,39,0.05);
}

.notif-home-body {
flex: 1;
min-width: 0;
}

.notif-home-msg {
font-size: 0.84rem;
color: #2D3436;
line-height: 1.45;
}

.notif-home-data {
margin-top: 0.16rem;
font-size: 0.74rem;
color: #8A949E;
}

.notif-home-nao-lida {
background: #FAF8FF;
border-color: #EAE4FA;
}

.notif-home-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: #6C3FC5;
opacity: 0.9;
box-shadow: 0 0 0 3px rgba(108,63,197,0.12);
margin-top: 0.36rem;
flex-shrink: 0;
}

.notif-home-mark-all:hover { opacity: 0.7; }

/* =============================================
   ONDA 2 â BADGE EVENTO DE INOVAÃÃO
   ============================================= */

.badge-evento-inovacao {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #F7971E, #FFD200);
    color: #2D3436;
    border-radius: 20px;
    padding: 0.2rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    margin-left: 0.5rem;
    vertical-align: middle;
    box-shadow: 0 1px 4px rgba(247,151,30,0.3);
}

/* =============================================
   ONDA 2 â AVALIACAO CONCLUSAO (2 CARDS)
   ============================================= */

.avaliacao-card-evento {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1.25rem;
    border-top: 4px solid #F7971E;
}

.avaliacao-card-conclusao {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
    border-top: 4px solid #7B1FA2;
}

.avaliacao-card-evento h3,
.avaliacao-card-conclusao h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2D3436;
}

.evento-check-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #2D3436;
}

.evento-check-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #F7971E;
    cursor: pointer;
}

.evento-pts-hint {
    font-size: 0.78rem;
    color: #E65100;
    font-weight: 600;
    background: #FFF3E0;
    border-radius: 6px;
    padding: 0.15rem 0.5rem;
}

/* =============================================
   ONDA 2 â RESPONSIVO ADICIONAL
   ============================================= */

@media (max-width: 600px) {
    .nav-right { gap: 0.4rem; }
    .nav-user-name { display: none; }
    .nav-user-btn { padding: 0.3rem 0.45rem; }
    .notif-dropdown { width: 290px; right: -60px; }
    .nav-user-dropdown { right: 0; }
    .login-card { padding: 2rem 1.25rem; }
    .notif-home-card { padding: 1rem; }
}

@media (max-width: 400px) {
    .login-wrapper { padding: 1rem; }
    .login-card { border-radius: 14px; }
}

.comentario-avatar-img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comentario-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
/* =============================================
   AVATAR â SELF SERVICE (HOME)
   ============================================= */
.home-user-avatar-wrap{ position: relative; width: 42px; height: 42px; flex-shrink:0; }
.home-user-avatar{ width: 42px; height: 42px; border-radius: 50%; overflow:hidden; background: linear-gradient(135deg, #6C3FC5, #8B5CF6); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; }
.home-avatar{ width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.nav-avatar{ width:28px; height:28px; object-fit:cover; border-radius:50%; display:block; }
.ranking-avatar-img{ width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.perfil-avatar-img{ width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.kcard-avatar-img{ width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.comentario-avatar-img{ width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.avatar-fallback{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; }
.avatar-edit-btn{ position:absolute; bottom:-8px; right:-8px; width:26px; height:26px; border-radius:50%; border:2px solid #fff; background:#6C3FC5; color:#fff; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,0.15); font-size:12px; display:flex; align-items:center; justify-content:center; }
.avatar-edit-btn:hover{ opacity:0.92; transform: translateY(-1px); }
.avatar-modal{ position:fixed; inset:0; background: rgba(0,0,0,0.45); z-index:9999; display:flex; align-items:center; justify-content:center; padding:1rem; }
.avatar-modal-card{ background:#fff; border-radius:14px; width:min(560px, 96vw); box-shadow:0 10px 36px rgba(0,0,0,0.22); overflow:hidden; }
.avatar-modal-header{ display:flex; align-items:center; justify-content:space-between; padding:1rem 1.1rem; border-bottom:1px solid #F0F0F0; }
.avatar-modal-title{ font-weight:800; color:#2D3436; }
.avatar-modal-close{ border:none; background:none; font-size:1.4rem; cursor:pointer; color:#636E72; }
.avatar-modal-close:hover{ color:#E74C3C; }
.avatar-picker-grid{ display:grid; grid-template-columns: repeat(5, 1fr); gap:0.75rem; padding:1rem 1.1rem; }
.avatar-choice{ width:100%; aspect-ratio:1/1; border-radius:14px; border:2px solid #EDE7F6; background:#fff; cursor:pointer; overflow:hidden; display:flex; align-items:center; justify-content:center; transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s; }
.avatar-choice:hover{ transform: translateY(-2px); border-color:#6C3FC5; box-shadow:0 6px 16px rgba(108,63,197,0.18); }
.avatar-choice img{ width:100%; height:100%; object-fit:cover; display:block; }
.avatar-modal-hint{ padding:0 1.1rem 1.1rem; font-size:0.82rem; color:#636E72; }
@media (max-width: 520px){ .avatar-picker-grid{ grid-template-columns: repeat(4, 1fr);} }

/* =========================================================
REQ 3 (AJUSTE FINO) â Banner com cor real + conteÃºdo 1cm Ã  direita
- Remove overlay/escurecimento
- MantÃ©m leitura com sombra sutil no texto
- Desloca Ã­cone/texto/botÃ£o 1cm para a direita (apenas no hero)
========================================================= */

/* 1) Mostrar a imagem ârealâ (sem escurecer/overlay) */
.hero-with-img::before{
  background: transparent !important;
}

/* Se vocÃª tinha colocado filtro/escala na imagem, zera aqui */
.hero-bg{
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
}


/* 3) Para manter legibilidade sem âopacidadeâ do banner, usa sombra no texto */
.hero-titulo,
.hero-sub,
.hero-icon{
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

/* 4) Em telas menores, nÃ£o desloca (para nÃ£o cortar em celular) */
@media (max-width: 900px){
  .hero-content{ transform: none; }
}


/* NAV USER DROPDOWN - correção visual */
.nav-right { margin-left: auto; display: flex; align-items: center; }
.nav-user-wrapper { position: relative; }
.nav-user-btn {
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.6rem 0.25rem 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}
.nav-user-btn:hover { background: rgba(255,255,255,0.24); }
.nav-user-avatar { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.nav-avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-fallback { background:#fff; color:#6C3FC5; font-weight:700; width:100%; height:100%; display:flex; align-items:center; justify-content:center; border-radius:50%; }
.nav-user-name { font-size: 0.84rem; font-weight: 700; color:#fff; }
.nav-user-chevron { font-size: 0.78rem; opacity: 0.95; }
.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  padding: 0.35rem;
  display: none;
  z-index: 999;
}
.nav-user-dropdown.open { display: block; }
.nav-user-dropdown-header { padding: 0.55rem 0.65rem; }
.nav-user-dropdown-name { font-weight: 700; color:#2D3436; }
.nav-user-dropdown-perfil { font-size: 0.75rem; color:#636E72; margin-top:0.1rem; }
.nav-dropdown-sep { height:1px; background:#EFEFEF; margin:0.2rem 0; }
.nav-dropdown-item {
  display:flex; align-items:center; gap:0.45rem;
  text-decoration:none; color:#2D3436; font-size:0.86rem;
  border-radius:8px; padding:0.5rem 0.65rem;
}
.nav-logout-form { margin: 0; }
.nav-logout-form .nav-dropdown-item {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
}
.nav-dropdown-item:hover { background:#EAF0FB; color:#26539C; }
.nav-dropdown-item.logout { color:#C0392B; }

/* Busca de usuário no cadastro de padrinho */
#padrinho_sugestoes .mention-item small { color:#636E72; font-size:0.78rem; }
#padrinho_nome_preview[readonly],
#padrinho_email_preview[readonly] { background:#F8F9FB; color:#2D3436; }

/* AUTH PAGES - isolamento total do layout interno */
body.page-login,
body.page-primeiro-acesso {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(1200px 500px at 10% 10%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(900px 400px at 90% 90%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(135deg, #5B2DB9 0%, #7A4AE0 45%, #9B59B6 100%);
}

body.page-login .navbar,
body.page-primeiro-acesso .navbar {
  display: none !important;
}

.auth-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: transparent;
}

/* neutraliza "main-content" da index quando auth */
body.page-login .main-content,
body.page-primeiro-acesso .main-content {
  max-width: none;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

/* cartão mais elegante */
.login-card,
.primeiro-acesso-card {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(25, 16, 52, 0.35);
}

/* largura e respiro visual */
.login-page,
.primeiro-acesso-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

