/* ---------- Hero: cartão do pacote ---------- */
.packcard { width: min(100%, 390px); padding: 22px; display: flex; flex-direction: column; gap: 14px; transform: rotate(2deg); }
.pack-head { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pack-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.pack-list li { display: flex; align-items: center; gap: 11px; }
.pack-list i { width: 18px; height: 18px; border-radius: 50%; flex: none; background: rgba(255, 122, 26, .2); border: 1px solid rgba(255, 140, 50, .6); position: relative; }
.pack-list i::after { content: ""; position: absolute; left: 5px; top: 3px; width: 5px; height: 8px; border: solid var(--orange); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pack-foot { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 14px; background: rgba(93, 255, 160, .12); border: 1px solid rgba(93, 255, 160, .35); font-size: 14px; color: #b9ffd6; }

.also { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- Nichos ---------- */
.nichos { align-items: center; text-align: center; gap: clamp(10px, 1.8vh, 18px); }
.nichos h2 { max-width: none; font-size: clamp(24px, 3.2vw, 44px); }
.ntabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; max-width: 1180px; }
.ntab {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; cursor: pointer;
  font: 500 14px Inter, sans-serif; color: var(--muted); white-space: nowrap;
  background: var(--glass); border: 1px solid rgba(255, 170, 100, .2);
  transition: color .25s, background .25s, border-color .25s, transform .25s var(--ease);
}
.ntab svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ntab:hover { color: var(--text); border-color: rgba(255, 170, 100, .5); }
.ntab:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.ntab[aria-selected="true"] { color: #1a0a02; font-weight: 600; background: linear-gradient(135deg, #ffa24d, var(--orange-hot)); border-color: transparent; box-shadow: 0 8px 24px rgba(255, 90, 0, .35); }

.npanels { width: 100%; max-width: 1180px; text-align: left; }
.npanel[hidden] { display: none; }
.npanel { display: flex; flex-direction: column; gap: clamp(10px, 1.6vh, 16px); }
.npanel:not([hidden]) { animation: npin .4s var(--ease); }
@keyframes npin { from { opacity: 0; } to { opacity: 1; } }
.nhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.nhead h3 { font-size: clamp(20px, 2vw, 26px); color: var(--text); }
.nwho { color: var(--muted); font-size: 14px; }
.ngroups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.ngroup { padding: clamp(14px, 1.4vw, 20px); display: flex; flex-direction: column; gap: 10px; }
.ngroup h4 { margin: 0; font: 700 12px Sora, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--text); line-height: 1.4; }
.clist li { padding-left: 22px; position: relative; }
.clist li::before { content: ""; position: absolute; left: 1px; top: .38em; width: 11px; height: 6px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.nkey { padding: 12px 16px; border-radius: 14px; font-size: 14px; color: var(--text); background: rgba(255, 122, 26, .12); border: 1px solid rgba(255, 140, 50, .4); }
.nkey b { color: var(--amber); }
.nmore { color: var(--muted); font-size: 14px; }
.nmore a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px), (max-aspect-ratio: 1/1) {
  .packcard { transform: none; width: min(100%, 440px); }
  .ngroups { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ntabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ntabs::-webkit-scrollbar { display: none; }
  .ntab { padding: 8px 13px; font-size: 13px; }
  .clist { font-size: 13px; gap: 6px; }
  .ngroup { padding: 12px 14px; gap: 8px; }
  .nhead { flex-direction: column; gap: 2px; }
}
@media (max-width: 560px) {
  .nichos h2 { font-size: 22px; }
  .nkey, .nmore { font-size: 13px; }
}
@media (max-aspect-ratio: 1/1) and (min-width: 700px) {
  .ntab { font-size: 18px; padding: 12px 20px; }
  .clist, .nkey, .nmore, .nwho { font-size: clamp(16px, 2vw, 20px); }
  .ngroup h4 { font-size: 15px; }
  .pack-list { font-size: 19px; }
}
@media (max-height: 640px) and (min-width: 961px) {
  .clist { font-size: 13px; gap: 5px; }
  .nkey { display: none; }
}
@media (prefers-reduced-motion: reduce) { .npanel:not([hidden]) { animation: none; } }

/* Compactação desktop: abas em uma linha e menos respiro vertical para caber em 720px de altura */
@media (min-width: 961px) and (min-aspect-ratio: 1/1) {
  .card-body.nichos { padding-top: clamp(18px, 3vh, 36px); padding-bottom: clamp(18px, 3vh, 36px); gap: clamp(8px, 1.5vh, 16px); }
  .card-body.nichos { padding-left: clamp(24px, 2.6vw, 40px); padding-right: clamp(24px, 2.6vw, 40px); }
  .ntabs { gap: 6px; max-width: none; }
  .ntab { padding: 8px 10px; font-size: 13px; gap: 6px; }
  .ntab svg { width: 15px; height: 15px; }
  .ngroup { padding: 14px 16px; gap: 8px; }
  .clist { gap: 6px; }
}

/* Abas em uma linha só quando a largura comporta; abaixo disso quebram em 2 linhas */
@media (min-width: 1240px) and (min-aspect-ratio: 1/1) { .ntabs { flex-wrap: nowrap; } }

/* Telas de desktop baixas (≈720px de altura): compacta para que nada precise rolar */
@media (min-width: 961px) and (min-aspect-ratio: 1/1) and (max-height: 780px) {
  h1 { font-size: clamp(32px, 4.5vw, 62px); }
  .card-body { gap: 14px; }
  .split .tile .ico { display: none; }
  .split .tile { padding: 14px 18px; }
}

/* Os blocos do card nunca encolhem; se faltar altura, o card rola por dentro */
.nichos > * { flex-shrink: 0; }

/* ---------- Seletor de região, link de pulo e botão de exemplo ---------- */
.langsw { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 150, 70, .2); }
.langsw a { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.langsw a:hover { color: var(--text); } .langsw a[aria-current="true"] { background: linear-gradient(135deg, #ffa24d, var(--orange-hot)); color: #1a0a02; }
.skip-link { position: fixed; left: -999px; top: 8px; z-index: 50; background: #fff; color: #111; padding: 8px 14px; border-radius: 8px; } .skip-link:focus { left: 8px; }
.nfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.nfoot .nkey { flex: 1 1 360px; margin: 0; }
.nex { display: grid; gap: 4px; justify-items: start; } .ex-note { font-size: 12px; color: var(--muted); max-width: 34ch; }
.ex-btn { white-space: nowrap; }
.badge-soon { display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--amber); border: 1px dashed rgba(255, 170, 100, .5); }
@media (max-width: 960px) { .langsw { order: 3; } .top { flex-wrap: wrap; row-gap: 6px; } }
@media (max-width: 560px) { .langsw a { padding: 4px 8px; } .ex-note { max-width: none; } }

/* Textos em inglês são ~15% mais longos: compacta os cards de "Em todo pacote" em telas baixas */
@media (min-width: 961px) and (min-aspect-ratio: 1/1) and (max-height: 780px) {
  .split .tile { padding: 11px 16px; gap: 5px; }
  .split .tile p { font-size: 13px; line-height: 1.38; }
  .split h2 { font-size: clamp(22px, 2.7vw, 36px); }
}
