/* ============================================
   ESTILO GLOBAL DO SITE - ALVORADA EDITORA
   Flat, limpo, minimalista
============================================ */

/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #fff;
    color: #222;
    line-height: 1.6;
}

/* LINKS */
a {
    color: #7b2cbf;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* TITULOS */
h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 18px;
}

h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 12px;
}

/* PARÁGRAFOS */
p {
    margin-bottom: 14px;
    color: #444;
}

/* LISTAS */
ul, ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

ul li, ol li {
    margin-bottom: 8px;
}

/* CONTAINERS PARA PÁGINAS INSTITUCIONAIS */
.pagina-container,
.termos-container {
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
}

/* LINHAS DE SEÇÃO */
section {
    margin-bottom: 40px;
}

/* RESPONSIVO */
@media (max-width: 600px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .pagina-container,
    .termos-container {
        padding: 15px;
        margin-top: 30px;
    }
}


/* FORMULÁRIOS (login, criar conta, reset, contacto, etc.) */
.form-usuario input {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    background: #fafafa;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: .2s;
}

.form-usuario input:focus {
    border-color: #7b2cbf;
    background: #fff;
    outline: none;
}

.btn-publicar {
    background: #7b2cbf;
    border: none;
    padding: 13px 18px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: .2s;
    width: 100%;
}

.btn-publicar:hover {
    background: #5a189a;
}

/* Mensagens de Erro e Sucesso (flat) */
.erro-box {
    color: #b40000;
    font-weight: bold;
    margin-bottom: 10px;
}

.sucesso-box {
    color: #006622;
    font-weight: bold;
    margin-bottom: 10px;
}

/* TABELAS (caso vier a usar em páginas internas) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    font-weight: 700;
    background: #f8f8f8;
}

/* IMAGENS RESPONSIVAS */
img {
    max-width: 100%;
    height: auto;
}

/* BOTÕES GENÉRICOS */
button, .btn {
    cursor: pointer;
}

/* ESPAÇAMENTO PADRÃO ENTRE BLOCOS */
section + section {
    margin-top: 40px;
}
/* ======================================================
   FOOTER — protegido
====================================================== */
footer,
.footer,
#footer {
  background: #1a1423 !important;
  color: #fff !important;
}
