/* ============================================================
   Sub+ · mesmo visual da demonstração do SYNC
   Fundo lavanda liso, menu lateral flutuante em cartão branco, cartões arredondados,
   roxo em degradê nos destaques, fonte Plus Jakarta Sans, modo claro e escuro.
   ============================================================ */
:root {
  --fundo: #ECEEF6; --cartao: #FFFFFF; --cartao-2: #F7F7FB; --borda: rgba(21,19,31,.08); --borda-campo: #DEDCE8;
  --texto: #15131F; --texto-2: #3B3850; --apagado: #5F5B74;
  --roxo: #7C3AED; --roxo-2: #A855F7; --rosa: #EC4899; --roxo-claro: #F3EEFF; --roxo-texto: #6D28D9;
  --degrade: linear-gradient(135deg, #7C3AED, #A855F7);
  --degrade-texto: linear-gradient(90deg, #7C3AED, #A855F7 45%, #EC4899);
  --sombra: 0 18px 50px -22px rgba(40,20,80,.30); --sombra-btn: 0 12px 26px -12px rgba(124,58,237,.9);
  --raio: 22px; --raio-p: 14px;
  --verde: #0F7A45; --verde-fundo: #E3F6EC; --ambar: #8A5100; --ambar-fundo: #FFF2DB;
  --vermelho: #B42318; --vermelho-fundo: #FDECEC; --info-fundo: #EEE8FF;
  color-scheme: light;
}
html.escuro {
  --fundo: #08070E; --cartao: #15121F; --cartao-2: #1C1829; --borda: rgba(255,255,255,.08); --borda-campo: rgba(255,255,255,.14);
  --texto: #F1EEF9; --texto-2: #D6D1E8; --apagado: #A7A2BF; --roxo-claro: rgba(168,85,247,.16); --roxo-texto: #C4B5FD;
  --sombra: 0 18px 50px -22px rgba(0,0,0,.75);
  --verde: #4ADE80; --verde-fundo: rgba(74,222,128,.12); --ambar: #FBBF24; --ambar-fundo: rgba(251,191,36,.12);
  --vermelho: #F87171; --vermelho-fundo: rgba(248,113,113,.12); --info-fundo: rgba(168,85,247,.16);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--fundo); transition: background-color .3s; }
body { margin: 0; background: var(--fundo); color: var(--texto); font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.45; }
a { color: var(--roxo); } a:hover { color: var(--roxo-2); }
html.escuro a { color: #C4B5FD; }
input, select, textarea, button { font-family: inherit; font-size: 15px; color: inherit; }
h1, h2, h3, .titulo { font-family: inherit; letter-spacing: -0.6px; }
h1 { margin: 0; font-size: 28px; font-weight: 800; }
h2 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rotulo { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--roxo); }
html.escuro .rotulo { color: #C4B5FD; }
.destaque { background: var(--degrade-texto); -webkit-background-clip: text; background-clip: text; color: transparent; }
::-webkit-scrollbar { width: 7px; height: 7px; } ::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(100,116,139,.25); border-radius: 99px; } ::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,.45); }

/* estrutura: menu flutuante + conteúdo */
.layout { display: flex; flex-wrap: wrap; min-height: 100vh; padding: 20px; gap: 20px; align-items: flex-start; }
.menu { flex: 1 1 236px; max-width: 100%; position: sticky; top: 20px; background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); box-shadow: var(--sombra); padding: 18px 14px; display: flex; flex-direction: column; gap: 16px; min-height: calc(100vh - 40px); }
.conteudo { flex: 999 1 560px; min-width: 0; padding: 4px 8px 48px; display: flex; flex-direction: column; gap: 22px; }
.marca { display: flex; align-items: center; gap: 12px; padding: 2px 6px; text-decoration: none; color: var(--texto) !important; }
.marca:hover { color: var(--texto); }
.marca-icone { width: 44px; height: 44px; border-radius: 13px; background: #0B0A10; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; box-shadow: 0 8px 18px -8px rgba(11,10,16,.6); }
.marca-icone svg { width: 26px; height: 26px; }
.marca-nome { font-weight: 800; font-size: 17px; letter-spacing: -0.3px; line-height: 1.1; }
.marca-nome span { color: inherit; }
.marca-sub { font-size: 12px; color: var(--apagado); }
.menu nav { display: flex; flex-direction: column; gap: 3px; }
.menu nav .secao { font-size: 10.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--apagado); padding: 12px 14px 6px; }
.menu nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 14px; color: var(--texto); text-decoration: none; font-size: 14px; font-weight: 600; }
.menu nav a:hover { background: var(--cartao-2); color: var(--texto); }
.menu nav a.ativo { background: var(--degrade); color: #fff; box-shadow: 0 10px 24px -10px rgba(124,58,237,.8); }
.menu nav a[aria-disabled="true"] { color: var(--apagado); cursor: default; }
.menu nav a[aria-disabled="true"]:hover { background: transparent; }
.menu nav svg { width: 18px; height: 18px; flex: 0 0 auto; }
.contador { margin-left: auto; background: var(--roxo-claro); color: var(--roxo-texto); font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; min-width: 22px; text-align: center; }
.menu nav a.ativo .contador { background: rgba(255,255,255,.25); color: #fff; }
.em-breve { margin-left: auto; border: 1px solid var(--borda-campo); color: var(--apagado); font-size: 9.5px; font-weight: 800; letter-spacing: .6px; border-radius: 999px; padding: 2px 7px; }
.tema-btn { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 14px; background: transparent; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--texto); width: 100%; }
.tema-btn svg { width: 18px; height: 18px; }
.tema-btn .chave-tema { margin-left: auto; width: 42px; height: 24px; border-radius: 99px; background: rgba(127,127,140,.28); position: relative; flex: 0 0 auto; }
.tema-btn .chave-tema::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: left .25s; }
html.escuro .tema-btn .chave-tema { background: var(--roxo); } html.escuro .tema-btn .chave-tema::after { left: 21px; }
.empresa-box { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; border: 1px solid var(--borda); background: var(--cartao-2); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #A855F7, #EC4899); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; flex: 0 0 auto; }
.empresa-box .nome { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empresa-box .sub { font-size: 12px; color: var(--apagado); }
.empresa-box button { margin-left: auto; background: none; border: 0; color: var(--apagado); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.empresa-box button:hover { background: var(--cartao); color: var(--texto); }
.empresa-box button svg { width: 18px; height: 18px; }

/* barra do topo */
.topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 6px; }
.topo .ola { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.topo .onde { font-size: 12.5px; color: var(--apagado); display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.topo .onde i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; display: inline-block; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.topo .acoes { display: flex; align-items: center; gap: 10px; }
.redondo { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--borda); background: var(--cartao); color: var(--texto) !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative; text-decoration: none; box-shadow: 0 8px 20px -14px rgba(40,20,80,.4); }
.redondo:hover { color: var(--roxo) !important; }
.redondo svg { width: 18px; height: 18px; }
.redondo .bolinha { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: linear-gradient(135deg, #EC4899, #F43F5E); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--fundo); }

/* blocos */
.cabeca { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.cabeca p { margin: 6px 0 0; color: var(--apagado); }
.cartao { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); padding: 24px; box-shadow: var(--sombra); }
.linha { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.colunas { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.col-principal { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.col-lado { flex: 1 1 320px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.apagado { color: var(--apagado); }
.pequeno { font-size: 13px; }
.vazio { text-align: center; padding: 48px 24px; color: var(--apagado); }

/* campos */
.campo { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; color: var(--texto); }
.linha > .campo { flex: 1 1 180px; }
.campo input, .campo select, .campo textarea { height: 48px; border: 1px solid var(--borda-campo); border-radius: var(--raio-p); padding: 0 16px; color: var(--texto); background: var(--cartao); font-weight: 500; transition: border-color .15s, box-shadow .15s; }
.campo textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--roxo-2); box-shadow: 0 0 0 4px rgba(168,85,247,.18); }
.campo input::placeholder, .campo textarea::placeholder { color: #9A96AE; }
html.escuro .campo input, html.escuro .campo select, html.escuro .campo textarea { background: rgba(255,255,255,.05); }
html.escuro select option { background: #17142A; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; min-height: 32px; color: var(--texto); font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--roxo); }
.check select { color: var(--texto); background: var(--cartao); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 99px; border: 1px solid transparent; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .12s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primario { background: var(--degrade); color: #fff !important; box-shadow: var(--sombra-btn); }
.btn-primario:hover { box-shadow: 0 16px 30px -12px rgba(124,58,237,1); }
.btn-escuro { background: #0B0A10; color: #fff !important; }
html.escuro .btn-escuro { background: #F1EEF9; color: #15131F !important; }
.btn-claro { background: var(--cartao); color: var(--texto) !important; border-color: var(--borda-campo); }
.btn-claro:hover { border-color: var(--roxo-2); color: var(--roxo) !important; }
.btn-perigo { background: var(--vermelho-fundo); color: var(--vermelho) !important; }
.btn-grande { min-height: 52px; font-size: 16px; font-weight: 800; width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--borda); background: var(--cartao); color: var(--texto-2); font-size: 14px; font-weight: 700; cursor: pointer; }
.chip:hover { border-color: var(--roxo-2); }
.chip[aria-pressed="true"] { background: var(--degrade); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -12px rgba(124,58,237,.9); }
.abas { display: inline-flex; gap: 4px; background: var(--cartao); border: 1px solid var(--borda); padding: 5px; border-radius: 99px; align-self: flex-start; }
.abas button { min-height: 40px; padding: 0 20px; border: 0; border-radius: 99px; background: transparent; color: var(--apagado); font-size: 14px; font-weight: 700; cursor: pointer; }
.abas button[aria-selected="true"] { background: var(--degrade); color: #fff; box-shadow: 0 8px 18px -10px rgba(124,58,237,.9); }

/* etiquetas */
.tag { display: inline-block; font-size: 10.5px; font-weight: 800; border-radius: 99px; padding: 5px 10px; letter-spacing: .6px; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--roxo-texto); box-shadow: 0 4px 12px -6px rgba(40,20,80,.35); }
html.escuro .tag { background: rgba(21,18,31,.85); }
.status { display: inline-block; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.st-pendente { background: var(--ambar-fundo); color: var(--ambar); }
.st-aceito { background: var(--info-fundo); color: var(--roxo-texto); }
.st-retirado { background: var(--verde-fundo); color: var(--verde); }
.st-devolvido, .st-recusado, .st-cancelado { background: var(--cartao-2); color: var(--apagado); }
.selo { display: inline-flex; align-items: center; gap: 5px; }
.selo svg { width: 15px; height: 15px; }
.selo svg circle, .selo svg path { stroke: var(--roxo); }

/* resultados */
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.anuncio-card { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit !important; box-shadow: var(--sombra); transition: transform .18s, box-shadow .18s; }
.anuncio-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -24px rgba(76,29,149,.45); }
.foto { height: 170px; background: #EEF0F7 center/cover no-repeat; position: relative; display: flex; align-items: center; justify-content: center; color: var(--apagado); font-size: 12px; margin: 8px 8px 0; border-radius: 16px; }
.foto .tag { position: absolute; top: 10px; left: 10px; }
.anuncio-card .corpo { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex-grow: 1; }
.anuncio-card .nome { font-size: 16px; font-weight: 800; line-height: 1.3; letter-spacing: -0.2px; }
.anuncio-card .rodape { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--borda); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.anuncio-card .btn-escuro { min-height: 40px; padding: 0 16px; }
.preco { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; }
.livre { font-size: 13px; font-weight: 700; color: var(--verde); }

/* pedidos */
.ped-item { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; width: 100%; padding: 18px 20px; border-radius: 18px; background: var(--cartao); border: 2px solid var(--borda); cursor: pointer; text-align: left; color: inherit; font: inherit; box-shadow: 0 10px 30px -22px rgba(40,20,80,.35); }
.ped-item:hover { border-color: rgba(168,85,247,.4); }
.ped-item[aria-pressed="true"] { border-color: var(--roxo-2); box-shadow: 0 16px 34px -20px rgba(124,58,237,.7); }
.passos { list-style: none; margin: 0; padding: 0; }
.passos li { display: flex; gap: 14px; min-height: 54px; }
.passos .bola { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex: 0 0 auto; background: var(--cartao); color: var(--apagado); border: 2px solid var(--borda-campo); }
.passos .feito .bola { background: var(--degrade); color: #fff; border-color: transparent; }
.passos .traco { width: 2px; flex-grow: 1; min-height: 18px; background: var(--borda-campo); margin: 0 auto; }
.passos .feito .traco { background: var(--roxo-2); }
.passos li:last-child .traco { display: none; }
.caixa-cinza { background: var(--cartao-2); border: 1px solid var(--borda); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.par { display: flex; justify-content: space-between; gap: 12px; }
.total { font-weight: 800; font-size: 16px; padding-top: 8px; border-top: 1px solid var(--borda); }
.aviso { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13px; background: var(--roxo-claro); color: var(--texto-2); }
.aviso svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--roxo); }
.aviso-verde { background: var(--verde-fundo); color: var(--texto); } .aviso-verde svg { color: var(--verde); }
.aviso-ambar { background: var(--ambar-fundo); color: var(--texto); }

/* calendário */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; font-size: 13px; }
.cal .sem { font-size: 11px; font-weight: 800; color: var(--apagado); padding-bottom: 4px; letter-spacing: .5px; }
.cal .dia { height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--cartao-2); font-weight: 600; }
.cal .dia.cheio { background: var(--borda); color: var(--apagado); text-decoration: line-through; }
.cal .dia.parcial { background: var(--ambar-fundo); }
.cal .dia.meu { background: var(--degrade); color: #fff; font-weight: 800; }
.cal .dia.passado { color: #A9A5BB; background: transparent; }
.cal .dia.vazio-cal { background: transparent; }

/* tabela */
.tabela-box { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); overflow-x: auto; box-shadow: var(--sombra); }
table.tabela { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 14px; }
.tabela th { text-align: left; color: var(--apagado); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 16px; border-bottom: 1px solid var(--borda); }
.tabela td { padding: 14px 16px; border-bottom: 1px solid var(--borda); vertical-align: middle; }
.tabela td a { color: var(--texto) !important; }
.tabela tr:last-child td { border-bottom: 0; }
.chave { width: 46px; height: 26px; border-radius: 999px; border: 0; padding: 3px; cursor: pointer; display: flex; background: rgba(127,127,140,.3); justify-content: flex-start; }
.chave[aria-checked="true"] { background: var(--degrade); justify-content: flex-end; }
.chave span { width: 20px; height: 20px; border-radius: 50%; background: #fff; display: block; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.indicadores { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.indicador { background: var(--cartao); border: 1px solid var(--borda); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--sombra); }
.indicador .num { font-size: 28px; font-weight: 800; letter-spacing: -0.8px; }
.indicador.escuro { background: var(--degrade); color: #fff; border-color: transparent; box-shadow: var(--sombra-btn); }
.indicador.escuro .apagado { color: rgba(255,255,255,.82); }

/* chat */
.chat { display: flex; flex-wrap: wrap; background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); overflow: hidden; min-height: 620px; box-shadow: var(--sombra); }
.chat-lista { flex: 1 1 280px; border-right: 1px solid var(--borda); display: flex; flex-direction: column; max-height: 720px; overflow-y: auto; padding: 8px; gap: 4px; }
.chat-lista a { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--texto) !important; }
.chat-lista a:hover { background: var(--cartao-2); }
.chat-lista a.ativo { background: var(--roxo-claro); }
.chat-conversa { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; }
.chat-msgs { flex-grow: 1; padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; max-height: 520px; min-height: 320px; }
.bolha { max-width: 72%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; font-size: 14px; line-height: 1.5; background: var(--cartao-2); border: 1px solid var(--borda); align-self: flex-start; white-space: pre-wrap; overflow-wrap: anywhere; }
.bolha.minha { background: var(--degrade); color: #fff; align-self: flex-end; border: 0; border-radius: 18px 18px 6px 18px; box-shadow: 0 10px 22px -12px rgba(124,58,237,.8); }
.bolha .autor { display: block; font-size: 11px; opacity: .75; margin-bottom: 2px; font-weight: 700; }
.sistema { align-self: center; max-width: 520px; text-align: center; font-size: 12px; color: var(--texto-2); background: var(--ambar-fundo); border-radius: 99px; padding: 7px 16px; }
.chat-envio { padding: 14px 20px; border-top: 1px solid var(--borda); display: flex; gap: 10px; }
.chat-envio input { flex-grow: 1; height: 48px; border: 1px solid var(--borda-campo); border-radius: 99px; padding: 0 18px; background: var(--cartao-2); color: var(--texto); }
.chat-envio input:focus { outline: none; border-color: var(--roxo-2); box-shadow: 0 0 0 4px rgba(168,85,247,.18); }

/* entrar (igual ao login do SYNC) */
.entrar { min-height: 100vh; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 48px clamp(20px, 7vw, 120px); position: relative; }
.entrar-lado { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; }
.entrar-lado .pilula { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; color: var(--roxo); background: var(--cartao); border: 1px solid var(--borda); border-radius: 99px; padding: 8px 16px; text-transform: uppercase; }
html.escuro .entrar-lado .pilula { color: #C4B5FD; }
.entrar-lado h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.02; letter-spacing: -2px; font-weight: 800; }
.entrar-lado p.chamada { margin: 0; font-size: 17px; color: var(--apagado); max-width: 540px; line-height: 1.6; }
.entrar-lado ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; max-width: 620px; }
.entrar-lado li { background: var(--cartao); border: 1px solid var(--borda); border-radius: 18px; padding: 14px 16px; font-size: 13px; color: var(--apagado); box-shadow: 0 10px 30px -22px rgba(40,20,80,.4); display: flex; gap: 12px; align-items: flex-start; }
.entrar-lado li b { display: block; color: var(--texto); font-size: 14px; margin-bottom: 2px; }
.entrar-lado li .ic { width: 36px; height: 36px; border-radius: 11px; background: var(--roxo-claro); color: var(--roxo); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.entrar-lado li .ic svg { width: 18px; height: 18px; }
.entrar-form { flex: 1 1 420px; display: flex; justify-content: center; }
.entrar-form .cartao { width: 100%; max-width: 470px; display: flex; flex-direction: column; gap: 18px; padding: 34px; border-radius: 28px; box-shadow: 0 30px 80px -30px rgba(76,29,149,.35); }
.entrar-form .abas { align-self: stretch; display: flex; } .entrar-form .abas button { flex: 1; }
.entrar .tema-flutua { position: absolute; top: 20px; right: 20px; }
.entrar .rodape-form { text-align: center; font-size: 12px; color: var(--apagado); }
.erro { background: var(--vermelho-fundo); color: var(--vermelho); padding: 12px 14px; border-radius: 14px; font-size: 14px; font-weight: 600; }
.ok-msg { background: var(--verde-fundo); color: var(--verde); padding: 12px 14px; border-radius: 14px; font-size: 14px; }

/* avisos rápidos */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #15131F; color: #fff; padding: 12px 20px; border-radius: 99px; font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px -14px rgba(21,19,31,.6); z-index: 50; max-width: 90vw; }
#toast[hidden] { display: none; }
#toast.ruim { background: #B42318; }

/* janela */
dialog { border: 0; border-radius: 26px; padding: 0; width: min(660px, 94vw); box-shadow: 0 30px 80px -20px rgba(21,19,31,.5); background: var(--cartao); color: var(--texto); }
dialog::backdrop { background: rgba(21,19,31,.45); backdrop-filter: blur(4px); }
dialog .cartao { border: 0; box-shadow: none; display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.fotos-ed { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.fotos-ed .f { height: 96px; border-radius: 14px; background: #EEF0F7 center/cover no-repeat; position: relative; }
.fotos-ed .f button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(21,19,31,.75); color: #fff; cursor: pointer; }
.estrelas { display: flex; gap: 4px; }
.estrelas button { width: 40px; height: 40px; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--borda-campo); }
.estrelas button.on { color: #F5A623; }

@media (max-width: 860px) {
  .layout { padding: 12px; gap: 12px; }
  .menu { position: static; min-height: 0; padding: 12px; gap: 10px; }
  .menu nav { flex-direction: row; flex-wrap: wrap; }
  .menu nav .secao { display: none; }
  .conteudo { padding: 0 4px 40px; }
  .empresa-box { margin-top: 0; }
  .entrar { padding: 72px 16px 28px; gap: 28px; }
  .entrar-lado, .entrar-form { flex: 1 1 100%; min-width: 0; }
  .entrar-form { order: -1; }
  .entrar-lado ul { grid-template-columns: 1fr; }
  .entrar-lado .pilula { white-space: normal; }
  .entrar-form .cartao { padding: 24px; }
  .bolha { max-width: 88%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
