/* =============================================================
   ParceLar — portal.css
   Portal de cidade: cartão de vidro no meio da tela, site desfocado atrás (js/portal.js).
   Paleta: azul-marinho da marca + laranja da marca + ciano elétrico como acento "futurista".
   Camadas: .portal__vidro (desfoque + tinta) → .portal__luzes (auras) → .portal__cartao (vidro do cartão).
============================================================= */
.portal {
  --p-ciano: #3ee6ff; --p-ciano-2: #9fd8ff; --p-navy: #041a30; --p-texto: #eaf4ff; --p-mudo: #b4cfe9;
  position: fixed; inset: 0; z-index: 2100; display: none; place-items: center; padding: 16px; overflow-y: auto; overscroll-behavior: contain;
  color: var(--p-texto); outline: none;
}
/* aparece antes do JS (classe posta pelo <head>) e enquanto o JS o mantém aberto */
.portal-pendente .portal, .portal.is-visivel { display: grid; }
.portal-pendente .abertura:not(.abertura--edicao) { display: none !important; }   /* o slide só entra depois da cidade */
html.portal-pendente, body.portal-travado { overflow: hidden; }
.portal.portal--edicao { z-index: 150; padding-bottom: 104px; }

/* ---- vidro: o site de trás fica desfocado e escurecido */
.portal__vidro {
  position: fixed; inset: 0;
  background:
    radial-gradient(1100px 620px at 12% 8%, rgba(255, 90, 0, .26), transparent 62%),
    radial-gradient(900px 560px at 92% 96%, rgba(62, 230, 255, .22), transparent 60%),
    linear-gradient(160deg, rgba(4, 26, 48, .74), rgba(3, 20, 38, .82));
  -webkit-backdrop-filter: blur(18px) saturate(1.35); backdrop-filter: blur(18px) saturate(1.35);
}
/* grade tecnológica bem fraca, que some nas bordas */
.portal__vidro::after {
  content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: linear-gradient(rgba(159, 216, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 216, 255, .07) 1px, transparent 1px);
  background-size: 54px 54px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  animation: portal-grade 22s linear infinite;
}
@keyframes portal-grade { to { background-position: 54px 54px; } }
/* três auras que flutuam devagar */
.portal__luzes { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.portal__luzes i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .5; animation: portal-flutua 16s ease-in-out infinite alternate; }
.portal__luzes i:nth-child(1) { left: -12vmax; top: -14vmax; background: rgba(255, 90, 0, .38); }
.portal__luzes i:nth-child(2) { right: -14vmax; bottom: -16vmax; background: rgba(62, 230, 255, .3); animation-duration: 20s; animation-delay: -6s; }
.portal__luzes i:nth-child(3) { left: 38%; top: 55%; width: 26vmax; height: 26vmax; background: rgba(41, 121, 255, .28); animation-duration: 24s; animation-delay: -11s; }
@keyframes portal-flutua { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vmax, 4vmax, 0) scale(1.18); } }

/* ---- cartão de vidro */
@property --portal-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.portal__cartao {
  position: relative; z-index: 1; width: min(540px, 100%); margin: auto; padding: 22px clamp(18px, 4.5vw, 34px) 24px; border-radius: 28px; text-align: center;
  background: linear-gradient(155deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .05) 46%, rgba(62, 230, 255, .07));
  -webkit-backdrop-filter: blur(26px) saturate(1.6); backdrop-filter: blur(26px) saturate(1.6);
  box-shadow: 0 40px 110px rgba(0, 8, 24, .55), 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -40px 80px rgba(4, 26, 48, .28);
  animation: portal-entra .85s cubic-bezier(.22, .8, .22, 1) backwards;
}
/* filete luminoso que dá a volta no cartão */
.portal__cartao::before {
  content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--portal-ang), transparent 0 58%, rgba(62, 230, 255, .95) 72%, #ff8a3d 84%, rgba(255, 255, 255, .95) 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: portal-gira 7s linear infinite;
}
@keyframes portal-gira { to { --portal-ang: 360deg; } }
@keyframes portal-entra { from { opacity: 0; transform: translateY(26px) scale(.94); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* saída (igual ao espírito do slide: escala + desfoque + fade) */
.portal.is-saindo .portal__cartao { animation: portal-sai .7s cubic-bezier(.4, 0, .2, 1) both; }
.portal.is-saindo .portal__vidro, .portal.is-saindo .portal__luzes { opacity: 0; transition: opacity .7s ease .05s; }
@keyframes portal-sai { to { opacity: 0; transform: translateY(-14px) scale(1.06); filter: blur(12px); } }
.portal.is-saindo { pointer-events: none; }

/* ---- radar (ilustração) */
.portal__radar { position: relative; width: 104px; height: 104px; margin: 4px auto 10px; border-radius: 50%; }
.portal__radar > i, .portal__radar > span { position: absolute; }
.portal__anel { inset: 0; border-radius: 50%; border: 1px solid rgba(62, 230, 255, .42); box-shadow: 0 0 18px rgba(62, 230, 255, .16) inset; }
.portal__anel.a2 { inset: 17px; border-color: rgba(62, 230, 255, .3); }
.portal__anel.a3 { inset: 34px; border-color: rgba(255, 138, 61, .55); animation: portal-pulsa 2.6s ease-out infinite; }
@keyframes portal-pulsa { 0% { box-shadow: 0 0 0 0 rgba(255, 138, 61, .55); } 100% { box-shadow: 0 0 0 26px rgba(255, 138, 61, 0); } }
.portal__varre { inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(62, 230, 255, 0) 0 70%, rgba(62, 230, 255, .5) 100%); animation: portal-radar 3.2s linear infinite; -webkit-mask: radial-gradient(circle, transparent 0 8%, #000 9%); mask: radial-gradient(circle, transparent 0 8%, #000 9%); }
@keyframes portal-radar { to { transform: rotate(360deg); } }
.portal__eixo { background: rgba(62, 230, 255, .26); }
.portal__eixo.h { left: 0; right: 0; top: 50%; height: 1px; }
.portal__eixo.v { top: 0; bottom: 0; left: 50%; width: 1px; }
.portal__blip { width: 5px; height: 5px; border-radius: 50%; background: var(--p-ciano); box-shadow: 0 0 10px var(--p-ciano); animation: portal-blip 3.2s ease-in-out infinite; }
.portal__blip.b1 { left: 22%; top: 30%; } .portal__blip.b2 { left: 72%; top: 24%; animation-delay: -1.1s; } .portal__blip.b3 { left: 66%; top: 74%; animation-delay: -2.2s; }
@keyframes portal-blip { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.25); } }
.portal__pin { left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 35% 30%, #ff9a55, #ff5a00 70%); box-shadow: 0 0 26px rgba(255, 90, 0, .75), 0 0 0 3px rgba(255, 255, 255, .18); animation: portal-flutuar 3s ease-in-out infinite; }
.portal__pin .ic { width: 22px; height: 22px; }
@keyframes portal-flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* ---- textos */
.portal__conteudo > * { animation: portal-item .6s cubic-bezier(.22, .8, .22, 1) backwards; }
.portal__conteudo > *:nth-child(2) { animation-delay: .05s; } .portal__conteudo > *:nth-child(3) { animation-delay: .1s; } .portal__conteudo > *:nth-child(4) { animation-delay: .15s; }
.portal__conteudo > *:nth-child(5) { animation-delay: .2s; } .portal__conteudo > *:nth-child(6) { animation-delay: .25s; } .portal__conteudo > *:nth-child(7) { animation-delay: .3s; }
.portal__conteudo > *:nth-child(n+8) { animation-delay: .35s; }
@keyframes portal-item { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.portal__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 5px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--p-ciano); background: rgba(62, 230, 255, .1); border: 1px solid rgba(62, 230, 255, .28); }
.portal__ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--p-ciano); box-shadow: 0 0 0 0 rgba(62, 230, 255, .7); animation: portal-ponto 1.8s ease-out infinite; }
@keyframes portal-ponto { to { box-shadow: 0 0 0 9px rgba(62, 230, 255, 0); } }
.portal h2 { margin: 6px 0 8px; font-size: clamp(1.7rem, 5.2vw, 2.25rem); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; color: #fff; text-shadow: 0 0 28px rgba(62, 230, 255, .35); }
.portal__sub { margin: 0 auto 18px; max-width: 42ch; font-size: 14.5px; line-height: 1.5; color: var(--p-mudo); }
.portal__fechar { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); }
.portal__fechar:hover { background: rgba(255, 255, 255, .2); }
.portal__fechar .ic { width: 18px; height: 18px; }

/* trilha de progresso: enche conforme Estado e Cidade são escolhidos */
.portal__trilha { height: 4px; margin: 0 auto 16px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.portal__trilha-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--p-ciano), #ff8a3d); box-shadow: 0 0 14px rgba(62, 230, 255, .8); transition: width .5s cubic-bezier(.22, .8, .22, 1); }

/* ---- campos (Estado → Cidade), um embaixo do outro */
.portal .seletor-cidade { grid-template-columns: 1fr; gap: 0; text-align: left; }
.portal .campo { margin-bottom: 14px; gap: 7px; }
.portal .campo label { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--p-ciano-2); }
.portal .campo select {
  width: 100%; min-height: 54px; padding: 0 46px 0 18px; border-radius: 16px; font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; color: #fff; cursor: pointer; text-overflow: ellipsis;
  -webkit-appearance: none; appearance: none; color-scheme: dark;
  background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239fd8ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid rgba(159, 216, 255, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.portal .campo select:hover:not(:disabled) { border-color: rgba(62, 230, 255, .65); background-color: rgba(255, 255, 255, .12); }
.portal .campo select:focus, .portal .campo select:focus-visible { outline: none; border-color: var(--p-ciano); box-shadow: 0 0 0 3px rgba(62, 230, 255, .28), 0 0 26px rgba(62, 230, 255, .28); }
.portal .campo select:disabled { opacity: .5; cursor: not-allowed; }
.portal .campo select option { background: #0a2a49; color: #fff; }
.portal .campo select:invalid, .portal .campo select[value=""] { color: var(--p-mudo); }

/* ---- botões */
.portal__gps { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; margin: 2px 0 0; padding: 0 18px; border-radius: 16px; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--p-ciano);
  background: rgba(62, 230, 255, .08); border: 1px dashed rgba(62, 230, 255, .55); transition: background .2s, box-shadow .2s, transform .2s; }
.portal__gps:hover { background: rgba(62, 230, 255, .16); box-shadow: 0 0 24px rgba(62, 230, 255, .25); }
.portal__gps:active { transform: scale(.985); }
.portal__gps .ic { width: 20px; height: 20px; }
.portal__status { min-height: 1.4em; margin: 10px 0 2px; font-size: 13px; line-height: 1.4; color: var(--p-mudo); }
.portal__entrar {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 58px; margin-top: 8px; padding: 0 22px; border: 0; border-radius: 18px; cursor: pointer;
  font-family: inherit; font-weight: 800; font-size: 18px; line-height: 1.2; letter-spacing: .01em; color: #fff; background: linear-gradient(135deg, #c44100, #d94f00 55%, #e25a08);
  box-shadow: 0 12px 34px rgba(255, 90, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .2s, box-shadow .25s, filter .25s, opacity .25s;
}
.portal__entrar::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-22deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: portal-brilho 3.2s ease-in-out infinite; }
@keyframes portal-brilho { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.portal__entrar .ic { width: 22px; height: 22px; transition: transform .2s; }
.portal__entrar:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(255, 90, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .35); }
.portal__entrar:hover .ic { transform: translateX(4px); }
.portal__entrar:active { transform: scale(.985); }
.portal__entrar[aria-disabled="true"] { opacity: .62; filter: saturate(.7); box-shadow: none; }
.portal__entrar[aria-disabled="true"]::after { animation: none; opacity: 0; }
.portal__entrar.is-pronto { animation: portal-pronto 2s ease-in-out infinite; }
@keyframes portal-pronto { 0%, 100% { box-shadow: 0 12px 34px rgba(255, 90, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .35); } 50% { box-shadow: 0 14px 52px rgba(255, 90, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .35); } }
.portal__depois { display: block; margin: 10px auto 0; min-height: 44px; padding: 0 16px; background: none; border: 0; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1.2; color: var(--p-mudo); text-decoration: underline; text-underline-offset: 3px; }
.portal__depois:hover { color: #fff; }
.portal :focus-visible { outline: 3px solid var(--p-ciano); outline-offset: 3px; }

/* ---- rodapé do cartão */
.portal__aviso { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 16px auto 0; max-width: 44ch; font-size: 12.5px; line-height: 1.45; color: var(--p-mudo); text-align: left; }
.portal__aviso .ic { flex: none; width: 17px; height: 17px; margin-top: 1px; color: #ff9a55; }
.portal__stats { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; letter-spacing: .04em; color: var(--p-mudo); text-transform: uppercase; }
.portal__stats b { color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.portal__stats i { width: 4px; height: 4px; border-radius: 50%; background: var(--p-ciano); box-shadow: 0 0 8px var(--p-ciano); }

/* ---- lista de vidro (Estado / Cidade) — js/vidro-select.js: mesmo visual da lista nativa do iPhone, em qualquer aparelho */
.vidro-sel { position: relative; }
.portal .campo select.vidro-sel__nativo { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; pointer-events: none; }
.vidro-sel__botao {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px; padding: 0 16px 0 18px; border-radius: 16px; cursor: pointer; text-align: left;
  font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(159, 216, 255, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.vidro-sel__botao:hover:not(:disabled) { border-color: rgba(62, 230, 255, .65); background-color: rgba(255, 255, 255, .12); }
.vidro-sel__botao:focus-visible, .vidro-sel__botao[aria-expanded="true"] { outline: none; border-color: var(--p-ciano); box-shadow: 0 0 0 3px rgba(62, 230, 255, .28), 0 0 26px rgba(62, 230, 255, .28); }
.vidro-sel__botao:disabled { opacity: .5; cursor: not-allowed; }
.vidro-sel__botao.is-vazio .vidro-sel__texto { color: var(--p-mudo); font-weight: 500; }
.vidro-sel__texto { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vidro-sel__seta { flex: none; width: 20px; height: 20px; transition: transform .22s cubic-bezier(.22, .8, .22, 1);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239fd8ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.vidro-sel__botao[aria-expanded="true"] .vidro-sel__seta { transform: rotate(180deg); }

.vidro-lista {
  position: fixed; z-index: 6; box-sizing: border-box; padding: 6px; overflow-y: auto; overscroll-behavior: contain; border-radius: 20px; color: #fff;
  background: linear-gradient(160deg, rgba(128, 182, 236, .32), rgba(10, 42, 74, .6) 55%, rgba(4, 26, 48, .68));
  -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 30px 70px rgba(0, 8, 24, .55), inset 0 1px 0 rgba(255, 255, 255, .42);
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .5) transparent; transform-origin: top center;
}
.vidro-lista[hidden] { display: none; }
.vidro-lista[data-lado="cima"] { transform-origin: bottom center; }
.vidro-lista.is-aberta { animation: vidro-abre .2s cubic-bezier(.22, .8, .22, 1); }
@keyframes vidro-abre { from { opacity: 0; transform: scale(.96) translateY(-6px); } to { opacity: 1; transform: none; } }
.vidro-lista::-webkit-scrollbar { width: 6px; }
.vidro-lista::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .45); border-radius: 6px; }
.vidro-lista::-webkit-scrollbar-track { background: transparent; margin: 10px 0; }
.vidro-lista__op { position: relative; padding: 10px 14px 10px 38px; border-radius: 12px; font-family: inherit; font-weight: 500; font-size: 15.5px; line-height: 1.3; color: #f2f8ff; cursor: pointer; user-select: none; -webkit-user-select: none; }
.vidro-lista__op.is-ativo { background: rgba(255, 255, 255, .17); }
.vidro-lista__op[aria-selected="true"] { font-weight: 700; color: #fff; }
.vidro-lista__op[aria-selected="true"]::before { content: ""; position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233ee6ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* ---- telas pequenas / baixas: cartão compacto que cabe sem rolar de lado */
@media (max-width: 480px) { .portal { padding: 12px; } .portal__cartao { border-radius: 24px; } .portal__radar { width: 84px; height: 84px; } .portal__anel.a2 { inset: 13px; } .portal__anel.a3 { inset: 27px; } .portal__pin { width: 34px; height: 34px; margin: -17px 0 0 -17px; } }
@media (max-height: 780px) { .portal__stats { display: none; } .portal__aviso { margin-top: 12px; } .portal__sub { margin-bottom: 14px; } }
@media (max-height: 700px) { .portal__cartao { padding-top: 16px; padding-bottom: 16px; } .portal__radar { width: 60px; height: 60px; margin: 0 auto 4px; } .portal__anel.a2 { inset: 10px; } .portal__anel.a3 { inset: 20px; } .portal__pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; } .portal__pin .ic { width: 15px; height: 15px; }
  .portal__kicker { margin-bottom: 4px; padding: 3px 11px; } .portal h2 { margin: 2px 0 6px; font-size: 1.55rem; } .portal__sub { margin-bottom: 10px; font-size: 13.5px; line-height: 1.4; } .portal__trilha { margin-bottom: 12px; }
  .portal .campo { margin-bottom: 8px; gap: 5px; } .portal .campo select { min-height: 46px; } .portal__gps { min-height: 44px; } .portal__status { margin: 6px 0 0; min-height: 1.2em; } .portal__entrar { min-height: 52px; margin-top: 6px; } .portal__aviso { margin-top: 10px; font-size: 12px; } }
@media (max-height: 590px) { .portal__radar, .portal__sub { display: none; } .portal__cartao { padding-top: 14px; padding-bottom: 12px; } .portal__fechar { top: 8px; right: 8px; } }@media (max-width: 340px) { .portal__cartao { padding-inline: 14px; } .portal h2 { font-size: 1.45rem; } }

/* ---- o slide de abertura entra depois da cidade, com fade */
.abertura.abertura--entra { animation: abertura-entra .9s cubic-bezier(.22, .8, .22, 1) both; }
@keyframes abertura-entra { from { opacity: 0; transform: scale(1.05); filter: blur(12px); } to { opacity: 1; transform: none; filter: blur(0); } }

@media (prefers-reduced-motion: reduce) {
  .portal *, .portal *::before, .portal *::after { animation: none !important; transition: none !important; }
  .portal__cartao { animation: none !important; }
  .abertura.abertura--entra { animation: none; }
}
@media print { .portal { display: none !important; } }

/* =============================================================
   FOLHA DE VIDRO (09/10/2026) — a TROCA de cidade pedida pelo botão da apresentação e pelo topo.
   O cartão deixa de cobrir a tela: vira uma folha que sobe da base, com a página visível atrás
   (só um leve escurecimento, sem desfoque forte, sem auras e sem radar). O vidro continua no
   próprio cartão. A entrada obrigatória da 1ª visita (modo "entrada") segue com o cartão cheio.
============================================================= */
.portal.portal--folha { place-items: end center; padding: 0; overflow: hidden; }
.portal.portal--folha .portal__vidro { background: rgba(4, 26, 48, .34); -webkit-backdrop-filter: none; backdrop-filter: none; }
.portal.portal--folha .portal__vidro::after { display: none; }
.portal.portal--folha .portal__luzes { display: none; }
.portal.portal--folha .portal__radar { display: none; }
.portal.portal--folha .portal__kicker { display: none; }
.portal.portal--folha .portal__cartao {
  width: min(560px, 100%); margin: 0 auto; max-height: min(88vh, 88dvh); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 26px 26px 0 0; padding: 10px clamp(18px, 4.5vw, 30px) calc(20px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(170deg, rgba(10, 42, 73, .82), rgba(4, 26, 48, .9));
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 -24px 70px rgba(0, 8, 24, .45), 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .3);
  animation: portal-sobe .42s cubic-bezier(.22, .8, .22, 1) backwards;
}
.portal.portal--folha .portal__cartao::before { border-radius: 26px 26px 0 0; }
.portal__alca { display: none; }
.portal.portal--folha .portal__alca { display: block; width: 44px; height: 4px; margin: 2px auto 10px; border-radius: 4px; background: rgba(255, 255, 255, .38); }
.portal.portal--folha h2 { font-size: clamp(1.35rem, 4.6vw, 1.7rem); margin: 2px 0 6px; text-shadow: none; }
.portal.portal--folha .portal__sub { margin-bottom: 12px; font-size: 14px; }
.portal.portal--folha .portal__fechar { top: 10px; right: 10px; width: 36px; height: 36px; }
.portal.portal--folha .portal__trilha { margin-bottom: 12px; }
.portal.portal--folha .portal__aviso { display: none; }
.portal.portal--folha .portal__depois { display: none; }   /* a alça, o X e o toque fora já fecham */
.portal.portal--folha .portal__conteudo > * { animation: none; }
/* arrastando a alça para baixo: o cartão acompanha o dedo (js/portal.js) */
.portal.portal--folha.is-arrastando .portal__cartao { transition: none; animation: none; }
/* saída: desce de volta, sem desfoque */
.portal.portal--folha.is-saindo .portal__cartao { animation: portal-desce .32s cubic-bezier(.4, 0, .2, 1) both; }
.portal.portal--folha.is-saindo .portal__vidro { opacity: 0; transition: opacity .3s ease; }
@keyframes portal-sobe { from { transform: translateY(100%); } to { transform: none; } }
@keyframes portal-desce { to { transform: translateY(100%); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .portal.portal--folha .portal__cartao, .portal.portal--folha.is-saindo .portal__cartao { animation: none; } }
