/* ==================================================
   HERO
================================================== */

.af-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 68px;
  text-align: center;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.af-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(0, 113, 227, 0.08), transparent 55%);
  pointer-events: none;
}

.af-hero::after {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.06), transparent 70%);
  top: -420px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.af-hero .af-container {
  position: relative;
  z-index: 1;
}

/* ==================================================
   BADGE
================================================== */

.af-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.08);
  color: #0071e3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ==================================================
   TÍTULO
================================================== */

.af-hero h1 {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  margin: 0 auto;
  max-width: 690px;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 700;
  color: #1d1d1f;
  text-wrap: balance;
}

.af-hero h1 span {
  color: #0071e3;
}

/* ==================================================
   SUBTITLE
================================================== */

.af-subtitle {
  max-width: 600px;
  margin: 18px auto 32px;
  font-size: 19px;
  line-height: 1.38;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: #6e6e73;
}

/* ==================================================
   SEARCH — HERO HOME
================================================== */

.af-search {
  width: min(620px, 100%);
  height: 54px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.af-search input {
  flex: 1;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: #1d1d1f;
  outline: none;
}

.af-search input {
  flex: 1;

  height: 100%;

  border: 0;

  background: transparent;

  padding: 0 22px;

  font-size: 22px;

  font-weight: 500;

  letter-spacing: -0.03em;

  color: #1d1d1f;

  outline: none;

  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.af-search input::placeholder {

  color: #86868b;

  font-size: 17px;

  font-weight: 400;
}

.af-search button {
  height: 44px;
  min-width: 112px;
  border: 0;
  border-radius: 13px;
  background: #0071e3;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.016em;
  cursor: pointer;
  box-shadow:
    0 8px 18px rgba(0, 113, 227, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14);
  transition:
    transform .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.af-search button:hover {
  background: #0077ed;
  transform: translateY(-1px);
  box-shadow:
    0 10px 24px rgba(0, 113, 227, 0.26),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14);
}

/* ==================================================
   TRUST — SELOS HERO
================================================== */

.af-trust {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.af-trust div {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(0, 0, 0, 0.055);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #424245;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.af-trust strong {
  font-weight: 600;
  color: #1d1d1f;
}

/* ==================================================
   CARDS
================================================== */

.af-cards {
  padding: 34px 0 86px;
  background: #ffffff;
}

.af-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
  gap: 24px;
}

.af-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 30px;
  min-height: 176px;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.af-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 113, 227, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.af-card h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1d1d1f;
}

.af-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.012em;
  color: #6e6e73;
}

/* ==================================================
   BANNER
================================================== */

.af-banner {
  display: none;
}

/* ==================================================
   RESPONSIVO HOME
================================================== */

@media (max-width: 900px) {
  .af-hero {
    padding: 88px 0 56px;
  }

  .af-hero h1 {
    font-size: clamp(38px, 10vw, 54px);
  }

  .af-subtitle {
    max-width: 520px;
    font-size: 17px;
  }

  .af-search {
    width: min(100%, 520px);
    height: auto;
    flex-direction: column;
    padding: 6px;
    gap: 6px;
  }

  .af-search input {
    width: 100%;
    height: 48px;
    text-align: center;
  }

  .af-search button {
    width: 100%;
    height: 46px;
    margin: 0;
  }

  .af-trust {
    gap: 8px;
  }

  .af-trust div {
    font-size: 11px;
    padding: 6px 10px;
  }

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

  .af-card {
    min-height: auto;
  }
}