/* =========================================================
   HUB CFOP
========================================================= */

.af-cfop {
  background: #fff;
  color: #1d1d1f;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Inter",
    sans-serif;
}

.af-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */

.af-cfop-hero {
  padding: 88px 0 52px;
  text-align: center;
  background:
    linear-gradient(
      180deg,
      #f5f5f7 0%,
      #ffffff 100%
    );
}

.af-cfop-hero h1 {
  max-width: 760px;
  margin: 14px auto;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.af-cfop-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.65;
  color: #5f6368;
}

/* BUSCA */

.af-cfop-search {
  max-width: 640px;
  margin: 32px auto 0;
}

.af-cfop-search input {
  width: 100%;
  height: 54px;
  padding: 0 20px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  outline: none;
  transition: .2s ease;
  box-shadow:
    0 14px 40px rgba(0,0,0,.05);
}

.af-cfop-search input:focus {
  border-color: #0071e3;
}

/* GRID */

.af-cfop-lista {
  padding: 48px 0 80px;
}

.af-cfop-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

/* CARD */

.af-cfop-card {
  border-radius: 22px;
  overflow: hidden;
  background: #f5f5f7;
  transition: .22s ease;
}

.af-cfop-card:hover {
  transform: translateY(-2px);
  background: #eef5ff;
}

.af-cfop-card a {
  display: block;
  min-height: 180px;
  padding: 20px;
  text-decoration: none;
  color: #1d1d1f;
}

.af-cfop-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 30px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0,113,227,.10);
  color: #0071e3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.af-cfop-card h2 {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0;
  font-weight: 600;
  color: #1d1d1f;
}

.af-cfop-card strong {
  color: #0071e3;
  font-size: 12px;
}

/* RESPONSIVO */

@media (max-width: 1200px) {

  .af-cfop-grid {
    grid-template-columns: repeat(4, 1fr);
  }

}

@media (max-width: 900px) {

  .af-cfop-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (max-width: 680px) {

  .af-cfop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .af-cfop-hero {
    padding: 76px 0 42px;
  }

}

@media (max-width: 480px) {

  .af-cfop-grid {
    grid-template-columns: 1fr;
  }

  .af-cfop-search input {
    height: 52px;
    font-size: 14px;
  }

}