/* ===============================================================================
   ESTILO GERAL: PROGRAMA BRASIL MAIS PRODUTIVO & SIRI (INCIT / SENAI)
   Inspirado na Plataforma Produtividade (MDIC/SENAI) e Framework Oficial SIRI (INCIT)
=============================================================================== */

:root {
  --primary-senai: #002F6C;
  --primary-hover: #001f47;
  --secondary-accent: #00A859;
  --accent-yellow: #FFCC00;
  --accent-light: #e6f2ff;
  --success-color: #00A859;
  --warning-color: #f59e0b;
  --danger-color: #dc3545;
  --dark-navy: #0A2138;
  --dark-slate: #1e293b;
  --text-muted: #64748b;
  --bg-app: #f4f6fa;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --border-radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 24px -4px rgba(0,0,0,0.12);

  /* CORES OFICIAIS SIRI / INCIT */
  --siri-process: #14A0AE;
  --siri-process-dark: #0E8290;
  --siri-tech: #2E6FB0;
  --siri-tech-dark: #1E4D7B;
  --siri-org: #DD9A2E;
  --siri-org-dark: #C0821C;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-app);
  color: var(--dark-slate);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* NAVBAR LANDING & SISTEMA */
.navbar-landing,
.navbar-custom {
  background: linear-gradient(135deg, #001f3f 0%, #002F6C 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  padding: 0.85rem 1.5rem;
}

.hover-white:hover {
  color: #ffffff !important;
}

.navbar-brand-title {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
  color: #ffffff !important;
}

.badge-bmp {
  background-color: var(--accent-yellow);
  color: #001f3f;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  margin-left: 0.5rem;
}

/* LANDING PAGE HERO */
.landing-hero {
  background: radial-gradient(circle at 80% 20%, rgba(20, 160, 174, 0.25) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(0, 168, 89, 0.2) 0%, transparent 40%),
              linear-gradient(145deg, #071526 0%, #002F6C 60%, #0A2138 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.landing-hero-title {
  font-size: 2.6rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

@media (min-width: 992px) {
  .landing-hero-title {
    font-size: 3.2rem;
  }
}

.icon-circle-check {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(0, 168, 89, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* CARD GLASSMORPHISM NO HERO (ESTILO MOVER) */
.glass-login-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
}

.form-control-glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
}

.form-control-glass:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.25);
}

.form-control-glass::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.btn-warning-pill {
  background-color: var(--accent-yellow);
  color: #001f3f !important;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.btn-warning-pill:hover {
  background-color: #ffd833;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 204, 0, 0.35);
}

/* CARDS DO SISTEMA */
.custom-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.custom-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-header-styled {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1.1rem 1.4rem;
  font-weight: 600;
}

/* STATS CARDS */
.stat-card {
  padding: 1.4rem;
  border-radius: var(--border-radius);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat-card.blue {
  background: linear-gradient(135deg, #002F6C 0%, #00529b 100%);
}
.stat-card.green {
  background: linear-gradient(135deg, #008744 0%, #00A859 100%);
}
.stat-card.orange {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}
.stat-card.purple {
  background: linear-gradient(135deg, #6b21a8 0%, #9333ea 100%);
}

.stat-val {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 500;
}

.stat-icon {
  position: absolute;
  right: 1.2rem;
  bottom: 0.8rem;
  font-size: 3.2rem;
  opacity: 0.15;
}

/* BOTÕES DO SISTEMA */
.btn-primary-senai {
  background-color: var(--primary-senai);
  border-color: var(--primary-senai);
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  transition: all 0.2s;
}

.btn-primary-senai:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 47, 108, 0.3);
}

/* ESTILO SIRI OFICIAL INCIT */
.bg-siri-dark {
  background-color: #0A2138;
}

.siri-block-card {
  background: #112a45;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: transform 0.2s;
}

.siri-block-card:hover {
  transform: translateY(-4px);
}

.siri-block-card.siri-proc {
  border-top: 4px solid var(--siri-process);
}
.siri-block-card.siri-tec {
  border-top: 4px solid var(--siri-tech);
}
.siri-block-card.siri-org {
  border-top: 4px solid var(--siri-org);
}

.siri-block-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.8px;
}

.siri-block-badge.proc {
  background: rgba(20, 160, 174, 0.2);
  color: var(--siri-process);
  border: 1px solid var(--siri-process);
}

.siri-block-badge.tec {
  background: rgba(46, 111, 176, 0.2);
  color: #6da2db;
  border: 1px solid #4383c4;
}

.siri-block-badge.org {
  background: rgba(221, 154, 46, 0.2);
  color: var(--siri-org);
  border: 1px solid var(--siri-org);
}

.siri-dim-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.siri-dim-item .num {
  font-weight: 700;
  font-size: 0.75rem;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* BANDAS DE MATURIDADE INTERATIVAS */
.dim-card {
  border-left: 5px solid #cbd5e1;
  transition: border-color 0.2s;
}

.dim-card.band-0 { border-left-color: #6c757d; }
.dim-card.band-1 { border-left-color: var(--siri-process-dark); }
.dim-card.band-2 { border-left-color: var(--siri-process); }
.dim-card.band-3 { border-left-color: var(--siri-tech); }
.dim-card.band-4 { border-left-color: #235A92; }
.dim-card.band-5 { border-left-color: var(--siri-org); }

.band-selector-btn {
  border-radius: 8px;
  padding: 0.6rem 0.5rem;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  background-color: #f8fafc;
  transition: all 0.15s;
}

.band-selector-btn:hover {
  background-color: #e2e8f0;
}

.band-selector-btn.active {
  background-color: var(--primary-senai);
  color: #ffffff;
  border-color: var(--primary-senai);
  box-shadow: 0 2px 6px rgba(0, 47, 108, 0.3);
}

/* FOOTER */
footer {
  margin-top: auto;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 1.2rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}
