/* ==================================================
   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(760px,100%);
  height:58px;

  margin:0 auto;

  display:flex;
  align-items:center;
  gap:8px;

  padding:5px;

  border-radius:18px;

  background:
    rgba(255,255,255,.78);

  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);

  border:1px solid rgba(0,0,0,.06);

  box-shadow:
    0 18px 44px rgba(0,0,0,.055),
    inset 0 1px 0 rgba(255,255,255,.72);
}

.af-search input{
  flex:1;

  height:100%;

  border:0;
  outline:none;

  background:transparent;

  padding:0 24px;

  color:#1d1d1f;

  font-family:
    "Geist",
    "Inter",
    sans-serif;

  font-size:17px;
  font-weight:500;
  letter-spacing:-0.025em;
}

.af-search input::placeholder{
  color:#86868b;
  font-size:17px;
  font-weight:400;
}

.af-search button{
  min-width:180px;
  height:48px;

  border:none;

  border-radius:14px;

  background:#0066d9;
  color:#fff;

  padding:0 28px;

  font-family:
    "Geist",
    "Inter",
    sans-serif;

  font-size:15px;
  font-weight:700;
  letter-spacing:-0.01em;

  display:flex;
  align-items:center;
  justify-content:center;

  white-space:nowrap;

  cursor:pointer;

  transition:
    transform .18s ease,
    background .18s ease,
    box-shadow .18s ease;

  box-shadow:
    0 10px 28px rgba(0,102,217,.18);
}

.af-search button:hover{
  background:#0057bd;

  transform:translateY(-1px);

  box-shadow:
    0 14px 36px rgba(0,102,217,.24);
}
/* ==================================================
   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;
  }
}
.af-card{
  text-decoration:none;
  color:inherit;
  display:block;
  transition:.22s ease;
}

.af-card:hover{
  transform:translateY(-4px);
  box-shadow:
    0 20px 45px rgba(15,23,42,.08);
}

.af-card h2{
  text-decoration:none;
}

.af-card p{
  text-decoration:none;
}
.af-card{
  text-decoration:none;
  color:inherit;

  display:block;

  font-family:
    "Geist",
    "Inter",
    "Helvetica Neue",
    Arial,
    sans-serif;

  transition:.22s ease;
}

.af-card:hover{
  transform:translateY(-4px);

  box-shadow:
    0 20px 45px rgba(15,23,42,.08);
}

.af-card h2{
  margin-top:14px;

  text-decoration:none;

  font-size:18px;
  font-weight:700;

  color:#111827;

  line-height:1.2;
}

.af-card p{
  margin-top:12px;

  text-decoration:none;

  font-size:15px;
  line-height:1.7;

  color:#64748b;
}
/* =========================================================
   AJUSTES HOME - TIPOGRAFIA E CARDS
========================================================= */

.af-hero,
.af-hero h1,
.af-hero p,
.af-hero input,
.af-hero button,
.af-card,
.af-card h2,
.af-card p{
  font-family:
    "Geist",
    "Inter",
    "Helvetica Neue",
    Arial,
    sans-serif !important;
}

.af-hero h1{
  font-weight:800;
  letter-spacing:-0.055em;
}

.af-subtitle{
  font-weight:400;
  letter-spacing:-0.01em;
}

/* Cards como vitrine de ferramentas */

.af-cards .af-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:24px;
  align-items:stretch;
}

.af-card{
  text-decoration:none !important;
  color:inherit !important;

  display:flex;
  flex-direction:column;

  min-height:220px;
  padding:28px;

  border-radius:24px;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.af-card:hover{
  transform:translateY(-4px);
  border-color:rgba(0,102,204,.18);
  box-shadow:0 20px 45px rgba(15,23,42,.08);
}

.af-card h2{
  margin:14px 0 0;

  font-size:17px;
  font-weight:700;
  line-height:1.2;

  color:#111827;
  text-decoration:none !important;
}

.af-card p{
  margin:12px 0 0;

  font-size:14px;
  line-height:1.65;

  color:#64748b;
  text-decoration:none !important;
}

.af-card:hover h2{
  color:#0066cc;
}

.af-icon{
  font-size:18px;
  line-height:1;
  margin-bottom:4px;
}

/* Responsivo */

@media(max-width:1180px){

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

}

@media(max-width:640px){

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

}