.agency-filter {
    margin: 6px 0 18px;
    gap: 8px;
    flex-wrap: wrap;
    display: flex;
  }
  
  .agency-filter .nav>li>a {
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
  }
  
  .agency-filter .active>a {
    background: #f4831f;
    border-color: #f4831f;
    color: #fff;
  }
  
  .agency-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
    max-width: 976px;
    margin: 0 auto 22px auto;
    padding: 0 16px;
  }
  
  @media (max-width: 991px) {
    .agency-grid {
      grid-template-columns: repeat(8, 1fr);
    }
  }
  
  @media (max-width: 575px) {
    .agency-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      max-width: 332px;
    }
  }
  
  .agency-item {
    grid-column: span 4;
    list-style: none;
    transition: transform .22s ease, box-shadow .22s ease;
  }
  
  .agency-item:hover {
    transform: translateY(-6px);
  }
  
  @media (max-width: 991px) {
    .agency-item {
      grid-column: span 4;
    }
  }
  
  @media (max-width: 575px) {
    .agency-item {
      grid-column: span 4;
    }
  }
  
  .agency-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    color: inherit;
    text-decoration: none;
  }
  
  .agency-media {
    position: relative;
    aspect-ratio: 150/103;
    background: #eee;
    border-radius: 16px;
  }
  
  .agency-media picture,
  .agency-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
  }
  
  .agency-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .95) 5%, rgba(0, 0, 0, 0) 40%);
    border-radius: 16px;
  }
  
  .agency-titleWrap {
    position: absolute;
    left: 0px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
  }
  
  .agency-name {
    padding-left: 16px;
    margin: 0;
    font-weight: 600;
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.1;
    color: white;
  }
  
  .agency-pill {
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    background: #f4831f;
    color: #fff;
    border-radius: 0 10px 10px 0;
    padding: 8px 50px 8px 20px;
  }
  
  .agency-row {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 0 0 16px 16px;
    border: 2px solid #eee;
    border-top: 0;
    gap: 10px;
  }
  
  .agency-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1e6;
    color: #f4831f;
    border: 1px solid #ffd9b8;
  }
  
  .agency-row .text {
    color: #222;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
  }
  
  .agency-row.address {
    background: #fff;
    font-weight: 600;
  }
  
  .agency-row.address .agency-icon {
    background: #fff;
    color: #f4831f;
    border: 1px solid #ffd9b8;
  }
  
  .agency-card:focus-visible {
    outline: 3px dashed #f4831f;
    outline-offset: 4px;
    border-radius: 18px;
  }
  
  .page-header {
    background-color: #f4831f;
    border: none;
  }
  
  .page-header .breadcrumb li,
  .page-header .breadcrumb li a {
    color: #fff;
  }
  
  section.page-header .container .row h1 {
    border-bottom-color: #fdba1c;
    font-weight: 700;
  }
  
  /* Opcional: suaviza FA */
  .agency-icon i {
    font-size: 14px;
    line-height: 1;
  }