.doc-pacotes {
  width: min(1000px, calc(100% - 40px));
  padding-top: clamp(24px, 5vw, 52px);
}

.pacotes-capa {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  overflow: hidden;
  margin-bottom: 36px;
  border-radius: 20px;
  background: #f6efe3;
  box-shadow: inset 0 0 0 1px #ebdfcc;
}

.pacotes-capa-texto {
  align-self: center;
  padding: clamp(24px, 4.8vw, 52px);
}

.doc-pacotes .pacotes-capa h1 {
  font-size: clamp(2.45rem, 4.4vw, 4rem);
  line-height: .99;
  text-wrap: balance;
}

.doc-pacotes .pacotes-capa .lede2 {
  margin-bottom: 22px;
  font-size: 1rem;
}

.doc-pacotes a.pacotes-cotar {
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.pacotes-capa img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: 52% center;
}

.doc-pacotes > :is(h2, h3, p, ul) {
  max-width: 72ch;
}

.pacotes-rotas-grade {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.doc-pacotes .pacotes-rotas-grade a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid #e7dbca;
  border-radius: 14px;
  color: var(--petrol);
  text-decoration: none;
}

.doc-pacotes .pacotes-rotas-grade a:first-child {
  background: var(--petrol);
  border-color: var(--petrol);
  color: #fff;
}

.doc-pacotes .pacotes-rotas-grade a:is(:hover, :focus-visible) strong {
  text-decoration: underline;
  text-decoration-color: #d79b38;
  text-underline-offset: .18em;
}

.pacotes-rotas-grade a span:first-child {
  font-size: .76rem;
  font-weight: 700;
}

.pacotes-rotas-grade a strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.06;
}

.pacotes-rotas-grade a span:last-child {
  font-size: .9rem;
  line-height: 1.55;
}

.pacotes-ofertas {
  max-width: 65ch;
}

@media (max-width: 700px) {
  .pacotes-capa, .pacotes-rotas-grade { grid-template-columns: 1fr; }
  .pacotes-capa img { height: auto; min-height: 0; aspect-ratio: 16 / 8.5; }
}
