/* Estilos exclusivos da pagina de pacotes. */

/* =========================================
   PAGINA DE PACOTES
========================================== */
body.odypark-pacotes-page {
  overflow-x: hidden;
}

.hero-wrap--pacotes {
  position: relative;
  z-index: 4;
  isolation: isolate;
  overflow: clip;
  background-color: #fff;
}

.hero-wrap--pacotes::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/pacotes/fundo-completo.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  content: '';
  transform: scaleY(1.6);
  transform-origin: top center;
  pointer-events: none;
}

.packages-page {
  --ody-blue: #003f7f;
  --ody-blue-border: #0976a5;
  --ody-sky: #71c0f4;
  --ody-pink: #ed368f;
  --ody-yellow: #ffd700;
  --ody-slate: #45556c;
  position: relative;
  width: 100%;
  overflow: clip;
  color: var(--ody-blue);
  background: #fff;
  font-family: "Inter", Arial, sans-serif;
}

.hero-wrap--pacotes .packages-page {
  background: transparent;
}

.packages-hero {
  position: relative;
  z-index: 1;
  height: clamp(640px, 56.94vw, 820px);
  background: transparent;
}

.packages-hero__blob-wrap,
.packages-hero__white-field,
.packages-hero__suitcase,
.packages-hero__glasses,
.packages-hero__wave {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.packages-hero__white-field {
  z-index: 4;
  top: 61%;
  left: 0;
  width: 100%;
  height: 217.8%;
}

.packages-hero__blob-wrap {
  z-index: 2;
  top: 13%;
  left: 50%;
  width: min(50vw, 720px);
  transform: translateX(-50%);
}

.packages-hero__blob {
  display: block;
  width: 100%;
  height: auto;
}

.packages-hero__title {
  --ody-hero-title-color: #fff;
  --ody-hero-title-fill: linear-gradient(180deg, #fff 0%, #eef6ff 100%);
  --ody-hero-title-outline: #0f63af;
  --ody-hero-title-outline-width: clamp(2px, 0.3vw, 4px);
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 88%;
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  text-shadow: 0 4px 0 rgb(184 91 0 / 28%);
  transform: translate(-50%, -50%);
}

.packages-hero__suitcase {
  z-index: 6;
  top: 43%;
  left: calc(50% + 245px);
  width: min(16vw, 230px);
  height: auto;
}

.packages-hero__glasses {
  z-index: 6;
  top: 57%;
  left: calc(50% - 525px);
  width: min(12vw, 170px);
  height: auto;
}

.packages-hero__wave {
  z-index: 5;
  top: 23.52%;
  left: -18.7%;
  width: 140.94%;
  height: 117.59%;
}

.packages-section {
  position: relative;
  z-index: 4;
  margin-top: 40px;
  padding: 44px 24px 56px;
  background: var(--ody-sky);
}

/* O footer permanece abaixo da secao; esta camada refaz a transicao
   ondulada do layout original sem substituir o rodape do tema. */
body.odypark-pacotes-page .rodape-background {
  z-index: 0;
  padding-top: clamp(220px, 20vw, 310px);
}

body.odypark-pacotes-page .rodape-background::after {
  position: absolute;
  z-index: 1;
  top: -520px;
  left: 50%;
  width: max(2200px, 145vw);
  height: 1040px;
  background: url('../images/pacotes/group-10.svg') center / 100% 100% no-repeat;
  content: '';
  transform: translateX(-50%) rotate(-177.24deg);
  transform-origin: center;
  pointer-events: none;
}

.packages-page .package-grid {
  width: 100%;
  max-width: 1128px;
  padding: 0;
}

.packages-page .package-grid > .row {
  --bs-gutter-x: 0;
  gap: 24px;
  margin: 0;
}

.packages-page .package-col {
  flex: 0 0 360px;
  width: 360px;
  max-width: 360px;
  padding: 0;
}

.packages-empty {
  margin: 80px auto;
  color: var(--ody-blue);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  text-align: center;
}

.packages-page .package-card {
  display: flex;
  height: 470px;
  min-height: 470px;
  max-height: 470px;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
}

.packages-page .package-card__media {
  position: relative;
  height: 260px;
  flex: 0 0 260px;
  overflow: hidden;
}

.packages-page .package-card__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.packages-page .package-card__badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  color: var(--ody-blue);
  background: var(--ody-yellow);
  border-radius: 999px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%);
  font-size: 12px;
  font-weight: 900;
  line-height: 18px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.packages-page .package-card__body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  padding: 22px 24px;
  text-align: center;
}

.packages-page .package-card h3 {
  display: -webkit-box;
  min-height: 28px;
  max-height: 28px;
  overflow: hidden;
  margin: 0;
  color: var(--ody-blue);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 28px;
  letter-spacing: -0.4px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.packages-page .package-card p {
  display: -webkit-box;
  min-height: 44px;
  max-height: 44px;
  overflow: hidden;
  margin: 0;
  color: var(--ody-slate);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.packages-page .package-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: auto;
  padding: 14px 16px;
  color: #fff;
  background: var(--ody-blue);
  border: 1px solid var(--ody-blue-border);
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.packages-page .package-card__button:hover {
  background: #075996;
  box-shadow: 0 8px 18px rgb(0 63 127 / 24%);
  transform: translateY(-2px);
}

.packages-page .package-card__button:focus-visible {
  outline: 4px solid rgb(255 215 0 / 80%);
  outline-offset: 3px;
}
