/* Container principal com margens adaptáveis */
.termo-container {
    max-width: 850px;
    margin: 20px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #333333;
    transition: background 0.3s, color 0.3s;
}

/* Ajuste do container para o modo escuro */
body.tema-escuro-painel .termo-container {
    background: #1e212b;
    color: #e0e6ed;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Posicionamento do botão de tema */
.termo-top-nav {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

/* Estilo do botão de troca de tema */
.btn-tema-termo {
    background: #2b2d42;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
}

/* Cabeçalho da página de termos */
.termo-header {
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

/* Cor da borda do cabeçalho no modo escuro */
body.tema-escuro-painel .termo-header {
    border-bottom-color: #2b2d42;
}

/* Título principal dos termos */
.termo-header h1 {
    color: #2b2d42;
    font-size: 22px;
    line-height: 1.2;
}

/* Cor do título principal no modo escuro */
body.tema-escuro-painel .termo-header h1 {
    color: #f8f9fa;
}

/* Data da última atualização */
.termo-header p {
    color: #888888;
    font-size: 13px;
    margin-top: 8px;
}

/* Justificação do texto principal */
.termo-content {
    text-align: justify;
    hyphens: auto;
}

/* Parágrafo de introdução */
.termo-intro {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Espaçamento entre os itens dos termos */
.termo-item {
    margin-bottom: 30px;
}

/* Títulos de cada seção dos termos */
.termo-item h3 {
    color: #e63946;
    font-size: 18px;
    margin-bottom: 12px;
    text-align: left;
}

/* Estilo dos parágrafos e listas dos itens */
.termo-item p, 
.termo-item li {
    font-size: 14px;
    line-height: 1.8;
    color: inherit;
    opacity: 0.9;
}

/* Recuo das listas */
.termo-item ul {
    padding-left: 18px;
    margin-top: 10px;
}

/* Espaçamento entre linhas da lista */
.termo-item li {
    margin-bottom: 10px;
}

/* Card de branding da RomeuTech */
.termo-branding {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: left;
    border-left: 4px solid #0000ff;
}

/* Fundo do card de branding no modo escuro */
body.tema-escuro-painel .termo-branding {
    background: #12141a;
    border-left-color: #0000ff;
}

/* Título do desenvolvedor */
.termo-branding h4 {
    margin-bottom: 8px;
    color: #2b2d42;
}

/* Cor do título do desenvolvedor no modo escuro */
body.tema-escuro-painel .termo-branding h4 {
    color: #f8f9fa;
}

/* Link do site na cor azul solicitada */
.termo-branding a {
    color: #0000ff;
    text-decoration: none;
    font-weight: bold;
}

/* Efeito ao passar o mouse no link */
.termo-branding a:hover {
    text-decoration: underline;
}

/* Alinhamento do rodapé da página */
.termo-footer {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px;
}

/* Botão voltar para a loja */
.btn-voltar {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    background: #2b2d42;
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.2s;
}

/* Efeito de clique no botão */
.btn-voltar:active {
    transform: scale(0.98);
}

/* Ajustes para telas de celular */
@media (max-width: 600px) {
    .termo-container {
        margin: 10px;
        padding: 20px;
        border-radius: 0;
    }
    .termo-header h1 {
        font-size: 19px;
    }
    .termo-item h3 {
        font-size: 16px;
    }
    .btn-voltar {
        max-width: 100%;
    }
}

