/* Voltar a Casa - packs tradicionais por país */

.vac-page {
  --vac-dark: #1a1410;
  --vac-orange: var(--kn-orange, #F25C54);
  --vac-yellow: var(--kn-yellow, #F7B267);
  --vac-cream: #fff8ee;
  --vac-grey: #f3f3f1;
  background: var(--c-bg, #f7f6f3);
}

/* ── Hero ── */
.vac-hero {
  background: linear-gradient(145deg, var(--vac-dark) 0%, #2d2418 55%, #3a2e1e 100%);
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.vac-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(242, 92, 84, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(247, 178, 103, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.vac-hero__inner {
  max-width: var(--max, 1280px);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2.25rem;
  position: relative;
  z-index: 1;
}
.vac-hero h1,
.vac-hero__sub {
  max-width: 40rem;
}
.vac-hero__logo {
  display: block;
  width: min(220px, 55vw);
  height: auto;
  margin: 0 0 1.1rem;
}
.vac-hero__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(247, 178, 103, 0.2);
  border: 1px solid rgba(247, 178, 103, 0.45);
  color: #ffe08a;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}
.vac-hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.vac-hero h1 em {
  font-style: normal;
  color: var(--vac-yellow);
}
.vac-hero__sub {
  font-size: 1.02rem;
  opacity: 0.9;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.vac-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.vac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: inherit;
}
.vac-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}
.vac-btn--yellow {
  background: var(--vac-yellow);
  color: #1a1410;
}
.vac-btn--yellow:hover { background: #e6bb00; color: #1a1410; }
.vac-btn--orange {
  background: var(--vac-orange);
  color: #fff;
}
.vac-btn--orange:hover { background: #e55f00; color: #fff; }
.vac-btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.vac-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.vac-btn--grey {
  background: var(--vac-grey);
  color: #1a1410;
  border: 1px solid #e6e6e3;
}
.vac-btn--grey:hover { background: #eaeae8; color: #1a1410; }
.vac-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Country chips ── */
.vac-countries {
  max-width: var(--max, 1280px);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0.5rem;
}
.vac-countries__head {
  margin-bottom: 1rem;
}
.vac-countries__head h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--c-text, #1a0c00);
}
.vac-countries__head p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--c-text-muted, #5c4a32);
}
.vac-countries__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.vac-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: #f3f3f1;
  border: 1px solid #e6e6e3;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1a1410;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.vac-chip:hover { background: #ebebe9; transform: translateY(-1px); }
.vac-chip.is-active {
  background: var(--vac-yellow);
  border-color: var(--vac-yellow);
  color: #1a1410;
}
.vac-chip__flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.vac-chip__emoji { font-size: 1.1rem; line-height: 1; }

/* ── Packs grid ── */
.vac-packs {
  max-width: var(--max, 1280px);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}
.vac-packs__grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .vac-packs__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .vac-packs__grid { grid-template-columns: repeat(3, 1fr); }
}

.vac-pack {
  background: #fff;
  border: 1px solid #e6e6e3;
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  animation: vac-fade-up 0.45s ease both;
}
.vac-pack:hover {
  border-color: #d8d8d4;
  box-shadow: 0 10px 28px rgba(26, 20, 16, 0.08);
  transform: translateY(-2px);
}
.vac-pack__top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.vac-pack__flag-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--vac-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.vac-pack__flag-wrap img {
  width: 32px;
  height: 22px;
  object-fit: cover;
  border-radius: 3px;
}
.vac-pack__flag-wrap span { font-size: 1.5rem; }
.vac-pack__meta { min-width: 0; flex: 1; }
.vac-pack__country {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vac-orange);
  margin: 0 0 0.2rem;
}
.vac-pack__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: #1a1410;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.vac-pack__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #5c5c5c;
}
.vac-pack__thumbs {
  display: flex;
  gap: 0.4rem;
  min-height: 56px;
}
.vac-pack__thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--vac-grey);
  border: 1px solid #ececea;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vac-pack__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.vac-pack__thumb--more {
  font-size: 0.75rem;
  font-weight: 800;
  color: #666;
}
.vac-pack__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.25rem;
  border-top: 1px solid #f0f0ee;
}
.vac-pack__price {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.vac-pack__price-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.vac-pack__price-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #1a1410;
  letter-spacing: -0.02em;
}
.vac-pack__price-val small {
  font-size: 0.78rem;
  font-weight: 600;
  color: #888;
}
.vac-pack__was {
  font-size: 0.85rem;
  font-weight: 600;
  color: #9a9a96;
  text-decoration: line-through;
}
.vac-pack__now {
  color: #c2410c;
}
.vac-pack__disc {
  display: inline-block;
  margin-left: 0.15rem;
  padding: 0.08rem 0.35rem;
  border-radius: 999px;
  background: #fff1e6;
  color: #c2410c;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.vac-pack__badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: #fff1e6;
  color: #c2410c;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  vertical-align: middle;
}
.vac-pack__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}
.vac-pack__actions .vac-btn {
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  border-radius: 9px;
}

.vac-packs__empty,
.vac-packs__loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: #666;
  font-weight: 600;
}
.vac-packs__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

/* ── Detail drawer / panel ── */
.vac-detail {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.vac-detail.is-open {
  pointer-events: auto;
  opacity: 1;
}
.vac-detail__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 8, 0.45);
  border: none;
  cursor: pointer;
}
.vac-detail__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  width: min(640px, 100%);
  max-height: min(88vh, 820px);
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(24px);
  transition: transform 0.25s ease;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18);
}
.vac-detail.is-open .vac-detail__panel { transform: translateY(0); }
@media (min-width: 720px) {
  .vac-detail {
    align-items: center;
    padding: 1.5rem;
  }
  .vac-detail__panel {
    border-radius: 20px;
    max-height: min(85vh, 760px);
  }
}
.vac-detail__head {
  padding: 1.25rem 1.25rem 0.85rem;
  border-bottom: 1px solid #f0f0ee;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.vac-detail__head-text { flex: 1; min-width: 0; }
.vac-detail__head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.vac-detail__head p {
  margin: 0;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.45;
}
.vac-detail__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e6e6e3;
  background: var(--vac-grey);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}
.vac-detail__body {
  padding: 0.75rem 1.25rem;
  overflow-y: auto;
  flex: 1;
}
.vac-detail__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f3f3f1;
}
.vac-detail__item:last-child { border-bottom: none; }
.vac-detail__item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--vac-grey);
  padding: 4px;
  flex-shrink: 0;
}
.vac-detail__item-info { flex: 1; min-width: 0; }
.vac-detail__item-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1a1410;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vac-detail__item-brand {
  font-size: 0.78rem;
  color: #888;
  display: block;
}
.vac-detail__item-unit {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #6b6b6b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vac-detail__item-price {
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
  align-self: flex-start;
  padding-top: 0.1rem;
}
.vac-detail__item--miss {
  opacity: 0.7;
}
.vac-detail__item--miss .vac-detail__item-name { color: #888; }
.vac-detail__foot {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #f0f0ee;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #fffcf7;
  border-radius: 0 0 20px 20px;
}
.vac-detail__total {
  font-size: 0.85rem;
  color: #666;
}
.vac-detail__total strong {
  display: block;
  font-size: 1.25rem;
  color: #1a1410;
  font-weight: 900;
}

/* ── Why + explore ── */
.vac-why {
  background: #fff;
  border-top: 1px solid #eaeae8;
  border-bottom: 1px solid #eaeae8;
  padding: 2.5rem 1.25rem;
}
.vac-why__inner {
  max-width: var(--max, 1280px);
  margin: 0 auto;
}
.vac-why__head {
  margin-bottom: 1.5rem;
  max-width: 36rem;
}
.vac-why__head h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
}
.vac-why__head p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}
.vac-why__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .vac-why__grid { grid-template-columns: repeat(3, 1fr); }
}
.vac-why-card {
  padding: 1.15rem 1.1rem;
  border-radius: 14px;
  background: var(--vac-grey);
  border: 1px solid #e6e6e3;
}
.vac-why-card__icon {
  font-size: 1.5rem;
  margin-bottom: 0.55rem;
}
.vac-why-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}
.vac-why-card p {
  margin: 0;
  font-size: 0.86rem;
  color: #5c5c5c;
  line-height: 1.5;
}

.vac-explore {
  max-width: var(--max, 1280px);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem;
}
.vac-explore h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}
.vac-explore > p {
  margin: 0 0 1.15rem;
  color: #666;
  font-size: 0.92rem;
}
.vac-explore__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .vac-explore__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .vac-explore__grid { grid-template-columns: repeat(6, 1fr); }
}
.vac-explore__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 0.75rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6e6e3;
  text-decoration: none;
  color: #1a1410;
  font-weight: 700;
  font-size: 0.88rem;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.vac-explore__link:hover {
  border-color: var(--vac-yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: #1a1410;
}
.vac-explore__link img {
  width: 36px;
  height: 24px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.vac-explore__link span.emoji { font-size: 1.4rem; }

.vac-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #1a1410;
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 1400;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.vac-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes vac-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .vac-pack,
  .vac-detail,
  .vac-detail__panel,
  .vac-toast,
  .vac-btn,
  .vac-chip,
  .vac-explore__link {
    animation: none !important;
    transition: none !important;
  }
}
