@import url('../vendor/inter/inter.css');
/*
 * Padrão visual do app (vale para todo CSS novo):
 * - Fontes: 12px (legendas, datas, contadores pequenos), 14px (texto e botões), 16px (destaques),
 *   18px (nome no perfil e destaques grandes), 20px (números de destaque). Ícones podem fugir da escala.
 * - Títulos de página (.titulo_pagina, .titulo_detalhes) e de janela: 16px peso 600.
 * - Campos (input, textarea, select): 14px, padding 12px, borda 1px #ddd, raio 8px (como no perfil).
 * - Pesos: 400 (texto e botões), 500 (rótulos), 600 (títulos e nomes). Sem 700.
 * - Espaçamentos (padding, margin, gap) no passo de 4px: 4, 8, 12, 16, 20, 24, 32px
 *   (0.25rem, 0.5rem, 0.75rem, 1rem, 1.25rem, 1.5rem, 2rem).
 * - Botões de ação (texto, com ou sem ícone): height 40px, padding só horizontal, box-sizing border-box.
 *   Ficam fora os controles de player e gravação, os filtros em pílula e os links de texto ("Responder").
 */
:root {
    --sombra_card: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}
main {
    overscroll-behavior: none;
}

ol,
ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

.logo_voxscene {
    height: 40px;
    width: 39.19px;
    object-fit: contain;
}

/* Voltar no lugar da logo (telas de gravação: dublagem, gravação e locução) */
.btn_voltar_cabecalho {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: -0.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.btn_voltar_cabecalho:active {
    background: rgba(255, 255, 255, 0.15);
}

main {
    flex: 1;
    width: 100%;
    overflow: auto;
    scrollbar-width: none;
}
body.com_cabecalho {
    height: 100%;
    background: #020094;
}
html {
    height: 100%;
}

body.com_cabecalho main {
    background: #f2f4f8;
}

header {
    background: #020094;
    width: 100%;
    padding: 0.5rem 1rem;
    padding-top: 0.5rem;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 63.19px;
}

/* Sino do cabeçalho com contador de alertas não lidos (js/alertas.js) */
.alerta_sino {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.alerta_sino_icone {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
}

.alerta_contador {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    box-sizing: border-box;
    border: 2px solid #020094;
    border-radius: 10px;
    background: #ff3040;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

.alerta_contador[hidden] {
    display: none;
}

.alerta_contador.alerta_pulo {
    animation: alerta_pulo 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alerta_pulo {
    0% {
        transform: scale(0.4);
    }
    60% {
        transform: scale(1.18);
    }
    100% {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .alerta_contador.alerta_pulo {
        animation: none;
    }
}

/* Bolinha de postagem nova no feed, no claquete (logo) do cabeçalho (js/alertas.js) */
.logo_novidade {
    position: relative;
    display: inline-flex;
}

.logo_novidade_ponto {
    display: none;
    position: absolute;
    top: -1px;
    right: -3px;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    border: 2px solid #020094;
    border-radius: 50%;
    background: #ff3040;
    pointer-events: none;
}

.logo_novidade.com_novidade .logo_novidade_ponto {
    display: block;
}

/* O mesmo selo no item Alertas do menu lateral, alinhado à direita */
.alerta_contador.alerta_contador_menu {
    position: static;
    margin-left: auto;
    border: none;
    line-height: 20px;
}

.avatar_base_header {
    height: 41px;
    width: 41px;
    align-self: center;
    border-radius: 50%;
    border: 2px solid white;
    box-sizing: border-box;
    cursor: pointer;
    object-fit: cover;
    object-position: center;
}

/* Botões e campos: 14px em todo o app (sem isso o navegador usa 13.33px). Classes com tamanho próprio,
   como ícones, continuam valendo por serem mais específicas. */
button,
input,
textarea,
select {
    font-size: 14px;
}

.titulo_pagina {
    font-size: 16px;
    font-weight: 600;
    color: black;
}

select {
    width: 100%;
    padding: 12px;
    padding-right: 40px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fff url('../img/down-arrow.png') no-repeat right 10px center;
    background-size: 16px;
    color: #333;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}
footer {
    background-color: #202224;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    padding-bottom: 0.75rem;
    padding-top: calc(0.8rem);
    box-sizing: border-box;
}

.texto_footer {
    font-size: 12px;
    font-weight: 400;
}

.texto_footer.nav_ativo {
    color: #3ab4f2;
    filter: none;
}

.nav_ativo {
    filter: brightness(0) saturate(100%) invert(40%) sepia(80%) saturate(5027%) hue-rotate(199deg) brightness(101%)
        contrast(101%);
}

.div_footer_icones {
    display: flex;
    align-items: center;
    flex-direction: column;
    color: white;
    gap: 0.25rem;
    width: 48px;
}

.icones_footer {
    font-size: 20px;
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.menu-lateral {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 340px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #1f2937;
    overflow: hidden;
    transform: translateX(105%);
    z-index: 10001;
    box-sizing: border-box;
}
body.menu_lateral_pronto .menu-lateral {
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.menu-lateral.ativo {
    transform: translateX(0);
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.18);
}

.menu_lateral_fundo {
    position: fixed;
    inset: 0;
    background: rgba(9, 12, 20, 0.45);
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
}

body.menu_lateral_pronto .menu_lateral_fundo {
    transition: opacity 0.25s;
}

.menu_lateral_fundo.ativo {
    opacity: 1;
    pointer-events: auto;
}

body.menu_lateral_aberto main {
    overflow: hidden;
}

.menu_lateral_topo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 28px 24px 24px;
    background: #020094;
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
}

.menu_lateral_avatar {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    object-fit: cover;
    object-position: center;
    background: #ffffff;
}

.menu_lateral_nome {
    max-width: 100%;
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu_lateral_subtitulo {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.menu_lateral_fechar {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu_lateral_nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 12px;
    overflow-y: auto;
}

.menu_lateral_item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 14px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}

.menu_lateral_item i {
    width: 22px;
    text-align: center;
    font-size: 18px;
    color: #6b7280;
}

.menu_lateral_item:active {
    background: #f3f4f6;
}
.menu_lateral_item.nav_ativo {
    background: radial-gradient(circle at top left, #020094 0%, #020094 20%, #0012b0 70%, #02007a 100%);
    color: #ffffff;
    font-weight: 600;
    filter: none;
}

.menu_lateral_item.nav_ativo i {
    color: #ffffff;
}
.menu_lateral_divisor {
    flex: none;
    height: 1px;
    margin: 12px 16px;
    background: #e5e7eb;
}

.menu_lateral_rodape {
    padding: 12px 12px 12px;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.menu_lateral_sair,
.menu_lateral_sair i {
    color: #dc2626;
}

.estilo_menu {
    background-color: #202224;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}

.texto_app_header {
    color: white;
    font-size: 16px;
    font-weight: 600;
}
input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='file']):not([type='color']):not(
        [type='date']
    ):not([type='time']):not([type='datetime-local']),
textarea {
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: none;
}
input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='file']):not([type='color']):focus,
textarea:focus,
select:focus {
    border-color: #0081ff !important;
}

.campo_pesquisa:focus-within,
.loja_busca:focus-within,
.input_comentario:focus-within,
.campo_cupom:focus-within {
    border-color: #0081ff !important;
}

/*
 * Textos digitados com Enter (descrições, biografia, comentários, alertas): mantém as quebras
 * de linha e os parágrafos como foram cadastrados. Espaços repetidos continuam virando um só.
 */
.descricao_detalhes,
.texto_descricao_conteudo,
.card_descricao,
.modal_descricao,
.descricao_evento,
.descricao_material,
.produto_descricao,
#modalProdutoDescricao,
#span_biografia_perfil,
.descricao_alerta,
.comentario_conteudo p,
.plano_atual_descricao {
    white-space: pre-line;
}
