/*
 * O visual do app iOS na web (ios-mai/design/README.md e Mai/DesignSystem/Theme.swift): fundo nuvem, cartões brancos
 * de canto 26 sem sombra nem borda, azul #1E40AF para ação, números grandes em Instrument Serif, botões em cápsula
 * de 52 px. Por enquanto vale para o onboarding (/bem-vindo), a tela do cartão (/start-trial) e as telas em volta do
 * checkout; as classes começam com app- para não colidir com o Tailwind do resto do site. Só o modo claro, como o site.
 */
:root {
    --app-bg: #F0F4FF;
    --app-surface: #FFFFFF;
    --app-surface2: #E2E8F0;
    --app-separator: rgba(10, 22, 40, .10);
    --app-text: #0A1628;
    --app-text2: #475569;
    --app-text3: #5E6B80;
    --app-accent: #1E40AF;
    --app-on-accent: #FFFFFF;
    --app-accent-soft: rgba(30, 64, 175, .10);
    --app-green: #11743F;
    --app-green-soft: rgba(17, 116, 63, .10);
    --app-livelo: #C21C62;
    --app-esfera: #2457C2;
    --app-track: rgba(10, 22, 40, .12);
    --app-serif: 'Instrument Serif', Georgia, serif;
}

/* A tela inteira, como uma tela do app: coluna de até 480 px, margem de 16 px e a área segura do iPhone. */
.app-tela {
    background: var(--app-bg);
    color: var(--app-text);
    min-height: 100dvh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.app-coluna {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: max(12px, env(safe-area-inset-top)) 16px 0;
}

/* Barra do alto: voltar, progresso em segmentos e o Pular */
.app-topo { display: flex; align-items: center; gap: 12px; min-height: 52px; }
.app-voltar {
    width: 44px; height: 44px; flex: none; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--app-surface); color: var(--app-text);
}
.app-voltar-vazio { width: 0; }
.app-progresso { flex: 1; display: flex; gap: 6px; }
.app-segmento { flex: 1; height: 4px; border-radius: 2px; background: var(--app-track); transition: background .3s; }
.app-segmento.ativo { background: var(--app-accent); }

/* Tipografia */
.app-titulo { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -.01em; margin: 20px 0 6px; color: var(--app-text); text-wrap: balance; }
.app-sub { font-size: 17px; line-height: 24px; color: var(--app-text2); margin: 0 0 20px; }
.app-hero { font-family: var(--app-serif); font-weight: 400; font-size: 76px; line-height: 64px; letter-spacing: -.03em; color: var(--app-accent); font-variant-numeric: tabular-nums; }
.app-unidade { font-size: 15px; color: var(--app-text2); }
.app-rotulo { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--app-text2); }
.app-nota { font-size: 15px; line-height: 20px; color: var(--app-text2); }

/* Cartões e grupos */
.app-cartao { background: var(--app-surface); border-radius: 26px; padding: 20px; overflow-wrap: anywhere; }
.app-cartao + .app-cartao { margin-top: 12px; }
.app-hairline { height: 1px; background: var(--app-separator); margin: 16px -20px; }
.app-grupo { background: var(--app-surface); border-radius: 22px; overflow: hidden; overflow-wrap: anywhere; }
.app-linha { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; width: 100%; text-align: left; }
.app-linha + .app-linha { border-top: 1px solid var(--app-separator); }
.app-linha-icone { width: 32px; height: 32px; flex: none; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--app-accent-soft); color: var(--app-accent); }
.app-dica { display: flex; gap: 10px; align-items: flex-start; background: var(--app-bg); border-radius: 16px; padding: 12px 14px; font-size: 15px; line-height: 20px; color: var(--app-text); margin-top: 16px; }
.app-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--app-accent-soft); color: var(--app-accent); }
.app-pill.verde { background: var(--app-green-soft); color: var(--app-green); }
/* Régua (Regua.swift): trilho de 4 px de 0 ao recorde, faixa do habitual até hoje, marca do habitual e ponto de hoje */
.app-regua { margin-top: 16px; }
.app-regua-barra { position: relative; height: 14px; }
.app-regua-trilho, .app-regua-faixa { position: absolute; top: 5px; height: 4px; border-radius: 2px; }
.app-regua-trilho { left: 0; right: 0; background: var(--app-track); }
.app-regua-faixa { background: var(--app-accent); }
.app-regua-habitual { position: absolute; top: 0; width: 2px; height: 14px; margin-left: -1px; border-radius: 1px; background: var(--app-text2); }
.app-regua-hoje { position: absolute; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 999px; background: var(--app-accent); box-shadow: 0 0 0 3px var(--app-surface); }
.app-regua-rotulos { position: relative; height: 18px; margin-top: 6px; font-size: 13px; line-height: 18px; color: var(--app-text2); }
.app-regua-rotulos span { position: absolute; top: 0; white-space: nowrap; }
.app-regua-rotulos .meio { transform: translateX(-50%); }
.app-regua-rotulos .fim { right: 0; }
.app-ponto { display: inline-block; width: 7px; height: 7px; border-radius: 999px; margin-right: 6px; vertical-align: middle; }
.app-ponto.livelo { background: var(--app-livelo); }
.app-ponto.esfera { background: var(--app-esfera); }

/* Logo da loja em squircle (logo_da_loja com tamanho=) */
.app-tile { border-radius: 15px; box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .08); overflow: hidden; }
.app-tile-p { border-radius: 11px; }

/* Botões em cápsula */
.app-botao {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px;
    border-radius: 999px; padding: 0 20px; font-size: 17px; font-weight: 600; text-align: center;
    background: var(--app-accent); color: var(--app-on-accent); border: 0; transition: transform .15s, opacity .15s;
}
.app-botao:hover { opacity: .92; color: var(--app-on-accent); }
.app-botao:active { transform: scale(.98); }
.app-botao.tonal { background: var(--app-surface2); color: var(--app-text); }
.app-botao.pequeno { width: auto; min-height: 44px; font-size: 15px; padding: 0 16px; }
.app-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--app-accent); background: none; border: 0; }

/* Barra de ação no pé da tela, por cima do conteúdo que rola */
.app-rodape {
    position: sticky; bottom: 0; margin-top: auto; padding: 16px 0 max(16px, env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, rgba(240, 244, 255, 0), var(--app-bg) 24px);
}
.app-rodape > * + * { margin-top: 8px; }

/* Busca em cápsula */
.app-busca { display: flex; align-items: center; gap: 8px; background: var(--app-surface2); border-radius: 999px; padding: 4px 4px 4px 16px; margin-bottom: 16px; color: var(--app-text3); }
.app-busca input { flex: 1; min-width: 0; height: 40px; background: transparent; border: 0; outline: none; font-size: 17px; color: var(--app-text); }
.app-busca input::placeholder { color: var(--app-text3); }

/* Grade de lojas: 3 colunas, a escolhida com fundo azul claro, contorno de 2 px e o selo de check */
.app-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.app-loja {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
    background: var(--app-surface); border-radius: 22px; padding: 14px 6px 12px; cursor: pointer; width: 100%;
    transition: transform .15s, background .2s, box-shadow .2s;
}
.app-loja:active { transform: scale(.97); }
.app-loja:has(input:checked) { background: var(--app-accent-soft); box-shadow: inset 0 0 0 2px var(--app-accent); }
.app-loja:has(input:checked)::after {
    content: '✓'; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 999px;
    background: var(--app-accent); color: var(--app-on-accent); font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.app-loja-nome { font-size: 15px; line-height: 19px; font-weight: 500; color: var(--app-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.app-loja-hoje { font-size: 13px; color: var(--app-text2); }

/* Faixas de gasto da tela de gastos: um rádio de verdade por faixa, em cápsula; a escolhida em azul claro com contorno */
/* Sem margem acima das faixas e com o subtítulo numa linha, as 3 categorias cabem acima do rodapé num iPhone 13 (664 px). */
.app-faixas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.app-linha:has(> .app-faixas) { gap: 8px; }
.app-faixa { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 4px; border-radius: 999px; background: var(--app-surface2); color: var(--app-text2); font-size: 15px; font-weight: 600; cursor: pointer; }
.app-faixa:has(input:checked) { background: var(--app-accent-soft); color: var(--app-accent); box-shadow: inset 0 0 0 1.5px var(--app-accent); }
.app-faixa:has(input:focus-visible) { outline: 3px solid var(--app-accent); outline-offset: 2px; }
.app-faixa input { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* Controle do alvo: o controle nativo na cor do app (no iPhone, o polegar branco e o trilho azul do iOS) */
.app-range { width: 100%; height: 28px; margin: 12px 0 0; accent-color: var(--app-accent); cursor: pointer; }

/* Interruptor do iOS (uma caixa de seleção de verdade) */
.app-switch {
    -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 51px; height: 31px;
    border-radius: 999px; background: var(--app-track); cursor: pointer; transition: background .2s; margin: 0;
}
.app-switch::after {
    content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 999px; background: #fff;
    box-shadow: 0 2px 4px rgba(10, 22, 40, .2); transition: transform .2s;
}
.app-switch:checked { background: var(--app-accent); }
.app-switch:checked::after { transform: translateX(20px); }

/* A linha de referência (trigger_ui) vem com as cores do Tailwind: dentro da linha, a do app */
.app-nota p { color: var(--app-text2); font-size: 15px; line-height: 20px; }

/* Prévia do aviso: o e-mail que chega quando a loja bate o alvo */
.app-aviso { display: flex; gap: 12px; align-items: flex-start; background: var(--app-surface); border-radius: 22px; padding: 14px 16px; text-align: left; }
.app-marca { width: 38px; height: 38px; flex: none; border-radius: 10px; }
.app-check { width: 64px; height: 64px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--app-green-soft); color: var(--app-green); margin: 12px auto 0; }

/* Entrada das telas do assistente */
.app-entra { animation: app-entra .3s ease-out; }
@keyframes app-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .app-entra { animation: none; } .app-segmento, .app-loja, .app-switch, .app-switch::after { transition: none; } }

/* O Pico e o MonsterUI dão cor e largura própria a <p>, <a> e <label>: dentro da tela vale a deste arquivo. */
.app-tela p, .app-tela label { color: inherit; }
.app-tela label { width: auto; }
.app-tela [role="alert"] p, .app-tela [role="alert"] a { color: inherit; }

/* A inicial da loja sem logo, no azul do app */
div.app-tile { background: var(--app-accent-soft); }
div.app-tile > span { color: var(--app-accent); font-size: 22px; }
div.app-tile > img { background: #fff; }

/*
 * O site público (home, páginas de loja, promoções, guias e blog) no mesmo visual: o fundo nuvem, o cabeçalho claro,
 * o botão em cápsula, os cartões brancos sem borda nem sombra e a serifa nos títulos e números grandes. O layout
 * (grade, espaçamento, breakpoints) continua com as classes do Tailwind de cada página.
 */
/* Redesenho de 24/11/2026 (Diego, a partir da conversa com o Jordan; referência de estrutura: getstanley.ai): o fundo
   é branco e as superfícies (cartões, grupos, chips) viram a nuvem; a letra é a Plus Jakarta Sans, pesada e apertada
   nos títulos; a serifa fica só nos números grandes (.app-serif). As variáveis mudam só dentro do .app-site: o
   onboarding e as telas logadas seguem com as do :root. */
.app-site {
    --app-bg: #FFFFFF; --app-surface: #EEF2FF; --app-surface2: #E3E9FB; --site-chip: #DCE4FB; --site-tinta: #0A1628;
    --site-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--app-bg); color: var(--app-text); font-family: var(--site-sans); -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
.app-display { font-family: var(--app-serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
.app-site .app-display { font-family: var(--site-sans); font-weight: 700; letter-spacing: -.035em; }
.app-serif { font-family: var(--app-serif); font-weight: 400; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.app-cor-valor { color: var(--app-accent); }
.app-cor-texto2 { color: var(--app-text2); }
/* O botão do tamanho do texto, não da coluna. Uma classe só: um w-full do Tailwind, que vem depois, ainda o estica. */
.app-solto { width: auto; padding-left: 28px; padding-right: 28px; }
/* Sobre um fundo azul-noite (as páginas do anúncio): o azul do modo escuro do app, com o texto navy. */
.app-botao.sobre-escuro, .app-botao.sobre-escuro:hover { background: #60A5FA; color: var(--app-text); }
.app-cabecalho { background: var(--app-bg); box-shadow: inset 0 -1px 0 var(--app-separator); }
.app-cabecalho a.atual { color: var(--app-text); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.app-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 18px; background: var(--app-surface); color: var(--app-text); font-weight: 600; transition: background .2s; }
.app-chip:hover, .app-linha:is(a):hover { background: var(--app-accent-soft); }
.app-cartao.banner { border-radius: 24px; }
.app-faq summary { list-style: none; }
.app-faq summary::-webkit-details-marker { display: none; }
.app-faq summary::after { content: "+"; content: "+" / ""; flex: none; font-size: 1.25rem; line-height: 1; color: var(--app-accent); }
.app-faq[open] summary::after { content: "\2212"; content: "\2212" / ""; }
.app-cabecalho a:not(.app-botao) { transition: color .15s; }
.app-nevoa { background: linear-gradient(to left, var(--app-bg), rgba(240, 244, 255, 0)); }
/* No celular o botão do cabeçalho divide 360 px com o ícone, o nome e o Entrar: letra de 14 e 12 de respiro. */
.app-cabecalho .app-botao { font-size: 14px; padding: 0 12px; }
@media (min-width: 768px) { .app-cabecalho .app-botao { font-size: 15px; padding: 0 18px; } }
/* A barra do teste no pé do celular: a superfície branca e a linha fina em cima, sem sombra */
.app-barra { background: var(--app-surface); box-shadow: inset 0 1px 0 var(--app-separator); }
/* Sem escolha de cookies a barra fica acima do banner compacto (bottom-20); quando o htmx tira o banner sem recarregar, ela desce
   para o pé, com o respiro da área segura do iPhone que a barra sem banner tem (SEOComponents.barra_cta). Aqui, e não no
   publico.css: as páginas que ainda usam o Tailwind do CDN (a home, as do rodapé) também têm a barra. */
body:not(:has(#banner-de-cookies)) .fixed.bottom-20 { bottom: 0px; padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)); }
.app-faq + .app-faq { border-top: 1px solid var(--app-separator); }
.app-grupo > li + li { border-top: 1px solid var(--app-separator); }
.app-cabecalho a:not(.app-botao):not(.app-cor-valor):hover { color: var(--app-text); }

/* Título da página pública na serifa, como nos apps (vence o font-bold do Tailwind e do publico.css). */
.app-site h1 { font-family: var(--site-sans); font-weight: 700; letter-spacing: -.036em; line-height: 1.05; text-wrap: balance; }
.app-site h1:not(.app-display, .site-g) { font-size: clamp(34px, 6.4vw, 60px); }
/* Cartão das páginas públicas: a superfície nuvem sobre o fundo branco, sem contorno nem sombra. */
.app-site .bg-white.border:not(input, select, textarea) { border-color: transparent; background-color: var(--app-surface); }
/* Campo de formulário: cinza do app, sem contorno, como a busca. */
.app-site :is(input, select, textarea).border { background-color: var(--app-surface2); border-color: transparent; }
.app-cor-texto { color: var(--app-text); }

/* Entrar com Google e com a Apple: cápsulas de 52 px, como no app. O Google pede fundo branco com contorno fino. */
.app-botao.branco, .app-botao.branco:hover { background: #FFFFFF; color: #1F1F1F; box-shadow: inset 0 0 0 1px rgba(116, 119, 117, .4); }
.app-botao.preto, .app-botao.preto:hover { background: #000000; color: #FFFFFF; }

/* O número que rola (NumeroQueRola, app/components/ganho_ui.py), como o odômetro do NumberFlow: cada algarismo é a
   fita 0-9 numa janela de uma linha, que entra no 0 e para no algarismo (--d). Algarismos tabulares: toda fita tem a
   mesma largura. Sem movimento para quem pediu menos movimento: a fita já nasce no lugar. */
.app-rola { font-variant-numeric: tabular-nums; white-space: nowrap; }
.app-rola-d { display: inline-block; height: 1lh; overflow: hidden; vertical-align: top; }
.app-rola-d > span { display: flex; flex-direction: column; transform: translateY(calc(var(--d) * -1lh)); animation: app-rola .9s cubic-bezier(.16, 1, .3, 1) .15s both; }
.app-rola-d > span > span { height: 1lh; }
@keyframes app-rola { from { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .app-rola-d > span { animation: none; } }
/* Navegador sem a unidade lh (Safari antes do 16.4): o número parado, sem a fita. */
@supports not (height: 1lh) {
    .app-rola > [aria-hidden] { display: none; }
    .app-rola > .sr-only { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: nowrap; }
}

/* Folha do pé da tela no celular (o painel do sino e a novidade em destaque), como o Vaul: sobe do pé com a alça no
   alto, o fundo escurece (no sino, o mesmo ::before do <summary> que fecha ao tocar fora) e respeita a barra do
   iPhone. Sem arrastar para fechar: arrastar pede JavaScript; fecha tocando fora, no sino ou no Fechar. A partir de
   640 px (o sm: do Tailwind) é o painel que desce do sino e o cartão no meio da tela. */
.mai-folha-alca { display: none; }
@media (max-width: 639.98px) {
    .mai-folha { padding-bottom: max(1rem, env(safe-area-inset-bottom)); box-shadow: 0 -8px 32px rgba(10, 22, 40, .16); animation: mai-folha-sobe .35s cubic-bezier(.32, .72, 0, 1); }
    .mai-folha-alca { display: block; width: 36px; height: 5px; margin: 6px auto 10px; border-radius: 999px; background: rgba(10, 22, 40, .18); }
    .mai-menu-conta[open] > summary:has(+ .mai-folha)::before { background: rgba(10, 22, 40, .35); animation: mai-fundo-escurece .35s ease-out; }
}
@keyframes mai-folha-sobe { from { transform: translateY(100%); } }
@keyframes mai-fundo-escurece { from { opacity: 0; } }

/*
 * As telas logadas (AppShell, #app.app-painel): os componentes ainda usam as cores do Tailwind e do MonsterUI; aqui
 * elas viram as do app. Dois seletores de classe vencem o utilitário do Tailwind (CDN, que entra depois deste arquivo).
 * Âmbar, laranja, roxo e rosa (avisos e selos) viram o azul suave com texto escuro; o verde fica só para a meta
 * batida (texto e ícone, sem fundo colorido); o vermelho é o do app. Cartões sem sombra, de canto 22.
 */
.app-painel {
    --primary: 226 71% 40%;
    --primary-foreground: 0 0% 100%;
    --foreground: 216 60% 10%;
    --muted-foreground: 215 19% 35%;
    --border: 214 32% 91%;
    --input: 214 32% 91%;
    --ring: 226 71% 40%;
    background: var(--app-bg);
    color: var(--app-text);
}
.app-painel :is(.bg-gray-50, .bg-slate-50) { background-color: var(--app-bg); }
.app-painel :is(.bg-gray-100, .bg-slate-100) { background-color: var(--app-surface2); }
.app-painel :is(.bg-blue-50, .bg-blue-100, .bg-amber-50, .bg-amber-100, .bg-yellow-50, .bg-yellow-100, .bg-orange-50,
    .bg-orange-100, .bg-purple-50, .bg-pink-100) { background-color: #E9ECF7; }
.app-painel :is(.bg-emerald-50, .bg-emerald-100, .bg-green-50) { background-color: var(--app-green-soft); }
.app-painel :is(.bg-red-50, .bg-red-100) { background-color: #FEF2F2; }
.app-painel :is(.bg-blue-600, .bg-blue-700, .bg-blue-800, .bg-emerald-600, .hover\:bg-blue-700:hover,
    .hover\:bg-blue-900:hover) { background-color: var(--app-accent); color: var(--app-on-accent); }
.app-painel :is(.bg-red-600, .bg-red-700, .hover\:bg-red-800:hover) { background-color: #C2362B; }
.app-painel :is(.hover\:bg-gray-50, .hover\:bg-slate-50, .hover\:bg-blue-50, .hover\:bg-gray-100):hover { background-color: var(--app-accent-soft); }
.app-painel .bg-gradient-to-r, .app-painel .bg-gradient-to-br, .app-painel .bg-gradient-to-b { background-image: none; }

.app-painel :is(.text-gray-900, .text-slate-900, .text-gray-800, .text-slate-800, .text-amber-900, .text-amber-800,
    .text-orange-900, .text-pink-800, .hover\:text-gray-900:hover) { color: var(--app-text); }
.app-painel :is(.text-gray-700, .text-slate-700, .text-gray-600, .text-slate-600, .text-amber-700) { color: var(--app-text2); }
.app-painel :is(.text-gray-500, .text-slate-500, .text-gray-400) { color: var(--app-text3); }
.app-painel :is(.text-blue-600, .text-blue-700, .text-blue-800, .text-blue-900, .hover\:text-blue-700:hover,
    .hover\:text-blue-800:hover, .hover\:text-blue-900:hover, .group:hover .group-hover\:text-blue-600) { color: var(--app-accent); }
.app-painel :is(.text-emerald-700, .text-emerald-800, .text-emerald-900, .text-green-600, .text-green-900) { color: var(--app-green); }
.app-painel :is(.text-red-600, .text-red-700, .text-red-800, .text-red-900, .hover\:text-red-700:hover) { color: #C2362B; }
.app-painel :is(.text-orange-600, .text-purple-600) { color: var(--app-accent); }

.app-painel :is(.border-gray-100, .border-gray-200, .border-gray-300, .border-slate-100, .border-slate-200,
    .border-slate-300, .border-blue-100, .border-blue-200) { border-color: var(--app-separator); }
.app-painel :is(.border-amber-200, .border-amber-300, .border-emerald-100, .border-green-200, .border-red-200) { border-color: transparent; }
.app-painel :is(.border-blue-600, .border-blue-700, .hover\:border-blue-400:hover, .hover\:border-blue-500:hover) { border-color: var(--app-accent); }
.app-painel :is(.ring-slate-200, .ring-gray-200, .ring-emerald-200, .ring-amber-200, .ring-orange-200, .ring-pink-200) { --tw-ring-color: var(--app-separator); }

.app-painel :is(.shadow-sm, .shadow, .shadow-md, .shadow-lg, .shadow-xl, .hover\:shadow-md:hover, .hover\:shadow-lg:hover,
    .uk-card) { box-shadow: none; }
.app-painel .uk-card { border-color: transparent; border-radius: 22px; background: var(--app-surface); }
.app-painel :is(.rounded-xl, .rounded-2xl):not(button, a, input, select, textarea) { border-radius: 22px; }
.app-painel :is(.uk-btn, button.bg-blue-600, a.bg-blue-600, button.bg-blue-700, a.bg-blue-700) { border-radius: 999px; }
.app-painel :is(input, select, textarea):not([type="checkbox"], [type="radio"], [type="range"]) {
    background-color: var(--app-surface); border-color: var(--app-separator); border-radius: 15px; }
/* O título da aba como o título grande do app (largeTitle: 34/41, negrito, sem serifa: no app a serifa é só dos números
   grandes, do nome do plano e do login). */
.app-painel main > h1 { font-family: inherit; font-weight: 700; font-size: 34px; line-height: 41px; letter-spacing: -.01em; }
/* Cartão branco: superfície sobre o fundo, sem contorno (o fundo azulado já separa). */
.app-painel :is(.bg-white, .uk-card).border:not(input, select, textarea, button, a) { border-color: transparent; }

/*
 * O site novo (redesenho de 24/11/2026): o menu flutuante, o rodapé com a marca gigante e as peças da home. As classes
 * começam com site-. O iPhone é desenhado em CSS em volta de uma captura do app (static/site/), e tudo se mede pela
 * largura dele (--fw).
 */
header.app-cabecalho {
    width: calc(100% - 24px); max-width: 1256px; margin: 10px auto 0; border-radius: 18px; box-shadow: none;
    background: rgba(227, 233, 251, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
header.app-cabecalho .app-botao { background: var(--site-tinta); border-radius: 12px; }
header.app-cabecalho .app-nevoa { background: linear-gradient(to left, #E3E9FB, rgba(227, 233, 251, 0)); border-radius: 0 0 18px 0; }
header.app-cabecalho a[aria-label] span { font-weight: 800; letter-spacing: -.03em; }
header.app-cabecalho nav { white-space: nowrap; }
@media (min-width: 768px) { header.app-cabecalho { position: sticky; top: 10px; z-index: 30; } }
footer.app-cabecalho { background: var(--app-surface); box-shadow: none; overflow: hidden; }
.site-marca { font-size: min(40vw, 500px); font-weight: 800; letter-spacing: -.075em; line-height: .74; color: var(--site-tinta); margin: 48px 0 -.05em; text-align: center; user-select: none; }
.site-marca i { font-style: normal; color: var(--app-accent); }
.app-site .app-cartao { border-radius: 28px; }

.site-w { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.site-secao { padding-top: 168px; }
.site-centro { text-align: center; }
.app-site h1.site-g, .site-g { font-size: clamp(42px, 7.3vw, 88px); line-height: 1.05; letter-spacing: -.036em; font-weight: 700; text-wrap: balance; }
.site-h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
/* A palavra em destaque: um bloco da altura da letra, para o fundo não cobrir a linha de cima */
.site-chip-t { display: inline-block; background: var(--site-chip); border-radius: .16em; padding: 0 .12em .04em; margin: .06em -.04em 0; line-height: 1; }
.site-sub { font-size: 19px; line-height: 29px; color: var(--app-text2); max-width: 560px; margin: 22px auto 0; text-wrap: balance; }
.site-sub b { color: var(--app-text); font-weight: 600; }
.site-eyebrow { font-size: 14px; font-weight: 600; color: var(--app-text2); margin-bottom: 14px; }
.site-t { font-size: 18px; line-height: 28px; color: var(--app-text2); margin-top: 18px; max-width: 520px; }
.site-nota { font-size: 14px; line-height: 20px; color: var(--app-text3); margin-top: 16px; }
.site-nota a { text-decoration: underline; }

/* Herói: o título, o formulário em cápsula (loja e e-mail) e o iPhone com os avisos de hoje */
.site-hero { text-align: center; padding-top: 48px; }
.site-form { margin: 30px auto 0; max-width: 640px; background: #fff; border: 1px solid var(--app-separator); border-radius: 999px; padding: 6px; display: flex; gap: 4px; box-shadow: 0 14px 44px rgba(10, 22, 40, .10); }
.site-campo { flex: 1; min-width: 0; padding: 8px 20px; text-align: left; border-right: 1px solid var(--app-separator); }
.site-campo.ult { border-right: 0; }
.site-campo label { display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--app-text2); font-weight: 700; margin-bottom: 2px; }
.site-form .site-campo :is(input, select) { border: 0; outline: 0; background: transparent; font: inherit; color: var(--app-text); width: 100%; padding: 0; height: 26px; -webkit-appearance: none; appearance: none; text-overflow: ellipsis; }
.site-form .site-campo input::placeholder { color: var(--app-text3); }
/* A seta do campo da loja: sem ela (appearance: none) ninguém vê que dá para trocar a loja */
.site-form .site-campo select { cursor: pointer; padding-right: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 2px center / 12px 8px; }
.site-form:focus-within { border-color: var(--app-accent); }
.site-form .site-btn, a.site-btn { border-radius: 999px; padding: 0 26px; min-height: 58px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; white-space: nowrap; color: #fff; background: linear-gradient(100deg, #0A1628, #14235a 60%, #1E40AF 140%); border: 0; cursor: pointer; }
.site-palco { position: relative; margin: 44px auto 0; height: 660px; max-width: 1000px; }
.site-palco::before { content: ""; position: absolute; left: 50%; top: 60px; width: 760px; height: 560px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 64, 175, .16), rgba(30, 64, 175, 0)); }
.site-palco > .site-iphone { position: absolute; left: 50%; top: 0; transform: translateX(-50%); --fw: 340px; }
.site-avisos { list-style: none; margin: 0; padding: 0; }
.site-aviso { position: absolute; z-index: 4; display: flex; gap: 10px; align-items: center; text-align: left; width: 330px; padding: 13px 14px; border-radius: 24px; background: rgba(248, 249, 253, .82); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 30px 60px -12px rgba(10, 22, 40, .28), 0 10px 20px -8px rgba(10, 22, 40, .16); font-family: -apple-system, 'SF Pro Text', 'Inter', sans-serif; }
.site-aviso img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.site-aviso img:last-child { border-radius: 8px; border: 1px solid var(--app-separator); }
.site-aviso div { min-width: 0; flex: 1; }
.site-aviso small { display: flex; justify-content: space-between; font-size: 12px; color: var(--app-text3); }
.site-aviso p { font-size: 13.5px; line-height: 17px; color: #1f2a3d; overflow-wrap: anywhere; }
.site-aviso p:first-of-type { font-size: 14px; font-weight: 700; color: var(--app-text); }
/* O primeiro aviso desce como a faixa de notificação do iOS, fica uns segundos e sobe de volta: não tapa o número do app */
.site-aviso:nth-child(1) { left: 50%; top: 22px; width: 316px; margin-left: -158px; animation: site-cai 11s cubic-bezier(.2, .9, .3, 1.1) 1s infinite both; }
.site-aviso:nth-child(2) { left: 50%; top: 250px; margin-left: -470px; transform: rotate(-4deg); animation: site-boia 7s ease-in-out infinite; }
.site-aviso:nth-child(3) { left: 50%; top: 420px; margin-left: 140px; transform: rotate(3deg); animation: site-boia 8s ease-in-out -3s infinite; }
@keyframes site-cai { 0% { transform: translateY(-170%); opacity: 0; } 6%, 52% { transform: none; opacity: 1; } 58%, 100% { transform: translateY(-170%); opacity: 0; } }
@keyframes site-boia { 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .site-aviso:nth-child(n) { animation: none; } }
.site-som { display: inline-flex; align-items: center; min-height: 44px; margin-top: 22px; background: var(--site-chip); color: var(--site-tinta); border-radius: 999px; padding: 0 22px; font-size: 15px; font-weight: 600; border: 0; cursor: pointer; }

/* iPhone: moldura de titânio escuro, borda preta fina, ilha, botões e a barra de status (sinal, Wi-Fi e bateria) por cima da captura */
.site-iphone { position: relative; width: var(--fw, 330px); aspect-ratio: 330 / 700; border-radius: calc(var(--fw, 330px) * .165); padding: calc(var(--fw, 330px) * .012); background: linear-gradient(145deg, #5b5f68, #1b1d22 28%, #3a3d45 52%, #111216 80%, #4a4d55); box-shadow: 0 60px 90px -30px rgba(10, 22, 40, .45), 0 30px 50px -20px rgba(10, 22, 40, .3), inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 2.5px rgba(0, 0, 0, .55); flex: none; }
.site-iphone::before, .site-iphone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(#4a4d55, #1b1d22); }
.site-iphone::before { left: -3px; top: 23%; height: 8%; box-shadow: 0 calc(var(--fw, 330px) * .2) 0 #2b2e34; }
.site-iphone::after { right: -3px; top: 30%; height: 13%; }
.site-vidro { height: 100%; border-radius: calc(var(--fw, 330px) * .153); background: #05070c; padding: calc(var(--fw, 330px) * .028); position: relative; }
.site-tela { height: 100%; border-radius: calc(var(--fw, 330px) * .128); overflow: hidden; position: relative; background: #F0F4FF; }
.site-tela > img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; max-width: none; }
.site-ilha { position: absolute; top: calc(var(--fw, 330px) * .052); left: 50%; transform: translateX(-50%); width: 29%; height: calc(var(--fw, 330px) * .085); border-radius: 99px; background: #05070c; z-index: 3; }
.site-sb { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 6.4%; background: #F0F4FF; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 9% 1.2% 11%; font: 600 calc(var(--fw, 330px) * .042)/1 -apple-system, 'SF Pro Text', 'Inter', sans-serif; color: #0A1628; }
.site-sb i { display: inline-block; width: calc(var(--fw, 330px) * .205); height: calc(var(--fw, 330px) * .038); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 13' fill='%230A1628'%3E%3Crect x='0' y='8' width='3' height='4.5' rx='.8'/%3E%3Crect x='5' y='6' width='3' height='6.5' rx='.8'/%3E%3Crect x='10' y='3.5' width='3' height='9' rx='.8'/%3E%3Crect x='15' y='1' width='3' height='11.5' rx='.8'/%3E%3Cpath d='M32 3.2c2.6 0 5 1 6.8 2.7l1.1-1.2A11.3 11.3 0 0 0 32 1.5c-3 0-5.800 1.200-7.900 3.200l1.100 1.200A9.700 9.700 0 0 1 32 3.200zm0 3.500c1.600 0 3.100.6 4.300 1.700l1.100-1.200A8 8 0 0 0 32 5c-2.100 0-4 .8-5.400 2.200l1.100 1.200A6.200 6.200 0 0 1 32 6.700zm0 3.400c.8 0 1.500.3 2 .8L32 13l-2-2.100c.5-.5 1.200-.8 2-.8z'/%3E%3Crect x='45.500' y='1' width='21' height='11' rx='3.200' fill='none' stroke='%230A1628' stroke-opacity='.4'/%3E%3Crect x='47' y='2.500' width='18' height='8' rx='2'/%3E%3Cpath d='M68 4.800v3.400c.8-.3 1.300-1 1.300-1.700s-.5-1.400-1.300-1.700z' fill-opacity='.45'/%3E%3C/svg%3E") right center / contain no-repeat; }

/* Seções: os ícones das lojas, o painel nuvem com os iPhones saindo por baixo, a faixa dos passos */
/* As lojas em teclas 3D: o corpo na cor da marca (--cor, no link), a face branca com o logo, brilho por cima e a sombra
   no chão; cada uma com o seu giro, e a face afunda quando o mouse passa */
.site-icones { display: flex; justify-content: center; gap: 40px 34px; flex-wrap: wrap; margin-top: 84px; padding: 0 0 36px; list-style: none; }
.site-icones a { display: block; --cor: #1E40AF; perspective: 700px; }
.site-tecla { display: block; position: relative; width: 124px; height: 124px; border-radius: 32px; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, .34)), var(--cor); box-shadow: inset 0 2px 1px rgba(255, 255, 255, .45), inset 0 -8px 12px rgba(0, 0, 0, .22), 0 26px 30px -14px var(--cor), 0 46px 44px -22px rgba(10, 22, 40, .45); transform: rotateX(24deg) rotateZ(var(--giro, -6deg)) translateY(var(--sobe, 0)); transition: transform .25s cubic-bezier(.2, .9, .3, 1.3); }
.site-tecla > * { position: absolute; left: 7px; right: 7px; top: 5px; width: auto; height: 96px; border-radius: 26px; background: #fff; box-shadow: inset 0 -5px 8px rgba(10, 22, 40, .1), 0 4px 0 rgba(0, 0, 0, .22), 0 9px 8px rgba(0, 0, 0, .18); object-fit: contain; transition: transform .14s; }
.site-tecla > span { display: grid; place-items: center; font: 800 44px var(--site-sans); color: var(--site-tinta); }
.site-tecla::after { content: ""; position: absolute; left: 13px; right: 13px; top: 9px; height: 40px; border-radius: 20px 20px 46px 46px; background: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); pointer-events: none; }
.site-icones li:nth-child(4n+1) .site-tecla { --giro: -9deg; --sobe: 14px; }
.site-icones li:nth-child(4n+2) .site-tecla { --giro: 6deg; --sobe: -6px; }
.site-icones li:nth-child(4n+3) .site-tecla { --giro: -3deg; --sobe: -18px; }
.site-icones li:nth-child(4n) .site-tecla { --giro: 8deg; --sobe: 4px; }
.site-icones a:hover .site-tecla { transform: rotateX(10deg) rotateZ(0deg) translateY(calc(var(--sobe, 0px) - 8px)) scale(1.06); }
.site-icones a:hover .site-tecla > *, .site-icones a:active .site-tecla > * { transform: translateY(7px); }
/* A entrada de cada bloco conforme a página rola, onde o navegador tem a linha do tempo de rolagem; sem ela, tudo parado */
@keyframes site-surge { from { opacity: 0; transform: translateY(56px); filter: blur(8px); } }
@keyframes site-pousa { from { opacity: 0; transform: translateY(70px) scale(.6); filter: blur(12px); } }
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .site-secao > :is(.site-g, .site-h2, .site-eyebrow, .site-t), .site-painel, .site-conversa, .site-assist > :first-child > *, .site-vs, .site-final { animation: site-surge linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
        .site-icones li { animation: site-pousa linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
        .site-icones li:nth-child(2n) { animation-range: entry 20% entry 110%; }
        .site-icones li:nth-child(3n) { animation-range: entry 40% entry 130%; }
        /* As falas chegam uma a uma enquanto o iPhone sobe na tela. A linha do tempo é a do iPhone (--papo): a tela
           dele corta o que vaza (overflow), e com view() cada fala mediria a rolagem dessa tela, que não rola. */
        .site-assist > .site-iphone { view-timeline: --papo block; }
        .site-papo-falas > * { animation: site-pousa linear both; animation-timeline: --papo; animation-range: cover 12% cover 22%; }
        .site-papo-falas > :nth-child(2) { animation-range: cover 18% cover 28%; }
        .site-papo-falas > :nth-child(3) { animation-range: cover 25% cover 35%; }
        .site-papo-falas > :nth-child(4) { animation-range: cover 31% cover 41%; }
        .site-papo-falas > :nth-child(5) { animation-range: cover 36% cover 46%; }
    }
}
.site-painel { background: #EEF2FF; border-radius: 32px; padding: 72px 64px; position: relative; overflow: hidden; --app-surface: #FFFFFF; --app-surface2: #E3E9FB; }
.site-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.site-duas > * { min-width: 0; }
.site-vaza { display: flex; justify-content: center; align-items: flex-start; gap: 22px; margin-bottom: -260px; align-self: start; }
.site-vaza .site-iphone { --fw: 250px; }
.site-vaza .site-iphone:last-child { margin-top: 70px; }
.site-faixa { background: #EEF2FF; margin-top: 120px; padding: 110px 0; --app-surface: #FFFFFF; }
.site-rec { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.site-rec > * { min-width: 0; }
.site-radios { position: relative; }
.site-radios > input { position: absolute; opacity: 0; pointer-events: none; }
.site-lado { display: grid; place-items: center; min-height: 620px; }
.site-lado .site-iphone { --fw: 290px; display: none; }
.site-passos { list-style: none; margin: 28px 0 0; padding: 0; }
.site-passos label { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; border-radius: 20px; padding: 20px 24px; cursor: pointer; color: var(--app-text2); margin-bottom: 6px; }
.site-passos label > p:first-child { grid-row: span 2; font-size: 44px; color: var(--app-text3); }
.site-passos h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.site-passos label > p:last-child { font-size: 15.5px; line-height: 24px; margin-top: 4px; }
#passo-1:checked ~ .site-rec .l1, #passo-2:checked ~ .site-rec .l2, #passo-3:checked ~ .site-rec .l3 { background: #fff; box-shadow: 0 20px 50px rgba(10, 22, 40, .10); }
#passo-1:checked ~ .site-rec .l1 h3, #passo-2:checked ~ .site-rec .l2 h3, #passo-3:checked ~ .site-rec .l3 h3 { color: var(--app-text); }
#passo-1:checked ~ .site-rec .l1 > p:first-child, #passo-2:checked ~ .site-rec .l2 > p:first-child, #passo-3:checked ~ .site-rec .l3 > p:first-child { color: var(--app-accent); }
#passo-1:checked ~ .site-rec .p1, #passo-2:checked ~ .site-rec .p2, #passo-3:checked ~ .site-rec .p3 { display: block; }
#passo-1:focus-visible ~ .site-rec .l1, #passo-2:focus-visible ~ .site-rec .l2, #passo-3:focus-visible ~ .site-rec .l3 { outline: 3px solid var(--app-accent); outline-offset: 2px; }

/* Quem faz: o cartão de conversa e o retrato */
.site-conversa { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; max-width: 960px; margin: 56px auto 0; text-align: left; }
.site-conversa > * { min-width: 0; }
.site-cartao { background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 2px 0 #eef0f6, 0 30px 70px rgba(10, 22, 40, .13); border: 1px solid var(--app-separator); }
.site-quem { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--app-separator); margin-bottom: 18px; }
.site-quem img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.site-quem b { display: block; }
.site-quem span { font-size: 13px; color: var(--app-text3); }
.site-bolha { display: block; width: fit-content; background: #EDEFF4; border-radius: 20px; padding: 10px 16px; font-size: 16px; line-height: 23px; margin-bottom: 8px; max-width: 86%; overflow-wrap: anywhere; }
.site-bolha.eu { background: #1f8bff; color: #fff; margin-left: auto; }
.site-bolha a { text-decoration: underline; }
.site-retrato { width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; object-position: 50% 15%; border-radius: 28px; display: block; }

/* A assistente: o mascote, o título e os inícios de conversa de um lado; do outro, o iPhone com a conversa em bolhas,
   nas cores do app (a pessoa no azul da Mai, a Mai na bolha clara com o mascote ao lado) */
.site-assist { display: grid; grid-template-columns: 1fr auto; gap: 88px; align-items: center; text-align: left; }
.site-assist > * { min-width: 0; }
.site-assist > div:first-child > .mai-mascote { margin-bottom: 22px; }
.site-assist > .site-iphone { --fw: 330px; transform: rotate(2.5deg); }
.site-inicios { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }
.site-inicios li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; background: var(--app-surface); }
.site-inicios small { display: block; font-size: 12px; font-weight: 600; color: var(--app-text3); }
.site-inicios b { display: block; font-size: 15.5px; line-height: 20px; font-weight: 600; }
.site-papo { background: #fff; display: flex; flex-direction: column; font-family: -apple-system, 'SF Pro Text', 'Inter', sans-serif; }
.site-papo > .site-sb { background: #fff; }
.site-papo-topo { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 15% 0 9px; border-bottom: 1px solid var(--app-separator); }
.site-papo-topo p { text-align: center; font-size: 12.5px; line-height: 15px; }
.site-papo-topo small { display: block; font-size: 10.5px; color: var(--app-text3); }
.site-papo-falas { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 12px 11px; overflow: hidden; }
.site-papo .site-bolha { font-size: 14px; line-height: 19px; padding: 8px 12px; margin-bottom: 0; background: var(--app-surface); border-radius: 18px 18px 18px 6px; max-width: 100%; }
.site-papo .site-bolha.eu { background: var(--app-accent); color: #fff; border-radius: 18px 18px 6px 18px; max-width: 84%; }
.site-fala { display: flex; align-items: flex-end; gap: 6px; }
.site-fala > div { min-width: 0; display: grid; gap: 6px; }
.site-papo-loja { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--app-separator); box-shadow: 0 8px 18px -10px rgba(10, 22, 40, .25); }
.site-papo-loja > :first-child { width: 36px; height: 36px; flex: none; border-radius: 10px; border: 1px solid var(--app-separator); display: grid; place-items: center; font-weight: 800; color: var(--app-accent); background: #fff; }
.site-papo-loja p { font-size: 12.5px; line-height: 16px; }
.site-papo-loja p:last-child { margin-left: auto; text-align: right; color: var(--app-accent); white-space: nowrap; }
.site-papo-loja small { display: block; font-size: 10.5px; color: var(--app-text3); }
.site-papo-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 30px; }
.site-papo-chips span { background: var(--site-chip); color: var(--app-accent); border-radius: 999px; padding: 6px 11px; font-size: 11.5px; line-height: 14px; font-weight: 600; }
.site-papo-campo { display: flex; align-items: center; justify-content: space-between; margin: 0 11px 9%; padding: 0 5px 0 15px; height: 40px; border-radius: 999px; border: 1px solid var(--app-separator); font-size: 13.5px; color: var(--app-text3); }
.site-papo-campo span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--app-accent); color: #fff; font-weight: 700; }

/* Sem a Mai e com a Mai: a mesma compra, lado a lado */
.site-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.site-vs > div { border-radius: 28px; padding: 44px 40px; text-align: center; min-width: 0; background: #F3F4F7; }
.site-vs > .com { background: var(--app-surface); }
.site-vs h3 { font-size: 14px; font-weight: 600; color: var(--app-text3); margin-bottom: 22px; }
.site-vs .com h3 { color: var(--app-accent); }
.site-big { font-family: var(--app-serif); font-size: clamp(72px, 9vw, 112px); line-height: .9; letter-spacing: -.03em; color: #8791a3; font-variant-numeric: tabular-nums; }
.site-vs .com .site-big { color: var(--app-accent); }
.site-leg { font-size: 15px; line-height: 23px; color: var(--app-text2); margin-top: 14px; }

/* Preços: o plano recomendado no azul-noite */
.site-planos .app-cartao { padding: 34px; background: #fff; box-shadow: inset 0 0 0 1px var(--app-separator); }
.site-planos .app-cartao:has(> .app-pill) { background: linear-gradient(160deg, #0A1628, #101f4d); color: #fff; box-shadow: none; --app-text2: #B9C4DD; --app-accent: #8FB0FF; --app-accent-soft: rgba(143, 176, 255, .18); --app-on-accent: #0A1628; }
.site-planos .app-cartao:has(> .app-pill) .app-botao { background: #fff; }

/* Chamada final: o painel nuvem com o iPhone inclinado saindo por cima */
.site-final { background: #EEF2FF; border-radius: 32px; padding: 88px 64px; position: relative; margin-top: 150px; --app-surface: #FFFFFF; }
.site-final > div:first-child { max-width: 560px; }
.site-final > .site-iphone { position: absolute; right: 8%; top: -90px; --fw: 290px; transform: rotate(9deg); }

/* Etapa 2 do site novo: as faixas das páginas públicas ficam brancas e os cartões, na cor nuvem, é que aparecem */
.app-site section:is(.from-blue-50, .from-green-50, .bg-gray-50) { background: var(--app-bg); }
.site-loja { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; text-align: left; margin-bottom: 36px; overflow: hidden; padding: 8px 8px 0; border-bottom: 1px solid var(--app-separator); }
.site-loja > * { min-width: 0; }
.site-loja > div:first-child > img { width: 76px; height: 76px; border-radius: 22px; background: #fff; border: 1px solid var(--app-separator); box-shadow: 0 12px 30px rgba(10, 22, 40, .1); margin-bottom: 20px; }
.site-loja h1 { margin-bottom: 14px; }
.site-loja .site-iphone { --fw: 250px; margin: 16px auto -210px; transform: rotate(4deg); }
@media (max-width: 860px) {
    .site-secao { padding-top: 96px; }
    .site-hero { padding-top: 28px; }
    .site-sub { font-size: 17px; line-height: 26px; }
    .site-form { flex-direction: column; border-radius: 28px; padding: 8px; gap: 0; }
    .site-campo { border-right: 0; border-bottom: 1px solid var(--app-separator); padding: 12px 16px; }
    .site-campo.ult { border-bottom: 0; }
    .site-form .site-btn { min-height: 56px; margin-top: 6px; }
    .site-palco { height: auto; margin-top: 40px; display: flex; flex-direction: column; align-items: center; }
    .site-palco::before { width: 100%; height: 420px; }
    .site-palco > .site-iphone { position: relative; left: auto; transform: none; --fw: 290px; }
    .site-avisos { display: contents; }
    .site-aviso:nth-child(1) { top: 18px; width: 270px; margin-left: -135px; }
    .site-aviso:nth-child(2) { position: relative; left: auto; top: auto; width: 286px; margin: -64px auto 0 -4px; }
    .site-aviso:nth-child(3) { position: relative; left: auto; top: auto; width: 286px; margin: 12px -4px 0 auto; }
    .site-painel { padding: 40px 22px; border-radius: 26px; }
    .site-duas, .site-conversa, .site-rec, .site-vs, .site-assist, .site-inicios { grid-template-columns: 1fr; }
    .site-assist { gap: 56px; }
    .site-assist > .site-iphone { --fw: 316px; margin: 0 auto; }
    .site-papo-falas { gap: 7px; padding: 8px 10px; }
    .site-papo .site-bolha { font-size: 13.5px; line-height: 18px; }
    .site-duas { gap: 40px; }
    .site-icones { gap: 26px 18px; margin-top: 48px; }
    .site-tecla { width: 84px; height: 84px; border-radius: 22px; }
    .site-tecla > * { left: 5px; right: 5px; top: 4px; height: 64px; border-radius: 18px; }
    .site-tecla > span { font-size: 30px; }
    .site-tecla::after { left: 9px; right: 9px; top: 6px; height: 26px; }
    .site-vaza { margin-bottom: -200px; }
    .site-vaza .site-iphone { --fw: 150px; }
    .site-faixa { margin-top: 80px; padding: 64px 0; }
    .site-rec { gap: 24px; }
    .site-lado { min-height: 0; order: 2; }
    .site-lado .site-iphone { --fw: 250px; }
    .site-vs > div { padding: 32px 20px; }
    .site-final { padding: 44px 24px 0; margin-top: 80px; overflow: hidden; }
    .site-final > .site-iphone { position: relative; right: auto; top: auto; margin: 36px auto -120px; --fw: 240px; transform: rotate(6deg); }
    .site-loja { grid-template-columns: 1fr; gap: 0; margin-bottom: 20px; padding-bottom: 14px; }
    .site-loja .site-iphone { display: none; }
}

/*
 * O mascote da Mai e o ícone 3D (app/components/mascote_ui.py), iguais aos dos apps. O movimento é só CSS: respira,
 * pisca de vez em quando e, pensando, olha para cima e mexe as barras da antena.
 */
.mai-mascote { flex: none; overflow: visible; filter: drop-shadow(0 4px 5px rgba(30, 64, 175, .3)); }
.mai-mascote-traco { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; }
.mai-mascote-olho, .mai-mascote-barra { transform-box: fill-box; }
.mai-mascote-olho { transform-origin: center; }
.mai-mascote-barra { transform-origin: bottom; }
.mai-mascote--pensando .mai-mascote-pupila { transform: translate(2.5px, -6.5px); }
.mai-mascote--dormindo .mai-mascote-antena { opacity: .55; }
.mai-mascote--vivo { animation: mai-mascote-respira 3.2s ease-in-out infinite; }
.mai-mascote--vivo .mai-mascote-olho { animation: mai-mascote-pisca 3.8s infinite; }
.mai-mascote--vivo.mai-mascote--pensando .mai-mascote-barra { animation: mai-mascote-barra .7s ease-in-out infinite; }
.mai-mascote--vivo.mai-mascote--pensando .mai-mascote-barra:nth-child(2) { animation-delay: -.35s; }
.mai-mascote--vivo.mai-mascote--pensando .mai-mascote-barra:nth-child(3) { animation-delay: -.2s; }
@keyframes mai-mascote-respira { 50% { transform: translateY(-2.5%); } }
@keyframes mai-mascote-pisca { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.12); } }
@keyframes mai-mascote-barra { 50% { transform: scaleY(.45); } }

.mai-icone-3d { position: relative; display: inline-flex; flex: none; align-items: center; justify-content: center; width: var(--lado); height: var(--lado); border-radius: calc(var(--lado) * .3); color: #fff; background: linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)), var(--cor); box-shadow: inset 0 calc(var(--lado) * -.05) 0 rgba(0, 0, 0, .18), 0 calc(var(--lado) * .1) calc(var(--lado) * .2) color-mix(in srgb, var(--cor) 38%, transparent); }
.mai-icone-3d::before { content: ""; position: absolute; top: 6%; left: 22%; width: 56%; height: 12%; border-radius: 999px; background: rgba(255, 255, 255, .3); }
.mai-icone-3d > * { position: relative; }

/* A aba Assistente (app/components/assistente_ui.py): o título com a frase em destaque lilás do site, as falas em
   bolhas como numa conversa de mensagens e os três pontos de "escrevendo". */
.assist-titulo { font-size: clamp(34px, 6vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -.036em; color: var(--app-text); }
.assist-titulo > span:first-child { display: flex; align-items: center; gap: 14px; }
.assist-destaque { display: inline-block; background: #DCE4FB; border-radius: .2em; padding: 0 .14em .04em; margin: .06em 0 0 -.06em; }
.assist-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #DCE4FB; color: var(--app-accent); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s; }
.assist-chip:hover { background: #CBD6F8; }
.assist-inicio { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border: 0; border-radius: 22px; background: var(--app-surface); color: var(--app-text); text-align: left; cursor: pointer; transition: transform .15s, background .15s; }
.assist-inicio:hover { background: #F8FAFF; }
.assist-inicio:active { transform: scale(.98); }
.assist-inicio small { display: block; font-size: 12px; font-weight: 600; color: var(--app-text3); }
.assist-inicio b { display: block; font-size: 16px; font-weight: 500; }
.assist-inicio > span:last-child { display: flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: auto; border-radius: 999px; background: #DCE4FB; color: var(--app-accent); }
.assist-fala { display: flex; align-items: flex-end; gap: 8px; }
.assist-bolha { min-width: 0; max-width: 100%; padding: 12px 16px; border-radius: 20px 20px 20px 6px; background: var(--app-surface); }
.assist-bolha-eu { margin-left: auto; max-width: 85%; padding: 11px 16px; border-radius: 20px 20px 6px 20px; background: var(--app-accent); color: var(--app-on-accent); }
.assist-pontos { display: flex; gap: 5px; padding: 7px 0; }
.assist-pontos i { width: 7px; height: 7px; border-radius: 999px; background: var(--app-accent); animation: assist-ponto 1.2s ease-in-out infinite; }
.assist-pontos i:nth-child(2) { animation-delay: .18s; }
.assist-pontos i:nth-child(3) { animation-delay: .36s; }
@keyframes assist-ponto { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .mai-mascote, .mai-mascote *, .assist-pontos i { animation: none !important; } .assist-inicio { transition: none; } }
