
/* Vectra/Suprema Home v138 - template seguro do portal principal.
   Sem :has(), sem esconder containers globais, sem mexer em QR Presença.
*/

:root {
  --home-navy: #07152d;
  --home-blue: #1e63f0;
  --home-blue-2: #2d8cff;
  --home-green: #008e37;
  --home-text: #101828;
  --home-muted: #667085;
  --home-border: rgba(15, 23, 42, .10);
  --home-shadow: 0 18px 48px rgba(15, 23, 42, .08);
  --home-shadow-soft: 0 10px 26px rgba(15, 23, 42, .06);
}

.suprema-home-shell {
  width: 100%;
  display: grid;
  gap: 22px;
}

.suprema-home-hero {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 3.2vw, 42px);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.72);
  background:
    radial-gradient(circle at 92% 12%, rgba(45, 140, 255, .16), transparent 32%),
    radial-gradient(circle at 8% 90%, rgba(0, 142, 55, .10), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(247,250,255,.92));
  box-shadow: var(--home-shadow);
}

.suprema-home-hero::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 270px;
  height: 270px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(30,99,240,.13), rgba(0,142,55,.08));
}

.suprema-home-hero-content {
  position: relative;
  z-index: 1;
}

.suprema-home-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(30,99,240,.08);
  color: #1d4ed8;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.suprema-home-hero h1 {
  margin: 0;
  max-width: 820px;
  color: #0b1730;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 950;
}

.suprema-home-hero p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--home-muted);
  font-size: clamp(.98rem, 1.25vw, 1.08rem);
  line-height: 1.65;
}

.suprema-home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.suprema-home-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.78);
  color: #475467;
  font-size: .86rem;
  font-weight: 800;
}

.suprema-home-hero-mark {
  position: relative;
  z-index: 1;
  width: clamp(88px, 11vw, 130px);
  height: clamp(88px, 11vw, 130px);
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--home-shadow-soft);
}

.suprema-home-hero-mark img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.suprema-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 2px;
}

.suprema-section-title h2 {
  margin: 0;
  color: #0b1730;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -.03em;
  font-weight: 950;
}

.suprema-section-title p {
  margin: 6px 0 0;
  color: var(--home-muted);
}

.suprema-module-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: clamp(14px, 1.6vw, 22px) !important;
  align-items: stretch !important;
}

.suprema-module-card {
  min-height: 210px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 22px !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: var(--home-shadow-soft) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.suprema-module-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--home-shadow) !important;
  border-color: rgba(30,99,240,.18) !important;
}

.suprema-module-icon {
  width: 48px !important;
  height: 48px !important;
  display: inline-grid !important;
  place-items: center !important;
  margin-bottom: 16px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(30,99,240,.10), rgba(0,142,55,.08)) !important;
  color: #1d4ed8 !important;
  font-size: 1.25rem !important;
}

.suprema-module-card h3 {
  margin: 0 0 8px !important;
  color: #0b1730 !important;
  font-size: 1.08rem !important;
  font-weight: 950 !important;
  letter-spacing: -.025em !important;
}

.suprema-module-card p {
  margin: 0 0 18px !important;
  color: #667085 !important;
  line-height: 1.55 !important;
  font-size: .96rem !important;
}

.suprema-module-card .btn {
  align-self: flex-start !important;
  margin-top: auto !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  font-weight: 850 !important;
}

.suprema-home-panel {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--home-shadow-soft);
}

.suprema-pending-list {
  margin-top: 16px;
}

.suprema-pending-row {
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.82);
}

.suprema-empty-state {
  margin: 16px 0 0;
  padding: 18px;
  border-radius: 16px;
  background: rgba(30,99,240,.05);
  color: #475467;
}

@media (max-width: 860px) {
  .suprema-home-hero {
    grid-template-columns: 1fr;
    border-radius: 24px;
    padding: 24px 18px;
  }

  .suprema-home-hero-mark {
    display: none;
  }

  .suprema-module-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  .suprema-home-chips {
    display: grid;
  }

  .suprema-home-chips span {
    justify-content: center;
  }

  .suprema-module-card {
    min-height: 190px;
  }
}
