/* ====== BASE ====== */
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* ====== HEADER ====== */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
}

.logo img {
    height: 60px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.menu a {
    text-decoration: none;
    color: #002D72;
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover {
    color: #D71920;
}

.participante-btn {
    background-color: #D71920;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.participante-btn:hover {
    background-color: #b3151a;
}

/* ====== BOTÃO HAMBÚRGUER ====== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #002D72;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 900px) {
    .topo {
        flex-wrap: wrap;
        padding: 10px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-top: 1px solid #ddd;
        padding: 20px 0;
    }

    .menu.active {
        display: flex;
    }

    .menu ul {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    .participante-btn {
        width: 80%;
        text-align: center;
    }
}


/* ====== CARROSSEL ====== */
.carousel {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin-top: 90px; /* para compensar o header fixo */
}

.carousel-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
    animation: fade 1s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(0, 45, 114, 0.7);
    padding: 20px 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.carousel-content h2 {
    margin: 0;
    font-size: 2rem;
}

/* Botões de navegação */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 45, 114, 0.7);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(215, 25, 32, 0.8);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Indicadores */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dots span {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dots span.active {
    background-color: #D71920;
}

/* Animação */
@keyframes fade {
    from {opacity: 0.5;}
    to {opacity: 1;}
}


/* ====== CARDS ====== */
main {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card h3 {
    color: #002D72;
}

.card p {
    margin: 15px 0;
}

.btn {
    background-color: #002D72;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-block;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #004C99;
}


/* ====== FOOTER ====== */
footer {
    background-color: #002D72;
    color: #fff;
    margin-top: 60px;
    font-size: 14px;
}

/* Parte superior do rodapé */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-column {
    flex: 1;
    min-width: 220px;
}

.footer-tx {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
    border-left: 4px solid #D71920;
    padding-left: 10px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #D71920;
}

/* Logo */
.footer-logo {
    width: 150px;
    margin-bottom: 15px;
}

/* Redes Sociais */
.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-social a {
    color: #fff;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #D71920;
}

/* Parte inferior do rodapé */
.footer-bottom {
    text-align: center;
    padding: 15px;
    background-color: #001f4d;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        text-align: center;
    }

    .footer-column {
        text-align: center;
        margin-bottom: 25px;
    }

    .footer-logo {
        margin: 0 auto 15px;
        display: block;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-tx {
        border-left: none;
        border-bottom: 2px solid #D71920;
        display: inline-block;
        padding-bottom: 5px;
        margin-bottom: 15px;
    }
}


/* ====== sobre.php ===== */
/* ====== SOBRE ====== */
.sobre-container {
    margin-top: 120px;
    padding: 40px 10%;
    background-color: #f9f9f9;
    color: #333;
}

.sobre-intro {
    text-align: center;
    margin-bottom: 50px;
}

.sobre-intro h1 {
    font-size: 2.2rem;
    color: #002D72;
    margin-bottom: 20px;
}

.sobre-intro p {
    max-width: 900px;
    margin: 0 auto 15px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.sobre-bloco {
    margin-bottom: 60px;
}

.sobre-bloco h2 {
    color: #002D72;
    border-left: 5px solid #D71920;
    padding-left: 12px;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    flex: 1 1 280px;
    transition: transform 0.2s;
}

.card h3 {
    color: #D71920;
    font-size: 1.2rem;
    margin-bottom: 10px;
}



/* ====== planos.php ====== */
/* ====== PLANOS ====== */
.planos-container {
    margin-top: 120px;
    padding: 40px 10%;
    background-color: #f9f9f9;
    color: #333;
}

.planos-intro {
    text-align: center;
    margin-bottom: 60px;
}

.planos-intro h1 {
    font-size: 2.2rem;
    color: #002D72;
    margin-bottom: 20px;
}

.planos-intro p {
    max-width: 900px;
    margin: 0 auto 15px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.btn-regulamento {
    display: inline-block;
    background-color: #D71920;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn-regulamento:hover {
    background-color: #b3151a;
}

/* ====== DIFERENCIAIS / BENEFÍCIOS ====== */
.planos-diferenciais, .planos-beneficios {
    margin-bottom: 60px;
}

.planos-diferenciais h2,
.planos-beneficios h2 {
    color: #002D72;
    border-left: 5px solid #D71920;
    padding-left: 12px;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 25px;
    flex: 1 1 280px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card i {
    font-size: 2rem;
    color: #D71920;
    margin-bottom: 10px;
}

.card h3 {
    color: #002D72;
    margin-bottom: 10px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ====== SIMULADOR ====== */
.planos-simulador {
    text-align: center;
    margin-top: 60px;
    background-color: #002D72;
    color: #fff;
    padding: 50px 20px;
    border-radius: 8px;
}

.planos-simulador h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.planos-simulador p {
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.btn-simulacao {
    display: inline-block;
    background-color: #D71920;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-simulacao:hover {
    background-color: #b3151a;
}



/* ====== transparencia.php ====== */
/* ====== TRANSPARÊNCIA ====== */
.transp-container {
    margin-top: 120px;
    padding: 40px 10%;
    background-color: #f9f9f9;
    color: #333;
}

.transp-intro {
    text-align: center;
    margin-bottom: 50px;
}

.transp-intro h1 {
    font-size: 2.2rem;
    color: #002D72;
    margin-bottom: 20px;
}

.transp-intro p {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.05rem;
}

.transp-bloco {
    margin-bottom: 60px;
}

.transp-bloco h2 {
    color: #002D72;
    border-left: 5px solid #D71920;
    padding-left: 12px;
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mantém o padrão de cards clicáveis */
.form-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 25px;
    flex: 1 1 250px;
    text-align: center;
    text-decoration: none;
    color: #002D72;
    transition: transform 0.3s, box-shadow 0.3s;
}

.form-card i {
    font-size: 2rem;
    color: #D71920;
    margin-bottom: 10px;
}

.form-card h3 {
    font-size: 1.05rem;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #D71920;
}





/* ====== formularios.php ====== */
/* ====== FORMULARIOS ====== */
.form-container {
    margin-top: 120px;
    padding: 40px 10%;
    background-color: #f9f9f9;
    color: #333;
}

.form-intro {
    text-align: center;
    margin-bottom: 50px;
}

.form-intro h1 {
    font-size: 2.2rem;
    color: #002D72;
    margin-bottom: 20px;
}

.form-intro p {
    max-width: 900px;
    margin: 0 auto 15px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.form-bloco h2 {
    color: #002D72;
    border-left: 5px solid #D71920;
    padding-left: 12px;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.form-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 30px 20px;
    text-decoration: none;
    color: #333;
    flex: 1 1 250px;
    transition: all 0.3s ease;
    text-align: center;
}

.form-card i {
    font-size: 2.3rem;
    color: #D71920;
    margin-bottom: 15px;
}

.form-card h3 {
    font-size: 1.05rem;
    color: #002D72;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    background-color: #fafafa;
}


/* ====== contato.php ====== */
/* ====== CONTATO ====== */
.contato-container {
    margin-top: 120px;
    padding: 40px 10%;
    background-color: #f9f9f9;
    color: #333;
}

.contato-intro {
    text-align: center;
    margin-bottom: 50px;
}

.contato-intro h1 {
    font-size: 2.2rem;
    color: #002D72;
    margin-bottom: 20px;
}

.contato-conteudo {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contato-form {
    flex: 1 1 450px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #002D72;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.enviar-btn {
    background-color: #D71920;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.enviar-btn:hover {
    background-color: #b3151a;
}

.obrigatorio {
    color: #D71920;
    font-weight: bold;
}

.sucesso-msg {
    margin-top: 15px;
    color: #008000;
    font-weight: bold;
}

.erro-msg {
    margin-top: 15px;
    color: #D71920;
    font-weight: bold;
}

.contato-info {
    flex: 1 1 250px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 30px;
    color: #333;
}

.contato-info h2 {
    color: #002D72;
    margin-bottom: 20px;
}

.contato-info i {
    color: #D71920;
    margin-right: 10px;
}

.contato-info a {
    color: #002D72;
    text-decoration: none;
}

.contato-info a:hover {
    text-decoration: underline;
}

/* Responsivo */
@media (max-width: 768px) {
    .contato-conteudo {
        flex-direction: column;
    }
}




.home-news {
    padding: 40px 20px;
    text-align: center;
}

.news-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding-bottom: 15px;
    transition: 0.2s;
    text-decoration: none;
    color: #333;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.news-card h3 {
    margin: 15px 10px 5px;
    font-size: 1.1rem;
}

.news-card .date {
    font-size: 0.85rem;
    color: #777;
}

.home-news .news-cards-container {
    margin-bottom: 25px; /* espaço antes do botão */
}

.home-news .news-more {
    margin-top: 15px;
    text-align: center;
}




/* ============================
   NOTÍCIAS - LISTAGEM GERAL
============================ */

.card-noticia {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all .25s ease;
    border: 1px solid #eaeaea;
}

.card-noticia:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 16px rgba(0,0,0,0.12);
}

/* Título */
.card-noticia h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f3c88; /* azul institucional suave */
}

/* Imagem */
.card-noticia .noticia-img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #eee;
    background: #f6f6f6;
}

.card-noticia .noticia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Data */
.data-noticia {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.data-noticia i {
    color: #1f3c88;
}

/* Seção título */
.planos-diferenciais h2 {
    font-size: 1.9rem;
    margin-bottom: 25px;
    color: #1f3c88;
    font-weight: 700;
}

/* Container dos cards */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Ajustes gerais */
.planos-intro h1 {
    color: #1f3c88;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.planos-intro p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #444;
    text-align: center;
}


/* ====================================================
   NOTICIA - VISUALIZAÇÃO INDIVIDUAL
==================================================== */

/* topo da notícia */
.noticia-topo {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.noticia-topo h1 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #1f3c88;
    margin-bottom: 15px;
}

.noticia-topo .data-noticia {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.noticia-capa {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 35px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    border: 1px solid #eaeaea;
}

.noticia-capa img {
    width: 100%;
    height: auto;
    display: block;
}

/* bloco principal do conteúdo */
.noticia-conteudo {
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.conteudo-texto {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 40px;
    white-space: pre-line;
}

.conteudo-texto p {
    margin-bottom: 18px;
}

/* botão voltar */
.btn-voltar {
    display: inline-block;
    padding: 12px 22px;
    background: #1f3c88;
    color: #fff;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: .2s;
}

.btn-voltar:hover {
    background: #162b67;
}
