/* ========== ESTILOS GERAIS ========== */
* {
  box-sizing: border-box;
}
body, html {
  background-color: #e8ecf5;
  color: #333;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
/* ========== PÁGINA PRINCIPAL ========== */
.tecnologia-page {
  width: 100%;
  min-height: 100vh;
  padding-bottom: 40px;
}
.h1-container {
  max-width: 1200px;
  margin: 1px auto 30px auto;
  padding: 0 20px;
}
.h1-container h1 {
  background-color: #0000cc;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  width: 100%;
  margin: 20px 0 0 0;
  line-height: 1.4;
}
.content-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  padding: 0 20px;
}
.main-column {
  flex: 1;
  background-color: white;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
/* ========== ABAS ========== */
.top-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  background-color: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  gap: 2px;
  margin-bottom: -15px;
}
.content-navigation {
  display: flex;
  background-color: #f5f5f5;
  border-bottom: 2px solid #e0e0e0;
}
.nav-tab {
  flex: 1;
  background-color: white;
  border: 1px solid #e0e0e0;
  border-bottom: none;
  color: #333;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 12px 10px;
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 2px;
  border-radius: 10px;
  margin-top: 3px;
  text-align: center;
}
.nav-tab:last-child {
  margin-right: 0;
}
.nav-tab:hover {
  background-color: #f0f0f0;
  color: #0000cc;
}
.nav-tab.active {
  background-color: #0000cc;
  color: white;
  border-color: #0000cc;
}
/* ========== ÁREA DE CONTEÚDO ========== */
.content-area {
  padding: 30px;
  min-height: 250px;
  animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.content-text {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
  margin: 0 0 15px 0;
}
.content-subtitle {
  color: #0000cc;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}
/* ========== SECRETÁRIO ========== */
.secretario-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
}
.secretario-foto-container {
  flex-shrink: 0;
}
.secretario-foto {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0000cc;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.secretario-info-box {
  flex: 1;
  background-color: #0000cc;
  color: white;
  padding: 20px 25px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
}
.secretario-nome {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: white;
}
.secretario-cargo {
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
  color: white;
}
.secretario-biografia {
  background-color: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.secretario-biografia p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
  margin: 0;
}
/* ========== CARDS DE INFORMAÇÃO ========== */
.info-boxes-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.info-box {
  background-color: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.info-box-title {
  color: #0000cc;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #0000cc;
}
.info-box-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-box-list li {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}
.info-box-list li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #0000cc;
  font-weight: bold;
}
/* ========== EVENTOS ========== */
.evento-item {
  background-color: #f9f9f9;
  border-left: 4px solid #0000cc;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
}
.evento-item strong {
  color: #0000cc;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}
.evento-item p {
  margin: 0;
  font-size: 16px;
  color: #555;
}
.evento-descricao {
  font-size: 14px;
  color: #777;
  margin-top: 5px;
}
/* ========== ORGANOGRAMA ========== */
.org-simple {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.org-item {
  background-color: #f0f0f0;
  border: 2px solid #0000cc;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}
.org-item strong {
  color: #0000cc;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}
.org-item p {
  margin: 0;
  font-size: 14px;
  color: #666;
}
/* ========== SERVIÇOS ========== */
.servico-item {
  background-color: #f9f9f9;
  border-left: 4px solid #0000cc;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
}
.servico-item strong {
  color: #0000cc;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}
.servico-item p {
  margin: 0;
  font-size: 16px;
  color: #555;
}
/* ========== PORTFOLIO ========== */
.projeto-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
}
.projeto-item strong {
  color: #0000cc;
  font-size: 15px;
  display: block;
  margin-bottom: 10px;
}
.projeto-item p {
  margin: 5px 0;
  font-size: 16px;
  color: #555;
}
/* ========== BADGES ========== */
.status {
  display: inline-block;
  padding: 6px 14px !important;
  border-radius: 30px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: white !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
  border: none !important;
  line-height: 1 !important;
  margin: 5px 0 !important;
}
.status.concluido {
  background-color: #22c55e !important;
}
.status.em-andamento {
  background-color: #3b82f6 !important;
}
.status.em-planejamento {
  background-color: #f59e0b !important;
}
.status.em-teste {
  background-color: #a855f7 !important;
}
.status.pausado {
  background-color: #ef4444 !important;
}
/* ========== DOCUMENTOS ========== */
.documentos-lista {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}
.documento-card {
  background-color: #f8f9fa;
  border: 2px solid #0066cc;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
}
.documento-card:hover {
  background-color: #e6f0ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,102,204,0.2);
}
.documento-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
}
.documento-icone {
  font-size: 2rem;
  min-width: 50px;
  text-align: center;
}
.documento-info {
  flex: 1;
}
.documento-info strong {
  display: block;
  margin-bottom: 5px;
  color: #0066cc;
}
.documento-info small {
  color: #666;
}
/* ========== MISSÃO, VISÃO, VALORES ========== */
.sobre-mvv-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.sobre-mvv-item {
  background-color: #f9f9f9;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.sobre-mvv-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.mvv-title {
  color: #0000cc;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #0000cc;
}
.mvv-content {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.valores-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}
.valores-lista li {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px dashed #e0e0e0;
}
.valores-lista li:last-child {
  border-bottom: none;
}
.valores-lista li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #0000cc;
  font-weight: bold;
}
/* ========== CONTATO ========== */
.contact-section {
  padding: 20px 30px;
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}
.contact-line {
  font-size: 16px;
  color: #333;
  margin: 8px 0;
}
.contact-line strong {
  font-weight: 600;
  color: #000;
}
.contact-link {
  color: #3498db;
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
}

/* ========== SIDEBAR DE NOTÍCIAS ========== */
.sidebar-column {
  width: 320px;
  flex-shrink: 0;
  height: fit-content;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.noticias-box {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.noticias-box .box-header {
  background-color: #0000cc;
  color: white;
  padding: 6px 30px;
  border-radius: 15px;
  display: inline-block;
  margin: 0 auto 20px auto;
  white-space: nowrap;
  text-align: center;
}

.noticias-box .box-header .header-title {
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Para telas pequenas: permite que o título quebre se necessário */
@media (max-width: 768px) {
  .noticias-box .box-header {
    white-space: normal;
    padding: 6px 20px;
  }
}

.noticias-scroll {
  max-height: 800px;
  overflow-y: auto;
  padding-right: 10px;
  width: 100%;
}

.noticias-scroll::-webkit-scrollbar {
  width: 8px;
}

.noticias-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.noticias-scroll::-webkit-scrollbar-thumb {
  background: #0000cc;
  border-radius: 10px;
}

.noticias-scroll::-webkit-scrollbar-thumb:hover {
  background: #ffd900;
}

.noticia-card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.noticia-card:hover {
  background-color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.noticia-card img {
  max-width: 215px;
  max-height: 145px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.noticia-text {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

.btn-carregar-mais {
  background-color: #0000cc;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s;
  margin-top: 15px;
  width: 100%;
}

.btn-carregar-mais:hover {
  background-color: #000099;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 1024px) {
  .content-container {
    flex-direction: column;
  }
  .sidebar-column {
    width: 100%;
    position: static;
    margin-top: 20px;
  }
  .info-boxes-container {
    grid-template-columns: 1fr;
  }
  .sobre-mvv-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .h1-container h1 {
    font-size: 14px;
  }
  .carousel-image {
    width: 65%;
  }
  .content-navigation {
    flex-wrap: wrap;
  }
  .nav-tab {
    flex: 1 1 45%;
  }
  .secretario-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .secretario-foto {
    width: 120px;
    height: 120px;
  }
  .sobre-mvv-container {
    grid-template-columns: 1fr;
  }
  .projetos-box > div:first-child {
    white-space: normal !important;
    padding: 6px 20px !important;
  }
}
@media (max-width: 480px) {
  .carousel-image {
    width: 55%;
  }
  .noticia-card img {
    max-width: 180px;
    max-height: 120px;
  }
}