@font-face {
    font-family: 'Seagram TFB';
    src: url('fonts/Seagram-tfb.eot');
    src: url('fonts/Seagram-tfb.eot?#iefix') format('embedded-opentype'),
         url('fonts/Seagram-tfb.woff2') format('woff2'),
         url('fonts/Seagram-tfb.woff') format('woff'),
         url('fonts/Seagram-tfb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Aplicando aos títulos */
h1, h2, h3, h4, h5, h6,
.sidebar-header h1 {
    font-family: 'Seagram TFB', 'Times New Roman', Times, serif;
}

/* Mantenha as propriedades específicas de cada título (tamanho, cor, etc.) */
h1 {
    color: #5E2A4D;
    font-size: 24pt;
    margin: 0 0 20px 0;
    font-weight: normal;
}

h2 {
    color: #5E2A4D;
    font-size: 22pt;
    margin: 30px 0 15px 0;
    font-weight: normal;
}

body {
    background-color: #F5F0E6;  /* bege suave */
    font-family: 'Times New Roman', Times, serif;
    color: #2C1810;             /* marrom escuro para o texto */
    margin: 0;
    padding: 100px;
    line-height: 1.5;
    font-size: 14pt;
}


/* LAYOUT DE DUAS COLUNAS */
.layout {
    display: flex;
    flex-wrap: wrap;            /* para telas pequenas a sidebar fica em cima */
    max-width: 1200px;          /* opcional, limita a largura total */
    margin: 0 auto;
}

/* BARRA LATERAL */
.sidebar {
    flex: 0 0 240px;            /* largura fixa de 240px */
    padding-right: 30px;        /* espaçamento entre sidebar e conteúdo */
    margin-bottom: 10px;        /* espaço no final em caso de quebra */
}

.sidebar-header h1 {
    font-family: 'Seagram TFB', 'Times New Roman', Times, serif;
    color: #5E2A4D;             /* roxo escuro */
    font-size: 24pt;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: normal;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.update-date {
    color: #6A4E77;
    font-style: italic;
    font-size: 12pt;
    margin-bottom: 20px;
    font-family: 'Courier New', Courier, monospace;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;     /* links empilhados verticalmente */
    margin-bottom: 10px;
}

.sidebar-nav a {
    color: #6A4E77;
    text-decoration: none;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14pt;
    padding: 4px 0;
    border-bottom: 1px dotted #D8A1A4; /* linha pontilhada bem suave, só para separar visualmente */
}

.sidebar-nav a:hover {
    color: #2C1810;
    text-decoration: underline;
    border-bottom-color: #2C1810;
}

.sidebar-note {
    font-size: 11pt;
    color: #6A4E77;
    font-family: 'Courier New', Courier, monospace;
    margin-top: 1px;
    padding-top: 15px;
}

/* CONTEÚDO PRINCIPAL */
.content {
    flex: 1;                    /* ocupa o espaço restante */
    min-width: 300px;           /* evita que fique muito espremido */
}

/* TÍTULOS DENTRO DO CONTEÚDO */
.content h2 {
    font-family: 'Times New Roman', Times, serif;
    color: #5E2A4D;
    font-size: 20pt;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: normal;
}

/* LINKS PADRÃO (já definidos, mas garantimos) */
a {
    color: #6A4E77;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    color: #2C1810;
}

/* LISTAS */
ul {
    list-style-type: square;
    margin-left: 20px;
    padding-left: 0;
}
li {
    margin-bottom: 8px;
    color: #2C1810;
}

/* LINHA HORIZONTAL (removida) */
hr {
    display: none;
}

/* AVISO DE CONSTRUÇÃO (sem borda, integrado) */
.construction {
    background-color: transparent;
    color: #5E2A4D;
    border: none;
    padding: 0;
    text-align: left;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13pt;
    margin-bottom: 20px;
}

/* FINE PRINT */
.fine-print {
    font-size: 8pt;
    color: #6A4E77;
    margin-top: 30px;
    font-family: 'Courier New', Courier, monospace;
}

/* RODAPÉ (dentro do .content) */
.footer {
    margin-top: 30px;
    text-align: left;           /* alinhado à esquerda para combinar com o resto */
    font-size: 12pt;
    color: #6A4E77;
    font-family: 'Courier New', Courier, monospace;
    padding-top: 15px;
    border-top: 1px dotted #D8A1A4;
}
.footer a {
    color: #5E2A4D;
}
.footer a:hover {
    text-decoration: underline;
}

/* CONTADOR */
.counter {
    background-color: transparent;
    color: #5E2A4D;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12pt;
    border: none;
    margin-left: 10px;
}

/* PARA TELAS PEQUENAS: a sidebar fica em cima ocupando 100% */
@media screen and (max-width: 700px) {
    .layout {
        flex-direction: column;
    }
    .sidebar {
        flex-basis: auto;
        width: 100%;
        padding-right: 0;
        border-right: none;
    }
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .sidebar-nav a {
        border-bottom: none;
        padding-right: 15px;
    }
}

/* CONTEÚDO IMAGEM NO TOPO (dentro do .content) */
.content-image {
    margin-bottom: 20px;        /* espaço abaixo da imagem */
    text-align: center;          /* centraliza a imagem horizontalmente */
}

.content-image img {
    max-width: 100%;             /* imagem nunca ultrapassa a largura do container */
    height: auto;                /* mantém a proporção */
    display: inline-block;       /* para centralizar com text-align:center */
}

/* BORDA VERMELHA PARA IMAGENS (aplicar seletivamente) */
.borda-vermelha {
    border: 3px solid #FF0000;  /* borda vermelha sólida de 3px */
    padding: 2px;
    background-color: white;    /* fundo branco atrás da imagem, combina com a borda */
}

#saudacao {
    color: #5E2A4D;  /* seu roxo */
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14pt;
}


.footer {
    margin-top: 30px;
    text-align: center;        /* centraliza tudo */
    font-size: 11pt;           /* tamanho menor */
    color: #6A4E77;
    font-family: 'Courier New', Courier, monospace;
    padding-top: 10px;
}

/* Links do rodapé */
.footer-links {
    display: block;            /* faz ocupar a linha inteira */
    margin-bottom: 5px;        /* espaço entre links e citação */
}

.footer-links a {
    color: #5E2A4D;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Citação no rodapé */
.citacao-rodape {
    display: block;            /* também em bloco, mas com conteúdo inline */
    font-style: italic;
    font-size: 10pt;           /* ainda menor para a citação */
    color: #5E2A4D;
    line-height: 1.4;
}

/* TOOLTIPS PERSONALIZADOS */
[data-tooltip] {
    position: relative;
    cursor: help; /* muda o cursor para indicar que há mais info */
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 150%;             /* aparece acima do link */
    left: 50%;
    transform: translateX(-50%);
    background-color: #2C1810;  /* marrom escuro (igual cor do texto) */
    color: #F5F0E6;             /* bege claro (fundo do site) */
    font-family: 'Courier New', Courier, monospace;
    font-size: 11pt;
    padding: 6px 10px;
    border-radius: 0;            /* sem bordas arredondadas, estilo retrô */
    white-space: nowrap;         /* evita quebra de linha */
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid #D8A1A4;   /* borda rosa antigo */
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* Para links na sidebar, talvez seja melhor ajustar a posição */
.sidebar-nav [data-tooltip]::after {
    bottom: auto;
    top: 100%;                  /* aparece abaixo do link na vertical */
    left: 50%;
    right: auto;                  /* um pouco deslocado para não cobrir */
}

/* Título clicável (link para home) */
h1 a {
    text-decoration: none;  /* remove sublinhado */
    color: inherit;         /* herda a cor do h1 (roxo escuro) */
    display: inline-block;  /* garante que o link ocupe apenas o texto */
}

h1 a:hover {
    text-decoration: none;  /* também sem sublinhado ao passar o mouse */
    color: inherit;         /* mantém a mesma cor */
    /* Opcional: se quiser um efeito sutil, adicione opacity */
    /* opacity: 0.9; */
}