/* LANDING v3 (27/09) — ver index.js. Tudo sob `html[data-pn]`: sem o módulo, a landing volta a ser a do React. */

@font-face {
  font-family: 'LP Cinzel';
  src: url('/potato/fonts/cinzel-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

html[data-pn] {
  --lp-t: 1; /* multiplica tempos e atrasos da abertura: 1 = longa (1ª vez na sessão), .3 = curta */
  --lp-ouro: #e9c36f;
  --lp-ouro-claro: #fff1c8;
  --lp-ouro-escuro: #b98231;
  --lp-tinta: #1b2236;
  --lp-texto: #f5f7fc;
  --lp-suave: rgb(232 238 250 / 0.86);
  --lp-vidro: rgb(16 26 48 / 0.38);
  --lp-vidro-escuro: rgb(9 14 26 / 0.74);
  --lp-fio: rgb(255 255 255 / 0.26);
  --lp-sans: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --lp-serifa: Georgia, 'Noto Serif', 'Times New Roman', serif;
  --lp-mola: cubic-bezier(0.2, 0.8, 0.2, 1);
  --lp-lateral: clamp(20px, 2.35vw, 40px);
  background: #05070c;
}
html[data-pn][data-lp='curta'] { --lp-t: 0.3; }
html[data-pn] body { background: transparent; }

/* O que a v3 substitui: a arte antiga, o dragão solto (a arte nova já tem o dela), o rodapé e o convite do React, o "Entrar"
   do React (o nosso botão o clica) e o aviso "toque para som" (o volume está no topo). */
.portal[data-pn] > #dragao,
.portal[data-pn] > .portal__arte,
.portal[data-pn] .splash__rodape,
.portal[data-pn] .portal__content:not(.classes) > .fundador-card,
.portal[data-pn] .splash__acao > .hexbtn,
html[data-pn] body > button[aria-label='Tocar para ativar o som'] { display: none !important; }

.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ═══ CENA ═══════════════════════════════════════════════════════════════════════════════════════════════════════ */
.lp-cena { display: none; }
html[data-pn] .lp-cena {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #05070c;
}
.lp-cena__par { position: absolute; inset: -26px; will-change: transform; transition: transform 0.9s var(--lp-mola); }
.lp-cena__arte {
  position: absolute;
  inset: 0;
  /* o pôster (1º quadro do laço do vídeo): aparece na hora e o vídeo entra por cima sem pulo */
  background: url('/potato/portal-novo/fundo-poster.webp?v=1') 50% 45% / cover no-repeat;
  animation: lp-arte-in calc(2.6s * var(--lp-t)) var(--lp-mola) both;
}
.lp-cena__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.lp-cena__video[data-tocando] { opacity: 1; }
/* Tela em pé (celular/tablet): recorte NATIVO do castelo com o dragão (a arte inteira em "cover" mostraria só montanhas,
   e esticada ~3×). */
@media (orientation: portrait) and (max-width: 1023px) {
  .lp-cena__arte { background-image: url('/potato/portal-novo/fundo-retrato-poster.webp?v=1'); background-position: 50% 40%; }
  .lp-cena__video { object-position: 50% 40%; }
}
/* Celular: cena mais calma — cada quadro animado atrás do vidro obriga a GPU a refazer o desfoque dos cartões e pílulas
   (medido 27/09: 60 fps numa RTX 3060, mas no modo sem GPU cai de 60 para 14 com tudo ligado). */
@media (max-width: 760px) {
  /* `html` na frente: as regras base do sol e dos raios vêm depois */
  html .lp-cena__raios { animation: lp-aparece calc(2.4s * var(--lp-t)) ease calc(1s * var(--lp-t)) both; }
  html .lp-cena__sol { animation: lp-aparece calc(2s * var(--lp-t)) ease calc(0.8s * var(--lp-t)) both; }
  .lp-cena__brilhos i:nth-child(2n) { display: none; }
}
/* O sol da arte (canto superior direito) respira. */
.lp-cena__sol {
  position: absolute;
  right: -14vmax;
  top: -12vmax;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 236 180 / 0.55), rgb(255 200 120 / 0.18) 45%, transparent 72%);
  mix-blend-mode: screen;
  animation: lp-sol 7s ease-in-out infinite alternate, lp-aparece calc(2s * var(--lp-t)) ease calc(0.8s * var(--lp-t)) both;
}
.lp-cena__raios {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(222deg, rgb(255 235 190 / 0.2) 0%, transparent 26%),
    repeating-linear-gradient(222deg, transparent 0 7%, rgb(255 240 200 / 0.05) 8% 9%, transparent 10% 15%);
  mix-blend-mode: screen;
  -webkit-mask: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 62%);
  mask: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 62%);
  animation: lp-raios 11s ease-in-out infinite alternate, lp-aparece calc(2.4s * var(--lp-t)) ease calc(1s * var(--lp-t)) both;
}
/* Véu de leitura: escurece a esquerda (menu), o pé (cartões/rodapé) e um halo atrás do texto central. */
.lp-cena__veu {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 30% at 50% 50%, rgb(8 14 30 / 0.34), transparent 75%),
    linear-gradient(90deg, rgb(4 8 16 / 0.5) 0%, rgb(4 8 16 / 0.14) 15%, transparent 26%),
    linear-gradient(180deg, rgb(4 8 16 / 0.18) 0%, transparent 16%, transparent 58%, rgb(4 8 16 / 0.5) 86%, rgb(4 8 16 / 0.78) 100%);
}
/* 29/09 (Gabriel): o cenário fica apagado (mais escuro) e vai clareando até a luz total perto do herói (sentado à esquerda). Só na tela deitada:
   a arte em pé não tem o herói. Camada por cima do véu de leitura; o centro (logo/ENTRAR) continua legível pelos halos de baixo. */
@media (orientation: landscape) {
  .lp-cena__veu::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 62% 78% at 17% 60%, transparent 0%, transparent 16%, rgb(4 8 16 / 0.2) 42%, rgb(4 8 16 / 0.5) 72%, rgb(4 8 16 / 0.62) 100%);
  }
}
/* Cortina da abertura: a cena nasce do escuro. */
html[data-pn] .lp-cena::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #05070c;
  animation: lp-cortina calc(1.7s * var(--lp-t)) ease-out both;
}
/* Poeira dourada subindo devagar. */
.lp-cena__brilhos { position: absolute; inset: 0; transition: transform 1.2s var(--lp-mola); animation: lp-aparece 2s ease calc(1.4s * var(--lp-t)) both; }
.lp-cena__brilhos i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, #fff8dc 0%, rgb(255 214 120 / 0.9) 40%, transparent 70%);
  box-shadow: 0 0 8px rgb(255 210 120 / 0.8);
  opacity: 0;
  animation: lp-poeira var(--d) linear var(--a) infinite;
}

/* ═══ ESTRUTURA ══════════════════════════════════════════════════════════════════════════════════════════════════ */
.portal[data-pn] { min-height: 100dvh; font-family: var(--lp-sans); color: var(--lp-texto); }
.portal[data-pn] .portal__content {
  flex: 1 0 auto;
  justify-content: flex-start;
  gap: 0;
  padding: clamp(84px, 13.5vh, 146px) 20px clamp(18px, 3.5vh, 40px);
}
.portal[data-pn] .portal__content .splash__logo,
.portal[data-pn] .portal__content .splash__logo.portal-logo--ajustado {
  width: auto;
  height: clamp(118px, 25.5vh, 250px);
  max-width: min(86vw, 520px);
  object-fit: contain;
  margin: 0;
  transform: none;
  filter: drop-shadow(0 4px 10px rgb(4 12 30 / 0.7)) drop-shadow(0 0 30px rgb(4 12 30 / 0.45));
  animation: lp-logo-in calc(1.5s * var(--lp-t)) var(--lp-mola) calc(0.45s * var(--lp-t)) both;
}
.portal[data-pn] .splash__acao { margin: clamp(10px, 2.4vh, 24px) 0 0; }
.lp-acao { display: flex; flex-direction: column; align-items: center; }
.portal[data-pn] .splash__acao:has(.auth) .lp-acao { display: none; }

/* ═══ SAUDAÇÃO ═══════════════════════════════════════════════════════════════════════════════════════════════════ */
.lp-oi { text-align: center; margin-bottom: clamp(10px, 1.7vh, 18px); }
.lp-oi__titulo {
  margin: 0;
  font: 500 clamp(16px, 1.36vw, 25px) / 1.15 'LP Cinzel', var(--lp-serifa);
  letter-spacing: 0.13em;
  color: #fbfcff;
  text-shadow: 0 2px 8px rgb(3 8 20 / 0.85), 0 0 24px rgb(160 190 255 / 0.25);
  animation: lp-sobe calc(0.9s * var(--lp-t)) var(--lp-mola) calc(1s * var(--lp-t)) both;
}
.lp-oi__sub {
  margin: 6px 0 0;
  font-size: clamp(14px, 1.06vw, 18px);
  color: rgb(236 241 252 / 0.92);
  text-shadow: 0 1px 6px rgb(3 8 20 / 0.9);
  animation: lp-sobe calc(0.9s * var(--lp-t)) var(--lp-mola) calc(1.12s * var(--lp-t)) both;
}

/* ═══ BOTÃO PRINCIPAL (moldura dourada em SVG + face de pérola) ═════════════════════════════════════════════════ */
.lp-cta {
  container-type: inline-size;
  position: relative;
  width: clamp(290px, 28.6vw, 520px);
  aspect-ratio: 5 / 1;
  padding: 0;
  border: 0;
  background: url('/potato/portal-novo/moldura-cta.svg') center / 100% 100% no-repeat;
  cursor: pointer;
  filter: drop-shadow(0 0 7px rgb(255 206 120 / 0.55)) drop-shadow(0 12px 22px rgb(2 6 18 / 0.45));
  transition: transform 0.35s var(--lp-mola), filter 0.35s ease;
  animation: lp-cta-in calc(1s * var(--lp-t)) var(--lp-mola) calc(1.25s * var(--lp-t)) backwards;
  -webkit-tap-highlight-color: transparent;
}
/* halo claro atrás (a referência tem uma névoa branca em volta) */
.lp-cta::before {
  content: '';
  position: absolute;
  inset: -30% -8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 246 222 / 0.28), transparent);
  pointer-events: none;
}
.lp-cta__face {
  position: absolute;
  inset: 13% 7.6%;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f3f6 42%, #dde2ea 100%);
  box-shadow: inset 0 2px 0 #fff, inset 0 -4px 10px rgb(60 72 100 / 0.2), inset 0 0 0 1px rgb(255 241 200 / 0.6);
}
.lp-cta__face::after {
  content: '';
  position: absolute;
  inset: -20% auto -20% -40%;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.95) 50%, transparent);
  transform: translateX(-100%) skewX(-18deg);
  animation: lp-brilho 5.5s ease-in-out calc(2.4s * var(--lp-t)) infinite;
  pointer-events: none;
}
.lp-cta__play {
  flex: none;
  width: 7.2cqi;
  height: 8.6cqi;
  margin-left: 7.5cqi;
  background: linear-gradient(180deg, #2a3450, #0f1528);
  clip-path: polygon(8% 0, 100% 50%, 8% 100%, 0 92%, 0 8%);
  filter: drop-shadow(0 1px 0 #fff);
}
.lp-cta__txt { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.6cqi; min-width: 0; padding-right: 2cqi; }
.lp-cta__titulo {
  font: 700 4.4cqi / 1.1 var(--lp-sans);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--lp-tinta);
  white-space: nowrap;
}
.lp-cta__sub {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 500 3.2cqi / 1.2 var(--lp-sans);
  color: #3a4560;
}
.lp-cta__seta { flex: none; width: 5.4cqi; height: 5.4cqi; margin-right: 5cqi; color: #c68f36; }
.lp-cta__seta svg { display: block; width: 100%; height: 100%; }
.lp-cta:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.015);
  filter: drop-shadow(0 0 12px rgb(255 210 130 / 0.85)) drop-shadow(0 16px 26px rgb(2 6 18 / 0.5));
}
.lp-cta:hover .lp-cta__seta { animation: lp-cutuca 0.9s ease-in-out infinite; }
.lp-cta:active:not(:disabled) { transform: scale(0.985); transition-duration: 0.08s; }
.lp-cta:focus-visible { outline: none; }
.lp-cta:focus-visible .lp-cta__face { box-shadow: inset 0 2px 0 #fff, 0 0 0 3px var(--lp-ouro), 0 0 18px rgb(255 214 130 / 0.9); }
.lp-cta:disabled { cursor: progress; }
.lp-cta:disabled .lp-cta__face { filter: saturate(0.6) brightness(0.96); }

.lp-trocar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(10px, 2vh, 18px);
  padding: 6px 10px;
  border: 0;
  background: none;
  color: #fff;
  font: 500 clamp(14px, 0.95vw, 16px) var(--lp-sans);
  text-shadow: 0 1px 4px rgb(0 0 0 / 0.85);
  cursor: pointer;
  animation: lp-sobe calc(0.8s * var(--lp-t)) var(--lp-mola) calc(1.6s * var(--lp-t)) both;
}
.lp-trocar svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.7)); transition: transform 0.4s var(--lp-mola); }
.lp-trocar span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lp-trocar:hover svg { transform: rotate(180deg); }
.lp-trocar:hover span { color: var(--lp-ouro-claro); }
.lp-trocar:focus-visible { outline: 2px solid var(--lp-ouro); outline-offset: 2px; border-radius: 8px; }

/* ═══ TOPO ═══════════════════════════════════════════════════════════════════════════════════════════════════════ */
.lp-topo {
  position: absolute;
  z-index: 20;
  top: clamp(14px, 2.4vh, 22px);
  left: var(--lp-lateral);
  right: clamp(16px, 1.5vw, 26px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}
.lp-topo > * { pointer-events: auto; }
.lp-topo__menu { display: none; }
.lp-marca {
  display: block;
  width: clamp(120px, 9.7vw, 170px);
  margin-top: clamp(4px, 1.7vh, 16px);
  animation: lp-desce calc(0.9s * var(--lp-t)) var(--lp-mola) calc(1.25s * var(--lp-t)) both;
}
.lp-marca img { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 8px rgb(0 0 0 / 0.65)); -webkit-user-drag: none; }
.lp-status { display: flex; align-items: center; gap: 12px; animation: lp-desce calc(0.9s * var(--lp-t)) var(--lp-mola) calc(1.35s * var(--lp-t)) both; }

/* vidro claro das pílulas do topo */
.lp-online, .lp-vol, .lp-engrenagem, .lp-topo__menu {
  border: 1px solid var(--lp-fio);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.06)), var(--lp-vidro);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.22), inset 0 1px 0 rgb(255 255 255 / 0.3);
  color: #fff;
}
.lp-online {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 20px 0 4px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.5);
}
.lp-online[hidden] { display: none; }
.lp-online__rostos { display: flex; padding-left: 1px; }
.lp-online__rostos img {
  width: 34px;
  height: 34px;
  margin-left: -10px;
  border-radius: 50%;
  object-fit: cover;
  background: #1c2433;
  box-shadow: 0 0 0 2px #fff, 0 2px 6px rgb(0 0 0 / 0.4);
  animation: lp-rosto 0.6s var(--lp-mola) calc((1.6s + var(--i) * 0.08s) * var(--lp-t)) both;
}
.lp-online__rostos img:first-child { margin-left: 0; }
.lp-online__ponto { width: 10px; height: 10px; margin-left: 4px; border-radius: 50%; background: #34d66a; box-shadow: 0 0 0 0 rgb(52 214 106 / 0.6); animation: lp-ponto 2.2s ease-out infinite; }
.lp-online b { font-weight: 700; margin-right: 2px; }

.lp-vol { --v: 0.3; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 4px; border-radius: 999px; }
.lp-vol__mudo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25);
  color: #fff;
  cursor: pointer;
}
.lp-vol__mudo svg { width: 100%; height: 100%; }
.lp-vol__mudo:hover { background: rgb(255 255 255 / 0.22); }
.lp-som__x { display: none; }
.lp-vol[data-mudo='1'] .lp-som__x { display: block; }
.lp-vol[data-mudo='1'] .lp-som__ondas { display: none; }
.lp-vol__barra {
  -webkit-appearance: none;
  appearance: none;
  width: clamp(96px, 8.2vw, 142px);
  height: 22px;
  margin: 0;
  background: none;
  cursor: pointer;
}
/* `.lp-vol` na frente: o base-visual.css estiliza todo input[type=range] com especificidade maior */
.lp-vol .lp-vol__barra::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #fff calc(var(--v) * 100%), rgb(255 255 255 / 0.28) 0);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
}
.lp-vol .lp-vol__barra::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fff, #e6eaf1);
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.45), 0 0 0 3px rgb(255 255 255 / 0.25);
  transition: transform 0.2s var(--lp-mola);
}
.lp-vol .lp-vol__barra:active::-webkit-slider-thumb { transform: scale(1.2); }
.lp-vol .lp-vol__barra::-moz-range-track { height: 4px; border-radius: 99px; background: rgb(255 255 255 / 0.28); }
.lp-vol .lp-vol__barra::-moz-range-progress { height: 4px; border-radius: 99px; background: #fff; }
.lp-vol .lp-vol__barra::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 0.45); }
.lp-vol .lp-vol__barra:focus-visible { outline: 2px solid var(--lp-ouro); outline-offset: 4px; border-radius: 99px; }
.lp-vol__sol { width: 34px; height: 34px; padding: 4px; border-radius: 50%; background: rgb(255 255 255 / 0.12); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25); filter: drop-shadow(0 0 6px rgb(255 200 80 / 0.55)); transform: rotate(calc(var(--v) * 180deg)); transition: transform 0.4s var(--lp-mola); }
.lp-vol__sol svg { display: block; width: 100%; height: 100%; }
.lp-vol[data-mudo='1'] .lp-vol__sol { filter: grayscale(1) opacity(0.6); }
.lp-engrenagem {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 8.5px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.6s var(--lp-mola);
}
.lp-engrenagem svg { width: 100%; height: 100%; }
.lp-engrenagem:hover { transform: rotate(90deg); }
.lp-vol__mudo:focus-visible, .lp-engrenagem:focus-visible, .lp-topo__menu:focus-visible, .lp-marca:focus-visible { outline: 2px solid var(--lp-ouro); outline-offset: 3px; }

/* ═══ MENU LATERAL ═══════════════════════════════════════════════════════════════════════════════════════════════ */
.lp-nav {
  position: absolute;
  z-index: 20;
  left: 0;
  top: clamp(150px, 19.3vh, 180px);
  width: clamp(180px, 12.6vw, 215px);
}
.lp-nav__marca { display: none; }
.lp-nav ul { margin: 0; padding: 0; list-style: none; }
.lp-nav li + li { margin-top: clamp(0px, 0.25vh, 2px); }
.lp-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  height: clamp(46px, 6vh, 55px);
  padding-left: clamp(22px, 1.95vw, 33px);
  border: 1px solid transparent;
  border-left: 0;
  border-radius: 0 999px 999px 0;
  color: #fff;
  font-size: clamp(15px, 1vw, 16.5px);
  font-weight: 500;
  text-decoration: none;
  text-shadow: 0 1px 4px rgb(0 0 0 / 0.8);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.35s var(--lp-mola);
  animation: lp-da-esquerda calc(0.8s * var(--lp-t)) var(--lp-mola) calc((1.3s + var(--i) * 0.07s) * var(--lp-t)) backwards;
}
.lp-nav__item svg { flex: none; width: 24px; height: 24px; filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.7)); }
.lp-nav__item:hover { background: linear-gradient(90deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.03)); transform: translateX(3px); }
.lp-nav__item[aria-current='page'] {
  border-color: rgb(255 255 255 / 0.24);
  background: linear-gradient(90deg, rgb(255 255 255 / 0.2), rgb(255 255 255 / 0.07) 70%, rgb(255 255 255 / 0.12));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgb(255 245 220 / 0.35), 0 8px 22px rgb(0 0 0 / 0.25);
}
/* o losango de luz na borda do item atual */
.lp-nav__item[aria-current='page']::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  background: radial-gradient(circle, #fff 20%, var(--lp-ouro-claro) 60%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  filter: drop-shadow(0 0 6px #ffe9b0);
  animation: lp-cintila 3s ease-in-out infinite;
}
.lp-nav__item[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 18%;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 236 190 / 0.9), transparent);
}
.lp-nav__item:focus-visible { outline: 2px solid var(--lp-ouro); outline-offset: -2px; }
.lp-nav__fundo { display: none; }

/* ═══ CARTÕES ════════════════════════════════════════════════════════════════════════════════════════════════════ */
.lp-cartoes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 30px);
  padding: 0 var(--lp-lateral);
}
.lp-cartao {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: clamp(112px, 14.4vh, 140px);
  padding: 0 clamp(16px, 1.4vw, 24px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgb(190 225 255 / 0.36);
  border-radius: 14px;
  background: linear-gradient(90deg, rgb(10 16 30 / 0.88) 0%, rgb(10 16 30 / 0.74) 34%, rgb(10 16 30 / 0.16) 70%), rgb(10 16 30 / 0.26);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), inset 0 0 0 1px rgb(255 255 255 / 0.03), 0 14px 32px rgb(0 0 0 / 0.38);
  color: #fff;
  text-decoration: none;
  transition: transform 0.45s var(--lp-mola), border-color 0.3s ease, box-shadow 0.3s ease;
  animation: lp-sobe calc(0.9s * var(--lp-t)) var(--lp-mola) calc((1.55s + var(--i) * 0.12s) * var(--lp-t)) backwards;
}
.lp-cartao__arte {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 66%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 42%);
  mask: linear-gradient(90deg, transparent 0%, #000 42%);
  transition: transform 0.8s var(--lp-mola), filter 0.4s ease;
}
/* reflexo que corre no hover */
.lp-cartao::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.14) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.9s var(--lp-mola);
  pointer-events: none;
}
.lp-cartao__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px 0 4px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), 0 2px 6px rgb(0 0 0 / 0.3);
}
.lp-cartao__tag svg { width: 15px; height: 15px; padding: 2px; border-radius: 50%; background: rgb(255 255 255 / 0.95); }
.lp-cartao--azul .lp-cartao__tag { background: linear-gradient(180deg, #3f6ff0, #2447b8); }
.lp-cartao--azul .lp-cartao__tag svg { color: #2a52cc; }
.lp-cartao--ouro .lp-cartao__tag { background: linear-gradient(180deg, #a57a3a, #6f4c1d); }
.lp-cartao--ouro .lp-cartao__tag svg { color: #8a5f25; }
.lp-cartao--cinza .lp-cartao__tag { background: linear-gradient(180deg, rgb(128 132 112 / 0.8), rgb(78 82 66 / 0.8)); }
.lp-cartao--cinza .lp-cartao__tag svg { color: #4a5368; }
.lp-cartao__titulo {
  margin: clamp(6px, 1.1vh, 10px) 0 4px;
  font: 700 clamp(18px, 1.3vw, 22px) / 1.15 var(--lp-serifa);
  white-space: nowrap;
  text-shadow: 0 2px 6px rgb(0 0 0 / 0.7);
}
.lp-cartao__texto {
  white-space: pre-line;
  font-size: clamp(13px, 0.88vw, 15px);
  line-height: 1.35;
  color: var(--lp-suave);
  text-shadow: 0 1px 4px rgb(0 0 0 / 0.8);
}
.lp-cartao__seta {
  position: absolute;
  right: clamp(12px, 1.1vw, 18px);
  top: 70%;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  padding: 9px;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 50%;
  background: rgb(20 26 40 / 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--lp-mola);
}
.lp-cartao__seta svg { display: block; width: 100%; height: 100%; }
.lp-cartao:hover, .lp-cartao:focus-visible {
  transform: translateY(-4px);
  border-color: rgb(255 226 160 / 0.6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), 0 0 0 1px rgb(255 214 130 / 0.25), 0 20px 40px rgb(0 0 0 / 0.45);
}
.lp-cartao:focus-visible { outline: 2px solid var(--lp-ouro); outline-offset: 3px; }
.lp-cartao:hover .lp-cartao__arte { transform: scale(1.06); filter: brightness(1.08) saturate(1.1); }
.lp-cartao:hover::after { transform: translateX(110%); }
.lp-cartao:hover .lp-cartao__seta { background: linear-gradient(180deg, #f6d68d, #c6923c); border-color: #ffeec2; color: #2a1d08; transform: translateX(3px); }

/* ═══ RODAPÉ ═════════════════════════════════════════════════════════════════════════════════════════════════════ */
.lp-rodape {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 3.4vh, 34px) var(--lp-lateral) clamp(12px, 2.3vh, 22px);
  font-size: 12.5px;
  color: rgb(236 240 250 / 0.88);
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.9);
  animation: lp-aparece calc(1s * var(--lp-t)) ease calc(1.9s * var(--lp-t)) both;
}
.lp-rodape p { margin: 0; }
.lp-rodape i { font-style: normal; margin: 0 8px; opacity: 0.8; }
.lp-rodape__links { display: flex; align-items: center; justify-content: center; }
.lp-rodape__links a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.lp-rodape__links a:hover { color: var(--lp-ouro-claro); text-decoration: underline; text-underline-offset: 3px; }
.lp-rodape__links i { margin: 0 14px; }
.lp-rodape__fim { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 1.6vw, 26px); }
.lp-redes { display: flex; align-items: center; gap: clamp(12px, 1.1vw, 18px); }
.lp-rede { display: block; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.8)); transition: transform 0.3s var(--lp-mola), color 0.2s ease; }
.lp-rede svg { display: block; width: 100%; height: 100%; }
.lp-rede:hover { transform: translateY(-2px); color: var(--lp-ouro-claro); }
.lp-rodape a:focus-visible, .lp-idioma:focus-within { outline: 2px solid var(--lp-ouro); outline-offset: 3px; border-radius: 6px; }
.lp-idioma {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px 0 12px;
  border: 1px solid rgb(255 255 255 / 0.32);
  border-radius: 999px;
  background: rgb(10 16 30 / 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.15);
}
.lp-idioma svg { flex: none; width: 24px; height: 17px; border-radius: 50%; }
/* `.lp-rodape` na frente: outro módulo pinta o fundo de todo <select> (rgb(6 13 24)) */
.lp-rodape .lp-idioma select {
  -webkit-appearance: none;
  appearance: none;
  min-width: 96px;
  padding: 0 22px 0 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 500 13px var(--lp-sans);
  cursor: pointer;
  outline: none;
}
.lp-rodape .lp-idioma select option { color: #111; }
.lp-idioma::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  pointer-events: none;
}

/* aviso "em breve" */
.lp-aviso {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 28px;
  padding: 11px 20px;
  border: 1px solid rgb(255 226 160 / 0.5);
  border-radius: 999px;
  background: rgb(12 18 32 / 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.45);
  color: #fff;
  font: 600 14px var(--lp-sans);
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 0.3s ease, transform 0.4s var(--lp-mola);
  pointer-events: none;
}
.lp-aviso[data-vis] { opacity: 1; transform: translate(-50%, 0); }

/* ═══ ENTRAR / CRIAR CONTA (o formulário é do React; aqui só a roupa) ═════════════════════════════════════════════ */
.portal[data-pn] .portal__content[data-aberto='true'] .splash__logo { height: clamp(90px, 17vh, 170px); }
.portal[data-pn] .auth { width: min(100%, 430px); }
.portal[data-pn] .auth .glass {
  position: relative;
  clip-path: none;
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgb(255 226 160 / 0.7), rgb(255 255 255 / 0.1) 38%, rgb(255 255 255 / 0.06) 62%, rgb(255 226 160 / 0.5));
  filter: drop-shadow(0 24px 50px rgb(0 0 0 / 0.5));
}
.portal[data-pn] .auth .glass::before {
  content: '';
  position: absolute;
  z-index: 1;
  left: 50%;
  top: -7px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  background: linear-gradient(180deg, #fff7dc, #d9a64a);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  filter: drop-shadow(0 0 6px #ffe3a0);
}
.portal[data-pn] .auth .glass__face {
  clip-path: none;
  border-radius: 21px;
  background: linear-gradient(180deg, rgb(18 26 46 / 0.78), rgb(8 12 24 / 0.84));
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
}
.portal[data-pn] .auth .segmented { background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 226 160 / 0.28), inset 0 2px 6px rgb(0 0 0 / 0.4); }
.portal[data-pn] .auth .segmented__thumb {
  background: linear-gradient(180deg, #ffffff, #e4e8ef);
  box-shadow: 0 0 0 1px rgb(233 195 111 / 0.9), 0 4px 12px rgb(0 0 0 / 0.35), inset 0 1px 0 #fff;
}
.portal[data-pn] .auth .segmented__option { font-family: var(--lp-sans); color: rgb(236 240 250 / 0.78); }
.portal[data-pn] .auth .segmented__option[aria-pressed='true'] { color: var(--lp-tinta); text-shadow: none; }
.portal[data-pn] .auth .field > label { color: rgb(240 214 160 / 0.92); letter-spacing: 0.1em; }
.portal[data-pn] .auth .field__well {
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 2px 5px rgb(0 0 0 / 0.35);
}
.portal[data-pn] .auth .field__well:focus-within {
  border-color: rgb(233 195 111 / 0.9);
  box-shadow: inset 0 2px 5px rgb(0 0 0 / 0.35), 0 0 0 3px rgb(233 195 111 / 0.18), 0 0 16px rgb(255 210 130 / 0.25);
}
.portal[data-pn] .auth .field__well:focus-within .field__icone { color: var(--lp-ouro-claro); }
.portal[data-pn] .auth .hexbtn {
  clip-path: none;
  padding: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff6d8, #d6a24a 50%, #fff0c2);
  filter: drop-shadow(0 0 8px rgb(255 206 120 / 0.45)) drop-shadow(0 10px 18px rgb(0 0 0 / 0.4));
}
.portal[data-pn] .auth .hexbtn .hexbtn__face {
  clip-path: none;
  padding: 13px 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f0f2f6 45%, #d9dee6);
  box-shadow: inset 0 2px 0 #fff, inset 0 -3px 8px rgb(60 72 100 / 0.18);
  color: var(--lp-tinta);
  text-shadow: none;
  font: 700 16px var(--lp-sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.portal[data-pn] .auth .hexbtn:hover:not(:disabled) { translate: 0 -2px; filter: drop-shadow(0 0 12px rgb(255 210 130 / 0.8)) drop-shadow(0 14px 22px rgb(0 0 0 / 0.45)); }
.portal[data-pn] .auth .hexbtn:focus-visible { outline: 3px solid var(--lp-ouro); outline-offset: 3px; }
.portal[data-pn] .auth__fechar {
  border: 1px solid rgb(255 226 160 / 0.7);
  background: rgb(14 20 34 / 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.4);
}
.portal[data-pn] .auth__fechar:hover { background: rgb(40 48 70 / 0.95); }
.portal[data-pn] .auth .ggl__ou { color: rgb(240 214 160 / 0.6); }
.portal[data-pn] .auth .ggl__ou::before, .portal[data-pn] .auth .ggl__ou::after { background: linear-gradient(90deg, transparent, rgb(233 195 111 / 0.4), transparent); }
.portal[data-pn] .auth .snh__link { color: rgb(255 236 190 / 0.85); }
.portal[data-pn] .auth .snh__link:hover { color: #fff; }
/* Com o formulário aberto em tela não muito alta, os cartões saem (o formulário é a tarefa). */
@media (max-height: 999px) {
  .portal[data-pn]:has(.portal__content[data-aberto='true']) .lp-cartoes { display: none; }
}

/* ═══ ESCOLHA DE CLASSE: fica só a cena e o topo ════════════════════════════════════════════════════════════════ */
.portal[data-pn]:has(.portal__content.classes) :is(.lp-nav, .lp-nav__fundo, .lp-cartoes, .lp-rodape, .lp-marca, .lp-topo__menu) { display: none; }
.portal[data-pn]:has(.portal__content.classes) .portal__content { justify-content: flex-start; }

/* ═══ ABERTURA / MOVIMENTO ═══════════════════════════════════════════════════════════════════════════════════════ */
@keyframes lp-cortina { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
@keyframes lp-arte-in { from { opacity: 0.2; transform: scale(1.12); } to { opacity: 1; transform: scale(1); } }
@keyframes lp-aparece { from { opacity: 0; } }
@keyframes lp-logo-in {
  0% { opacity: 0; transform: scale(0.86); filter: blur(16px) brightness(2.4) drop-shadow(0 0 0 transparent); }
  55% { opacity: 1; filter: blur(0) brightness(1.5) drop-shadow(0 0 40px rgb(255 240 200 / 0.8)); }
  100% { opacity: 1; transform: none; }
}
@keyframes lp-sobe { from { opacity: 0; transform: translateY(20px); } }
@keyframes lp-desce { from { opacity: 0; transform: translateY(-16px); } }
@keyframes lp-da-esquerda { from { opacity: 0; transform: translateX(-28px); } }
@keyframes lp-cta-in {
  0% { opacity: 0; clip-path: inset(0 50% 0 50%); transform: scale(0.96); }
  30% { opacity: 1; }
  100% { opacity: 1; clip-path: inset(-40% -10% -40% -10%); transform: none; }
}
@keyframes lp-brilho { 0%, 62% { transform: translateX(-100%) skewX(-18deg); } 100% { transform: translateX(520%) skewX(-18deg); } }
@keyframes lp-cutuca { 50% { transform: translateX(4px); } }
@keyframes lp-sol { from { opacity: 0.75; transform: scale(0.94); } to { opacity: 1; transform: scale(1.06); } }
@keyframes lp-raios { from { opacity: 0.55; } to { opacity: 1; } }
@keyframes lp-poeira {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  15% { opacity: 0.9; }
  80% { opacity: 0.6; }
  100% { opacity: 0; transform: translate3d(var(--dx), -26vh, 0); }
}
@keyframes lp-ponto { 0% { box-shadow: 0 0 0 0 rgb(52 214 106 / 0.6); } 70%, 100% { box-shadow: 0 0 0 8px rgb(52 214 106 / 0); } }
@keyframes lp-cintila { 50% { opacity: 0.55; transform: scale(0.8); } }
@keyframes lp-rosto { from { opacity: 0; transform: scale(0.4); } }

@media (prefers-reduced-motion: reduce) {
  html[data-pn] { --lp-t: 0.25; }
  .lp-cena__arte { animation: lp-aparece 0.5s ease both; }
  .lp-cena__brilhos, .lp-cena__raios { display: none; }
  .lp-cena__sol, .lp-cta__face::after, .lp-online__ponto, .lp-nav__item[aria-current='page']::before { animation: none; }
  .lp-cena__par, .lp-cena__brilhos { transition: none; }
}

/* ═══ NOTEBOOK / TELA BAIXA ══════════════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) and (max-height: 800px) {
  .portal[data-pn] .portal__content { padding-top: 78px; }
  .lp-nav { top: 136px; }
  .lp-nav__item { height: 44px; }
  .lp-oi { margin-bottom: 14px; }
}

/* ═══ TABLET (menu vira gaveta; cartões deslizam) ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .lp-topo { align-items: center; }
  .lp-cta { width: min(62vw, 460px); }
  .lp-topo__menu {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 50%;
    cursor: pointer;
    animation: lp-desce calc(0.9s * var(--lp-t)) var(--lp-mola) calc(1.25s * var(--lp-t)) both;
  }
  .lp-topo__menu svg { width: 100%; height: 100%; }
  .lp-marca { margin: 0 auto 0 14px; width: 120px; }
  .lp-nav {
    position: fixed;
    z-index: 61;
    top: 0;
    bottom: 0;
    width: min(300px, 84vw);
    padding: 26px 16px 26px 0;
    overflow-y: auto;
    background: linear-gradient(180deg, rgb(14 22 40 / 0.92), rgb(6 10 20 / 0.95));
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-right: 1px solid rgb(255 226 160 / 0.3);
    box-shadow: 20px 0 50px rgb(0 0 0 / 0.5);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.45s var(--lp-mola), visibility 0s linear 0.45s;
  }
  html[data-lp-menu] .lp-nav { transform: none; visibility: visible; transition: transform 0.45s var(--lp-mola); }
  .lp-nav__marca { display: block; width: 150px; margin: 0 0 26px 30px; }
  .lp-nav__item { animation: none; padding-left: 30px; height: 54px; }
  html[data-lp-menu] .lp-nav__item { animation: lp-da-esquerda 0.5s var(--lp-mola) calc(0.05s + var(--i) * 0.05s) backwards; }
  .lp-nav__fundo {
    display: block;
    position: fixed;
    z-index: 60;
    inset: 0;
    background: rgb(2 5 12 / 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  }
  html[data-lp-menu] .lp-nav__fundo { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
  .lp-cartoes {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 46%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--lp-lateral);
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .lp-cartoes::-webkit-scrollbar { display: none; }
  /* esmaece a borda direita enquanto ainda há cartão para arrastar (index.js marca `data-fim` no fim da rolagem) */
  .lp-cartoes:not([data-fim]) {
    -webkit-mask: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
    mask: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
  }
  .lp-cartao { scroll-snap-align: start; }
  .lp-rodape { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
  .lp-rodape__fim { order: -1; justify-content: center; flex-wrap: wrap; }
  .lp-rodape__links { order: 0; }
  .lp-rodape__copy { order: 1; }
}

/* ═══ CELULAR ════════════════════════════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  html[data-pn] { --lp-lateral: 16px; }
  /* áreas seguras (notch/barra do iPhone): o viewport usa viewport-fit=cover */
  .lp-topo { top: max(12px, env(safe-area-inset-top)); left: max(14px, env(safe-area-inset-left)); right: max(14px, env(safe-area-inset-right)); }
  .lp-nav { padding-top: max(26px, env(safe-area-inset-top)); }
  .lp-marca { display: none; }
  /* sem transform na entrada: um pai transformado viraria o bloco de referência da pílula de online (absoluta) */
  .lp-status { gap: 8px; margin-left: auto; animation-name: lp-aparece; }
  /* o número de jogadores desce para uma faixa própria, centralizada */
  .lp-online { position: absolute; top: 58px; left: 50%; transform: translateX(-50%); height: 34px; font-size: 13.5px; padding-right: 14px; }
  .lp-online__rostos img { width: 26px; height: 26px; margin-left: -8px; }
  .lp-online__rostos img:nth-child(n + 4) { display: none; }
  .lp-vol { padding-right: 4px; }
  .lp-vol__barra { width: 84px; }
  .lp-vol__sol { display: none; }
  .lp-engrenagem { width: 40px; height: 40px; }
  .portal[data-pn] .portal__content { padding: calc(100px + env(safe-area-inset-top)) 16px clamp(16px, 3vh, 26px); justify-content: flex-start; }
  /* o logo cresce pela LARGURA mas é limitado pela ALTURA (proporção ~2:1): em tela baixa (iPhone SE) o botão e a ponta dos
     cartões continuam na primeira dobra */
  .portal[data-pn] .portal__content .splash__logo,
  .portal[data-pn] .portal__content .splash__logo.portal-logo--ajustado { width: min(86vw, 420px, 44dvh); height: auto; max-width: none; margin-top: 1.5dvh; }
  .portal[data-pn] .portal__content[data-aberto='true'] .splash__logo { width: min(60vw, 280px, 30dvh); height: auto; margin-top: 0; }
  .portal[data-pn] .splash__acao { margin-top: 2.6dvh; }
  .lp-oi__titulo { font-size: clamp(15px, 4.4vw, 19px); letter-spacing: 0.07em; }
  .lp-oi__sub { font-size: 14px; }
  .lp-oi { margin-bottom: 2.2dvh; }
  .lp-cta { width: min(90vw, 440px); }
  .lp-cartoes { grid-auto-columns: 86%; gap: 12px; }
  .lp-cartao { height: 124px; }
  .lp-rodape { padding-bottom: max(14px, env(safe-area-inset-bottom)); gap: 8px; }
  /* alvos de toque de ~44px (o texto continua pequeno) */
  .lp-rodape__links a { padding: 12px 4px; }
  .lp-rodape__links i { margin: 0 6px; }
  .lp-rodape__fim { gap: 12px; }
  .lp-redes { gap: 2px; }
  .lp-rede { width: 42px; height: 42px; padding: 10px; }
  .portal[data-pn] .auth { width: 100%; }
}

/* ═══ CELULAR DEITADO ═══════════════════════════════════════════════════════════════════════════════════════════ */
@media (orientation: landscape) and (max-height: 520px) {
  .lp-online { position: static; transform: none; }
  .lp-online__rostos img:nth-child(n + 4) { display: block; }
  .portal[data-pn] .portal__content { padding-top: 64px; justify-content: flex-start; }
  .portal[data-pn] .portal__content .splash__logo,
  .portal[data-pn] .portal__content .splash__logo.portal-logo--ajustado { width: auto; height: 30vh; margin-top: 0; }
  .portal[data-pn] .portal__content[data-aberto='true'] .splash__logo { width: auto; height: 20vh; }
  .portal[data-pn] .splash__acao { margin-top: 10px; }
  .lp-oi { margin-bottom: 10px; }
  .lp-oi__sub { display: none; }
  .lp-cta { width: min(56vw, 380px); }
}

/* 29/09: os logos atualizam a página inicial ao clicar (ver index.js). */
.lp-marca, .lp-nav__marca, .splash__logo { cursor: pointer; }
