@import url('https://sindicoagora.com.br/wp-content/cache/min/1/wp-content/plugins/elementor/assets/lib/font-awesome/css/solid.min.css?ver=1774643904');

.fp-hero {
  position: relative;
  z-index: 20;
  padding: 1.5rem 0 2.5rem;
}

.fp-hero__box {
  position: relative;
  border-radius: 14px;
  overflow: visible;
  min-height: 230px;
  box-shadow: 0 10px 30px rgba(0, 26, 61, 0.12);
}

.fp-hero__box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(0,20,48,.76) 0%, rgba(0,20,48,.62) 42%, rgba(0,0,0,.38) 100%),
    url('/assets/images/fornecedores-hero.jpg') center/cover no-repeat;
  filter: blur(2.5px) brightness(.72);
  transform: scale(1.03);
}

.fp-hero__overlay {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1.25rem 1.25rem;
  color: #fff;
}

.fp-hero h1 {
  margin: 0 0 .35rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
}

.fp-hero h1 em {
  font-style: italic;
}

.fp-hero p {
  margin: 0 0 1rem;
  max-width: 760px;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
}

.fp-search {
  position: relative;
  max-width: 980px;
  z-index: 30;
}

.fp-search input {
  width: 100%;
  height: 54px;
  padding: 0 1rem;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255,255,255,0.98);
  color: #1f2937;
  outline: none;
}

.fp-autocomplete {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #dfe5ef;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 22px rgba(0, 26, 61, 0.14);
  z-index: 9999;
  overflow: hidden;
}

.fp-autocomplete__item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1rem;
  border-bottom: 1px solid #eef2f7;
  color: #153a72;
  text-decoration: none;
}

.fp-autocomplete__item:last-child {
  border-bottom: none;
}

.fp-autocomplete__item:hover {
  background: #f8fbff;
  color: #0d3b79;
}

.fp-autocomplete__name {
  font-weight: 700;
}

.fp-autocomplete__region,
.fp-autocomplete__meta {
  color: #16a34a;
  white-space: nowrap;
}

.fp-section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--sa-navy);
  margin: 0 0 2rem;
}

.fp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 1rem;
}

.fp-cat-card {
  min-height: 170px;
  background: #fff;
  border: 1px solid #dde5ee;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 26, 61, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-align: center;
  padding: 1rem .75rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-decoration: none;
}

.fp-cat-card:hover,
.fp-cat-card.is-active {
  transform: translateY(-2px);
  border-color: #bfd0e4;
  box-shadow: 0 8px 20px rgba(0, 26, 61, 0.10);
  color: inherit;
}

.fp-cat-card__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f3b8f;
  line-height: 1;
  font-size: 2rem;
}

.fp-cat-card__icon svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.fp-cat-card__icon i {
  font-size: 2rem;
}

.fp-cat-card__title {
  font-weight: 700;
  color: #16a34a;
  line-height: 1.25;
}

.fp-cat-card__count {
  font-size: .82rem;
  color: #6b7280;
}

.fp-results-section {
  padding-top: .5rem;
}

.fp-results-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.fp-results-title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--sa-navy);
}

.fp-results-subtitle {
  margin: .25rem 0 0;
  color: #6b7280;
}

.fp-clear-link {
  font-weight: 700;
  color: #0d6efd;
  text-decoration: none;
}

.fp-company-list {
  display: grid;
  gap: 1rem;
}

.fp-company-card {
  background: #fff;
  border: 1px solid #e5ebf2;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 26, 61, 0.06);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.25rem;
}

.fp-company-card__logo {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf1fb 0%, #d8e5fa 100%);
  color: #0f3b8f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
}

.fp-company-card__content h3 {
  margin: 0 0 .45rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sa-navy);
}

.fp-company-card__text {
  margin: 0 0 .9rem;
  color: #374151;
  line-height: 1.65;
}

.fp-company-card__region,
.fp-company-card__contact {
  margin: 0 0 .35rem;
  color: #6b7280;
  font-size: 1rem;
}

.fp-company-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .85rem;
}

.fp-btn-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 8px;
  background: #1677ff;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.fp-btn-profile:hover {
  background: #0f64d8;
}

.fp-empty {
  background: #fff;
  border: 1px solid #e5ebf2;
  border-radius: 14px;
  padding: 1.25rem;
  color: #6b7280;
  box-shadow: 0 8px 20px rgba(0, 26, 61, 0.05);
}

@media (max-width: 767.98px) {
  .fp-hero__overlay {
    padding: 1rem;
  }

  .fp-search input {
    height: 48px;
  }

  .fp-autocomplete__item {
    flex-direction: column;
    gap: .15rem;
  }

  .fp-company-card {
    grid-template-columns: 1fr;
  }

  .fp-company-card__logo {
    width: 82px;
    height: 82px;
    font-size: 1.25rem;
  }

  .fp-results-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
