/* 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;
}

.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;
}

/* Nova sessão com fundo branco */
.conteudo {
    background-color: #F0F5F9;
    padding: 60px 0;
    text-align: center;
}

.conteudo h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.conteudo p {
    font-size: 16px;
    color: #333;
}


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


/* Sessão categorais */
.titulo-categorias {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #001640;
    font-style: italic;
}

.linha-categorias {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.card-categoria {
    background-color: white;
    border-radius: 12px;
    padding: 24px 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.2s ease;
    width: 220px;
    flex-shrink: 0;
}

.card-categoria:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.card-categoria img {
    height: 48px;
}

.card-categoria h3 {
    font-size: 18px;
    color: #001640;
    font-weight: 700;
    margin-bottom: 8px;
    font-style: italic;
}

.card-categoria p {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}


/* faqdestaque */
.Faqdestaque {
    background-color: #f2f7fb;
    padding: 30px 0;
    text-align: center;
}

.faq-titulo {
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    color: #0e1a3a;
    margin-bottom: 40px;
}

.faq-titulo span {
    font-style: italic;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background-color: white;
    padding: 18px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #0e1a3a;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.faq-icon img {
    width: 20px;
    height: 20px;
}


/* sessão vídeos */

.video-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f4f9fd;
    justify-items: center;
}

.video-title {
    font-size: 2rem;
    font-weight: bold;
    color: #0a0a2f;
    font-style: italic;
}

.video-subtitle {
    font-style: italic;
    color: #444;
    margin-bottom: 40px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    justify-items: center;
    width: 1133px;
}

.video-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #0a0a2f;
    font-style: italic;
}

.video-card img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    box-shadow: 4px 4px 0 #222;
    transition: transform 0.3s ease;
}

.video-card:hover img {
    transform: scale(1.03);
}

.video-card span {
    margin-top: 10px;
    font-size: 16px;
}





/* Vídeo atualização */

.titulo-sessao {
    text-align: center;
    margin-bottom: 40px;
    color: #0e1a3a;
}

.titulo-sessao h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #0a0a2f;
    font-style: italic;
}

.titulo-sessao p {
    font-style: italic;
    color: #444;
    margin-bottom: 40px;
}


.sessao-video-atualizacao {
    background-color: #f3f8fe;
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
}

.container-video-texto {
    max-width: 1133px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.video-thumbnail {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    box-shadow: 4px 4px 0 #000000;
}

.video-thumbnail:hover {
    transform: scale(1.02);
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    padding: 15px 20px;
    pointer-events: none;
}

.caixa-texto-video {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    color: #0e1a3a;
}

.caixa-texto-video h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.caixa-texto-video p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.link-leia-mais {
    color: #0058ff;
    font-weight: 500;
    text-decoration: none;
}

.link-leia-mais:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container-video-texto {
        grid-template-columns: 1fr;
    }
}


/* footer */

.footer-redes {
    padding: 40px 0;
    background-color: #ffffff;
    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;
}

.card-categoria a {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
}