/* Learn English — interface (paleta azul Bluesky dos outros projetos) */

@font-face { font-family: 'Literata'; font-style: normal; font-weight: 400; font-display: swap; src: url(../vendor/literata/literata-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Literata'; font-style: italic; font-weight: 400; font-display: swap; src: url(../vendor/literata/literata-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 600; font-display: swap; src: url(../vendor/literata/literata-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Literata'; font-style: italic; font-weight: 600; font-display: swap; src: url(../vendor/literata/literata-latin-600-italic.woff2) format('woff2'); }

:root {
    --azul: #5aa5e0;
    --azul-escuro: #4686b7;
    --azul-claro: #88c1ed;
    --azul-suave: rgba(90, 165, 224, .12);
    --ambar: #f6c768;
    --ambar-suave: rgba(246, 199, 104, .14);
    --fundo: #061430;
    --fundo-2: #081a3b;
    --superficie: #0c1f44;
    --superficie-2: #132a55;
    --texto: #eef4fb;
    --texto-2: rgba(238, 244, 251, .78);
    --texto-3: rgba(238, 244, 251, .55);
    --borda: rgba(136, 193, 237, .16);
    --borda-forte: rgba(136, 193, 237, .30);
    --sucesso: #34d399;
    --perigo: #f87171;
    --raio: 14px;
    --raio-p: 9px;
    --sombra: 0 18px 40px -18px rgba(0, 0, 0, .75);
    --fonte-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --fonte-livro: 'Literata', Georgia, 'Times New Roman', serif;
    --altura-topo: 60px;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--fonte-ui);
    font-size: 15px;
    line-height: 1.55;
    color: var(--texto);
    background: var(--fundo);
    background-image: radial-gradient(1200px 500px at 85% -10%, rgba(70, 134, 183, .22), transparent 60%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--azul-claro); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--azul-claro); outline-offset: 2px; border-radius: 6px; }
.oculto { display: none !important; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- topo */
.topo {
    position: sticky; top: 0; z-index: 20;
    height: var(--altura-topo);
    display: flex; align-items: center; gap: 28px;
    padding: 0 max(20px, calc((100vw - 1180px) / 2));
    background: rgba(6, 20, 48, .82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--borda);
}
.marca { display: flex; align-items: center; gap: 10px; color: var(--texto); font-weight: 650; letter-spacing: -.01em; font-size: 16px; }
.marca:hover { color: var(--texto); }
.marca img { width: 30px; height: 30px; filter: drop-shadow(0 2px 6px rgba(47, 107, 255, .45)); }
.topo-nav { display: flex; gap: 4px; }
.topo-nav a {
    display: flex; align-items: center; gap: 7px;
    padding: 7px 12px; border-radius: 999px;
    color: var(--texto-2); font-weight: 500; font-size: 14px;
}
.topo-nav a:hover { color: var(--texto); background: var(--azul-suave); }
.topo-nav a.ativo { color: var(--texto); background: var(--superficie-2); }
.topo-nav i { font-size: 17px; }
.topo-usuario { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.avatar {
    width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--azul-claro), var(--azul-escuro));
    color: #06101f; font-weight: 700; font-size: 13px;
}
.topo-usuario-nome { color: var(--texto-2); font-size: 14px; }
.topo-conta { display: flex; align-items: center; gap: 10px; padding: 3px 3px 3px 12px; border-radius: 999px; }
.topo-conta:hover, .topo-conta.ativo { background: var(--azul-suave); }
.topo-conta:hover .topo-usuario-nome, .topo-conta.ativo .topo-usuario-nome { color: var(--texto); }

/* ---------- página */
.pagina { max-width: 1180px; margin: 0 auto; padding: 36px 20px 80px; }
.pagina-cabecalho { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.pagina-titulo { font-family: var(--fonte-livro); font-weight: 600; font-size: 34px; line-height: 1.15; letter-spacing: -.015em; margin: 0; }
.pagina-sub { color: var(--texto-2); margin: 6px 0 0; }
.secao-titulo { font-size: 17px; font-weight: 600; margin: 44px 0 16px; color: var(--texto); }
.pagina-estreita { max-width: 680px; }
.cartao { padding: 22px 24px; margin-bottom: 18px; border-radius: var(--raio); background: var(--superficie); border: 1px solid var(--borda); }
.cartao h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.cartao h2 i { color: var(--azul-claro); font-size: 18px; }
.cartao > p { color: var(--texto-2); font-size: 14px; margin: -6px 0 16px; }
.cartao-perigo { border-color: rgba(248, 113, 113, .25); }
.cartao-perigo h2 i { color: var(--perigo); }
.acoes-formulario { display: flex; gap: 10px; flex-wrap: wrap; }
.lista-capitulos { list-style: none; margin: 0; padding: 0; }
.lista-capitulos label small { color: var(--texto-3); font-weight: 400; margin-left: 6px; }

/* ---------- botões e campos */
.botao {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 40px; padding: 0 18px; border-radius: 999px;
    border: 1px solid var(--borda-forte); background: var(--superficie);
    color: var(--texto); font-weight: 550; font-size: 14px; cursor: pointer;
    transition: background .15s, border-color .15s, transform .1s;
}
.botao:hover { background: var(--superficie-2); color: var(--texto); }
.botao:active { transform: translateY(1px); }
.botao i { font-size: 17px; }
.botao-primario { background: var(--azul); border-color: var(--azul); color: #06101f; }
.botao-primario:hover { background: var(--azul-claro); border-color: var(--azul-claro); color: #06101f; }
.botao-fantasma { background: transparent; border-color: transparent; color: var(--texto-2); }
.botao-fantasma:hover { background: var(--azul-suave); }
.botao-icone { width: 40px; padding: 0; }
.botao-perigo:hover { color: var(--perigo); border-color: rgba(248, 113, 113, .4); }
.botao[disabled] { opacity: .5; cursor: not-allowed; }

.campo { display: block; margin-bottom: 16px; }
.campo label { display: block; font-size: 13px; font-weight: 550; color: var(--texto-2); margin-bottom: 6px; }
.campo input, .busca input {
    width: 100%; height: 44px; padding: 0 14px;
    border-radius: var(--raio-p); border: 1px solid var(--borda-forte);
    background: var(--fundo-2); color: var(--texto); font: inherit;
}
.campo input:focus, .busca input:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px var(--azul-suave); }
.campo-erro { color: var(--perigo); font-size: 13px; margin-top: 5px; }
.alerta-erro { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .3); color: #fecaca; padding: 10px 14px; border-radius: var(--raio-p); margin-bottom: 16px; font-size: 14px; }

/* ---------- autenticação */
.acesso { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.acesso-arte {
    position: relative; overflow: hidden;
    padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(160deg, #0c1f44 0%, #061430 70%);
    border-right: 1px solid var(--borda);
}
.acesso-arte .marca { font-size: 18px; }
.acesso-demo { max-width: 520px; font-family: var(--fonte-livro); }
.acesso-demo .linha-en { font-size: 26px; line-height: 1.5; color: var(--texto-2); }
.acesso-demo .linha-pt { font-size: 19px; line-height: 1.55; color: var(--texto-3); margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--borda-forte); }
.acesso-demo mark { background: var(--azul-suave); color: var(--texto); box-shadow: inset 0 -2px 0 var(--azul); border-radius: 4px; padding: 1px 3px; }
.acesso-demo .linha-pt mark { color: var(--texto); }
.acesso-legenda { color: var(--texto-3); font-size: 14px; max-width: 420px; }
.acesso-blue { display: flex; align-items: center; gap: 20px; }
.acesso-blue .blue { width: 84px; height: 84px; }
.acesso-blue .acesso-legenda { position: relative; margin: 0; padding: 12px 16px; background: rgba(90, 165, 224, .08); border: 1px solid var(--borda-forte); border-radius: 14px; }
.acesso-blue .acesso-legenda strong { display: block; color: var(--texto); margin-bottom: 2px; }
.acesso-form { display: grid; place-items: center; padding: 40px 24px; }
.acesso-caixa { width: 100%; max-width: 380px; }
.acesso-caixa h1 { font-family: var(--fonte-livro); font-weight: 600; font-size: 30px; margin: 0 0 6px; letter-spacing: -.01em; }
.acesso-caixa > p { color: var(--texto-2); margin: 0 0 28px; }
.acesso-caixa .botao { width: 100%; height: 46px; margin-top: 6px; }
.acesso-rodape { margin-top: 22px; color: var(--texto-2); font-size: 14px; text-align: center; }

/* ---------- biblioteca */
.continuar {
    display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center;
    padding: 26px; border-radius: 20px;
    background: linear-gradient(120deg, var(--superficie) 0%, rgba(12, 31, 68, .55) 100%);
    border: 1px solid var(--borda);
}
.continuar-info { min-width: 0; }
.continuar-livro { color: var(--texto-2); font-size: 14px; margin: 0 0 10px; }
.continuar-livro strong { color: var(--texto); font-weight: 600; }
.continuar-frase { font-family: var(--fonte-livro); font-size: 21px; line-height: 1.5; margin: 0; color: var(--texto); }
.continuar-traducao { font-family: var(--fonte-livro); font-style: italic; color: var(--texto-3); margin: 8px 0 18px; font-size: 16px; }
.continuar-acoes { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.progresso { height: 4px; border-radius: 4px; background: rgba(136, 193, 237, .14); overflow: hidden; }
.progresso span { display: block; height: 100%; background: var(--azul); border-radius: 4px; }
.progresso-texto { font-size: 13px; color: var(--texto-3); }

.envio {
    position: relative;
    display: flex; align-items: center; gap: 18px;
    padding: 22px 24px; margin-top: 18px;
    border: 1.5px dashed var(--borda-forte); border-radius: 18px;
    background: rgba(8, 26, 59, .5);
    cursor: pointer; transition: border-color .15s, background .15s;
}
.envio:hover, .envio.arrastando { border-color: var(--azul); background: var(--azul-suave); }
.envio-icone { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--azul-suave); color: var(--azul-claro); font-size: 24px; flex: none; }
.envio-texto strong { display: block; font-weight: 600; }
.envio-texto span { color: var(--texto-3); font-size: 14px; }
.envio input { display: none; }
.envio-status { margin-left: auto; display: flex; align-items: center; gap: 12px; color: var(--texto-2); font-size: 14px; }
.envio-status .progresso { width: 160px; }
.girando { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--borda-forte); border-top-color: var(--azul); animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Blue, a mascote: flutua com uma aura azul que "respira" atrás */
.blue { width: 56px; height: 56px; animation: blue-flutua 5s ease-in-out infinite; filter: drop-shadow(0 4px 12px rgba(47, 107, 255, .55)); }
.blue-mini { width: 26px; height: 26px; }
@keyframes blue-flutua { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-2px) rotate(-3deg); } 60% { transform: translateY(-1px) rotate(2deg); } }
.aura { position: relative; display: inline-flex; isolation: isolate; }
.aura::before, .aura::after {
    content: ''; position: absolute; inset: -6px; border-radius: 50%; z-index: -1; pointer-events: none;
    background: radial-gradient(circle, rgba(95, 227, 255, .55) 0%, rgba(47, 107, 255, .38) 40%, rgba(47, 107, 255, 0) 70%);
    animation: aura 1.8s ease-in-out infinite;
}
.aura::after { inset: -2px; background: radial-gradient(circle, rgba(47, 107, 255, 0) 45%, rgba(111, 176, 255, .28) 60%, rgba(47, 107, 255, 0) 72%); animation-delay: -.9s; }
.aura-pequena::before { inset: -3px; }
@keyframes aura { 0%, 100% { transform: scale(.78); opacity: .45; } 50% { transform: scale(1.22); opacity: 1; } }

.estante { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 34px 26px; }
.livro { position: relative; display: flex; flex-direction: column; gap: 10px; color: var(--texto); }
.livro:hover { color: var(--texto); }
.capa {
    position: relative; aspect-ratio: 2 / 3; border-radius: 4px 10px 10px 4px; overflow: hidden;
    background: var(--superficie-2);
    box-shadow: var(--sombra), inset 0 0 0 1px rgba(255, 255, 255, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}
.capa::after { /* lombada */
    content: ''; position: absolute; inset: 0 auto 0 0; width: 9px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .08) 60%, transparent);
}
.capa img { width: 100%; height: 100%; object-fit: cover; }
.livro:hover .capa { transform: translateY(-4px); box-shadow: 0 26px 46px -18px rgba(0, 0, 0, .85), 0 0 0 1px var(--borda-forte); }
.capa-gerada {
    height: 100%; padding: 18px 16px 16px 22px;
    display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(165deg, #1b3a6e 0%, #0c1f44 100%);
    font-family: var(--fonte-livro);
}
.capa-gerada strong { font-weight: 600; font-size: 17px; line-height: 1.25; }
.capa-gerada span { font-size: 12px; color: var(--texto-2); font-family: var(--fonte-ui); }
.capa-formato { position: absolute; top: 8px; right: 8px; z-index: 2; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: rgba(6, 20, 48, .78); color: var(--texto-2); }
.livro-titulo { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.livro-autor { color: var(--texto-3); font-size: 13px; margin-top: -6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.livro-rodape { display: flex; align-items: center; gap: 10px; }
.livro-rodape .progresso { flex: 1; }
.livro-menu { position: absolute; top: 8px; left: 14px; z-index: 3; display: flex; gap: 6px; opacity: 0; transition: opacity .15s; }
.livro:hover .livro-menu, .livro-menu:focus-within { opacity: 1; }
.livro-menu a, .livro-menu button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(6, 20, 48, .85); color: var(--texto-2); cursor: pointer; display: grid; place-items: center; }
.livro-menu a:hover { color: var(--azul-claro); }
.livro-menu .livro-remover:hover { color: var(--perigo); }

.vazio { text-align: center; padding: 56px 20px; color: var(--texto-2); }
.vazio-ilustracao { margin-bottom: 14px; }
.vazio-ilustracao .blue { width: 96px; height: 96px; }
.vazio h2 { font-family: var(--fonte-livro); font-weight: 600; font-size: 22px; color: var(--texto); margin: 0 0 6px; }

/* ---------- vocabulário */
.voc-resumo { display: flex; gap: 10px; flex-wrap: wrap; }
.etiqueta { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--superficie); border: 1px solid var(--borda); font-size: 13px; color: var(--texto-2); }
.etiqueta strong { color: var(--texto); }
.voc-barra { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.busca { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.busca i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--texto-3); }
.busca input { padding-left: 40px; border-radius: 999px; }
.filtros { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--fundo-2); border: 1px solid var(--borda); }
.filtros button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--texto-2); cursor: pointer; }
.filtros button.ativo { background: var(--superficie-2); color: var(--texto); }
.voc-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.voc-item { padding: 18px 20px; border-radius: var(--raio); background: var(--superficie); border: 1px solid var(--borda); display: flex; flex-direction: column; gap: 8px; }
.voc-item.aprendido { opacity: .6; }
.voc-topo { display: flex; align-items: baseline; gap: 10px; }
.voc-termo { font-family: var(--fonte-livro); font-size: 21px; font-weight: 600; color: var(--ambar); }
.voc-traducao { color: var(--texto); font-size: 15px; }
.voc-obs { color: var(--texto-2); font-size: 13px; }
.voc-edicao .campo { margin-bottom: 10px; }
.voc-edicao .campo input { height: 38px; }
.voc-edicao .botao { height: 34px; padding: 0 14px; }
.voc-frase { font-family: var(--fonte-livro); font-size: 14px; color: var(--texto-2); border-left: 2px solid var(--borda-forte); padding-left: 12px; margin: 4px 0 0; }
.voc-frase em { color: var(--texto); font-style: normal; background: var(--ambar-suave); border-radius: 3px; padding: 0 2px; }
.voc-frase small { display: block; margin-top: 4px; font-style: italic; color: var(--texto-3); }
.voc-rodape { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--texto-3); }
.voc-rodape .acoes { margin-left: auto; display: flex; gap: 2px; }
.voc-rodape button { height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--texto-2); cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }
.voc-rodape button:hover { background: var(--azul-suave); color: var(--texto); }

/* ---------- toast */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: flex; flex-direction: column; gap: 8px; }
.toast {
    display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 380px;
    padding: 12px 16px; border-radius: 12px; background: var(--superficie-2); border: 1px solid var(--borda-forte);
    box-shadow: var(--sombra); font-family: var(--fonte-ui); font-size: 14px; color: var(--texto); animation: toast-entra .2s ease;
}
.toast i { font-size: 18px; color: var(--sucesso); }
.toast.erro i { color: var(--perigo); }
@keyframes toast-entra { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 860px) {
    .acesso { grid-template-columns: 1fr; }
    .acesso-arte { padding: 28px 24px; gap: 28px; border-right: 0; border-bottom: 1px solid var(--borda); }
    .acesso-demo .linha-en { font-size: 20px; }
    .acesso-demo .linha-pt { font-size: 16px; }
    .acesso-legenda, .acesso-blue { display: none; }
}
@media (max-width: 640px) {
    .topo { gap: 12px; }
    .marca > span:not(.aura), .topo-usuario-nome, .topo-nav a span { display: none; }
    .pagina { padding-top: 24px; }
    .pagina-titulo { font-size: 27px; }
    .continuar { grid-template-columns: 1fr; }
    .continuar .capa { width: 96px; }
    .envio { flex-wrap: wrap; }
    .envio-status { margin-left: 0; width: 100%; }
    .estante { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
    .livro-menu { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- assinatura */
.topo-teste { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border-radius: 999px; font-size: 13px; color: var(--texto-2); background: var(--azul-suave); border: 1px solid var(--borda-forte); white-space: nowrap; }
.topo-teste i { color: var(--azul-claro); font-size: 15px; }
.topo-teste b { padding: 3px 10px; border-radius: 999px; background: var(--azul); color: #06101f; font-weight: 650; }
.topo-teste:hover { color: var(--texto); border-color: var(--azul); }
.topo-teste-fim i { color: var(--ambar); }
.pilula { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; border: 1px solid; white-space: nowrap; }
.pilula-ok { color: var(--sucesso); background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .35); }
.pilula-aviso { color: var(--ambar); background: var(--ambar-suave); border-color: rgba(246, 199, 104, .35); }
.pilula-perigo { color: var(--perigo); background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .35); }
.assinatura-estado { margin: 0 0 8px; color: var(--texto-2); line-height: 1.7; }
.assinatura-estado .pilula { margin-right: 6px; }
.assinatura-estado strong { color: var(--texto); }
.cartao .assinatura-nota { margin: 8px 0 0; color: var(--texto-3); font-size: 13.5px; display: flex; gap: 6px; }
.assinatura-nota strong { color: var(--texto-2); }
.cartao .assinatura-preco { margin: 0; color: var(--texto-2); font-size: 15px; }
.assinatura-preco strong { font-size: 34px; font-weight: 750; letter-spacing: -.03em; color: var(--texto); margin-right: 4px; }
.assinatura-itens { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; gap: 8px; }
.assinatura-itens li { display: flex; gap: 8px; color: var(--texto-2); }
.assinatura-itens i { color: var(--azul-claro); }
.assinatura-plano form { margin-top: 4px; }
.planos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.assinatura-plano .plano { margin: 0; position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 14px 14px; border: 1px solid var(--borda); border-radius: 14px; }
.plano-destaque { border-color: var(--azul); box-shadow: 0 0 0 1px var(--azul) inset; }
.plano-selo { position: absolute; top: -10px; left: 14px; padding: 1px 10px; border-radius: 999px; background: var(--azul); color: #061430; font-size: 11.5px; font-weight: 700; }
.plano-nome { font-weight: 650; color: var(--texto); }
.plano-mensal { color: var(--texto-2); font-size: 14px; white-space: nowrap; }
.plano-mensal strong { font-size: 24px; font-weight: 750; letter-spacing: -.02em; color: var(--texto); }
.plano-total { color: var(--texto-3); font-size: 12.5px; margin-bottom: 10px; }
.plano .botao { margin-top: auto; justify-content: center; white-space: nowrap; }
.pilula:not(.pilula-ok):not(.pilula-aviso):not(.pilula-perigo) { color: var(--texto-3); }
@media (max-width: 380px) { .planos { grid-template-columns: minmax(0, 1fr); } }
.assinatura-pagamentos { list-style: none; margin: 0; padding: 0; }
.assinatura-pagamentos li { display: grid; grid-template-columns: 1fr 1fr auto 60px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--borda); font-size: 14px; color: var(--texto-2); }
.assinatura-pagamentos li:first-child { border-top: 0; }
.assinatura-pagamentos a { color: var(--azul-claro); text-align: right; }
@media (max-width: 760px) {
    .topo-teste span { display: none; }
    .topo-teste { padding-left: 8px; }
}

/* ---------------------------------------------------------------- foto do perfil */
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.perfil-foto-linha { display: flex; align-items: center; gap: 22px; }
.perfil-foto-linha [hidden] { display: none !important; }
.perfil-foto { position: relative; flex-shrink: 0; width: 112px; height: 112px; padding: 0; border-radius: 50%; overflow: hidden; cursor: pointer; border: 2px dashed var(--borda-forte); background: linear-gradient(135deg, var(--azul-claro), var(--azul-escuro)); transition: border-color .15s, box-shadow .15s; }
.perfil-foto.com-foto { border-style: solid; border-color: var(--borda-forte); }
.perfil-foto:hover, .perfil-foto:focus-visible, .perfil-foto.arrastando { border-color: var(--azul); box-shadow: 0 0 0 4px var(--azul-suave); outline: none; }
.perfil-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.perfil-foto-inicial { display: grid; place-items: center; width: 100%; height: 100%; color: #06101f; font-size: 44px; font-weight: 700; }
.perfil-foto-camada, .perfil-foto-carregando { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff; font-size: 12.5px; font-weight: 600; background: rgba(6, 16, 31, .74); opacity: 0; transition: opacity .15s; }
.perfil-foto-camada i { font-size: 24px; }
.perfil-foto:hover .perfil-foto-camada, .perfil-foto:focus-visible .perfil-foto-camada, .perfil-foto.arrastando .perfil-foto-camada { opacity: 1; }
.perfil-foto.enviando { cursor: progress; }
.perfil-foto.enviando .perfil-foto-camada { opacity: 0; }
.perfil-foto.enviando .perfil-foto-carregando { opacity: 1; }
.perfil-foto-carregando i { font-size: 28px; animation: girar 1s linear infinite; }
.perfil-foto-texto p { margin: 0 0 10px; color: var(--texto-2); font-size: 14px; }
.perfil-foto-texto .botao { padding-left: 0; }
@media (max-width: 520px) {
    .perfil-foto-linha { flex-direction: column; text-align: center; }
    .perfil-foto-texto .botao { padding-left: 14px; }
}
