#segmentos { scroll-margin-top: 5.5rem; }
.segments { border-top: 1px solid #dce8f4; }
.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 1.5rem;
}
.segment-card {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1rem;
  min-height: 4rem;
  color: #102c50;
  background: #fff;
  border: 1px solid #d5e4f2;
  border-radius: .9rem;
  text-decoration: none;
  font-weight: 700;
}
.segment-card svg { width: 1.65rem; height: 1.65rem; color: #005f9e; }
.segment-arrow { color: #005f9e; }
.segment-card:hover, .segment-card:focus-visible {
  background: #edf7ff;
  border-color: #3978a6;
}
.segment-card:focus-visible, .segment-back:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.segment-page .hero { min-height: 0; }
.segment-page .hero-grid { gap: clamp(.75rem, 2vw, 2rem); min-height: 0; padding-block: clamp(.75rem, 3svh, 2rem); }
.segment-page .hero h1 {
  font-size: clamp(1.8rem, min(4.2vw, 8svh), 3.5rem);
  line-height: 1.07;
  letter-spacing: -.035em;
  margin: .5rem 0 .65rem;
}
.segment-page .copy { padding: 0; }
.segment-back { color: #d8eefe; text-decoration: underline; text-underline-offset: .2em; }
.segment-screen { width: 100%; margin: 0; }
.segment-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(69svh, 34rem);
  object-fit: contain;
  filter: drop-shadow(0 20px 30px #03172c80);
}
.segment-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .segment-page .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: calc(100svh - 78px);
  }
}
@media (max-width: 767px) {
  .segment-page .hero-grid { gap: .45rem; }
  .segment-page .hero h1 { font-size: clamp(1.65rem, 6vw, 2.15rem); }
  .segment-screen img { max-height: min(37svh, 18rem); }
  .segment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segment-page .segment-features { grid-template-columns: 1fr; }
}
@media (max-width: 530px) {
  .segment-grid { grid-template-columns: 1fr; }
}
