
/* ==========================================
EDITORA DCG - IDENTIDADE VISUAL GERAL
FUNDO BRANCO / LETRAS PRETAS
========================================== */

/* 1. CONFIGURAÇÃO GERAL */

• {
box-sizing: border-box;
}

html, body {
background: #FFFFFF !important;
color: #171717 !important;
font-family: Arial, sans-serif;
}

/* 2. CABEÇALHO */

header {
background: #FFFFFF !important;
color: #171717 !important;
border-bottom: 1px solid #DDDDDD;
}

header h1,
header h2,
header h3,
header h4,
header h5 {
color: #171717 !important;
}

/* 3. MENU PRINCIPAL */

nav {
background: #FFFFFF !important;
color: #171717 !important;
border-bottom: 1px solid #DDDDDD;
}

nav a {
background: transparent !important;
color: #171717 !important;
}

nav a:hover {
background: #EEEEEE !important;
color: #171717 !important;
}

/* 4. TODOS OS BOTÕES */

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.controls button,
button.miniatura {
background: #FFFFFF !important;
color: #171717 !important;
border: 1px solid #BBBBBB !important;
border-radius: 3px;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
background: #E5E5E5 !important;
color: #171717 !important;
}

/* 5. CONTROLES DA REVISTA */

.controls,
.controles,
.botoes,
.botoes-controle {
background: #F2F2F2 !important;
color: #171717 !important;
}

/* 6. SELETORES DE EDIÇÕES */

select,
.seletor-edicoes select {
background: #FFFFFF !important;
color: #171717 !important;
border: 1px solid #999999 !important;
}

option {
background: #FFFFFF !important;
color: #171717 !important;
}

label {
color: #171717;
}

/* 7. ARQUIVOS E LINKS DE NAVEGAÇÃO */

.arquivo-revista,
.navegacao-editorial {
background: #FFFFFF !important;
color: #171717 !important;
}

.arquivo-revista a,
.navegacao-editorial a {
color: #171717 !important;
}

.navegacao-editorial span {
color: #777777 !important;
}

/* 8. VISUALIZADOR DE QUADRINHOS */

#viewer,
#page-area {
background: #FFFFFF !important;
}

#page {
background: #FFFFFF;
box-shadow: 0 0 5px #CCCCCC !important;
}

#viewer.scroll {
background: #FFFFFF !important;
}

#viewer.scroll img {
box-shadow: 0 0 4px #CCCCCC !important;
}

/* 9. CONTADORES E INDICADORES */

#counter,
.counter,
.contador {
background: #FFFFFF !important;
color: #171717 !important;
border-color: #DDDDDD !important;
}

/* 10. ÁREAS DE CONTEÚDO */

main,
section,
article,
.container {
color: #171717;
}

/* 11. MINIATURAS E CAPAS */

.miniatura {
background: #FFFFFF !important;
border-color: #CCCCCC !important;
}

.miniatura.ativa {
border-color: #171717 !important;
}

/* 12. CAMPOS DE TEXTO */

input,
textarea {
background: #FFFFFF !important;
color: #171717 !important;
border: 1px solid #BBBBBB;
}

/* 13. RODAPÉ */

footer {
background: #FFFFFF !important;
color: #444444 !important;
border-top: 1px solid #DDDDDD;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5 {
color: #444444 !important;
}

/* 14. SEPARADORES */

hr {
border: 0;
border-top: 1px solid #DDDDDD;
}

/* 15. ESTADOS DE INTERAÇÃO */

button:focus,
select:focus,
input:focus,
textarea:focus {
outline-color: #777777;
}
/* =====================================
   VITRINE E EDITORIAL
   FUNDO BRANCO E TEXTO PRETO
===================================== */

/* TÍTULOS DAS SEÇÕES */

.titulo-secao {
    background: #FFFFFF !important;
    color: #171717 !important;
}

/* ÁREA EXPLORE A EDITORA */

.vitrine {
    background: #FFFFFF !important;
    color: #171717 !important;
}

/* BLOCOS ONDE COMPRAR E EQUIPE */

.vitrine .bloco {
    background: #F2F2F2 !important;
    color: #171717 !important;
    border: 1px solid #DDDDDD !important;
}

.vitrine .bloco h2,
.vitrine .bloco p {
    color: #171717 !important;
}

/* LINKS DOS BLOCOS */

.vitrine .bloco a {
    color: #171717 !important;
}

/* ÁREA EDITORIAL */

section {
    background: #FFFFFF !important;
    color: #171717 !important;
}

.editorial {
    background: #F2F2F2 !important;
    color: #171717 !important;
    border: 1px solid #DDDDDD !important;
}

.editorial h2,
.editorial p {
    color: #171717 !important;
}

.editorial a {
    color: #171717 !important;
}

/* IMAGEM DO EDITORIAL */

.editorial img {
    background: #FFFFFF !important;
}

/* IMAGEM DO EDITORIAL */

.imagem-editorial {
    width: 100%;
    max-width: none;
    margin: 0 auto 20px;
}

.imagem-editorial img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* GARANTIR FUNDO BRANCO NAS ÁREAS */

main {
    background: #FFFFFF !important;
    color: #171717 !important;
}

/* ==========================================
EDITORA DCG - PADRONIZAÇÃO AMPLA
========================================== */

html,
body,
main,
section,
article,
header,
nav,
footer {
    background-color: #FFFFFF !important;
    color: #171717 !important;
}


/* TODAS AS ÁREAS DE CONTROLE */

.controls,
.controles,
.botoes,
.botoes-controle,
.arquivo-revista,
.seletor-edicoes,
.navegacao-editorial {
background: #F2F2F2 !important;
color: #171717 !important;
border-color: #DDDDDD !important;
}

/* TODOS OS TEXTOS */

h1, h2, h3, h4, h5, h6,
p, span, label, strong, b,
small, div, article {
color: #171717 !important;
}

/* TODOS OS LINKS */

a,
a:visited {
color: #171717 !important;
}

a:hover {
color: #555555 !important;
background-color: #EEEEEE !important;
}

/* TODOS OS BOTÕES */

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
background: #FFFFFF !important;
color: #171717 !important;
border: 1px solid #AAAAAA !important;
}

button:hover {
background: #E5E5E5 !important;
color: #171717 !important;
}

/* SELETORES */

select,
option {
background: #FFFFFF !important;
color: #171717 !important;
}

/* CONTADOR DE PÁGINAS */

#counter,
.counter,
.contador {
background: #FFFFFF !important;
color: #171717 !important;
border-color: #DDDDDD !important;
}

/* FUNDO DO VISUALIZADOR */

#viewer {
    background-color: #FFFFFF !important;
}

/* CAMADA DE CLIQUE: PRECISA SER TRANSPARENTE */

#page-area {
    background-color: transparent !important;
}



/* RODAPÉ */

footer,
footer * {
background-color: #FFFFFF !important;
color: #444444 !important;
}

/* NAVEGAÇÃO ENTRE EDIÇÕES */

.proxima-edicao {
    background: #FFFFFF !important;
    color: #171717 !important;
    border-color: #DDDDDD !important;
}

.proxima-edicao a,
.proxima-edicao a:visited {
    background: transparent !important;
    color: #171717 !important;
    text-decoration: underline;
}

.proxima-edicao span {
    background: transparent !important;
    color: #777777 !important;
}

.proxima-edicao a:hover {
    background: #EEEEEE !important;
    color: #171717 !important;
}


/* BOTÃO LER A AMOSTRA */

a.link-destaque {
    display: inline-block;
    background-color: #FFFFFF !important;
    color: #171717 !important;
    border: 1px solid #171717;
    padding: 12px 24px;
    text-decoration: none !important;
    font-weight: bold;
}

a.link-destaque:hover {
    background-color: #EEEEEE !important;
    color: #000000 !important;
}

/* TAMANHO DA CAPA */

.item a img {
    width: 52%;
    max-width: none;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    margin: 0;
    padding: 5px;
    gap: 8px;
}

/* ==========================================
16. RESTAURAÇÃO DAS IMAGENS DAS REVISTAS
========================================== */

/* IMAGENS DAS CAPAS E MINIATURAS */

img {
display: block;
max-width: 100%;
height: auto;
opacity: 1 !important;
visibility: visible !important;
}

/* ÁREAS QUE CONTÊM AS CAPAS */

.arquivo-revista img,
.miniatura img,
.container img,
main img,
section img,
article img {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
object-fit: contain;
}

/* NÃO APLICAR FUNDO BRANCO SOBRE AS IMAGENS */

img {
background: transparent !important;
}

/* PRESERVAR IMAGENS DOS LINKS */

a img {
visibility: visible !important;
opacity: 1 !important;
}

/* LOGO EDITORA DCG */

header h1 {
    margin: 0;
    padding: 0;
    line-height: 0;
}

header h1 img {
    display: block;
    width: 340px;
    max-width: 85%;
    height: 58px;
    object-fit: contain;
    margin: 0 auto;
}

/* LOGO NO CELULAR */

@media (max-width: 600px) {

    header h1 img {
        width: 270px;
        max-width: 85%;
        height: 48px;
    }

}

/* HIERARQUIA TIPOGRÁFICA */

h1 {
    font-size: 32px;
    line-height: 1.2;
}

h2 {
    font-size: 26px;
    line-height: 1.3;
}

h3 {
    font-size: 21px;
    line-height: 1.3;
}

h4 {
    font-size: 18px;
    line-height: 1.4;
}

h5 {
    font-size: 15px;
    line-height: 1.4;
}

p {
    font-size: 17px;
    line-height: 1.6;
}

/* CELULAR */

@media (max-width: 600px) {

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 19px;
    }

    h4 {
        font-size: 17px;
    }

    h5 {
        font-size: 14px;
    }

    p {
        font-size: 16px;
    }

}
