/* /pacotes/{país}: barra de destinos, foto grande com busca, cartões de jornada sem preço. Tokens do Design System v2. */
.pac-paises, .pac-paises *, .pac-hero, .pac-hero *, .pac, .pac * { box-sizing: border-box; }

/* ① Barra de destinos */
.pac-paises { background: var(--fundo-alto, #f7f1e4); border-bottom: 1px solid var(--fundo-baixo, #e6dbc4); }
.pac-paises__lista { display: flex; gap: clamp(12px, 2vw, 26px); justify-content: center; max-width: 1240px; margin: 0 auto; padding: 18px 20px 14px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.pac-paises__lista::-webkit-scrollbar { display: none; }
.pac-paises__item { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 72px; color: var(--tinta-media, #5d4a37); font-size: 14px; text-decoration: none; }
.pac-paises__item img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid transparent; transition: border-color .35s ease, transform .35s ease; }
.pac-paises__item:hover img { transform: translateY(-2px); border-color: var(--fundo-baixo, #e6dbc4); }
.pac-paises__item.is-atual { color: var(--tinta, #33261a); font-weight: 600; }
.pac-paises__item.is-atual img { border-color: var(--acento-forte, #8f4a1f); }
.pac-paises__item.is-atual span { border-bottom: 2px solid var(--acento-forte, #8f4a1f); }
.pac-paises__item:focus-visible { outline: 3px solid var(--acento, #b4741f); outline-offset: 3px; border-radius: 6px; }

/* ② Topo */
.pac-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(440px, 46vw, 600px); color: #fff; isolation: isolate; }
.pac-hero__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pac-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18, 41, 63, .82) 0%, rgba(18, 41, 63, .35) 45%, rgba(18, 41, 63, .1) 100%); }
.pac-hero__miolo { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px 34px; }
.pac-trilha { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 15px; }
.pac-trilha li + li::before { content: "›"; margin-right: 8px; opacity: .8; }
.pac-trilha a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pac-hero__titulo { margin: 0; color: #fff; font-family: var(--f-pagina, "Source Serif 4", Georgia, serif); font-size: clamp(36px, 5.2vw, 64px); font-weight: 400; line-height: 1.06; letter-spacing: -.015em; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.pac-hero__credito { position: absolute; right: 12px; top: 10px; margin: 0; color: rgba(255, 255, 255, .8); font-size: 12px; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.pac-hero .pac-hero__sub { margin: 12px 0 0; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); font-size: clamp(17px, 1.6vw, 20px); }

/* ③ Busca */
.pac-busca { position: relative; width: calc(100% - 40px); max-width: 1200px; margin: 0 auto -64px; padding: 22px 26px 18px; border-radius: 10px; background: var(--navy, #12293f); box-shadow: 0 18px 44px rgba(18, 41, 63, .3); }
.pac-busca__titulo { margin: 0 0 14px; color: #fff; font-family: var(--f-pagina, "Source Serif 4", Georgia, serif); font-size: 24px; }
.pac-busca__campos { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.pac-busca__zap { display: inline-block; margin-top: 12px; color: #fff; font-size: 16px; text-underline-offset: 3px; }
.pac-campo { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.pac-busca .pac-campo span { color: rgba(255, 255, 255, .85); }
.pac-campo select, .pac-campo input { width: 100%; min-height: 56px; padding: 12px 14px; border: 1px solid var(--fundo-baixo, #e6dbc4); border-radius: 6px; background: #fff; color: var(--tinta, #33261a); font: inherit; font-size: 17px; }
.pac-campo select:focus-visible, .pac-campo input:focus-visible { outline: 3px solid var(--acento, #b4741f); outline-offset: 1px; }

/* Botões */
.pac-bt { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 28px; border: 2px solid transparent; border-radius: 3px; font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: background-color .35s ease, transform .35s ease; }
.pac-bt--terracota { background: var(--acento-forte, #8f4a1f); color: #fff !important; }
.pac-bt--terracota:hover { background: #7a3d17; transform: translateY(-2px); }
.pac-bt--navy { background: var(--navy, #12293f); color: #fff !important; }
.pac-bt--navy:hover { background: #1c3b59; transform: translateY(-2px); }
.pac-bt--linha { border-color: var(--navy, #12293f); background: transparent; color: var(--navy, #12293f) !important; }
.pac-bt--linha:hover { background: var(--navy, #12293f); color: #fff !important; }
.pac-bt:focus-visible { outline: 3px solid var(--acento, #b4741f); outline-offset: 3px; }

/* Página */
.pac { max-width: 1240px; margin: 0 auto; padding: 100px 20px 72px; }
.pac-resumo { margin: 0 0 8px; color: var(--tinta-media, #5d4a37); font-size: 18px; }
.pac-resumo strong { color: var(--tinta, #33261a); }
.pac-secao { margin-top: 56px; }
.pac-secao__titulo { margin: 0 0 22px; color: var(--tinta, #33261a); font-family: var(--f-pagina, "Source Serif 4", Georgia, serif); font-size: clamp(28px, 3vw, 38px); font-weight: 400; line-height: 1.12; }
.pac-vazio { padding: 18px 20px; border-left: 3px solid var(--acento, #b4741f); background: var(--superficie, #faf7ef); font-size: 17px; }

/* ⑤ Cartões */
.pac-cartoes { display: grid; gap: 24px; }
.pac-cartao { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--fundo-baixo, #e6dbc4); border-radius: 8px; background: var(--superficie, #faf7ef); }
.pac-cartao[hidden] { display: none; }
.pac-cartao__foto { display: block; min-height: 100%; background: var(--fundo-baixo, #e6dbc4); }
.pac-cartao__foto img { display: block; width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.pac-cartao__corpo { padding: 24px 28px; }
.pac-cartao__titulo { margin: 0 0 10px; font-family: var(--f-pagina, "Source Serif 4", Georgia, serif); font-size: 28px; font-weight: 400; line-height: 1.15; }
.pac-cartao__titulo a { color: var(--tinta, #33261a); text-decoration: none; }
.pac-cartao__titulo a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pac-cartao__sub { margin: 0 0 14px; color: var(--tinta-media, #5d4a37); font-size: 17px; line-height: 1.55; }
.pac-selos { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.pac-selo { padding: 5px 12px; border-radius: 20px; background: var(--fundo, #f0e8d8); color: var(--tinta, #33261a); font-size: 14px; }
.pac-selo--grupo { background: var(--navy, #12293f); color: #fff; }
.pac-cidades { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0 0 14px; padding: 0; list-style: none; font-size: 16px; }
.pac-cidades li { color: var(--tinta, #33261a); }
.pac-cidades li + li::before { content: "›"; margin: 0 8px; color: var(--acento, #b4741f); }
.pac-meses { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 16px; }
.pac-meses > span:first-child { color: var(--tinta-media, #5d4a37); }
.pac-mes { padding: 4px 10px; border: 1px solid var(--acento, #b4741f); border-radius: 4px; color: var(--acento-forte, #8f4a1f); font-weight: 600; }
.pac-cartao__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ⑥ Tabela */
.pac-tabela { width: 100%; border-collapse: collapse; font-size: 17px; }
.pac-tabela th, .pac-tabela td { padding: 14px 16px; border-bottom: 1px solid var(--fundo-baixo, #e6dbc4); text-align: left; vertical-align: top; }
.pac-tabela thead th { color: var(--tinta-media, #5d4a37); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pac-tabela tbody th { width: 34%; font-weight: 600; text-transform: capitalize; }
.pac-tabela a { color: var(--tinta, #33261a); text-underline-offset: 3px; }

/* ⑦ Cidades */
.pac-grade-cidades { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pac-cidade { padding: 16px 18px; border: 1px solid var(--fundo-baixo, #e6dbc4); border-radius: 6px; background: var(--superficie, #faf7ef); }
.pac-cidade__nome { display: block; color: var(--tinta, #33261a); font-family: var(--f-pagina, "Source Serif 4", Georgia, serif); font-size: 21px; }
a.pac-cidade__nome { text-underline-offset: 4px; }
.pac-cidade__jornadas { display: block; margin-top: 4px; color: var(--tinta-media, #5d4a37); font-size: 14px; line-height: 1.45; }

/* ⑧ Texto */
.pac-texto { max-width: 760px; margin-left: auto; margin-right: auto; font-size: 18px; line-height: 1.7; }
.pac-texto h2 { margin: 48px 0 14px; font-family: var(--f-pagina, "Source Serif 4", Georgia, serif); font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; line-height: 1.15; }
.pac-texto h3 { margin: 28px 0 8px; font-size: 20px; line-height: 1.3; }
.pac-texto figure { margin: 28px 0; }
.pac-texto figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.pac-texto figcaption { margin-top: 8px; color: var(--tinta-media, #5d4a37); font-size: 14px; line-height: 1.45; }
.pac-texto blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--acento, #b4741f); font-family: var(--f-pagina, "Source Serif 4", Georgia, serif); font-size: 22px; line-height: 1.45; }
.pac-texto table { display: table; width: 100%; max-width: 100%; margin: 24px 0; overflow-x: auto; border-collapse: collapse; font-size: 15px; line-height: 1.45; -webkit-overflow-scrolling: touch; }
.pac-texto th, .pac-texto td { padding: 10px 12px; border-bottom: 1px solid var(--fundo-baixo, #e6dbc4); text-align: left; vertical-align: top; }
.pac-texto thead th { background: var(--fundo-alto, #f7f1e4); font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.pac-texto td:first-child { font-weight: 600; }

/* ⑩ Links */
.pac-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding-top: 40px; border-top: 1px solid var(--fundo-baixo, #e6dbc4); }
.pac-links__tit { margin: 0 0 12px; color: var(--tinta, #33261a); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.pac-links ul { margin: 0; padding: 0; list-style: none; }
.pac-links li { margin: 0 0 8px; font-size: 16px; line-height: 1.4; }
.pac-links a { color: var(--tinta-media, #5d4a37); text-underline-offset: 3px; }
.pac-links a:hover { color: var(--tinta, #33261a); }

/* ⑪ Contato */
.pac-contato { padding: 36px clamp(20px, 4vw, 48px); border-radius: 10px; background: var(--fundo-alto, #f7f1e4); }
.pac-contato__intro { margin: 0 0 20px; font-size: 18px; }
.pac-contato__ok { font-size: 18px; }
.pac-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.pac-form .pac-campo span { color: var(--tinta, #33261a); font-weight: 600; }
.pac-lgpd { display: flex; grid-column: 1 / -1; gap: 10px; align-items: flex-start; font-size: 15px; }
.pac-lgpd input { width: 22px; height: 22px; margin-top: 2px; }
.pac-form__erro { grid-column: 1 / -1; margin: 0; color: #9e3b32; font-weight: 600; }
.pac-form__erro:empty { display: none; }
.pac-form .pac-bt { grid-column: 1 / -1; justify-self: start; }
.pac-isca { position: absolute; left: -9999px; }

@media (max-width: 860px) {
  .pac-paises__lista { justify-content: flex-start; }
  .pac-busca__campos { grid-template-columns: 1fr; }
  .pac-cartao { grid-template-columns: minmax(0, 1fr); }
  .pac-cartao__foto img { min-height: 0; aspect-ratio: 16 / 9; }
  .pac-form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .pac-texto table { display: block; }
  .pac-texto th, .pac-texto td { min-width: 130px; }
}
@media (max-width: 560px) {
  .pac-busca { width: calc(100% - 24px); padding: 18px; margin-bottom: -40px; }
  .pac { padding-top: 70px; }
  .pac-cartao__corpo { padding: 20px; }
  .pac-cartao__acoes .pac-bt, .pac-form .pac-bt { width: 100%; }
  .pac-tabela tbody th { width: 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .pac-bt, .pac-paises__item img { transition: none; }
  .pac-bt:hover, .pac-paises__item:hover img { transform: none; }
}
