:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: #18366e;
  background: #eaf0ff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 77% 32%, #d6c9ff99, transparent 43%),
    radial-gradient(ellipse at 10% 75%, #d9ddff, transparent 45%),
    linear-gradient(130deg, #f1f6ff, #dce8fc);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.site-header {
  max-width: 1440px;
  margin: auto;
  padding: 28px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -.8px;
  white-space: nowrap;
}
.brand strong { color: #8b62f4; }
.navigation {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid #ffffffdd;
  border-radius: 999px;
  background: #ffffff70;
  box-shadow: 0 12px 40px #6e85b015;
}
.navigation a {
  padding: 11px 17px;
  border-radius: 999px;
  color: #48618e;
  font-size: 13px;
  font-weight: 650;
}
.navigation a:hover,
.navigation a.active {
  background: #ffffff;
  color: #7557ed;
}
.environment {
  padding: 11px 18px;
  background: linear-gradient(115deg, #6d76ff, #a855f7);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 12px 35px #8468ef40;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 90px 30px 110px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2.4px;
  font-weight: 800;
  color: #775af0;
}
h1 {
  max-width: 850px;
  margin: 22px 0;
  font-size: clamp(44px, 6.5vw, 82px);
  letter-spacing: -3.8px;
  line-height: 1.07;
}
h1 em {
  font-style: italic;
  color: #7858e9;
}
.intro {
  max-width: 720px;
  color: #526b97;
  line-height: 1.8;
  font-size: 17px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.action {
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 14px;
}
.action-primary {
  background: linear-gradient(110deg, #6e75ff, #a955f7);
  color: white;
  box-shadow: 0 12px 30px #8b72f53d;
}
.action-secondary {
  background: #ffffff80;
  border: 1px solid white;
}
.catalog {
  margin-top: 105px;
  scroll-margin-top: 35px;
}
.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.catalog h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -1.5px;
  margin: 12px 0;
}
.counter { color: #6c7fa4; font-size: 14px; }
.search {
  width: min(100%, 350px);
  border: 1px solid white;
  border-radius: 999px;
  padding: 15px 20px;
  outline: none;
  background: #ffffffaa;
  color: #17366c;
}
.search:focus { outline: 2px solid #9878f7; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 28px;
  border: 1px solid #ffffffed;
  border-radius: 24px;
  background: #ffffff83;
  box-shadow: 0 18px 45px #6d83ad16;
  backdrop-filter: blur(18px);
  transition: transform .2s, box-shadow .2s;
}
a.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px #6d83ad30;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 15px;
  background: linear-gradient(135deg, #7a75ff, #bd73ef);
  color: white;
  font-size: 23px;
}
.card h3 {
  font-size: 22px;
  margin: 22px 0 8px;
}
.card p {
  margin: 0;
  color: #60769d;
  font-size: 14px;
  line-height: 1.7;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  color: #775af0;
  font-size: 12px;
  font-weight: 700;
}
.empty {
  grid-column: 1 / -1;
  padding: 45px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid white;
  background: #ffffff80;
  color: #526b97;
}
footer {
  border-top: 1px solid #ffffffaa;
  text-align: center;
  padding: 32px;
  color: #7083a8;
  font-size: 12px;
}
@media(max-width: 850px) {
  .site-header { flex-wrap: wrap; }
  .navigation { order: 3; width: 100%; justify-content: center; }
  main { padding-top: 55px; }
}
@media(max-width: 560px) {
  .site-header { padding: 20px; }
  .navigation { overflow-x: auto; justify-content: flex-start; }
  .navigation a { white-space: nowrap; }
  main { padding: 45px 20px 80px; }
  h1 { letter-spacing: -2px; }
  .catalog { margin-top: 75px; }
  .search { width: 100%; }
}

/* MOBITX IA — Correção do tamanho do logotipo */
.site-header .brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  max-width: 200px;
}

.site-header .brand img.brand-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  max-height: 65px;
  object-fit: contain;
}

@media (max-width: 560px) {
  .site-header .brand img.brand-logo {
    width: 145px;
    max-height: 55px;
  }
}

/* MOBITX IA — Dimensões alinhadas ao site oficial */
.site-header .brand {
  display: flex;
  align-items: center;
  width: 240px;
  max-width: 240px;
  height: 65px;
  flex: 0 0 240px;
  overflow: visible;
}

.site-header .brand img.brand-logo {
  display: block;
  width: 240px;
  max-width: none;
  height: 65px;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 560px) {
  .site-header .brand {
    width: 175px;
    max-width: 175px;
    height: 50px;
    flex-basis: 175px;
  }

  .site-header .brand img.brand-logo {
    width: 175px;
    height: 50px;
  }
}

/* Logotipo MOBITX IA — tamanho final */
.site-header .brand {
  width: 220px;
  max-width: 220px;
  height: 60px;
  flex: 0 0 220px;
}

.site-header .brand img.brand-logo {
  width: 220px;
  max-width: 220px;
  height: 60px;
  max-height: 60px;
  object-fit: contain;
  object-position: left center;
}

/* MOBITX IA — Logotipo horizontal otimizado */
.site-header .brand {
  display: flex;
  align-items: center;
  width: 220px;
  max-width: 220px;
  height: auto;
  max-height: none;
  flex: 0 0 220px;
}

.site-header .brand img.brand-logo {
  display: block;
  width: 220px;
  max-width: 220px;
  height: auto;
  max-height: none;
  object-fit: contain;
}

@media (max-width: 560px) {
  .site-header .brand {
    width: 160px;
    flex-basis: 160px;
  }

  .site-header .brand img.brand-logo {
    width: 160px;
  }
}

/* Seleção do menu — padrão MOBITX IA */
.navigation a.active {
  background: rgba(255, 255, 255, 0.92);
  color: #7357ff;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: none;
}
