/* --- RESET E VARIÁVEIS --- */
:root {
    --primary-color: #407cb1;
    --bg-blue: #0095ff;
    --bg-dark: #2d2d2d;
    --white: #ffffff;
}

/* Reset total para remover bullets e margens padrão */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    list-style: none !important; /* Força a remoção de bullets em tudo */
    list-style-type: none !important;
}

body {
    line-height: 1.5;
    font-family: 'Droid Sans', sans-serif;
    font-size: 14px;
    color: #333;
    background: radial-gradient(circle, var(--bg-blue), var(--bg-dark)) fixed;
    min-height: 100vh;
}

/* --- LAYOUT PRINCIPAL --- */
.container_12 {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    padding: 30px 15px;
}

/* --- SIDEBAR E NAVEGAÇÃO --- */
#sidebar {
    width: 25%;
    min-width: 240px;
}

#sidebar h1 img {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    border: 0;
}

#nav {
    display: block;
    width: 100%;
}

#nav ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

#nav li {
    list-style: none !important;
    list-style-type: none !important;
    margin-bottom: 12px;
}

#nav a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
    font-size: 13px;
    text-transform: uppercase;
}

#nav a:hover { opacity: 0.8; }

/* --- ÍCONES (SPRITE) --- */
.nav-icon {
    background-image: url('../images/nav-sprites.png');
    background-repeat: no-repeat;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Mapeamento de Posições do Sprite */
.icon-home { background-position: 0 -24px; }
.icon-user { background-position: -168px 0; }
.icon-calendar { background-position: -192px -120px; }
.icon-file { background-position: -24px -24px; }
.icon-folder-open { background-position: -408px -120px; }
.icon-inbox { background-position: -168px -24px; }
.icon-book { background-position: -48px -48px; }
.icon-envelope { background-position: -72px 0; }

/* --- ÁREA DE CONTEÚDO --- */
#container {
    width: 75%;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#featured img {
    width: 100%;
    display: block;
}

#content {
    padding: 40px;
}

/* Aqui permitimos bullets apenas dentro do texto do seminário, se houver listas lá */
#content ul li {
    list-style: disc !important;
    margin-left: 20px;
    margin-bottom: 10px;
}

#content h2 {
    color: var(--primary-color);
    margin: 25px 0 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

#content p {
    margin-bottom: 15px;
    text-align: justify;
}

#copyright {
    background: #f4f4f4;
    padding: 15px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 850px) {
    .container_12 {
        flex-direction: column;
        padding: 10px;
    }

    #sidebar, #container {
        width: 100%;
    }

    #sidebar h1 {
        text-align: center;
    }

    #nav ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    #nav li {
        background: rgba(255,255,255,0.1);
        padding: 10px;
        border-radius: 4px;
        margin-bottom: 0;
    }
}

/* Estilos da Tabela de Programação */
.programacao-container {
    margin-top: 20px;
    overflow-x: auto; /* Permite scroll horizontal em celulares pequenos */
}

.tabela-programacao {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: #fff;
}

.tabela-programacao th {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: left;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.tabela-programacao td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.horario {
    width: 150px;
    font-weight: bold;
    color: var(--primary-color);
    white-space: nowrap;
}

.destaque {
    background-color: #f9f9f9;
}

.intervalo {
    font-style: italic;
    color: #888;
}

/* Ajuste para Mobile */
@media (max-width: 600px) {
    .horario {
        width: 100px;
        font-size: 12px;
    }
}

/* Estilos para a Página de Submissão */

/* Caixa Azul de Aviso */
.box-informativa.azul {
    background-color: #e3f2fd;
    border-left: 5px solid #2196f3;
    color: #0d47a1;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

/* Botão de Template (Caixa) */
.btn-template {
    display: inline-block;
    background-color: #407cb1;
    color: white !important;
    padding: 15px 25px;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: bold;
    margin: 20px 0;
    transition: background 0.3s;
    border: none;
    text-align: center;
}

.btn-template:hover {
    background-color: #2d5a82;
}

/* Listas e Normas */
.lista-eixos {
    margin-left: 20px;
    line-height: 1.8;
}

.normas-lista p {
    margin-bottom: 12px;
    font-size: 13px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}

.contato-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
}

.subtitulo {
    font-weight: bold;
    color: #d32f2f;
    margin-top: -10px;
    margin-bottom: 20px;
}

/* Container de Logos Responsivo */
.titulo-parceiros {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    color: var(--primary-color);
}

.logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Espaço entre os logos */
    margin: 40px 0;
}

.logo-item {
    /* Define uma largura e altura base para a moldura do logo */
    width: 180px; 
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.logo-item img {
    /* O segredo da coerência está aqui */
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Garante que a imagem não seja cortada nem distorcida */
    transition: transform 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.1); /* Efeito de zoom suave ao passar o mouse */
}

/* Ajuste para telas menores (celulares) */
@media (max-width: 768px) {
    .logo-container {
        gap: 20px;
    }
    .logo-item {
        width: 140px;
        height: 80px;
    }
}