/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: #233;
  line-height: 1.6;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* Utilitários */
.divider {
  width: 80px;
  height: 3px;
  background: #0b4a6f;
  margin: 18px auto;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  background: #0b4a6f;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background .3s, transform .2s, box-shadow .2s;
}
.btn:hover {
  background: #093955;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Topbar */
.topbar {
  background: #0b4a6f;
  color: #fff;
  font-size: 0.9rem;
  padding: 6px 0;
}

.topbar__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar__center {
  display: flex;
  gap: 10px;
}

.btn-top {
  background: #fff;
  color: #0b4a6f;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 3px;
  text-decoration: none;
}

.btn-top:hover {
  background: #eee;
}

.topbar__social a {
  margin-left: 10px;
  color: #fff;
  text-decoration: none;
}

.topbar__social a:hover {
  text-decoration: underline;
}

/* Header branco */
.site-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.logo img {
  max-height: 60px;
  margin: 0 10px;
  vertical-align: middle;
}

/* Menu */
.main-nav {
  background: #fff;
  padding: 10px 0;
}

.nav__list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: #333;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
}
.nav__sac {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  background-color: crimson;
  border-radius: 4px;
}
.nav__sac:hover {
  background-color: rgb(255, 255, 255);
  color: crimson;
  border: 1px solid crimson;
}

.nav__link:hover {
  color: #0b4a6f;
}

.nav__link.active {
  background: #333;
  color: #fff;
  border-radius: 4px;
}


/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.header__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.logo img {
  height: 50px;
}
.nav__list {
  display: flex;
  gap: 20px;
  list-style: none;
}
.nav__link {
  color: #333;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all .3s;
}
.nav__link:hover {
  color: #0b4a6f;
  background: rgba(11,74,111,0.08);
}
.nav__link.active {
  color: #fff;
  background: #0b4a6f;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

.hero {
  position: relative;
  height: 480px;
  background: url('../img/bg-prisao.jpg') center/cover no-repeat;
  overflow: hidden;
}

/* Overlay azul translúcido */

/* Texto branco */
.hero__content {
  position: relative;
  z-index: 3; /* sempre acima do overlay */
  max-width: 600px;
}

.hero__content h1 {
  color: #fff;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Médicos ocupando toda a largura */
.hero__medicos {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;      /* agora cobre toda a largura */
  height: 100%;     /* cobre toda a altura do hero */
  object-fit: cover; /* garante que preencha sem distorcer */
  z-index: 2;       /* acima do fundo, mas abaixo do texto */
}




/* Sections */
.section {
  padding: 50px 0;
  align-items: center;
}
.section__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0b4a6f;
  text-align: center;
  margin-bottom: 20px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.split__text p {
  margin: 10px 0;
  color: #555;
}
.bullets {
  margin-left: 20px;
}
.bullets li {
  margin: 6px 0;
}

/* ================================
   SEÇÃO UNIDADES PRISIONAIS
   ================================ */
.section--unidades .section__title {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
  color: #0b4a6f;
}

.section--unidades .divider {
  margin-bottom: 40px;
}

.section--unidades .split {
  display: grid;
  grid-template-columns: 1fr 1fr; /* garante 50% pra texto e 50% pra imagem */
  align-items: center;
  gap: 50px;
}

.section--unidades .split__text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.section--unidades .split__text p {
  color: #444;
  line-height: 1.6;
}

.section--unidades .split__img img {
  width: 100%;
  max-width: 550px; /* aumenta o tamanho máximo da imagem */
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  display: block;
  margin-left: auto;
}



/* Unidades / Serviços */
.grid-unidades,
.grid-servicos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.unidade-card, .servico-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform .3s, box-shadow .3s;
}
.unidade-card:hover, .servico-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Transparência (flip cards) */
.grid-flip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.flip-card {
  perspective: 1000px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 240px;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: 12px;
  cursor: pointer;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.flip-card-front {
  background: #0b4a6f;
  color: #fff;
}
.flip-card-front h3 {
  margin-top: 15px;
}
.flip-card-back {
  background: #fff;
  color: #333;
  transform: rotateY(180deg);
}
.flip-card-back p {
  margin-bottom: 15px;
}



/* Grid contato */
.grid-contato {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 25px;
}

/* Imagem */
.contato-info img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Formulário */
.form-contato {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  animation: slideUp 1s ease forwards;
  opacity: 0;
  transform: translateY(50px);
}

.form-contato h2 {
  margin-bottom: 10px;
  color: #0b4a6f;
}

.form-contato p {
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: #444;
}

.form-contato .field {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-contato .field span {
  font-weight: 600;
  margin-bottom: 5px;
}

.form-contato input, 
.form-contato textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-contato textarea {
  min-height: 120px;
  resize: vertical;
}

/* Animação subindo */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: slideUp 0.9s ease-out forwards;
}


/* Footer */
.site-footer {
  background: #d9d9d9; /* cinza claro */
  color: #233;
  padding: 40px 0 0;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer__brand img {
  width: 200px;
}

.footer__info {
  font-size: 0.95rem;
  color: #222;
}

.footer__info strong {
  display: block;
  margin-bottom: 6px;
  color: #0b4a6f;
}

.footer__map iframe {
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Barra inferior */
.footer__bottom {
  background: #0b4a6f; /* azul escuro */
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 0.9rem;
}


/* Responsivo */
@media(max-width:768px) {
  .split { grid-template-columns: 1fr; }
  .contact, .grid-contato { grid-template-columns: 1fr; }
  .burger { display: flex; }
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 10px; }
}

/* ============================
   TRANSPARÊNCIA - FLIPCARD
   ============================ */

/* Intro (logos + texto) */
.transp-intro { text-align: center; margin: 36px auto 10px; }
.logos-transp {
  display: flex; justify-content: center; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
.logos-transp img { max-height: 70px; height: auto; }

/* Grid 4 colunas (desktop), responsivo abaixo */
.grid-transp--4cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 24px auto 50px;
}

/* Tamanho dos cards (iguais aos do site antigo) */
.flip-card { perspective: 1000px; height: 160px; text-decoration: none; }
.card--wide { grid-column: span 2; }

/* Núcleo do flip */
.flip-card-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s;
  border-radius: 4px;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }

/* Faces */
.flip-card-front, .flip-card-back {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: 4px; backface-visibility: hidden;
  text-align: center;
}

/* Verde do portal (frente) */
.front--green {
  background: #075D35; color: #fff;
  box-shadow: 0 2px 0 rgba(0,0,0,0.06), 0 10px 18px rgba(0,0,0,0.08);
}

/* Verde escuro no verso para contraste */
.back--green {
  background: #054C2B; color: #fff;
  transform: rotateY(180deg);
}

/* Tipografia dos títulos dentro dos cards */
.flip-card-front h3,
.flip-card-back h3,
.flip-card-front span,
.flip-card-back span {
  font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  line-height: 1.2; font-size: .98rem;
}

/* Ícones */
.flip-card-front i, .flip-card-back i { font-size: 26px; }

/* Botão contornado branco no verso */
.btn.btn--outline {
  display: inline-block; padding: 8px 14px; border-radius: 6px;
  border: 2px solid #fff; color: #fff; font-weight: 700;
  text-decoration: none; transition: background .25s, color .25s;
}
.btn.btn--outline:hover { background: #fff; color: #054C2B; }

/* Acessibilidade – usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
  .flip-card-inner { transition: none; }
  .flip-card:hover .flip-card-inner { transform: none; }
}

/* Responsivo */
@media (max-width: 1120px) { .grid-transp--4cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .grid-transp--4cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  {
  .grid-transp--4cols { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .flip-card { height: 150px; }
}
/* Topbar */
.topbar {
  background: #0b4a6f;
  color: #fff;
  font-size: 0.9rem;
}
.topbar__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}
.topbar__left {
  font-weight: 600;
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar__right a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}
.topbar__right a:hover {
  opacity: 0.8;
}
.topbar-btn {
  background: #fff;
  color: #0b4a6f !important;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Logos */
.header__logos img {
  height: 60px;
  margin-right: 15px;
}

/* Menu */
.site-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.nav__list {
  display: flex;
  gap: 20px;
  list-style: none;
}
.nav__link {
  color: #333;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
}
.nav__link:hover {
  color: #0b4a6f;
}
.nav__link.active {
  background: #333;
  color: #fff;
  border-radius: 4px;
}

/* Responsivo */
@media(max-width: 768px) {
  .nav {
    display: none;
  }
  .nav.is-open {
    display: block;
  }
  .nav__list {
    flex-direction: column;
    gap: 10px;
    background: #fff;
    padding: 20px;
  }
  .burger {
    display: block;
  }
}
.split__img {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
/* Ajusta imagens da seção "Nós somos o IESP" */
.split__img img {
  max-width: 180px;   /* limita a largura */
  height: auto;
  margin: 10px;
}

/* ================================
   SEÇÃO ACESSO À INFORMAÇÃO
   ================================ */
.section--acesso {
  padding: 60px 0;
  text-align: center;
}

.section--acesso .section__title {
  margin-bottom: 25px;
  font-size: 1.9rem;
  font-weight: 700;
  color: #0b4a6f;
}

.acesso-banner {
  width: 100%;
  max-width: 1180px;   /* segue o limite do container */
  margin: 0 auto;
}

.acesso-banner img {
  width: 100%;         /* agora cobre 100% do espaço disponível */
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  display: block;
}
 /* Ajuste da seção Nossa Atuação */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr; /* imagem e texto lado a lado */
  gap: 40px;
  align-items: center;
}

.split__img img {
  width: 100%;
  max-width: 500px;   /* mantém proporcional */
  border-radius: 6px; /* bordas suaves iguais ao original */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.split__text {
  color: #333;
}

.split__text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0b4a6f; /* azul igual aos títulos */
  margin-bottom: 12px;
  border-bottom: 2px solid #0b4a6f;
  display: inline-block;
  padding-bottom: 5px;
}

.split__text p {
  margin-bottom: 12px;
  color: #444;
  line-height: 1.6;
}

.bullets {
  margin-left: 18px;
}

.bullets li {
  margin: 6px 0;
  color: #222;
  font-weight: 500;
}
/* Nós somos o IESP: imagem grande à esquerda */
.section--about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.section--about .split__img {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section--about .split__img img {
  width: 100%;
  max-width: 500px;
}

.sobre-hero .banner-sobre {
  width: 100%;
  height: fit-content;
  display: block;
  margin-bottom: 40px;
}

.sobre .split {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.sobre h2 {
  font-size: 28px;
  color: #003B5C;
  margin-bottom: 20px;
  border-bottom: 2px solid #003B5C;
  display: inline-block;
}

.sobre p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

.split__video {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 500px; /* controla a largura máxima */
  aspect-ratio: 16 / 9; /* mantém proporção */
  margin: auto;
}

.split__video iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px; /* deixa cantos arredondados */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* efeito de profundidade */
}

.unidades-hero {
  width: 100%;
  overflow: auto;
  background: url("assets/src/img/banner-unidades.jpg") center center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-unidades {
  width: 100%;
  height: 650px; /* ajusta a altura do banner */  
  display: block;
  
  
  
}

.unidades {
  padding: 50px 0;
  background: #f9f9f9;
  text-align: center;
  justify-content: right;
  align-items: center ;
  gap: 40px;
  margin-bottom: 20px;
}

.unidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 20px;
}

.unidade-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.unidade-info {
  padding: 15px;
}

.unidade-map iframe {
  width: 100%;
  height: 220px;
}
.unidades-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; /* espaço entre os dois logos */
  margin-bottom: 20px;
}

.unidades-logos img {
  max-height: 80px; /* tamanho controlado */
  width: auto;
}

.titulo-unidades {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 30px;
}



/* Animação */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

/* ===== TRANSPARÊNCIA - HERO ===== */
.hero-transp{
  /* AJUSTE O CAMINHO DA IMAGEM AQUI 👇 */
  --hero-url: url("/assets/src/img/SEJUS_Prancheta-1-copia-6-2048x811.webp");

  background:
    
    var(--hero-url) center/cover no-repeat;

  min-height: clamp(320px, 38vw, 520px);
  display: flex;
  align-items: center;
}



.hero-transp__content{ position: relative; z-index: 1; }

.hero-transp__title{
  color: #fff;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(2rem, 1.6rem + 2.6vw, 4rem);
  letter-spacing: .2px;
}

.hero-transp__title span{
  display: inline-block;
  margin-top: .25em;
  padding: .28em .6em;
  background: #fff;
  color: #0a4f3b;
  border-radius: 12px;
  font-weight: 800;
}

/* ===== Linha de logos ===== */
.brand-row{
  background: #f8f8f8;
  padding: 18px 0;
}
.brand-row__wrap{
  display: flex;
  gap: clamp(16px, 3vw, 48px);
  align-items: right;
  justify-content: center;
  flex-wrap: wrap;
}
.brand-row__wrap img{
  height: clamp(36px, 4vw, 54px);
  width: auto;
  object-fit: contain;
  filter: none;
}

/* ===== Intro ===== */
.intro-transp .container{
  max-width: 980px;
  text-align: center;
}
.intro-transp p{
  margin: 18px auto 8px;
  color: #36454f;
  font-size: 1rem;
}

/* =======================
   LICITAÇÕES
   ======================= */
.hero--licitacoes{
  min-height: 260px;
  display:flex;
  align-items:center;
  color:#fff;
  background: url('/assets/src/img/IESP-Banners-Edital_Prancheta-1.png') center/cover no-repeat;
  position: relative;
}
.hero--licitacoes::after{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.25);
}
.hero--licitacoes .container{
  position:relative; z-index:1;
}
.hero--licitacoes h1{
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing:.5px;
}

.licitacoes .container{ margin-top:24px; }

/* Barra de filtros – duas faixas */
.filtros{
  display:grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr .8fr;
  gap:0;
}
.filtros--labels{
  background:#15c171; /* verde */
  color:#fff;
  border-radius:6px 6px 0 0;
  overflow:hidden;
}
.filtros--labels > div{
  padding:14px 16px;
  font-weight:600;
  border-right:1px solid rgba(255,255,255,.2);
}
.filtros--labels > div:last-child{ border-right:none; }

.filtros--inputs{
  background:#0e3141; /* azul escuro */
  color:#fff;
  border-radius:0 0 6px 6px;
  align-items:center;
}
.filtros--inputs > div{
  padding:10px 12px;
}
.filtros--inputs select,
.filtros--inputs input[type="date"]{
  width:100%;
  height:40px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.15);
  background:#133a4d;
  color:#fff;
  padding:0 10px;
  outline:none;
}
.filtros--inputs select:focus,
.filtros--inputs input[type="date"]:focus{
  border-color:#22d17d;
}

.filtros__acoes{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.btn.btn--ghost{
  height:40px;
  border-radius:6px;
  padding:0 14px;
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
  cursor:pointer;
}
.btn.btn--ghost:hover{
  background:rgba(255,255,255,.08);
}

/* Tabela */
.table-wrap{
  margin-top:22px;
  overflow:auto;
  background:#fff;
  border-radius:10px;
  box-shadow: 0 6px 18px rgba(14,49,65,.08);
}
.licitacoes-table{
  width:100%;
  border-collapse: collapse;
  min-width: 900px;
}
.licitacoes-table thead th{
  background:#f4f7f9;
  color:#0e3141;
  font-weight:700;
  text-align:left;
  padding:14px 16px;
  border-bottom:1px solid #e6edf2;
  white-space:nowrap;
}
.licitacoes-table tbody td{
  padding:14px 16px;
  border-bottom:1px solid #eef3f6;
  vertical-align:top;
}
.licitacoes-table tbody tr:hover{
  background:#fbfdff;
}

/* Download */
.download-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:36px;
  padding:0 12px;
  border-radius:8px;
  border:1px solid #dbe7ef;
  background:#fff;
  color:#0e3141;
  text-decoration:none;
  font-weight:600;
}
.download-btn:hover{
  background:#0e3141;
  color:#fff;
  border-color:#0e3141;
}

/* Responsivo */
@media (max-width: 980px){
  .filtros{
    grid-template-columns: 1fr;
  }
  .filtros--labels{ display:none; }
  .filtros--inputs{
    border-radius:8px;
    gap:10px;
  }
  .filtros__acoes{ justify-content:flex-start; }
}


.processo-seletivo {
  text-align: center;
  margin: 50px 0;
}

.grid-seletivo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card-seletivo {
  background: #006633; /* verde */
  color: #fff;
  padding: 25px;
  border-radius: 8px;
  transition: transform 0.2s;
  cursor: pointer;
}

.card-seletivo:hover {
  transform: scale(1.05);
}

.card-seletivo i {
  font-size: 40px;
  margin-bottom: 15px;
  display: block;
}

.card-seletivo h3 {
  margin: 10px 0 5px;
}

.card-seletivo p {
  font-size: 14px;
}

/* ===== Processo Seletivo ===== */
.processo-seletivo {
  padding: 60px 0;
  background: #fff;
}

.processo-seletivo h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 30px 0 10px;
  color: #123c56;
  text-align: left;
}

.processo-seletivo hr {
  width: 100%;
  max-width: 200px;
  height: 2px;
  background: #123c56;
  border: none;
  margin: 0 0 30px 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.card-seletivo {
  background: #006633; /* Verde */
  color: #fff;
  text-align: center;
  padding: 25px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card-seletivo i {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.card-seletivo:hover {
  background: #004d26;
  transform: translateY(-3px);
}

/* Versão Azul */
.card-blue {
  background: #004a77;
}

.card-blue:hover {
  background: #003354;
}

.hero-processo-bg{
  /* AJUSTE O CAMINHO DA IMAGEM AQUI 👇 */
  --hero-url: url("/assets/src/img/banner-processo-sejus_Prancheta-1-2048x587.webp");

  background:
    
    var(--hero-url) center/cover no-repeat;

  min-height: clamp(320px, 38vw, 520px);
  display: flex;
  align-items: center;
}
/* Banner Contato */
.hero--contato {
  width: 100%;
  height: auto;
  text-align: center;
}
.hero--contato img {
  width: 100%;
  height: auto;
  display: block;
}

/* Área contato */
.contato__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem auto;
}

/* Box do formulário e da info */
.contato__form, 
.contato__info {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Títulos */
.contato__form h2,
.contato__info h2 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #004c72;
}

/* Formulário */
.contato__form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contato__form input[name="nome"],
.contato__form input[name="email"],
.contato__form input[name="assunto"],
.contato__form textarea {
  grid-column: span 2;
}

.contato__form input,
.contato__form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contato__form textarea {
  resize: none;
}

/* Botão */
.contato__form .btn {
  grid-column: span 2;
  background: #004c72;
  color: #fff;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.contato__form .btn:hover {
  background: #006a99;
}

/* Responsividade */
@media (max-width: 768px) {
  .contato__wrap {
    flex-direction: column;
  }
  .contato__form form {
    grid-template-columns: 1fr;
  }
  .contato__form input[name="nome"],
  .contato__form input[name="email"],
  .contato__form input[name="assunto"],
  .contato__form input[name="telefone"],
  .contato__form textarea {
    grid-column: span 1;
  }
  .contato__form .btn {
    grid-column: span 1;
  }
}

.hero--fornecedores {
  width: 100%;
  height: auto;
}
.hero--fornecedores img {
  width: 100%;
  height: auto;
  display: block;
}

.fornecedores .container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.form-header {
  flex: 1 1 100%;
  margin-bottom: 1rem;
}

.form-body {
  flex: 2;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
}

.form-info {
  flex: 1;
  background: #f7f7f7;
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.form-grid label, .form-upload label {
  font-weight: bold;
  margin-top: 0.5rem;
}

.form-grid input, .form-upload input, textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-upload {
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.btn--primary {
  background: #004a77;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn--primary:hover {
  background: #006699;
}

/* Responsividade */
@media (max-width: 992px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .fornecedores .container {
    flex-direction: column;
  }
}

/* Layout geral */
.detalhe-licitacao {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  align-items: start;
  font-family: Arial, sans-serif;
}
.detalhes-btn {
    display:inline-flex;
  align-items:center;
  gap:8px;
  height:36px;
  padding:0 12px;
  border-radius:8px;
  border:1px solid #dbe7ef;
  background:#fff;
  color:#0e3141;
  text-decoration:none;
  font-weight:600;
}
/* Sidebar */
.sidebar .datas {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.data-item {
  background: #00486d;
  color: #fff;
  padding: 12px;
  flex: 1;
  text-align: center;
  font-size: 14px;
}

.data-item + .data-item {
  margin-left: 5px;
}

.box-info {
  background: #f2f2f2;
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.box-info h3 {
  font-size: 16px;
  font-weight: bold;
  color: #003d5c;
  margin-bottom: 15px;
}

.box-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.box-info li {
  margin-bottom: 10px;
}

/* Conteúdo */
.conteudo h1 {
  font-size: 22px;
  color: #003d5c;
  margin-bottom: 20px;
}

.objeto {
  margin-bottom: 25px;
  font-size: 15px;
}



.btn-download {
  display: inline-block;
  background: #008000;
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 3px;
}

.btn-homologacao {
  display: inline-block;
  margin: 15px 0;
  padding: 10px 15px;
  background: #00486d;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Vídeo */
.video {
  margin-top: 50px;
}
/* Banner / hero */
.hero.hero--licitacao{
  position: relative;
  height: 260px;
  background: #0c3344;
  overflow: hidden;
}
.hero.hero--licitacao .hero__img{
  width: 100%;
  height: auto;
  
  
  opacity: .95;
}

.accordion {
    margin: 1rem 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-btn {
 
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  font-weight: bold;
  background: #f5f5f5;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.3s;
}

.accordion-btn:hover {
  background: #eaeaea;
  
}


.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 16px;
  background: #fff;
}
.accordion-content p {
  margin: 12px 0;
}

.conteudo {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.conteudo h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #004080;
}

.objeto {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.datas {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.data-item strong {
  display: block;
  font-weight: 600;
}

.btn-download {
  display: inline-block;
  background: #004080;
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  margin-top: 20px;
  margin-bottom: 2rem;
  transition: background 0.3s;
}
.btn-download:hover {
  background: #eff1f3;
}

.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: #f2f2f2;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.accordion-btn::after {
  content: "+";
  position: absolute;
  right: 16px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.accordion-btn.active::after {
  content: "-";
}

/* ============================
   Botão "Acesse" na tabela
   ============================ */
.btn-acesso {
  display: inline-block;
  padding: 6px 12px;
  background-color: #0066cc; /* azul primário */
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-acesso:hover {
  background-color: #004999; /* azul mais escuro */
  transform: scale(1.05);
}

.btn-acesso:active {
  background-color: #003366; /* azul ainda mais escuro */
  transform: scale(0.98);
}


.toast {
  visibility: hidden;
  min-width: 250px;
  max-width: 400px;
  margin-left: -125px;
  background: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 14px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 30px;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.4s, bottom 0.4s;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}
.toast.success { background: #28a745; } /* verde */
.toast.error { background: #dc3545; }   /* vermelho */

