/* Uvva — estilos do app. Mobile first. */

/* Fontes hospedadas no próprio site (sem Google Fonts). Licença OFL em assets/fontes. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fontes/poppins-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 700 800;
  src: url(fontes/poppins-latin-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fontes/inter-latin-wght-normal.woff2) format('woff2');
}

:root {
  --marinho: #0B2466;
  --marinho-escuro: #071A4D;
  --azul-medio: #1D46C9;
  --azul: #1F55E6;
  --azul-forte: #1742C4;
  --azul-claro: #E7EEFF;
  --fundo: #F5F7FC;
  --cartao: #FFFFFF;
  --texto: #0E1A3A;
  --suave: #5B6785;
  --linha: #E2E8F5;
  --verde: #2E8B57;
  --perigo: #D2364B;
  --sombra: 0 1px 2px rgba(7, 26, 77, .05), 0 8px 24px rgba(7, 26, 77, .07);
  --raio: 16px;
  --display: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --corpo: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --topo: 60px;
  --base: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 15px/1.5 var(--corpo);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.em-chat { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--azul-medio); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 2px; }
.ic { width: 22px; height: 22px; flex: none; }
h1, h2, h3 { font-family: var(--display); color: var(--marinho); letter-spacing: -.015em; margin: 0; }
.suave { color: var(--suave); }

/* ---------- carregando ---------- */
.carregando { display: flex; justify-content: center; gap: 6px; padding: 48px 0; }
.carregando span { width: 9px; height: 9px; border-radius: 50%; background: var(--azul); animation: pulo 1s infinite ease-in-out; }
.carregando span:nth-child(1) { background: var(--marinho); }
.carregando span:nth-child(2) { animation-delay: .15s; background: var(--azul-medio); }
.carregando span:nth-child(3) { animation-delay: .3s; }
@keyframes pulo { 0%, 80%, 100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-img { display: block; height: 40px; width: auto; }
.entrada .logo-img { height: 56px; }
.passo .logo-img { height: 48px; }
.logo-nome { font-family: var(--display); font-weight: 800; font-size: 23px; color: var(--marinho); letter-spacing: -.03em; line-height: 1; }
.logo-claro .logo-nome { color: #fff; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 12px;
  font-weight: 600; font-size: 15px; text-decoration: none; text-align: center;
  transition: background .15s, transform .1s, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn .ic { width: 18px; height: 18px; }
.btn-bloco { width: 100%; }
.btn-pequeno { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-primario { background: var(--azul); color: #fff; }
.btn-primario:hover:not(:disabled) { background: var(--azul-forte); }
.btn-secundario { background: var(--azul-claro); color: var(--marinho); }
.btn-secundario:hover:not(:disabled) { background: #D6E2FF; }
.btn-fantasma { color: var(--suave); }
.btn-fantasma:hover:not(:disabled) { background: rgba(11, 36, 102, .05); color: var(--marinho); }
.btn-perigo { background: var(--perigo); color: #fff; }

/* ---------- formulários ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo > label, .rotulo { font-size: 13px; font-weight: 600; color: var(--marinho); }
.campo small { color: var(--suave); font-size: 12.5px; }
.campo input, .campo select, .campo textarea, .senha input {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid var(--linha); border-radius: 12px; background: #fff;
  font-size: 16px; outline: none; transition: border-color .15s;
}
.campo textarea { resize: vertical; min-height: 84px; line-height: 1.45; }
.campo select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6785' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
}
.campo input:focus, .campo select:focus, .campo textarea:focus, .senha input:focus { border-color: var(--azul); }
.linha-dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.senha { position: relative; }
.senha input { padding-right: 48px; }
.ver-senha { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border-radius: 10px; color: var(--suave); display: grid; place-items: center; }
.ver-senha .ic { width: 19px; height: 19px; }

.segmentado { display: flex; gap: 6px; flex-wrap: wrap; }
.segmentado label { flex: 1 1 0; min-width: 0; position: relative; }
.segmentado input { position: absolute; opacity: 0; pointer-events: none; }
.segmentado span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px;
  border: 1.5px solid var(--linha); border-radius: 12px; background: #fff;
  font-size: 14px; font-weight: 600; color: var(--suave); cursor: pointer; text-align: center; white-space: nowrap;
  transition: all .15s;
}
.segmentado input:checked + span { border-color: var(--marinho); background: var(--marinho); color: #fff; }
.segmentado input:focus-visible + span { outline: 2px solid var(--azul); outline-offset: 2px; }

.aceite { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--suave); line-height: 1.45; cursor: pointer; }
.aceite input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--marinho); flex: none; }
.erro-form { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FDECEF; color: var(--perigo); font-size: 14px; font-weight: 500; }
.form-link { margin: 0; text-align: center; font-size: 14px; }
.dica { font-size: 13px; color: var(--suave); margin: 8px 0 0; text-align: center; }
.turnstile { min-height: 65px; }

.cartao { background: var(--cartao); border-radius: 20px; box-shadow: var(--sombra); padding: 22px; }

/* ---------- entrada ---------- */
.entrada { min-height: 100dvh; display: flex; flex-direction: column; }
.entrada-marca {
  background: var(--marinho-escuro); color: #E6ECFA;
  padding: 22px 20px 30px; position: relative; overflow: hidden;
}
.entrada-marca::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 124, 255, .45), transparent 70%); pointer-events: none;
}
.entrada-assinatura { margin: 22px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9DB8FF; }
.entrada-assinatura + h1 { margin-top: 8px !important; }
.entrada-marca h1 { color: #fff; font-size: 27px; line-height: 1.08; font-weight: 800; margin: 22px 0 8px; max-width: 520px; letter-spacing: -.025em; }
.entrada-sub { margin: 0; color: #C4D0EE; max-width: 460px; font-size: 15px; }
.vitrine-topo { margin: 16px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: #A9B8E0; }
.vitrine-topo:empty { display: none; }
.vitrine { list-style: none; margin: 0; padding: 0; display: none; }
.vitrine li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14.5px; }
.vitrine-icone { width: 24px; text-align: center; }
.vitrine-nome { flex: 1; color: #fff; font-weight: 500; }
.vitrine-online { font-size: 12.5px; color: #A9B8E0; display: inline-flex; align-items: center; gap: 6px; }
.vitrine-online.ativo { color: #8FE0AE; }
.vitrine-online.ativo::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.entrada-rodape { display: none; margin: 22px 0 0; font-size: 13px; color: #A9B8E0; }
.entrada-rodape a { color: #fff; }
.entrada-form { padding: 20px 16px 40px; flex: 1; }
.entrada-form .cartao { max-width: 460px; margin: -8px auto 0; position: relative; z-index: 1; }
.abas-entrada { display: grid; grid-template-columns: 1fr 1fr; background: var(--fundo); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.abas-entrada button { min-height: 40px; border-radius: 9px; font-weight: 600; color: var(--suave); font-size: 14.5px; }
.abas-entrada button.ativa { background: #fff; color: var(--marinho); box-shadow: 0 1px 3px rgba(7, 26, 77, .1); }

/* ---------- passos (completar perfil / foto) ---------- */
.passo { max-width: 480px; margin: 0 auto; padding: 28px 16px 48px; }
.passo h1 { font-size: 28px; margin: 26px 0 6px; line-height: 1.1; }
.passo-sub { color: var(--suave); margin: 0 0 20px; }
.passo .cartao { display: flex; flex-direction: column; gap: 14px; }
.foto-grande {
  width: 180px; aspect-ratio: 4 / 5; margin: 0 auto; border-radius: 18px;
  border: 2px dashed #C3CFEA; background: var(--fundo) center / cover no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--marinho); font-weight: 600; font-size: 14px; cursor: pointer; transition: border-color .15s;
}
.foto-grande:hover { border-color: var(--azul); }
.foto-grande.tem-foto { border: 0; box-shadow: var(--sombra); }
.foto-grande.enviando, .meu-foto.enviando { opacity: .5; pointer-events: none; }
.foto-add { width: 52px; height: 52px; border-radius: 50%; background: var(--azul-claro); display: grid; place-items: center; }
.foto-status { text-align: center; font-size: 13px; color: var(--suave); margin: -4px 0 0; min-height: 1em; }

/* ---------- estrutura do app ---------- */
.shell { min-height: 100dvh; padding-bottom: calc(var(--base) + env(safe-area-inset-bottom)); }
.topo {
  position: sticky; top: 0; z-index: 20; height: var(--topo);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 16px; background: rgba(245, 247, 252, .92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--linha);
}
.topo-logo { text-decoration: none; }
.topo-eu { text-decoration: none; border-radius: 50%; }
.nav-topo { display: none; }
.nav-base {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  height: calc(var(--base) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-top: 1px solid var(--linha);
}
.nav-item {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--suave); text-decoration: none; font-size: 11.5px; font-weight: 600;
}
.nav-item.ativo { color: var(--marinho); }
.nav-item.ativo .nav-ic { color: var(--azul); }
.nav-ic { display: grid; place-items: center; }
.nav-item .badge { position: absolute; top: 8px; left: calc(50% + 6px); }
.badge {
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--azul); color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
  box-shadow: 0 0 0 2px #fff;
}

.conteudo { max-width: 1040px; margin: 0 auto; padding: 20px 16px 32px; }
.cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cab h1 { font-size: 27px; line-height: 1.1; font-weight: 800; }
.cab p { margin: 4px 0 0; color: var(--suave); font-size: 14px; }
.cab-online { font-size: 13px; font-weight: 600; color: var(--verde); white-space: nowrap; }
.cab-online:empty { display: none; }

.vazio { text-align: center; padding: 48px 20px; color: var(--suave); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vazio strong { font-family: var(--display); font-size: 19px; color: var(--marinho); font-weight: 700; }
.vazio p { margin: 0 0 12px; max-width: 340px; }

/* ---------- avatar ---------- */
.av {
  position: relative; display: inline-grid; place-items: center; flex: none; border-radius: 50%;
  color: #fff; font-weight: 700; overflow: visible; background: var(--linha);
}
.av img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 30%; }
.av-online { z-index: 1; }
.av-xs { width: 34px; height: 34px; font-size: 13px; }
.av-sm { width: 36px; height: 36px; font-size: 14px; }
.av-md { width: 48px; height: 48px; font-size: 18px; }
.av-lg { width: 64px; height: 64px; font-size: 24px; }
.av-xl { width: 96px; height: 96px; font-size: 36px; }
.av-online { position: absolute; right: 0; bottom: 0; width: 28%; height: 28%; min-width: 10px; min-height: 10px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 2px #fff; }

/* ---------- salas ---------- */
.grade-salas { display: grid; grid-template-columns: 1fr; gap: 10px; }
.sala {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--cartao); border-radius: var(--raio); box-shadow: var(--sombra);
  text-decoration: none; color: inherit; border: 1.5px solid transparent;
  transition: border-color .15s, transform .15s;
}
.sala:hover { border-color: #C9D8FF; }
.sala:active { transform: scale(.99); }
.sala-icone { width: 46px; height: 46px; border-radius: 14px; background: var(--fundo); display: grid; place-items: center; font-size: 23px; flex: none; }
.sala-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sala-info strong { font-family: var(--display); font-size: 16.5px; font-weight: 700; color: var(--marinho); line-height: 1.25; }
.sala-desc { font-size: 13.5px; color: var(--suave); line-height: 1.4; margin-top: 1px; }
.sala-online { font-size: 12.5px; font-weight: 600; color: #A0AAC2; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sala-online i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sala-online.ativo { color: var(--verde); }
.sala-online.ativo i { animation: piscar 2s infinite; }
@keyframes piscar { 50% { opacity: .35; } }

/* ---------- chat ---------- */
.chat { height: 100dvh; display: flex; flex-direction: column; background: var(--fundo); }
.chat-topo {
  flex: none; display: flex; align-items: center; gap: 4px; height: var(--topo);
  padding: 0 8px; padding-top: env(safe-area-inset-top); box-sizing: content-box;
  background: #fff; border-bottom: 1px solid var(--linha);
}
.voltar, .chat-acao { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--marinho); flex: none; }
.voltar:hover, .chat-acao:hover { background: var(--fundo); }
.chat-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; text-align: left; padding: 6px 4px; border-radius: 10px; }
.chat-av:empty { display: none; }
.chat-textos { min-width: 0; display: flex; flex-direction: column; }
.chat-titulo { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--marinho); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.chat-sub { font-size: 12.5px; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-dm .chat-sub { color: var(--verde); }
.chat-corpo { flex: 1; min-height: 0; position: relative; }
.chat-lista {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding: 12px 12px 16px; display: flex; flex-direction: column; gap: 2px;
}
.chat-lista::before { content: ''; margin-top: auto; }
.chat-lista > .vazio { margin: auto 0; }
.chat-inicio { display: flex; justify-content: center; padding: 4px 0 8px; }
.chat-inicio:empty { display: none; }
.chat-comeco { margin: 0; font-size: 12px; color: #A0AAC2; }
.dia { display: flex; justify-content: center; margin: 12px 0 8px; }
.dia span { font-size: 11.5px; font-weight: 600; color: var(--suave); background: #fff; padding: 3px 12px; border-radius: 999px; box-shadow: 0 1px 2px rgba(7, 26, 77, .06); text-transform: capitalize; }

.msg { display: flex; align-items: flex-end; gap: 8px; max-width: min(82%, 620px); margin-top: 8px; }
.msg.cont { margin-top: 0; }
.msg.minha { align-self: flex-end; flex-direction: row-reverse; }
.av-btn { border-radius: 50%; flex: none; }
.av-espaco { width: 34px; flex: none; }
.bolha {
  position: relative; background: #fff; padding: 7px 12px 6px; border-radius: 4px 18px 18px 18px;
  box-shadow: 0 1px 2px rgba(7, 26, 77, .06); cursor: pointer; min-width: 64px;
  overflow-wrap: anywhere;
}
.msg.cont .bolha { border-radius: 18px; }
.msg.minha .bolha { background: var(--marinho); color: #fff; border-radius: 18px 4px 18px 18px; }
.msg.minha.cont .bolha { border-radius: 18px; }
.chat-dm .msg:not(.minha) .bolha { border-radius: 18px 18px 18px 4px; }
.autor { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; margin-bottom: 1px; }
.msg-oficial .bolha { background: var(--azul-claro); box-shadow: inset 0 0 0 1px #C9D8FF; }
.msg-oficial .av img { object-fit: contain; background: #fff; padding: 3px; box-shadow: 0 0 0 1px #C9D8FF; }
.tag-oficial { background: var(--azul) !important; }
.perfil-oficial .oficial-topo { display: grid; place-items: center; padding: 36px 0 8px; background: var(--azul-claro); }
.perfil-oficial .oficial-topo img { width: 96px; height: 96px; object-fit: contain; }
.perfil-oficial h2 { flex-wrap: wrap; gap: 10px !important; }
.chip-oficial { background: var(--azul); color: #fff; font-family: var(--corpo); font-size: 12px; margin: 0; }
.foto-regra { margin: -6px 0 0; text-align: center; font-size: 12.5px; color: var(--suave); }
.foto-status.erro { color: var(--perigo); font-weight: 500; }
.tag-mod { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--marinho); color: #fff; padding: 1px 6px; border-radius: 4px; }
.texto { font-size: 15px; line-height: 1.42; white-space: pre-wrap; }
.bolha time { float: right; margin: 6px 0 -2px 10px; font-size: 10.5px; color: #A0AAC2; line-height: 1; }
.msg.minha .bolha time { color: rgba(255, 255, 255, .6); }

.pill-novas {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; background: var(--marinho); color: #fff;
  font-size: 13px; font-weight: 600; padding: 7px 10px 7px 14px; border-radius: 999px; box-shadow: var(--sombra);
}
.pill-novas .ic { width: 16px; height: 16px; }

.chat-envio {
  flex: none; display: flex; align-items: flex-end; gap: 8px;
  padding: 10px 12px; padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--linha);
}
.chat-envio textarea {
  flex: 1; resize: none; min-height: 46px; max-height: 132px; padding: 11px 16px;
  border: 1.5px solid var(--linha); border-radius: 23px; background: var(--fundo);
  font-size: 16px; line-height: 1.4; outline: none;
}
.chat-envio textarea:focus { border-color: var(--azul); background: #fff; }
.btn-enviar { width: 46px; height: 46px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; flex: none; transition: background .15s; }
.btn-enviar:hover { background: var(--azul-forte); }
.btn-enviar:disabled { opacity: .5; }
.btn-enviar .ic { width: 20px; height: 20px; margin-left: -2px; margin-top: 1px; }
.chat-aviso { flex: none; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: #FDECEF; color: var(--perigo); font-size: 14px; text-align: center; font-weight: 500; }

/* ---------- folhas (bottom sheets) ---------- */
.folha-fundo {
  position: fixed; inset: 0; z-index: 100; background: rgba(7, 26, 77, 0);
  display: flex; align-items: flex-end; justify-content: center; transition: background .2s;
}
.folha-fundo.aberta { background: rgba(7, 26, 77, .55); }
.folha {
  position: relative; width: 100%; max-width: 520px; max-height: 88dvh; overflow-y: auto;
  background: #fff; border-radius: 22px 22px 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}
.folha-fundo.aberta .folha { transform: none; }
.folha-fundo.centro { align-items: center; padding: 16px; }
.folha-fundo.centro .folha { border-radius: 22px; max-width: 400px; transform: translateY(16px) scale(.98); opacity: 0; transition: transform .22s, opacity .2s; padding-bottom: 20px; }
.folha-fundo.centro.aberta .folha { transform: none; opacity: 1; }
.folha-fechar { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--suave); z-index: 2; }
.folha-fechar:hover { background: var(--fundo); }
.folha h3 { font-size: 20px; font-weight: 700; margin: 0 40px 10px 0; }
.folha .form h3 { margin-bottom: 0; }

.confirmar p { margin: 0 0 18px; color: var(--suave); }
.confirmar .botoes { display: flex; flex-direction: column; gap: 6px; }

.menu { display: flex; flex-direction: column; padding-top: 18px; }
.menu-previa { background: var(--fundo); border-radius: 12px; padding: 10px 14px; margin: 0 0 8px; font-size: 14px; color: var(--suave); max-height: 88px; overflow: hidden; }
.menu-item { text-align: left; padding: 14px 6px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--linha); color: var(--texto); }
.menu-item:last-child { border-bottom: 0; }
.menu-item.perigo { color: var(--perigo); }
.menu-item:hover { background: var(--fundo); }

.regras ul { list-style: none; margin: 0; padding: 0; }
.regras li { padding: 12px 0; border-top: 1px solid var(--linha); color: var(--suave); font-size: 14.5px; }
.regras li strong { display: block; color: var(--texto); font-weight: 600; }

.online-lista ul { list-style: none; margin: 0; padding: 0; }
.online-lista li button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 4px; text-align: left; border-radius: 12px; }
.online-lista li button:hover { background: var(--fundo); }
.online-lista li span { display: flex; flex-direction: column; min-width: 0; }
.online-lista small { color: var(--suave); font-size: 13px; }

.motivos { display: flex; flex-direction: column; gap: 6px; }
.motivos label { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1.5px solid var(--linha); border-radius: 12px; cursor: pointer; font-size: 14.5px; }
.motivos input { accent-color: var(--perigo); width: 18px; height: 18px; margin: 0; }
.motivos label:has(input:checked) { border-color: var(--perigo); background: #FFF6F8; }
.denuncia .suave { margin: -6px 0 0; font-size: 14px; }

/* ---------- perfil (folha) ---------- */
.folha.folha-perfil { padding: 0 0 calc(20px + env(safe-area-inset-bottom)); max-width: 440px; }
.folha-perfil .folha-fechar { background: rgba(255, 255, 255, .85); color: var(--marinho); }
.perfil-foto, .carta-foto, .meu-foto-img {
  position: relative; background: var(--azul-medio) center / cover no-repeat; display: grid; place-items: center;
}
.perfil-foto { aspect-ratio: 4 / 4.2; width: 100%; }
.perfil-foto.sem-foto { aspect-ratio: 16 / 7; }
.perfil-foto.sem-foto .foto-inicial { font-size: 72px; }
.foto-inicial { font-family: var(--display); font-weight: 800; font-size: 96px; color: rgba(255, 255, 255, .5); }
.perfil-dados { padding: 18px 20px 0; }
.perfil-dados h2 { font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 2px; }
.perfil-dados h2 span { font-weight: 500; color: var(--suave); }
.ponto-online { width: 10px; height: 10px; border-radius: 50%; background: var(--verde); margin-left: 8px; }
.perfil-local { margin: 2px 0 10px; color: var(--suave); }
.perfil-bio { margin: 12px 0 18px; line-height: 1.55; white-space: pre-line; }
.perfil-dados .btn { margin-top: 12px; }
.chip { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--azul-claro); color: var(--marinho); margin-right: 6px; }
.chip-mod { background: var(--marinho); color: #fff; }
.chip-claro { background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(6px); }
.perfil-seguranca { display: flex; justify-content: center; gap: 24px; margin-top: 14px; }
.perfil-seguranca button { font-size: 13.5px; color: var(--suave); padding: 6px; }
.perfil-seguranca button:hover { color: var(--perigo); }
.perfil-folha > .carregando, .perfil-folha > .vazio { padding: 60px 20px; }

/* ---------- match ---------- */
.folha.folha-match { text-align: center; padding: 34px 24px 22px; background: linear-gradient(180deg, #EEF3FF, #fff 55%); }
.match-avs { display: flex; justify-content: center; margin-bottom: 18px; }
.match-avs .av { box-shadow: 0 0 0 4px #fff, var(--sombra); }
.match-avs .av:first-child { transform: rotate(-6deg); margin-right: -14px; }
.match-avs .av:last-child { transform: rotate(6deg); }
.match h2 { font-size: 34px; font-weight: 800; color: var(--azul); margin-bottom: 6px; }
.match p { color: var(--suave); margin: 0 0 20px; }
.match .btn-fantasma { margin-top: 6px; }

/* ---------- descobrir ---------- */
.cab .btn-pequeno .ic { width: 16px; height: 16px; }
.filtro-resumo { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.descobrir { display: flex; flex-direction: column; align-items: center; }
.pilha { position: relative; width: 100%; max-width: 400px; height: clamp(360px, calc(100dvh - 300px), 530px); }
.cab-descobrir p { display: none; }
@media (min-width: 640px) { .cab-descobrir p { display: block; } }
.pilha > .vazio, .pilha > .carregando { position: absolute; inset: 0; justify-content: center; background: var(--cartao); border-radius: 24px; box-shadow: var(--sombra); }
.carta {
  position: absolute; inset: 0; border-radius: 24px; overflow: hidden; background: var(--azul-medio);
  box-shadow: 0 10px 30px rgba(7, 26, 77, .16); touch-action: pan-y; user-select: none; -webkit-user-select: none;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .28s; cursor: grab;
  --curtir: 0; --passar: 0;
}
.carta.arrastando { transition: none; cursor: grabbing; }
.carta-atras { transform: scale(.95) translateY(12px); opacity: .7; pointer-events: none; }
.carta.sai-direita { transform: translateX(130%) rotate(16deg) !important; opacity: 0; }
.carta.sai-esquerda { transform: translateX(-130%) rotate(-16deg) !important; opacity: 0; }
.carta-foto { position: absolute; inset: 0; padding-bottom: 40%; }
.carta-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 14, 42, .82)); }
.carta-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; color: #fff; z-index: 1; }
.carta-info h2 { color: #fff; font-size: 28px; font-weight: 800; }
.carta-info h2 span { font-weight: 500; opacity: .9; }
.carta-local { margin: 0 0 8px; opacity: .9; font-weight: 500; }
.carta-bio { margin: 10px 0 0; font-size: 14px; line-height: 1.45; opacity: .92; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.selo {
  position: absolute; top: 26px; z-index: 2; padding: 4px 12px; border: 3px solid; border-radius: 10px;
  font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: .04em; pointer-events: none;
}
.selo-curtir { left: 22px; color: #6BE09A; transform: rotate(-12deg); opacity: var(--curtir); }
.selo-passar { right: 22px; color: #FF8FA3; transform: rotate(12deg); opacity: var(--passar); }
.acoes-descobrir { display: flex; gap: 22px; margin-top: 22px; }
.acao { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: var(--sombra); display: grid; place-items: center; transition: transform .12s; }
.acao:hover { transform: scale(1.06); }
.acao:active { transform: scale(.94); }
.acao .ic { width: 28px; height: 28px; }
.acao-passar { color: var(--suave); }
.acao-curtir { background: var(--azul); color: #fff; }
.acao-curtir .ic { fill: currentColor; }

/* ---------- conversas ---------- */
.conversas h2 { font-size: 13px; font-family: var(--corpo); text-transform: uppercase; letter-spacing: .07em; color: var(--suave); font-weight: 600; margin: 0 0 12px; }
.novos { margin-bottom: 24px; }
.novos-lista { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.novo { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--texto); font-size: 13px; font-weight: 600; width: 72px; flex: none; }
.novo span:last-child { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.novo .av { box-shadow: 0 0 0 2px var(--fundo), 0 0 0 4px var(--azul); }
.lista-conversas { list-style: none; margin: 0; padding: 0; background: var(--cartao); border-radius: var(--raio); box-shadow: var(--sombra); overflow: hidden; }
.lista-conversas li + li { border-top: 1px solid var(--linha); }
.conversa { display: flex; align-items: center; gap: 12px; padding: 12px 16px; text-decoration: none; color: inherit; }
.conversa:hover { background: #F8FAFE; }
.conversa-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.conversa-info strong { font-weight: 600; }
.previa { font-size: 14px; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversa.nao-lida .previa { color: var(--texto); font-weight: 600; }
.conversa-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; color: var(--suave); }
.conversa-meta .badge { box-shadow: none; }

/* ---------- meu perfil ---------- */
.perfil-grade { display: grid; gap: 16px; margin-bottom: 16px; }
.perfil-grade h2 { font-size: 18px; margin-bottom: 12px; }
.meu-foto { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.meu-foto-img { width: 160px; aspect-ratio: 4 / 5; border-radius: 18px; box-shadow: var(--sombra); }
.meu-foto-img .foto-inicial { font-size: 64px; }
.meu-foto-acoes { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.contador { align-self: flex-end; }
.form > .btn-primario:last-child { align-self: flex-start; }
.bloqueados ul { list-style: none; margin: 0; padding: 0; }
.bloqueados li { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.bloqueados li span:nth-child(2) { flex: 1; font-weight: 500; }
.bloqueados .suave { margin: 0; font-size: 14px; }
.links-conta { display: flex; flex-direction: column; }
.link-linha { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-top: 1px solid var(--linha); text-align: left; text-decoration: none; color: var(--texto); font-weight: 500; }
.links-conta h2 + .link-linha { border-top: 0; }
.link-linha .ic { width: 18px; height: 18px; color: var(--azul-medio); }
.link-linha.perigo { color: var(--perigo); }

/* ---------- avisos ---------- */
.toasts { position: fixed; left: 50%; bottom: calc(var(--base) + 16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.em-chat .toasts { bottom: 88px; }
.toast { background: var(--marinho-escuro); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 14px; box-shadow: var(--sombra); animation: entra .2s ease; transition: opacity .3s, transform .3s; }
.toast-erro { background: var(--perigo); }
.toast.saindo { opacity: 0; transform: translateY(6px); }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } }

/* ---------- telas maiores ---------- */
@media (min-width: 640px) {
  .grade-salas { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .perfil-grade { grid-template-columns: 260px 1fr; align-items: start; }
  .conteudo { padding: 28px 24px 40px; }
  .cab h1 { font-size: 32px; }
}

@media (min-width: 900px) {
  :root { --base: 0px; }
  .nav-base { display: none; }
  .shell { padding-bottom: 0; }
  .topo { padding: 0 28px; height: 68px; }
  .nav-topo { display: flex; gap: 4px; }
  .nav-topo .nav-item { flex-direction: row; gap: 8px; padding: 8px 14px; border-radius: 10px; font-size: 14.5px; }
  .nav-topo .nav-item:hover { background: rgba(11, 36, 102, .05); }
  .nav-topo .nav-item.ativo { background: var(--azul-claro); }
  .nav-topo .nav-item[href="#/perfil"] { display: none; }
  .nav-topo .nav-ic .ic { width: 19px; height: 19px; }
  .nav-topo .badge { position: static; }
  .grade-salas { grid-template-columns: repeat(3, 1fr); }
  .sala { flex-direction: column; align-items: flex-start; padding: 18px; min-height: 172px; }
  .sala-info { flex: 1; }
  .toasts { bottom: 24px; }

  .entrada { flex-direction: row; }
  .entrada-marca { flex: 1 1 52%; padding: 44px 56px; display: flex; flex-direction: column; }
  .entrada-marca::after { width: 520px; height: 520px; right: -160px; top: -160px; }
  .entrada-marca h1 { font-size: 44px; margin-top: auto; letter-spacing: -.02em; }
  .entrada .logo-img { height: 68px; }
  .entrada-assinatura { margin-top: auto; }
  .entrada-sub { font-size: 17px; }
  .vitrine { display: block; max-width: 440px; }
  .entrada-rodape { display: block; margin-top: auto; padding-top: 28px; }
  .vitrine-topo { margin: 22px 0 8px; }
  .entrada-form { flex: 1 1 48%; display: flex; align-items: center; justify-content: center; padding: 40px; overflow-y: auto; max-height: 100dvh; }
  .entrada-form .cartao { margin: auto; width: 100%; padding: 28px; }

  .chat { max-width: 860px; margin: 0 auto; box-shadow: 0 0 0 1px var(--linha); }
  body.em-chat { background: #E9EEF8; }
}

@media (max-width: 380px) {
  .linha-dupla { grid-template-columns: 1fr; }
  .segmentado span { font-size: 13px; padding: 0 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
