/* Estilos exclusivos: index.html */


/* REGRA GLOBAL FINAL: frontend sem negrito */
html body,
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6,
html body label, html body legend,
html body button, html body input, html body select, html body textarea, html body option,
html body p, html body span, html body small, html body a,
html body strong, html body b,
html body th, html body td, html body li,
html body [role="button"], html body [role="tab"], html body [class*="title"],
html body [class*="label"], html body [class*="heading"], html body [class*="caption"] {
  font-weight: 400 !important;
}
/* Mantem somente o peso estrutural exigido por fontes de icones. */
html body .fa, html body .fas, html body .fa-solid,
html body [class^="fa-"], html body [class*=" fa-"] {
  font-weight: 900 !important;
}
html body .far, html body .fa-regular {
  font-weight: 400 !important;
}

/* ===== Trilhos animados da página inicial: vagas e licitações ===== */
.home-live-sections{
  display:grid;
  gap:26px;
  margin-top:26px;
  margin-bottom:36px;
}
.home-live-panel{
  background:#fff;
  border:1px solid var(--border,#dbe6f0);
  border-radius:18px;
  box-shadow:var(--shadow,0 16px 34px rgba(8,47,95,.10));
  padding:22px;
  overflow:hidden;
}
.home-live-panel .section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.home-live-panel .section-head a{
  color:var(--theme-accent,#0b5ca5);
  font-size:14px;
  white-space:nowrap;
}
.home-live-kicker{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  margin-bottom:6px;
  padding:0 10px;
  border-radius:999px;
  background:#eaf4ff;
  color:#0b5ca5;
  font-size:11px;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.home-live-panel.vacancies .home-live-kicker{
  background:#e9f8f1;
  color:#087b57;
}
.home-marquee{
  position:relative;
  width:100%;
  overflow:hidden;
  padding:4px 0 8px;
  mask-image:linear-gradient(90deg,transparent 0,#000 3%,#000 97%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 3%,#000 97%,transparent 100%);
}
.home-marquee::before,
.home-marquee::after{
  content:"";
  position:absolute;
  z-index:2;
  top:0;
  bottom:0;
  width:32px;
  pointer-events:none;
}
.home-marquee::before{left:0;background:linear-gradient(90deg,#fff,transparent)}
.home-marquee::after{right:0;background:linear-gradient(270deg,#fff,transparent)}
.home-marquee-track{
  display:flex;
  align-items:stretch;
  gap:16px;
  width:max-content;
  animation:home-marquee-left var(--marquee-duration,34s) linear infinite;
  will-change:transform;
}
.home-marquee:hover .home-marquee-track,
.home-marquee:focus-within .home-marquee-track{
  animation-play-state:paused;
}
@keyframes home-marquee-left{
  from{transform:translateX(0)}
  to{transform:translateX(calc(-50% - 8px))}
}
.home-live-card{
  flex:0 0 310px;
  width:310px;
  min-height:210px;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:18px;
  border:1px solid #d8e5f0;
  border-radius:16px;
  background:linear-gradient(180deg,#fff 0%,#f8fbfe 100%);
  color:var(--theme-text,#0b2341);
  box-shadow:0 10px 26px rgba(8,47,95,.08);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.home-live-card:hover,
.home-live-card:focus-visible{
  transform:translateY(-4px);
  border-color:#9fc3dc;
  box-shadow:0 16px 34px rgba(8,47,95,.14);
  outline:0;
}
.home-live-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.home-live-badge{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 10px;
  border-radius:999px;
  background:#e8f3ff;
  color:#075b9b;
  font-size:12px;
}
.home-live-card.vaga .home-live-badge,
.home-live-card.aberta .home-live-badge{
  background:#e8f8f0;
  color:#087b57;
}
.home-live-card.encerrada .home-live-badge{
  background:#f1f4f7;
  color:#526477;
}
.home-live-card.homologada .home-live-badge{
  background:#fff3d9;
  color:#925f00;
}
.home-live-number{
  color:#5d6d7e;
  font-size:12px;
}
.home-live-card h3{
  margin:0;
  color:var(--theme-title,#0b3a78)!important;
  font-size:19px;
  line-height:1.3;
}
.home-live-card p{
  margin:0;
  color:#53677a;
  font-size:14px;
  line-height:1.5;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.home-live-meta{
  margin-top:auto;
  display:grid;
  gap:6px;
  color:#526477;
  font-size:13px;
}
.home-live-meta span{
  display:flex;
  align-items:flex-start;
  gap:7px;
}
.home-live-action{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:2px;
  color:var(--theme-accent,#0b5ca5);
  font-size:13px;
}
.home-live-empty{
  width:100%;
  min-height:110px;
  display:grid;
  place-items:center;
  border:1px dashed #c7d8e6;
  border-radius:14px;
  color:#64778a;
  background:#f8fbfe;
}
@media(max-width:760px){
  .home-live-panel{padding:18px 14px}
  .home-live-panel .section-head{flex-direction:column}
  .home-live-card{flex-basis:270px;width:270px;min-height:220px}
  .home-marquee{mask-image:none;-webkit-mask-image:none}
  .home-marquee::before,.home-marquee::after{display:none}
}
@media(prefers-reduced-motion:reduce){
  .home-marquee{overflow-x:auto;scroll-snap-type:x proximity}
  .home-marquee-track{animation:none!important}
  .home-live-card{scroll-snap-align:start}
}


/* ===== Uma única seção de licitações, com abas por situação ===== */
.home-bids-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:-2px 0 10px;
}
.home-bids-tab{
  min-height:38px;
  padding:0 17px;
  border:1px solid #c9d9e7;
  border-radius:999px;
  background:#f7fafc;
  color:var(--theme-title,#0b3a78);
  cursor:pointer;
  font:inherit;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.home-bids-tab:hover,
.home-bids-tab:focus-visible{
  border-color:var(--theme-accent,#0b5ca5);
  transform:translateY(-1px);
  outline:0;
}
.home-bids-tab.is-active{
  background:var(--theme-accent,#0b5ca5);
  border-color:var(--theme-accent,#0b5ca5);
  color:#fff!important;
  box-shadow:0 8px 18px rgba(11,92,165,.18);
}
.home-bids-description{
  margin:0 0 12px;
  color:#5d6d7e;
  font-size:14px;
}
