/* ============================================
   SETOR PÚBLICO PAGE — ESTILOS ESPECÍFICOS
   ============================================ */

/* ----------------------------------------
   HERO SECTION
---------------------------------------- */
.sp-hero {
  position: relative;
  min-height: 900px;
  background: linear-gradient(180deg, #ffffff 0%, #dfedff 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

.sp-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
.sp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ── Hero Left ── */
.sp-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 600px;
}

.sp-hero-headline {
  font-family: var(--font);
  font-weight: var(--weight-extrabold);
  font-size: 64px;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 32px;
}

/* ── Problem List ── */
.sp-problem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.sp-problem-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sp-problem-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.sp-problem-icon--bad  { background: #ff5b5b; }
.sp-problem-icon--good { background: #00b436; }

.sp-problem-icon svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

.sp-problem-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.sp-problem-text {
  font-family: var(--font);
  font-weight: var(--weight-medium);
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.sp-hero-left .btn-green {
  margin-top: 16px;
}

/* ── Hero Image ── */
.sp-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ----------------------------------------
   FEATURES SECTION
---------------------------------------- */
.sp-features {
  background: #ffffff;
  padding: 80px 0;
}

.sp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.sp-feature-card {
  background: #f8fafc;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.sp-feature-icon-wrap {
  flex-shrink: 0;
}

.sp-feature-icon-blue {
  width: 72px;
  height: 72px;
  background: #3b82f6;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-feature-icon-blue img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.sp-feature-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-feature-title {
  font-family: var(--font);
  font-weight: var(--weight-medium);
  font-size: 16px;
  color: #000000;
  line-height: 1.5;
  margin: 0;
}

.sp-feature-desc {
  font-family: var(--font);
  font-weight: var(--weight-medium);
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.sp-features-cta {
  text-align: center;
  padding-top: 8px;
}

/* ----------------------------------------
   PRINTER SHOWCASE
---------------------------------------- */
.sp-printer {
  background: #ffffff;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.sp-printer-img {
  max-width: 750px;
  width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

/* ----------------------------------------
   CASE / PROVA SOCIAL
---------------------------------------- */
.sp-case {
  background: #ffffff;
  padding: 80px 0;
}

.sp-case-card {
  background: linear-gradient(90deg, #ffffff 0%, #dfedff 100%);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 480px 1fr;
  align-items: center;
  overflow: hidden;
  min-height: 500px;
}

.sp-case-left {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 60px 0 0 60px;
}

.sp-case-photo-wrap {
  width: 100%;
  height: 420px;
  background: linear-gradient(180deg, #93c5fd 0%, #0047ff 100%);
  border-radius: 10px;
  overflow: hidden;
}
.sp-case-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.sp-case-right {
  padding: 60px 60px 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sp-case-title {
  font-family: var(--font);
  font-weight: var(--weight-extrabold);
  font-size: 36px;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0;
}

.sp-case-desc {
  font-family: var(--font);
  font-weight: var(--weight-medium);
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.sp-case-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.sp-case-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* ----------------------------------------
   BOTTOM CTA
---------------------------------------- */
.sp-bottom-cta {
  background: #ffffff;
  padding: 120px 0;
  text-align: center;
}

.sp-cta-headline {
  font-family: var(--font);
  font-weight: var(--weight-extrabold);
  font-size: 64px;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -2px;
  margin: 0 auto 24px;
  max-width: 752px;
}

.sp-cta-desc {
  font-family: var(--font);
  font-weight: var(--weight-medium);
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 auto 40px;
  max-width: 520px;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 1024px) {
  .sp-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sp-hero-headline {
    font-size: 42px;
    text-align: center;
  }

  .sp-hero-left {
    align-items: center;
  }

  .sp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-case-card {
    grid-template-columns: 1fr;
  }

  .sp-case-left {
    padding: 40px 40px 0;
    height: 280px;
  }

  .sp-cta-headline {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .sp-hero {
    padding-top: 60px;
    padding-bottom: 40px;
    min-height: auto;
  }

  .sp-hero-headline {
    font-size: 32px;
  }

  .sp-features {
    padding: 60px 0 40px;
  }

  .sp-features-grid {
    grid-template-columns: 1fr;
  }

  .sp-printer {
    padding: 60px 0 40px;
  }

  .sp-case {
    padding: 60px 0 40px;
  }

  .sp-case-right {
    padding: 32px;
  }

  .sp-bottom-cta {
    padding: 80px 0 60px;
  }

  .sp-cta-headline {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .sp-hero-headline {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .sp-problem-text {
    font-size: 12px;
  }

  .sp-hero-left .btn-green {
    width: 100%;
    justify-content: center;
  }

  .sp-feature-card {
    padding: 24px 20px;
  }

  .sp-case-title {
    font-size: 24px;
  }

  .sp-cta-headline {
    font-size: 20px;
  }

  .sp-bottom-cta .btn-green {
    width: 100%;
    justify-content: center;
  }
}
