/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1e1e1e;
    background-color: white;
}

/* Área com fundo gradiente */
.hero {
    background: linear-gradient(to bottom, #005491, #007bff);
    color: white;
    padding-bottom: 60px;
}

/* Container central */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.logo {
    font-size: 36px;
    font-weight: 700;
}

.logo img,
.logo svg {
    display: block;
    height: 50px;
}

.menu a {
    color: white;
    margin-left: 25px;
    text-decoration: none;
    font-size: 16px;
}

.menu .entrar {
    color: #00D7A0;
    font-weight: 600;
}

/* Busca */
.busca {
    text-align: center;
    margin-top: 40px;
}

.busca h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
    font-weight: 900;
}

.busca h1 strong {
    font-weight: 800;
    font-style: italic;
}




/* Barra de busca */
.barra-busca {
    position: relative;
    /* ESSENCIAL para posicionar o dropdown */
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    background-color: white;
    border-radius: 12px;
    overflow: visible;
    /* Para que o dropdown não seja cortado */
    padding: 5px;
}

.barra-busca input {
    padding: 15px 20px;
    font-size: 16px;
    width: 100%;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.barra-busca button {
    padding: 12px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.barra-busca button:hover {
    background-color: #0066d6;
}

.resultado-busca {
    display: none;
    /* Escondido por padrão */
    color: #000000;
    text-align: left;
    position: absolute;
    top: 100%;
    /* Fica logo abaixo do input */
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 10px 10px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
}

.resultado-busca div {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.resultado-busca div:last-child {
    border-bottom: none;
}

.resultado-busca div:hover {
    background-color: #f5f5f5;
}




/* Tags */
.tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    /* ADICIONADO para indicar que é clicável */
    user-select: none;
    /* opcional, pra evitar seleção de texto ao clicar rápido */
    transition: background-color 0.3s ease;
    /* opcional, pra efeito suave */
}

.tags span:hover {
    background-color: rgba(255, 255, 255, 0.30);
    /* ou outra cor que queira */
}


.acimatags {
    margin-top: -15px;
    margin-bottom: 5px;
}

.acimatags p {
    font-style: italic;
    font-weight: 300;
}


/* Conteudo */


/* Layout geral */
.conteudo-completo {
    display: flex;
    max-width: 1280px;
    margin: 60px auto;
    padding: 0 40px;
}

/* Sidebar azul */
.sidebar-temas {
    background-color: #0084FF;
    color: white;
    padding: 30px 20px;
    width: 280px;
    border-radius: 12px 0 0 12px;
    font-size: 15px;
}

.sidebar-titulo {
    font-style: italic;
    margin-bottom: 25px;
}

.lista-temas {
    list-style: none;
}

.lista-temas>li {
    font-weight: 700;
    margin-bottom: 12px;
}

.subtemas {
    list-style: none;
    padding-left: 15px;
    margin-top: -10px;
    margin-bottom: 10px;
}

.subtemas li {
    font-weight: 400;
    margin-bottom: 6px;
    color: #cde7ff;
}

/* Conteúdo principal */
.conteudo-principal {
    flex: 1;
    background-color: white;
    padding: 30px 40px;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.conteudo-principal h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e1e1e;
}

.conteudo-principal h4 {
    font-style: italic;
    font-weight: 400;
    color: #555;
    margin-bottom: 10px;
}

.conteudo-principal p {
    margin-bottom: 20px;
    line-height: 1.6;
}


.layout {
    display: flex;
    max-width: 1280px;
    margin: 0px auto;
    padding: 0 40px;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background-color: #F0F5F9;
    color: #0C0A33;
    padding: 30px 20px;
    font-size: 15px;
}

.sidebar-topo {
    font-style: italic;
    margin-bottom: 10px;
}

.menu {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.menu>li {
    margin-bottom: 12px;
}

.menu>li>strong {
    font-weight: 700;
    display: block;
    color: #0C0A33;
    cursor: pointer;
}

.menu .ativo {
    color: #007BFF;
}

.submenu {
    list-style: none;
    padding-left: 15px;
    margin-bottom: 10px;
    display: none;
    /* Escondido por padrão */
}

.menu .ativo+.submenu {
    display: block;
    /* Exibe o submenu se o título tiver a classe 'ativo' */
}


.submenu li {
    font-weight: 400;
    margin-bottom: 6px;
    color: #0C0A33;
}

.submenu a {
    font-weight: 400;
    margin-bottom: 6px;
    color: #0C0A33;
    font-size: 15px;
    margin-left: 0px;
}


/* Conteúdo */
.Conteudo {
    flex: 1;
    background-color: white;
    padding: 30px 40px;
}

.conteudo-container {
    max-width: 100%;
}

.conteudo-assunto {
    font-style: italic;
    font-size: 14px;
    margin-bottom: 10px;
    color: #666;
}

.conteudo-titulo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e1e1e;
}

.conteudo-meta {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.conteudo-meta a {
    color: #007bff;
}


.conteudo-meta a:hover {
    color: #00448d;
}

.conteudo-paragrafo a {
    color: #007bff;
}


.conteudo-paragrafo a:hover {
    color: #00448d;
}

.conteudo-paragrafo {
    margin-bottom: 25px;
    margin-top: 15px;
    line-height: 1.6;
    font-size: 16px;
}

.conteudo-lista {
    margin-bottom: 25px;
    padding-left: 20px;
    line-height: 1.6;
}

.conteudo-imagem {
    text-align: center;
    margin: 30px 0;
}

.conteudo-imagem img {
    max-width: 100%;
    border-radius: 8px;
}

.conteudo-feedback {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.conteudo-feedback p {
    margin-bottom: 10px;
    font-weight: 500;
}

.conteudo-feedback button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 18px;
    margin: 0 10px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.conteudo-feedback button:hover {
    background-color: #005ec4;
}





/* footer */

.footer-redes {
    padding: 40px 0;
    background-color: #F0F5F9;
    text-align: center;
}

.redes-sociais {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.icone-rede {
    width: 30px;
    height: 30px;
    background-color: #0C0A33;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.icone-rede img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    /* Ícone branco */
}

.icone-rede:hover {
    background-color: #007BFF;
}