                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        /* ========================= */
/* BASE */
/* ========================= */

body {
  font-family: 'Poppins', sans-serif;
  background: #f6f7fb;
}

html {
  scroll-behavior: smooth;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {
  background: rgba(15, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  padding: 18px 0;
  overflow: visible;
}

.navbar-brand {
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  font-size: 1.3rem;
}

.nav-link {
  color: #fff;
  margin-left: 20px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: #fff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #ffffff !important;
}

/* NAV BAR - Dropdown */

.menu-dark-custom {
  transition: 0.3s;
}

.menu-dark-custom.scrolled {
  background: rgba(0, 0, 0, 0.95);
}
.menu-dark-custom .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #1e1e1e;
}

/* ========================= */
/* TEMA HERO E TRANSIÇÕES */ 
/* ========================= */

.hero-premium {
  position: relative;
  min-height: 320px;
  padding: 80px 0;
  background: linear-gradient(120deg, #0a0f1f 0%, #0f2d63 60%, #123b8a 100%);
  background-image: url("img/bg-arte.png"), linear-gradient(120deg, #0a0f1f 0%, #0f2d63 60%, #123b8a 10%);
  background-size: cover;
  overflow: hidden;
  color: #fff;
}

.page-header {
  padding: 120px 0 60px 0;
  background: linear-gradient(120deg,#0a0f1f,#0f2d63);
  color: #fff;
  text-align: center;
}

.page-header h1 {
  font-weight: 700;
}

/* Responsividade */

@media (max-width: 992px) {
  .hero-premium {
    min-height: 260px;
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-premium::before {
    width: 400px;
    height: 400px;
  }
}

/* ========================= */
/* BOTÕES */
/* ========================= */

.btn-primary {
  background: #04b882;
  border: none;
}

.btn-primary:hover {
  background: #59359c;
}

/* ========================= */
/* SEÇÕES */
/* ========================= */

.section {
  padding: 70px 0;
}

.section-title {
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin-bottom: 60px;
}

/* Conteúdo */

.content-section {
  padding: 70px 0;
  background: #fff;
}

.content-section h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

.content-section p {
  line-height: 1.8;
  color: #444;
}

/* ========================= */
/* CARDS / UI */
/* ========================= */

.service-card {
  transition: 0.4s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.portfolio img {
  border-radius: 12px;
}

.testimonial {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 30px;
}


/* CARDS DO DIRETOR */
.card-diretor {
  height: 100%;
}

/* Área da foto (PADRÃO IGUAL PRA TODOS) */
.foto-diretor {
  width: 100%;
  height: 300px; /* altura fixa */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Imagem padronizada */
.foto-diretor img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* corta proporcionalmente */
}

/* ========================= */
/* CTA */
/* ========================= */

.cta {
  background: linear-gradient(135deg, #003399, #000);
  color: white;
  padding: 80px 0;
}

/* ========================= */
/* VÍDEOS */
/* ========================= */

.section-video {
  padding: 100px 0;
  background: linear-gradient(180deg, #0b0f1a 0%, #111827 100%);
  color: white;
}

.swiper {
  padding-bottom: 60px;
}

.video-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.5s ease;
}

.video-card img {
  width: 100%;
  transition: 0.5s ease;
}

.video-card:hover img {
  transform: scale(1.08);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

.play-btn {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
}

.glass-modal .modal-content {
  background: rgba(20, 25, 40, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ========================= */
/* CALENDÁRIO */
/* ========================= */

.calendar-wrapper {
  position: relative;
  width: 260px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  font-size: 12px;
  text-align: center;
}

.calendar-grid div {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.day-name {
  font-size: 10px;
  font-weight: 600;
  color: #6c757d;
}

.day {
  background: #e9ecef;
}

.event-day {
  background: #0d6efd;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: .15s ease;
}

.event-day:hover {
  transform: scale(1.08);
}

.calendar-tooltip {
  position: absolute;
  background: #111;
  color: #fff;
  padding: 10px 12px;
  font-size: 11px;
  border-radius: 10px;
  width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: .15s ease;
  z-index: 50;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}



/* ========================= */
/* ACESSIBILIDADE - CONTRASTE */
/* ========================= */

.high-contrast,
.high-contrast body {
  background: #000 !important;
  color: #fff !important;
}

/* FORÇA EM TODOS ELEMENTOS */
.high-contrast * {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

/* LINKS */
.high-contrast a {
  color: #ffd000 !important;
}

/* BOTÕES */
.high-contrast button {
  background: #fff !important;
  color: #000 !important;
}

/* CARDS / NAVBAR / SECTIONS */
.high-contrast .card,
.high-contrast .navbar,
.high-contrast .content-section,
.high-contrast section {
  background: #000 !important;
  color: #fff !important;
}

/* IMAGENS (opcional, melhora leitura) */
.high-contrast img {
  filter: grayscale(100%) contrast(120%);
}


/* ========================= */
/* FAQ */
/* ========================= */

.accordion-button {
  font-weight: 600;
  font-size: 15px;
}

.accordion-body {
  font-size: 14px;
  color: #444;
}

.accordion-item {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid #e5e5e5;
}



/* ========================= */
/* NOTICIA - CARD DE EDITAIS */
/* ========================= */

.licitacoes-list {
  max-width: 900px;
  margin: 0 auto;
}

.licitacao-item {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  gap: 12px;
}

.licitacao-item:last-child {
  border-bottom: none;
}

.licitacao-link {
  text-decoration: none;
  color: #333;
  font-size: 15px;
}

.licitacao-link:hover {
  text-decoration: underline;
}

.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 20px;
}

.noticias-section {
  background-color: #f8f9fa;
}

.noticia-card img {
  height: 200px;
  object-fit: cover;
}

.noticia-card {
  transition: all 0.3s ease;
}

.noticia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.noticia-card .btn {
  width: fit-content;
}


/* ========================= */
/* pesquisa */
/* ========================= */

.search-results {
  position: absolute;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  z-index: 999;
  max-height: 300px;
  overflow-y: auto;
}

.search-results div {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.search-results a {
  text-decoration: none;
  color: #333;
  display: block;
}

.search-results div:hover {
  background: #f5f5f5;
}



/* ========================= */
/* RODAPÉ */
/* ========================= */

footer {
  background: #111;
  color: #bbb;
  padding: 40px 0;
}

.footer-logo {
  width: 100%;
  max-width: 700px; /* tamanho grande no desktop */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Tablet */
@media (max-width: 992px) {
  .footer-logo {
    max-width: 500px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .footer-logo {
    max-width: 320px;
  }
}

.footer-divider {
  border-color: #333;
}

.social-icon {
  color: #fff;
  font-size: 20px;
}

/* Centralização forçada */

section footer,
section footer p,
section footer div {
  text-align: center !important;
}

/* Botão topo */

#btnTopo:hover {
  background: #002a57;
  transform: translateY(-2px);
}

