* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0f172a;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
}

/* SIDEBAR */

.sidebar {
  width: 300px;
  min-height: 100vh;
  background: #111827;
  border-right: 1px solid #1e293b;
  padding: 28px 18px;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
}

.logo {
  margin-bottom: 35px;
}

.logo h2 {
  color: #38bdf8;
  font-size: 32px;
}

.logo span {
  color: #94a3b8;
  font-size: 14px;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu-group {
  border-bottom: 1px solid #1e293b;
  padding-bottom: 14px;
}

.menu-title {
  color: #e2e8f0;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.submenu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.submenu-title {
  color: #38bdf8;
  font-size: 14px;
  font-weight: bold;
  margin-top: 12px;
  margin-bottom: 6px;
  padding-left: 8px;
}

.submenu-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: 12px;
}

.menu a,
.submenu a,
.submenu-items a {
  color: #cbd5e1;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.3;
  display: block;
  transition: 0.2s;
}

.menu a:hover,
.submenu a:hover,
.submenu-items a:hover,
.menu .ativo,
.submenu .ativo,
.submenu-items .ativo {
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid #334155;
}

/* CONTEÚDO */

.conteudo {
  margin-left: 300px;
  width: calc(100% - 300px);
  min-height: 100vh;
}

/* HEADER */

.topo,
.projeto-header {
  padding: 42px 50px;
  border-bottom: 1px solid #1e293b;
  background: #111827;
}

.topo h1,
.projeto-header h1 {
  font-size: 46px;
  margin-bottom: 12px;
  color: #38bdf8;
  word-break: normal;
}

.topo p,
.projeto-header p {
  color: #94a3b8;
  font-size: 19px;
}

/* METADATA */

.projeto-metadata {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  max-width: 1250px;
}

.meta-item {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 20px;
}

.meta-label {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.meta-value {
  color: #f1f5f9;
  font-size: 16px;
  line-height: 1.5;
  word-break: break-word;
}

.status-ok {
  color: #22c55e;
  font-weight: bold;
}

/* DASHBOARD */

.dashboard {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 18px;
  padding: 30px;
  text-decoration: none;
  color: white;
  transition: 0.25s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.card h2 {
  margin-bottom: 18px;
  color: #38bdf8;
  font-size: 28px;
}

.card p {
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 16px;
}

/* STATUS */

.status {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 20px;
}

.status-online {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.status-dev {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.status-critical {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.status-planning {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

/* ACCORDION */

.accordion {
  padding: 38px 50px;
  max-width: 1150px;
}

.accordion-item {
  margin-bottom: 18px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  color: #38bdf8;
  padding: 22px 26px;
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
}

.accordion-header::before {
  content: "▶";
  margin-right: 12px;
  color: #94a3b8;
}

.accordion-content {
  display: none;
  padding: 0 28px 26px 56px;
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 16px;
}

.accordion-content ul {
  margin-left: 20px;
}

.accordion-content li {
  margin-bottom: 10px;
}