:root {
  /* ===============================
     CORES INSTITUCIONAIS
  =============================== */
  --verde-intelbras: #00B26B;
  --verde-secundario: #00863F;
  --verde-hover: #007a3a;
  --cinza-claro: #f1f1f1;
  --cinza-escuro: #3e5055;
  --texto-principal: #333;
  --texto-secundario: #555;
}
/* =========================================================
   TOC / ÍNDICE – CONTROLE DE EXPANSÃO
   .
========================================================= */

/* tudo fechado por padrão */
.toc-children {
  display: none;
  margin-left: 12px;
}

/* abre apenas quando .open */
.expandable.open > .toc-children {
  display: block;
}

/* =========================================================
   IMPRESSÃO / PRINT
========================================================= */
@media print {

  /* esconde tudo */
  body * {
    visibility: hidden;
  }

  /* mostra somente o manual */
  .manual-header,
  #manual-content,
  .manual-header *,
  #manual-content * {
    visibility: visible;
  }

  /* posiciona corretamente */
  .manual-header,
  #manual-content {
    position: relative;
  }

  @page {
    size: A4;
    margin: 15mm;
  }

  img {
    max-width: 100%;
    height: auto;
    page-break-inside: avoid;
  }

  p, li {
    page-break-inside: avoid;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   MODELO DO PRODUTO NO ÍNDICE
========================================================= */
.sidebar .sidebar-titulo { 
  display: block;
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
  font-size: 12px;
  color: var(--verde-intelbras);
  margin: auto;
}

/* =========================================================
   RESET
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================================
   TOC / SUMÁRIO – BASE
========================================================= */

/* Remove marcadores e recuos padrão */
.toc-root,
.toc-root ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Espaçamento vertical entre itens */
.toc-root li {
  margin: 4px 0;
}

/* Botão ocupa toda a largura e sem estilo de botão */
.toc-root .btn {
  background: none;
  border: none;
  padding: 4px 0;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

/* =========================================================
   TOC – NÍVEIS HIERÁRQUICOS
========================================================= */

/* H2 */
.toc-h2 > .btn {
  font-size: 14px;
  font-weight: 700;
  color: #00A94F;
}

/* H3 */
.toc-h3 {
  padding-left: 13px;
}

.toc-h3 > .btn {
  font-size: 12px;
  font-weight: 700;
  color: #000;
}

/* H4 */
.toc-h4 {
  padding-left: 28px;
}

.toc-h4 > .btn {
  font-size: 12px;
  font-weight: 400;
  color: #000;
}

/* H5 */
.toc-h5 {
  padding-left: 42px;
}

.toc-h5 > .btn {
  font-size: 11px;
  font-weight: 400;
  font-style: italic;
  color: #000;
  opacity: 0.85;
}

/* Hover geral */
.toc-root .btn:hover {
  text-decoration: underline;
}

/* =========================================================
   CABEÇALHO
========================================================= */
.header {
  background-color: #fff;
  border-bottom: 3px solid var(--verde-intelbras);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 20px;
  height: 50px;
  position: relative;
}

/* Logo centralizado */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo img {
  height: 32px;
}

/* Espaçador direito */
.nav-spacer {
  width: 280px;
  flex-shrink: 0;
}

/* =========================================================
   ÍCONES E BOTÕES DO HEADER
========================================================= */
.iconMenu {
  display: none;
  cursor: pointer;
}

.iconMenu img {
  width: 24px;
}

.material-symbols-rounded.icone {
  font-size: 15px;
  display: block;
  margin: 0 auto;
  line-height: 1;
}

.icone.verde {
  color: #32CD32;
}

.texto-botao {
  display: block;
  margin-top: 2px;
  font-weight: 600;
  color: black;
  font-size: 11px;
  text-align: center;
  line-height: 1.1;
}

/* =========================================================
   ABAS DE TECNOLOGIAS
========================================================= */
.tech-tabs {
  display: flex;
  justify-content: stretch;
  gap: 0;
  background: var(--cinza-claro);
  border-top: 1px solid var(--cinza-claro);
  padding: 0;
  width: 100%;
}

.tech-tab {
  flex: 1;
  background: #fff;
  border: none;
  border-right: 1px solid var(--cinza-claro);
  padding: 8px 15px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 0;
}

.tech-tab:last-child {
  border-right: none;
}

.tech-tab:hover {
  background: #f8f8f8;
}

.tech-tab.active {
  background: var(--verde-intelbras);
  color: white;
}

.tech-tab.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--verde-intelbras);
  z-index: 1;
}

.tech-tab-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 1px;
  white-space: nowrap;
}

.tech-tab.active .tech-tab-title {
  color: white;
}

.tech-tab-subtitle {
  font-size: 10px;
  color: var(--texto-secundario);
  font-weight: 400;
  white-space: nowrap;
}

.tech-tab.active .tech-tab-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   DROPDOWN DE MODELOS
========================================================= */
.modelos-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-height: 0;
  overflow: hidden; /* 🔒 mantém a animação limpa */
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  min-width: 250px;
  max-width: 350px;
}

.modelos-dropdown.open {
  max-height: 500px;
  opacity: 1;
}

.modelos-dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px;
  max-height: calc(5 * 48px); /* 🔥 5 itens visíveis */
  overflow-y: auto;           /* 🔥 ativa scroll se passar */
  overflow-x: hidden;
}
.modelos-dropdown-content::-webkit-scrollbar {
  width: 4px;
}

.modelos-dropdown-content::-webkit-scrollbar-track {
  background: var(--cinza-claro);
}

.modelos-dropdown-content::-webkit-scrollbar-thumb {
  background: var(--verde-intelbras);
  border-radius: 4px;
}


.modelo-item {
  background: #fff;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  color: var(--texto-principal);
  text-align: left;
  border-radius: 4px;
  margin: 2px 0;
}

.modelo-item:last-child {
  border-bottom: none;
}

.modelo-item:hover {
  background: #e8f5e9;
  color: var(--verde-intelbras);
  transform: translateX(4px);
}

.modelo-item.active {
  background: var(--verde-intelbras);
  color: white;
  font-weight: 600;
}
/* =========================================================
   SUMÁRIO LATERAL (NAV INTERNO) – BASE
========================================================= */
.nav-interno {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: visible; /* ou simplesmente remova overflow */
}

/* =========================================================
   ITENS EXPANSÍVEIS (COM SUBNÍVEIS)
========================================================= */
.nav-interno .expandable {
  cursor: pointer;
  user-select: none;
  margin-bottom: 8px;
}

/* Link principal do item expansível */
.nav-interno .expandable > a {
  display: block;
  padding: 8px 12px;
  font-weight: 600;
  color: var(--verde-intelbras);
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  border-radius: 4px;
  font-size: 13px;
}

/* Hover do item expansível */
.nav-interno .expandable > a:hover {
  background: #e6f4ea;
  color: var(--verde-hover);
}

/* =========================================================
   SUBLISTAS (ANIMAÇÃO DE EXPANSÃO)
========================================================= */
.nav-interno .expandable ul,
.expandable ul {
  max-height: 0;
  overflow: hidden; /* 🔥 */
  transition: max-height 0.35s ease;
}

/* Sublista aberta */
.nav-interno .expandable.open > ul {
  max-height: 1000px;
}

/* =========================================================
   BOTÕES INTERNOS (NÍVEL h3+)
========================================================= */
.nav-interno .btn {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 6px 10px;
  color: #516872;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
  border-radius: 4px;
  margin: 2px 0;
}

/* Hover dos botões internos */
.nav-interno .btn:hover {
  background-color: #e6f4ea;
  color: var(--verde-intelbras);
}

/* Base para estados (ativo etc.) */
.nav-interno .btn {
  position: relative;
  transition: background-color 0.2s ease;
}

/* =========================================================
   ITEM ATIVO
========================================================= */
.nav-interno .btn.ativo {
  background-color: rgba(0, 169, 77, 0.08); /* 👈 fundo verde bem suave */
}

/* Barra lateral do item ativo */
.nav-interno .btn.ativo::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;                 /* grossura da linha */
  background: var(--verde-intelbras);
  border-radius: 3px;
}

/* =========================================================
   ITENS SIMPLES (SEM FILHOS)
========================================================= */
.nav-interno li:not(.expandable) {
  margin: 2px 0;
}

/* =========================================================
   TÍTULO DO MANUAL
========================================================= */
.titulo-manual {
  text-align: right;
}
/* =========================================================
   MENU SUPERIOR (ESQUERDA)
========================================================= */
.op-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px;
  z-index: 5; /* ✅ Abaixo do logo */
  flex-shrink: 0; /* ✅ Não encolhe */
}

/* =========================================================
   OPÇÕES DO MENU SUPERIOR
========================================================= */
.nav-option {
  background-color: #e9e9e9;
  border-radius: 6px;
  padding: 4px 8px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  min-width: 50px;
}

.nav-option:hover {
  background-color: #e9f9f0;
}

.nav-option.active {
  border: 2px solid var(--verde-intelbras);
  background-color: #e6f4ea;
  transform: scale(1.05);
  transition: 0.2s;
}

/* =========================================================
   ÍCONES DAS OPÇÕES
========================================================= */
.ico-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ico-option img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-bottom: 2px;
}

.title-option {
  font-size: 9px;
  font-weight: bold;
  color: var(--verde-intelbras);
  text-align: center;
  line-height: 1.1;
}

/* =========================================================
   MATERIAL SYMBOLS NOS BOTÕES
========================================================= */
.nav-option .material-symbols-rounded.icone {
  font-size: 24px;
  margin-bottom: 2px;
}

.nav-option .texto-botao {
  line-height: 1.1;
  margin-top: 0;
}

/* =========================================================
   LAYOUT PRINCIPAL (HTML / BODY)
========================================================= */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: auto;
}

/* =========================================================
   LAYOUT PRINCIPAL (CONTAINER)
========================================================= */
.main {
  display: flex;
  height: calc(100vh - 120px);
  margin-top: 120px;
  overflow: hidden;
}
/* ==============================
   Grafismo quando não há manual
============================== */
#manual-content:empty {
    background-image: url("../imagem/grafismos.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    min-height: 400px; /* ajuste se quiser */
}


/* =========================================================
   MENU LATERAL (SIDEBAR)
========================================================= */
.sidebar {
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  background: #fff;
  border-right: 2px solid var(--verde-intelbras);
  padding: 16px 12px;
  overflow-y: auto;   /* ✅ ÚNICO SCROLL DO MENU */
  overflow-x: hidden;
  height: 100%;
  flex-shrink: 0;
}

/* =========================================================
   SCROLLBAR CUSTOMIZADA DA SIDEBAR
========================================================= */
.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: var(--cinza-claro);
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--verde-intelbras);
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--verde-intelbras);
}

/* =========================================================
   ABA DO ÍNDICE (FLUTUANTE)
========================================================= */
.indice-tab {
  position: absolute;
  top: 140px;            /* ajuste fino se necessário */
  left: 250px;           /* largura da sidebar */
  margin-left: 6px;      /* 🔥 afasta da scrollbar */
  transform: none;       /* ❌ remove o -50% */
  z-index: 2000;
}

.indice-tab .material-symbols-rounded {
  font-size: 22px;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* =========================================================
   MENU LATERAL – LISTA BASE
========================================================= */
.menu-lateral {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* =========================================================
   ITENS EXPANSÍVEIS
========================================================= */
.expandable {
  cursor: pointer;
  user-select: none;
  margin-bottom: 10px;
}

.expandable > a {
  display: block;
  padding: 8px 12px;
  font-weight: bold;
  color: #516872;
  transition: background 0.3s, color 0.3s;
  border-radius: 4px;
}

.expandable > a:hover {
  background: var(--verde-intelbras);
  color: white;
}

/* =========================================================
   ANIMAÇÃO DE EXPANSÃO
========================================================= */
.expandable ul {
  max-height: 0;
  overflow: hidden;
  margin-left: 10px;
  border-left: 4px solid var(--verde-intelbras);
  padding-left: 10px;
  transition: max-height 0.4s ease;
}

.expandable.open ul {
  max-height: 500px;
}

/* =========================================================
   BOTÕES INTERNOS DO MENU LATERAL
========================================================= */
.menu-lateral .btn {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 6px 10px;
  color: #516872;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  border-radius: 4px;
}

.menu-lateral .btn:hover,
.menu-lateral .btn.ativo {
  background-color: var(--verde-intelbras);
  color: white;
}
/* =========================================================
   CONTEÚDO PRINCIPAL 
========================================================= */
.content {
  flex: 1;
  padding: 40px;
  background: #fafafa;
  height: 100%; /* ✅ Ocupa toda altura do main */
  overflow-y: auto; /* ✅ Scroll apenas dentro do content */
  overflow-x: hidden;
}

/* =========================================================
   SCROLLBAR DO CONTEÚDO PRINCIPAL
========================================================= */
.content::-webkit-scrollbar {
  width: 10px;
}

.content::-webkit-scrollbar-track {
  background: var(--cinza-claro);
}

.content::-webkit-scrollbar-thumb {
  background: var(--cinza-escuro);
  border-radius: 5px;
}

.content::-webkit-scrollbar-thumb:hover {
  background: var(--texto-secundario);
}

/* =========================================================
   MANUAL – WRAPPER E CONTEÚDO
========================================================= */
#manual-wrapper {
  min-height: 100%;
  position: relative;
}

#manual-content {
  min-height: 100%;
}

.manual-section {
  margin-bottom: 20px;
}

/* =========================================================
   LOADER (CARREGAMENTO)
========================================================= */
.loading {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.loading.visible {
  display: block;
}

/* =========================================================
   SPINNER DO LOADER
========================================================= */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--verde-intelbras);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* =========================================================
   ANIMAÇÃO DO SPINNER
========================================================= */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* =========================================================
   MANUAIS – CONFIGURAÇÕES GERAIS
========================================================= */
body {
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f7f7f7;
  color: var(--texto-principal);
}

/* =========================================================
   TEXTOS DE LEGENDA
========================================================= */
.legenda {                      /* Padroniza textos de legenda */
  text-align: justify;
  font-size: 12px; /* Define o tamanho da fonte */
  font-style: italic; /* Define a fonte como itálica */
  text-align: left; /* Alinha o conteúdo das células à esquerda */
}

/* =========================================================
   SEÇÕES PADRÃO
========================================================= */
section {
  margin: 20px;
  padding: 10px;
}

/* =========================================================
   LEGENDA DE FIGURAS
========================================================= */
figcaption {
  text-align: center;   /* Centraliza o texto */
  font-style: italic;   /* Deixa em itálico */
  font-size: 0.9em;     /* Um pouco menor que o texto normal */
  color: var(--texto-secundario);          /* Cinza suave (opcional, mais elegante) */
  margin-top: 8px;      /* Espaço entre imagem e legenda */
}

/* =========================================================
   SUBTÍTULOS – H2
========================================================= */
h2.subtitulo {
  font-family: Arial, sans-serif;
  font-size: 20px;
  color: var(--verde-intelbras); /* 06CB3F */
  font-weight: bold;
  margin-bottom: 5px;
  position: relative;
  padding-bottom: 5px;
}

h2.subtitulo::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--verde-intelbras);
  margin-top: 4px;
}

/* =========================================================
   SUBTÍTULOS – H3
========================================================= */
h3.subtitle-h3 {
  font-family: Arial, sans-serif;
  font-size: 18px;          
  color: #035144;           
  font-weight: bold;
  
  margin-bottom: 4px;
  margin-top: 10px;
}

/* =========================================================
   SUBTÍTULOS – H4
========================================================= */
h4 {
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: bold;
  text-decoration: underline;
  color: #035144;           /* Mantém coerência com a paleta */
  margin-bottom: 4px;
  margin-top: 10px;
}

/* =========================================================
   SUBTÍTULOS – H5
========================================================= */
h5 {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: var(--texto-secundario);             /* Cinza médio para leitura confortável */
  font-weight: bold;
  margin-left: 15px;
  margin-bottom: 4px;
  margin-top: 10px;
  text-decoration: underline;
  font-style: italic;
}

/* =========================================================
   SUBTÍTULOS – H6
========================================================= */
h6 {
  color: var(--texto-secundario);       /* cinza */
  font-style: italic;   /* itálico */
  margin-left: 20px;    /* opcional: recuo para indicar subnível */
  font-size: 0.95em;    /* ligeiramente menor que o texto padrão */
  text-decoration: underline;
  font-weight: bold;
}

/* =========================================================
   TEXTO DE SUBNÍVEL
========================================================= */
.subnivel {
  color: var(--texto-secundario);       /* cinza */
  font-style: italic;   /* itálico */
  margin-left: 20px;    /* opcional: recuo para indicar subnível */
  font-size: 0.95em;    /* ligeiramente menor que o texto padrão */
}

/* =========================================================
   ALERTA (AVISO)
========================================================= */
.alerta {
  display: flex;
  align-items: center;
  gap: 20px;

  background-color: #fff8e1;
  border-left: 6px solid #fbc02d;
  padding: 10px 15px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 10px 0;
}

.alerta::before {
  content: "warning";
  font-family: 'Material Symbols Outlined';
  font-size: 50px;
  color: #f9a825;          /* amarelo */
  line-height: 1;
  flex-shrink: 0;          /* NÃO deixa invadir o texto */
}

/* =========================================================
   INFORMAÇÃO
========================================================= */
.informacao {
  display: flex;
  align-items: center;
  gap: 20px;

  background-color: #e8f4ff;
  border-left: 6px solid #2d3bfb;
  padding: 10px 15px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 10px 0;
}

.informacao::before {
  content: "info";
  font-family: 'Material Symbols Outlined';
  font-size: 50px;
  color: #1e88e5;          /* azul */
  line-height: 1;
  flex-shrink: 0;
}

/* =========================================================
   TEXTO INTERNO DE ALERTAS E INFORMAÇÕES
========================================================= */
.alerta i,
.informacao i {
  font-style: italic;
  font-size: 14px;
  color: var(--texto-principal);
  text-align: justify;
}

/* =========================================================
   TABELA BASE
========================================================= */
.tabela {
  width: 60%;
  border-collapse: collapse;
  margin: 20px auto;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: var(--texto-principal);
  background-color: #f9f9f9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   CABEÇALHO PADRÃO DA TABELA
========================================================= */
.tabela tr:first-child td {
  background-color: green;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  border: 1px solid var(--cinza-claro);
}

/* =========================================================
   CABEÇALHO – FUNDO BRANCO
========================================================= */
.tabela.fundo_branco tr:first-child td {
  background-color: white;
  color: black;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  border: 1px solid var(--cinza-claro);
}

/* =========================================================
   TABELA TRANSPARENTE – PRIMEIRA LINHA
========================================================= */
.tabela.transparente tr:first-child td {
  background-color: transparent !important;
  color: inherit !important;
  font-weight: normal !important;
  text-align: justify;
  border: 1px solid var(--cinza-claro);
  padding: 10px;
}

/* =========================================================
   TABELA TRANSPARENTE – CÉLULAS
========================================================= */
table.transparente td {
  vertical-align: top;
  text-align: justify;
  padding: 10px;
}

table.transparente p {
  text-align: justify;
}

table.transparente img {
  display: block;
  margin: 10px auto;
}

/* =========================================================
   CÉLULAS DE DADOS
========================================================= */
.tabela td {
  border: 1px solid var(--cinza-claro);
  text-align: justify;
  padding: 10px;
}

/* =========================================================
   IMAGENS NAS CÉLULAS
========================================================= */
.tabela td img {
  /*display: block; */
  margin: 0 auto;
}

/* =========================================================
   HOVER NAS LINHAS
========================================================= */
.tabela tr:hover {
  background-color: var(--cinza-claro);
}

/* =========================================================
   LINHAS ALTERNADAS
========================================================= */
.tabela tr:nth-child(even):not(:first-child) {
  background-color: var(--cinza-claro);
}

/* =========================================================
   TABELA JUSTIFICADA
========================================================= */
.tabela.justificar td {
  text-align: justify;
}

/* =========================================================
   TABELA – LINHAS HORIZONTAIS
========================================================= */
.linhas_horizontais {
  border-collapse: collapse;
  margin: auto;
  text-align: left;
}

.linhas_horizontais td,
.linhas_horizontais th {
  border-bottom: 1px solid black;
  text-align: left;
}

.linhas_horizontais tr:nth-child(even) {
  background-color: none;
}

.linhas_horizontais tr:hover {
  background-color: var(--cinza-claro);
}

/* =========================================================
   CONTEÚDO CENTRALIZADO COM SCROLL HORIZONTAL
========================================================= */
.centered {
  display: block;
  margin: 1em auto;
  text-align: center;

  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
}

.centered img {
  display: inline-block;
  max-width: none;
  height: auto;
}

/* =========================================================
   TABELA COM LINHAS DESTACADAS
========================================================= */
.tabela-linha {
  border-collapse: collapse;
  width: 100%;
  border-top: 2px solid #ccc;
  margin: 0 auto;
}

.tabela-linha td {
  padding: 8px;
  border-bottom: 2px solid #ccc;
}

.tabela-linha .coluna-centralizada {
  text-align: center;
}

.tabela-linha th {
  background-color: var(--cinza-claro);
  font-weight: bold;
  text-align: left;
  padding: 8px 10px;
  border-top: 2px solid var(--cinza-escuro);
  border-bottom: 2px solid var(--cinza-escuro);
}

/* =========================================================
   TABELA COM BORDAS COMPLETAS
========================================================= */
.tabela-borda {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
}

.tabela-borda th,
.tabela-borda td {
  border: 1px solid var(--cinza-escuro);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.tabela-borda th {
  background-color: var(--cinza-claro);
  font-weight: bold;
}

/* =========================================================
   ÍCONES INLINE EM TABELAS
========================================================= */
.inline-icone {
  vertical-align: middle;
  margin: 0 4px;
  display: inline-block;
}

/* =========================================================
   LISTA COM PONTOS
========================================================= */
.lista-ponto {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

.lista-ponto ul {
  list-style-type: circle;
  margin-left: 25px;
  padding-left: 10px;
}

/* =========================================================
   LISTA COM SETAS
========================================================= */
.lista-seta {
  list-style: none;
  margin-left: 20px;
  padding-left: 0;
}

.lista-seta li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  list-style-type: none;
}

.lista-seta li::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--texto-principal);
  font-size: 0.9em;
}

/* =========================================================
   SUBNÍVEIS DA LISTA COM SETAS
========================================================= */
.lista-seta ul {
  list-style: none;
  margin-left: 20px;
  padding-left: 10px;
}

.lista-seta ul li::before {
  content: "›";
  color: var(--texto-secundario);
  font-size: 0.8em;
}
/* =========================================================
   OBSERVAÇÕES – BOX VISUAL
========================================================= */
.observacao-box {
  background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
  border-left: 4px solid #ffa726;
  border-radius: 8px;
  padding: 12px 0;
  margin: 16px 0 0 0;
  color: inherit;
  border: 0;
  background: transparent;
  display: flex;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(255, 167, 38, 0.1);
  transition: all 0.3s ease;
}

.observacao-box:hover {
  box-shadow: 0 4px 12px rgba(255, 167, 38, 0.2);
  transform: translateY(-2px);
}

/* =========================================================
   OBSERVAÇÃO – ÍCONE
========================================================= */
.observacao-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* =========================================================
   OBSERVAÇÃO – CONTEÚDO
========================================================= */
.observacao-content {
  flex: 1;
  color: #5d4037;
}

.observacao-content strong {
  display: block;
  color: #e65100;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.observacao-content p {
  margin: 0;
  line-height: 1.6;
  color: #4e342e;
  font-size: 14px;
}

/* =========================================================
   OBSERVAÇÕES DO MANUAL – BASE
========================================================= */
.observacao {
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: 6px;
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

/* =========================================================
   OBSERVAÇÃO – TEXTO SIMPLES
========================================================= */
.observacao.texto {
  background: #f7f7f7;
  color: var(--texto-principal);
}

/* =========================================================
   OBSERVAÇÃO – INFORMAÇÃO
========================================================= */
.observacao.info {
  background: #e8f4ff;
  border-left: 5px solid #1e88e5;
  color: #0d47a1;
  margin-left: 14px;
}

/* =========================================================
   OBSERVAÇÃO – ATENÇÃO / WARNING
========================================================= */
.observacao.warning {
  background: #fff4e5;
  border-left: 5px solid #ff9800;
  color: #7a3e00;
  margin-left: 14px;
}

/* =========================================================
   OBSERVAÇÃO – HTML LIVRE
========================================================= */
.observacao.html {
  background: none;
  border: none;
  margin-left: 14px;
}

/* =========================================================
   OBSERVAÇÃO – VERSÃO PARA IMPRESSÃO
========================================================= */
@media print {
  .observacao-box {
    background: #484444;
    border: 1px solid #000000;
    box-shadow: none;
    page-break-inside: avoid;
  }

  .observacao-icon {
    font-size: 18px;
  }

  .observacao-content strong {
    font-size: 12px;
  }

  .observacao-content p {
    font-size: 11px;
  }
}
@media print {
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}


/* =========================================================
   OVERRIDE ESPECÍFICO – SUMÁRIO (TOC)
========================================================= */
.nav-interno .toc-h2 > .btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--verde-intelbras);
}

.nav-interno .toc-h3 > .btn {
  font-size: 12px;
  font-weight: 700;
  color: #000;
}

.nav-interno .toc-h4 > .btn {
  font-size: 12px;
  font-weight: 400;
  color: #000;
}

.nav-interno .toc-h5 > .btn {
  font-size: 11px;
  font-weight: 400;
  font-style: italic;
  color: #000;
  opacity: 0.85;
}

/* =========================================================
   CURSOR – BOTÕES DO TOC
========================================================= */
.nav-interno .btn {
  cursor: pointer;
}

/* =========================================================
   TABELA – ÁRVORE DE CONTEÚDO
========================================================= */
.tabela-arvore {
  width: 60%;
  border-collapse: collapse;
  margin: 16px 0;
  font-family: inherit;
  font-size: inherit;
}

.tabela-arvore th,
.tabela-arvore td {
  border: 1px solid #ccc;
  padding: 6px 10px;
  vertical-align: top;
}

.tabela-arvore th {
  background: var(--cinza-claro);
  text-align: left;
}

.tabela-arvore td {
  border-bottom: 1px solid var(--cinza-claro);
}

.tabela-arvore a {
  color: #006837;
  text-decoration: none;
}

.tabela-arvore a:hover {
  text-decoration: underline;
}

/* =========================================================
   AJUSTES PONTUAIS
========================================================= */
/* 1️⃣ Corrige erro de digitação que quebra hover */
.tabela tr:hover {
  background-color: var(--cinza-claro);
}

/* 2️⃣ Corrige font-style inválido */
h6 {
  font-weight: bold;
  font-style: italic;
}

/* =========================================================
   IMPRESSÃO – AJUSTES GERAIS
========================================================= */
/* 5️⃣ Garante impressão correta sem sumir conteúdo */
@media print {
  .header,
  .sidebar {
    display: none !important;
  }

  .content {
    overflow: visible !important;
  }
}
 /* ===== ANIMAÇÕES ===== */
@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== APLICANDO ===== */
.linha-logo {
  border: none;
  height: 3px;
  background-color: var(--verde-intelbras); /* Verde Intelbras */
  width: 100%;
  margin: 12px 0;
}

.manual-header img {
    opacity: 0;
    animation: slideFromRight 1s forwards;
}

.manual-header hr {
    opacity: 0;
    animation: slideFromLeft 1s forwards;
    animation-delay: 0.5s; /* começa depois da imagem */
}

.titulo-manual {
    opacity: 0;
    animation: slideFromLeft 1s forwards;
    animation-delay: 0.7s;
}
/* =========================================================
   FADE-IN DINÂMICO DO CONTEÚDO DO MANUAL
========================================================= */
#manual-content {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#manual-content.fade-in {
  opacity: 1;
  transform: translateY(0);
}
