/* Home Vitrine - Categorias e Destaques */
.home-vitrine-section {
  background: #f7f9fd;
  padding: 44px 0 24px;
}

.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.home-section-kicker {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: #2d62de;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.home-section-title {
  margin: 0;
  color: #0b1533;
  font-size: clamp(1.6rem, 2.2vw, 2.65rem);
  line-height: 1.1;
  font-weight: 800;
}

.home-head-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2d62de;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-head-link:hover {
  color: #103ea8;
}

.home-head-link i,
.home-head-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.categoria-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.categoria-card {
  background: #fff;
  border: 1px solid #ecf0fb;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(9, 24, 61, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.categoria-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(9, 24, 61, 0.11);
}

.categoria-media {
  height: 156px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.categoria-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-categoria-1 { background: linear-gradient(135deg, #2d62de 0%, #88a7f8 100%); }
.bg-categoria-2 { background: linear-gradient(135deg, #f3b3ce 0%, #ffd9e8 100%); }
.bg-categoria-3 { background: linear-gradient(135deg, #9dd2ff 0%, #d8eeff 100%); }
.bg-categoria-4 { background: linear-gradient(135deg, #9ce2d0 0%, #cff4ea 100%); }
.bg-categoria-5 { background: linear-gradient(135deg, #f5d76e 0%, #ffeeb8 100%); }
.bg-categoria-6 { background: linear-gradient(135deg, #b8b3ff 0%, #ddd9ff 100%); }

.categoria-body {
  position: relative;
  padding: 18px 14px 14px;
}

.categoria-icon {
  position: absolute;
  top: -20px;
  left: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ecf0fb;
  box-shadow: 0 6px 14px rgba(7, 32, 90, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.categoria-icon i,
.categoria-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.categoria-icon.c1 { color: #2d62de; }
.categoria-icon.c2 { color: #ec739c; }
.categoria-icon.c3 { color: #2d62de; }
.categoria-icon.c4 { color: #30a97e; }
.categoria-icon.c5 { color: #c99400; }
.categoria-icon.c6 { color: #6f56d8; }

.categoria-name {
  margin: 10px 0 0;
  color: #0b1533;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
}

.destaques-vitrine-section {
  background: #f7f9fd;
  padding: 24px 0 8px;
}

.home-banner3-section {
  background: #f7f9fd;
  padding: 16px 0 22px;
}

.home-banner3-link {
  display: block;
  text-decoration: none;
}

.home-banner3-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(9, 24, 61, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-banner3-link:hover .home-banner3-img {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(9, 24, 61, 0.18);
}

.destaque-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.destaque-card {
  background: #fff;
  border: 1px solid #ecf0fb;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(9, 24, 61, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.destaque-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(9, 24, 61, 0.11);
}

.destaque-img-wrap {
  background: #f6f8fc;
  border-radius: 12px;
  height: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.destaque-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.destaque-tag {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  color: #2d62de;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.destaque-title {
  margin: 0 0 10px;
  color: #0b1533;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.25;
}

.destaque-desc {
  margin: 0 0 14px;
  color: #5a667c;
  font-size: 0.98rem;
  line-height: 1.45;
  min-height: 68px;
}

.destaque-btn {
  margin-top: auto;
  width: 100%;
  border: 2px solid #2d62de;
  color: #2d62de;
  background: transparent;
  border-radius: 12px;
  font-size: 0.97rem;
  font-weight: 700;
  padding: 10px 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.destaque-btn:hover {
  background: #2d62de;
  color: #fff;
}

.destaque-btn i,
.destaque-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

@media (max-width: 1400px) {
  .categoria-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .destaque-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .categoria-name {
    font-size: 1.2rem;
  }
}

@media (max-width: 620px) {
  .home-vitrine-section,
  .destaques-vitrine-section {
    padding-left: 0;
    padding-right: 0;
    padding-top: 40px;
    padding-bottom: 12px;
  }

  .home-banner3-section {
    padding-left: 0;
    padding-right: 0;
  }

  .categoria-grid,
  .destaque-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .home-banner3-img {
    border-radius: 12px;
  }
}

/* ================================================================
   CARD PREMIUM (componente reutilizável de produto)
   ================================================================ */
.card-premium {
  background: #fff;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 8px 32px 0 rgba(2,53,187,0.08);
  border: 1px solid rgba(2,53,187,.08);
  transition: box-shadow .22s cubic-bezier(.4,0,.2,1), transform .22s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
}

.card-premium:hover {
  box-shadow: 0 16px 48px 0 rgba(2,53,187,0.16);
  transform: translateY(-4px) scale(1.015);
}

.card-premium-img {
  background: linear-gradient(120deg, #f6f8fa 60%, #eaf1ff 100%);
  border-radius: 18px;
  padding: 18px 18px 10px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.card-premium-img img {
  border-radius: 14px;
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.badge-premium {
  background: rgba(2,53,187,.10);
  color: #0235BB;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.card-premium-title {
  color: #0B1533;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 8px;
}

.card-premium-desc {
  color: #5f6b7a;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
  min-height: 38px;
}

.btn-premium-prod {
  background: #0235BB;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  width: 100%;
  box-shadow: 0 10px 24px rgba(2,53,187,.22);
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: center;
  transition: all 0.18s cubic-bezier(.4,0,.2,1);
  margin-top: auto;
  text-decoration: none;
}

.btn-premium-prod:hover {
  background: #052069;
  box-shadow: 0 16px 32px rgba(2,53,187,.28);
  transform: translateY(-2px);
}

.btn-premium-prod svg {
  width: 1.3em;
  height: 1.3em;
}
