/* Estilos compartilhados das páginas institucionais - Hora de Dormir */
.inst-main {
  background: #f6f8fc;
  padding: 24px 0 64px;
}

.inst-breadcrumb {
  margin-bottom: 22px;
}

.inst-hero {
  background: linear-gradient(125deg, #071f48 0%, #0e2857 65%, #102a56 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 36px 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(7, 31, 72, 0.14);
}

.inst-hero::after {
  content: '';
  position: absolute;
  right: -70px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(245, 39, 140, 0.14);
  pointer-events: none;
}

.inst-kicker {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #ff69b4;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.inst-hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  font-weight: 800;
  color: #ffffff;
  text-wrap: balance;
  position: relative;
  z-index: 1;
}

.inst-title-bar {
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: var(--pink);
  margin: 14px 0 16px;
  position: relative;
  z-index: 1;
}

.inst-hero-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: #e4ecf8;
  max-width: 64ch;
  position: relative;
  z-index: 1;
}

.inst-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.inst-article {
  background: #ffffff;
  border: 1px solid #e2e8f2;
  border-radius: 20px;
  padding: 34px 36px;
  box-shadow: 0 10px 28px rgba(7, 31, 72, 0.05);
}

.inst-section + .inst-section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid #e8edf5;
}

.inst-section h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 800;
  color: var(--text-navy);
  text-wrap: balance;
}

.inst-section p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.72;
  color: #2f405c;
}

.inst-section p:last-child {
  margin-bottom: 0;
}

.inst-list {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.inst-list li {
  font-size: 14.8px;
  line-height: 1.65;
  color: #2f405c;
}

.inst-list li strong {
  color: var(--text-navy);
}

/* Passos numerados (Como Comprar) */
.inst-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.inst-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf1f7;
}

.inst-step:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.inst-step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fde8f2;
  color: var(--pink);
  font-size: 16px;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}

.inst-step h3 {
  margin: 0 0 4px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-navy);
}

.inst-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: #3b4d6b;
}

/* Barra lateral de apoio e navegação entre páginas */
.inst-aside {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 20px;
}

.inst-side-card {
  background: #ffffff;
  border: 1px solid #e2e8f2;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(7, 31, 72, 0.05);
}

.inst-side-card h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-navy);
}

.inst-side-card p {
  margin: 0 0 16px;
  font-size: 13.8px;
  line-height: 1.58;
  color: #425370;
}

.inst-side-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--pink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(245, 39, 140, 0.22);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.inst-side-wa:hover {
  background: var(--pink-hover);
  transform: translateY(-1px);
}

.inst-side-wa svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.inst-side-address {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e9eef6;
  font-size: 13px;
  line-height: 1.5;
  color: #465772;
}

.inst-side-address strong {
  display: block;
  color: var(--text-navy);
  margin-bottom: 3px;
}

.inst-side-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.inst-side-links a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13.8px;
  font-weight: 600;
  color: #2f405c;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.inst-side-links a:hover {
  background: #f3f6fb;
  color: var(--pink);
}

.inst-side-links a.active {
  background: #fdebf4;
  color: var(--pink);
  font-weight: 700;
}

.inst-updated {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #e8edf5;
  font-size: 13px;
  color: #5b6b84;
}

@media (max-width: 920px) {
  .inst-layout {
    grid-template-columns: 1fr;
  }

  .inst-aside {
    position: static;
  }
}

@media (max-width: 650px) {
  .inst-main {
    padding: 16px 0 44px;
  }

  .inst-hero {
    padding: 26px 22px;
    border-radius: 18px;
    margin-bottom: 22px;
  }

  .inst-article {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .inst-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .inst-step-num {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}
