/* ============================================
   Kit UC00248 — Brand Jaqueline Silva
   Palette: #0D1438 (navy) · #1A2564 (card) · #FF6225 (orange) · #fff (text)
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0D1438;
  color: #fff;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

/* NAV */
nav {
  background: #080d26;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #FF6225;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav .logo {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}
nav .logo span { color: #FF6225; }
nav .nav-links { display: flex; gap: 1rem; list-style: none; }
nav .nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}
nav .nav-links a:hover { color: #FF6225; }

/* PAGE */
.kit-page { max-width: 860px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }

/* HERO HEADER */
.kit-hero {
  background: linear-gradient(135deg, #0D1438 0%, #1A2564 100%);
  border: 1px solid rgba(255,98,37,0.3);
  border-left: 5px solid #FF6225;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.kit-hero::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,98,37,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.kit-hero .sessao-tag {
  display: inline-block;
  background: #FF6225;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.kit-hero h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.kit-hero p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* PRINT BUTTON */
.btn-print {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FF6225;
  color: #fff;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-print:hover { background: #e5551f; }

/* SECTION CARD */
.kit-card {
  background: #1A2564;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.kit-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FF6225;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,98,37,0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.kit-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin: 1.25rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.kit-card p, .kit-card li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
}
.kit-card ul { padding-left: 1.2rem; }
.kit-card ul li { margin-bottom: 0.3rem; }

/* GLOSSARY */
dl.glossary { }
dl.glossary dt {
  font-weight: 700;
  color: #FF6225;
  font-size: 0.9rem;
  margin-top: 1rem;
}
dl.glossary dd {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-left: 1rem;
  line-height: 1.6;
  border-left: 2px solid rgba(255,98,37,0.25);
  padding-left: 0.75rem;
  margin-top: 0.2rem;
}

/* CHECKLIST */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.check-item:last-child { border-bottom: none; }
.check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  accent-color: #FF6225;
  cursor: pointer;
}
.check-item label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  line-height: 1.5;
}

/* NIVEL CARDS */
.nivel-card {
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}
.nivel-card.n1 { border-left: 4px solid #ef4444; }
.nivel-card.n2 { border-left: 4px solid #f97316; }
.nivel-card.n3 { border-left: 4px solid #eab308; }
.nivel-card.n4 { border-left: 4px solid #22c55e; }
.nivel-card.n5 { border-left: 4px solid #FF6225; }
.nivel-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.nivel-badge { font-weight: 800; font-size: 1rem; color: #fff; }
.nivel-titulo { font-weight: 700; font-size: 0.9rem; color: #FF6225; }
.nivel-desc { font-size: 0.84rem; color: rgba(255,255,255,0.75); margin-bottom: 0.35rem; }
.nivel-sinais { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* PROMPT CARD */
.prompt-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,98,37,0.2);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
}
.prompt-block .ptag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #FF6225;
  margin-bottom: 0.3rem;
}
.prompt-block p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
}

/* FORMULA BOX */
.formula-box {
  background: #080d26;
  border: 1px solid rgba(255,98,37,0.3);
  border-radius: 8px;
  padding: 1.25rem;
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 0.83rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.formula-box .lbl { color: #FF6225; font-weight: 700; }

/* FLOW STEP */
.flow-step {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
  align-items: flex-start;
}
.step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.step-dot.auto { background: rgba(255,255,255,0.15); color: #fff; }
.step-dot.ai { background: #FF6225; color: #fff; }
.step-dot.human { background: #1d6fb8; color: #fff; }
.flow-step .step-body { font-size: 0.84rem; color: rgba(255,255,255,0.8); line-height: 1.5; }
.flow-step .step-type { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin-bottom: 0.15rem; }
.step-type.auto { color: rgba(255,255,255,0.45); }
.step-type.ai { color: #FF6225; }
.step-type.human { color: #5badff; }

/* TABLE */
.kit-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.kit-table th {
  background: #FF6225;
  color: #fff;
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.kit-table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  vertical-align: top;
}
.kit-table tr:nth-child(even) td { background: rgba(255,255,255,0.03); }

/* NOTA BOX */
.nota {
  background: rgba(255,98,37,0.1);
  border-left: 3px solid #FF6225;
  border-radius: 0 6px 6px 0;
  padding: 0.75rem 1rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.8);
  margin-top: 1rem;
  line-height: 1.6;
}
.nota strong { color: #FF6225; }

.nota-verde {
  background: rgba(34,197,94,0.1);
  border-left: 3px solid #22c55e;
  border-radius: 0 6px 6px 0;
  padding: 0.75rem 1rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.8);
  margin-top: 1rem;
  line-height: 1.6;
}

/* CRITERIO CARD */
.criterio-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.6rem;
}
.criterio-title { font-weight: 700; font-size: 0.88rem; color: #FF6225; margin-bottom: 0.4rem; }
.criterio-q { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-bottom: 0.2rem; padding-left: 0.9rem; }

/* RISK CARDS */
.risk-card { border-radius: 8px; padding: 1rem; margin-bottom: 0.75rem; }
.risk-none { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); }
.risk-limited { background: rgba(234,179,8,0.1); border: 1px solid rgba(234,179,8,0.3); }
.risk-high { background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.3); }
.risk-prohibited { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); }
.risk-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.4rem; }
.risk-none .risk-title { color: #4ade80; }
.risk-limited .risk-title { color: #fde047; }
.risk-high .risk-title { color: #fb923c; }
.risk-prohibited .risk-title { color: #f87171; }
.risk-desc { font-size: 0.84rem; color: rgba(255,255,255,0.75); margin-bottom: 0.35rem; }
.risk-exemplos { font-size: 0.8rem; color: rgba(255,255,255,0.5); font-style: italic; }

/* TEMPLATE BOX */
.template-box {
  background: #080d26;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 1.25rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  white-space: pre-wrap;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.template-box .ph { color: rgba(255,255,255,0.35); font-style: italic; }
.template-box strong { color: #FF6225; }

/* PRINCIPIO CARD */
.principio-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
}
.principio-title { font-weight: 700; font-size: 0.9rem; color: #FF6225; margin-bottom: 0.3rem; }
.principio-desc { font-size: 0.84rem; color: rgba(255,255,255,0.8); margin-bottom: 0.3rem; }
.principio-como { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* KIT NAV GRID */
.kit-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.kit-nav-item {
  background: #1A2564;
  border: 1px solid rgba(255,98,37,0.2);
  border-radius: 8px;
  padding: 1rem;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.kit-nav-item:hover { border-color: #FF6225; background: rgba(255,98,37,0.08); }
.kit-nav-item .kn-title { font-weight: 700; font-size: 0.85rem; color: #fff; margin-bottom: 0.2rem; }
.kit-nav-item .kn-sub { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

/* PLANO TEXTAREA */
.plano-secao { margin-bottom: 1rem; }
.plano-secao h4 { font-size: 0.88rem; color: #FF6225; font-weight: 700; margin-bottom: 0.4rem; }
.plano-secao textarea {
  width: 100%;
  min-height: 90px;
  background: #080d26;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 0.83rem;
  font-family: inherit;
  padding: 0.7rem;
  resize: vertical;
}
.plano-secao textarea:focus { outline: none; border-color: #FF6225; }

/* PROXIMOS GRID */
.proximos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.proximos-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 1rem; }
.proximos-card h4 { font-size: 0.85rem; color: #FF6225; font-weight: 700; margin-bottom: 0.5rem; }
.proximos-card textarea {
  width: 100%; min-height: 100px;
  background: #080d26;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-family: inherit;
  padding: 0.6rem;
  resize: vertical;
}

/* PRINT */
@media print {
  nav, .btn-print { display: none !important; }
  body { background: #0D1438 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .kit-page { padding: 0; }
  .kit-card { break-inside: avoid; }
}

@media (max-width: 600px) {
  .proximos-grid { grid-template-columns: 1fr; }
  .kit-hero h1 { font-size: 1.3rem; }
}
