/* MobilyTech · menu flutuante na estética da barra da galeria /express/efeitos (F21d, D-206c).
 * Sobrepõe as regras do menu que vêm nos bundles (assets/<hash>.css), por isso entra no fim do <head>.
 * Vale para o menu "base" (sem figurino): html sem data-mundo ou com data-mundo base/vitrine. Os figurinos dos
 * trabalhos (maison, forno, punk, garagem...) continuam com o visual próprio de cada site.
 * Pílula com cantos de 10 px e borda sutil; links soltos (sem grupo cinza, F26) com realce limpo deslizante (menu-mega.css/js); cartões e folha com cantos menores;
 * botão "Montar meu site" pequeno e azul (não é botão grande) com o dropdown .mn-esc (assets/ui/menu-cta.js). */

:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn {
  --mn-c-raio: var(--raio-lg, 10px);
  --mn-c-raio-in: var(--raio-sm, 6px);
  --mn-c-line: var(--linha, rgba(10, 10, 10, .11));
  --mn-c-hov: var(--seg-fundo, rgba(10, 10, 10, .05));
  --mn-c-ring: var(--linha, rgba(10, 10, 10, .11));
  --mn-c-sombra: inset 0 0 0 1px var(--linha, rgba(10, 10, 10, .11)), 0 24px 50px -20px rgba(10, 10, 10, .32);
}

/* ---------- pílula ---------- */
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-pilula {
  border-radius: var(--raio-lg);
  background-color: rgba(255, 255, 255, .9);
  box-shadow: inset 0 0 0 1px var(--linha), 0 1px 2px rgba(10, 10, 10, .04), 0 14px 34px -24px rgba(10, 10, 10, .28);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  padding: 0 8px 0 12px; gap: 8px;
}
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn--rolou .mn-pilula { background-color: rgba(255, 255, 255, .94); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn--folha .mn-pilula { background-color: #fff; }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-marca:focus-visible { border-radius: var(--raio-sm); }

/* links soltos e limpos na pílula (F26: sem grupo cinza em volta). O realce de vidro que desliza de um item ao outro e o mega menu
 * ficam em menu-mega.css/js; sem JS, o hover cai num preenchimento suave estático abaixo (.mn:not(.mn--mega)). */
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-lista {
  position: relative; gap: 2px; padding: 0; border-radius: 0; background: none; box-shadow: none;
}
/* garantia (F26 de novo): nenhum fundo, borda, sombra ou desfoque em volta da lista de links em nenhum estado (topo, rolado, mega aberto,
 * figurinos). A barra flutuante (.mn-pilula) continua; só não existe um segundo cartão em volta das opções. */
html .mn.mn--mega ul.mn-lista, html .mn.mn--mega .mn-ilha {
  background: none; background-color: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-link {
  --mn-mola: cubic-bezier(.3, 1.4, .46, 1);
  height: 36px; padding: 0 13px; gap: 6px; border-radius: var(--raio-md);
  color: var(--ui-tinta-2); font: 600 13px/1 var(--f-text);
  transition: color .28s ease, transform .34s var(--mn-mola);
}
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-link:hover,
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-link:focus-visible,
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-link[aria-expanded="true"] { color: var(--ui-tinta); background: transparent; }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-link:active { transform: scale(.97); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn:not(.mn--mega) .mn-link:hover { background: rgba(15, 23, 42, .05); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-link svg { width: 13px; height: 13px; transition: transform .42s cubic-bezier(.3, 1.4, .46, 1); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-link[aria-expanded="true"] svg { transform: rotate(180deg); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) :is(.mn-link, .mn-cta, .mn-abre-folha, .mn-zap):focus-visible { border-radius: var(--raio-sm); outline-color: var(--ui-foco); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-novo { border-radius: var(--raio-xs); }

/* "Montar meu site": pequeno, azul, cantos de 8 px, com seta de dropdown */
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-cta {
  height: 40px; margin-left: 0; padding: 0 14px 0 16px; gap: 7px; border-radius: var(--raio-md);
  font: 600 13.5px/1 var(--f-text);
  transition: transform .34s cubic-bezier(.3, 1.4, .46, 1), background-color .32s ease, box-shadow .32s ease, color .25s ease;
}
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-cta:hover { transform: translate3d(0, -1px, 0); box-shadow: 0 8px 18px -8px rgba(15, 96, 217, .55); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-cta:active { transform: scale(.97); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-cta[aria-haspopup] .mn-cta-icone,
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-cta[aria-haspopup]::before { display: none; content: none; }
.mn-cta-chev { flex: none; width: 14px; height: 14px; margin-left: 1px; transition: transform .42s cubic-bezier(.3, 1.4, .46, 1); }
[aria-expanded="true"] > .mn-cta-chev { transform: rotate(180deg); }
/* figurinos: a seta não entra no visual próprio de cada site */
html[data-mundo]:not([data-mundo="base"]):not([data-mundo="vitrine"]) .mn-cta .mn-cta-chev { display: none; }

/* compacto (celular): "Menu" como .ui-drop e o atalho do WhatsApp com cantos menores */
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-abre-folha {
  height: 40px; border-radius: var(--raio-md); background: var(--seg-fundo); box-shadow: inset 0 0 0 1px var(--seg-borda);
  color: var(--ui-tinta); font: 600 13px/1 var(--f-text);
}
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-abre-folha:hover { background: rgba(10, 10, 10, .08); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-abre-folha[aria-expanded="true"] { background: var(--seg-ativo); color: var(--seg-ativo-fg); box-shadow: none; }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-zap { width: 40px; height: 40px; border-radius: var(--raio-md); }

/* ---------- cartões Portfólio / Inspire-se ---------- */
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-drop { top: calc(100% + 10px); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-site-img { border-radius: var(--raio-sm); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-site-img img { border-radius: var(--raio-xs); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-conceito-img { border-radius: var(--raio-sm); }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) :is(.mn-site, .mn-conceito):focus-visible { border-radius: var(--raio-sm); }

/* ---------- folha (celular) ---------- */
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-folha { border-radius: var(--raio-lg); }
/* botao "Fechar menu" da folha: so para leitor de tela e teclado (o X do topo fecha para quem enxerga) */
.mn-folha > [data-mn-fecha] {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.mn-folha > [data-mn-fecha]:focus-visible { clip: auto; clip-path: none; width: auto; height: 34px; margin: 8px 0 0; padding: 0 12px; position: static; overflow: visible; }
/* rotulo do "Quanto custa" em uma linha no celular */
.mn-f-link > span { white-space: nowrap; }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-f-cta {
  --h: 48px; height: 48px; justify-content: center; gap: 8px; border-radius: var(--raio-md); font: 600 15px/1 var(--f-text);
}
.mn-f-cta[aria-haspopup] > svg:first-child { display: none; }
.mn-f-cta .mn-cta-chev { width: 16px; height: 16px; }
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-f-link:focus-visible,
:is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) .mn-f-s:focus-visible { border-radius: var(--raio-sm); }

/* ---------- dropdown "Como você quer começar?" (.mn-esc, criado por menu-cta.js) ---------- */
.mn-esc {
  box-sizing: border-box; padding: 10px; border-radius: var(--raio-lg, 10px);
  background: var(--ui-pop, #fff); color: var(--ui-tinta, #0A0A0A); text-align: left;
  box-shadow: var(--ui-pop-sombra, inset 0 0 0 1px rgba(10, 10, 10, .11), 0 24px 50px -20px rgba(10, 10, 10, .32));
  font-family: var(--f-text);
}
.mn-esc[hidden] { display: none; }
.mn-esc--pilula { position: absolute; top: calc(100% + 10px); right: 0; z-index: 6; width: min(372px, calc(100vw - 32px)); animation: mn-esc-entra .2s var(--ease-out, ease) both; }
.mn-esc--folha { margin-top: 8px; padding: 8px; box-shadow: inset 0 0 0 1px var(--linha, rgba(10, 10, 10, .11)); animation: mn-esc-entra .2s var(--ease-out, ease) both; }
@keyframes mn-esc-entra { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.mn-esc-tit { margin: 0; padding: 4px 6px 10px; font: 600 13px/1.3 var(--f-text); color: var(--ui-tinta, #0A0A0A); }
.mn-esc-grupo { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mn-esc-item {
  display: flex; align-items: center; gap: 11px; min-height: 52px; padding: 7px 8px; border-radius: var(--raio-sm, 6px);
  color: var(--ui-tinta, #0A0A0A); text-decoration: none; outline: none; transition: background-color .18s ease;
}
.mn-esc-item:hover { background: var(--seg-fundo, rgba(10, 10, 10, .05)); color: var(--ui-tinta, #0A0A0A); }
.mn-esc-item:focus-visible { background: var(--seg-fundo, rgba(10, 10, 10, .05)); box-shadow: inset 0 0 0 2px var(--ui-foco, #0F60D9); }
.mn-esc-ic {
  flex: none; width: 34px; height: 34px; padding: 8px; box-sizing: border-box; border-radius: var(--raio-sm, 6px);
  background: var(--seg-fundo, rgba(10, 10, 10, .05)); box-shadow: inset 0 0 0 1px var(--seg-borda, rgba(10, 10, 10, .11)); color: var(--ui-tinta, #0A0A0A);
}
.mn-esc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mn-esc-txt b { font: 600 13.5px/1.3 var(--f-text); }
.mn-esc-txt small { font: 400 12.5px/1.35 var(--f-text); color: var(--ui-tinta-3, #5E5E68); }
.mn-esc-seta { flex: none; width: 15px; height: 15px; color: var(--ui-tinta-3, #5E5E68); transition: transform .25s var(--ease, ease), color .2s; }
.mn-esc-item:hover .mn-esc-seta, .mn-esc-item:focus-visible .mn-esc-seta { color: var(--ui-tinta, #0A0A0A); transform: translateX(2px); }
.mn-esc-item:hover .mn-esc-ic { background: var(--seg-ativo, #0A0A0A); color: var(--seg-ativo-fg, #fff); box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .mn-esc, .mn-cta-chev, .mn-esc-seta, .mn-link svg { animation: none; transition: none; }
  :is(html:not([data-mundo]), html[data-mundo="base"], html[data-mundo="vitrine"]) :is(.mn-link, .mn-cta):is(:active, :hover) { transform: none; }
}
