* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* 🔝 Banners */
.banner-topo,
.banner-central {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
}

/* 🔝 Faixa com fundo em gradiente */
.faixa-banner-topo {
    width: 100%;
    background: linear-gradient(to bottom, #b30000, #800000);
    padding: 20px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.banner-topo {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.banner-topo img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}





/* 🔘 Menu */
.custom-navbar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.custom-navbar a {
    margin: 0 10px;
    text-decoration: none;
    color: #b30000;
    font-weight: bold;
}

/* 🧱 Layout principal */
.card-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.esquerda-column,
.right-column {
    width: 20%;
}

.card.center.mural {
    width: 60%;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* === CARD GENÉRICO === */
.card-banner {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 250px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.card-banner img {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 10px auto;
}

.card-col {
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 20px;
}




/* Estilo base para os banners */
.banner-direito-250x100 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.banner-item-direito-250x100 {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.banner-item-direito-250x100 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Responsivo para telas menores */
@media (max-width: 768px) {
    .banner-item-direito-250x100 {
        max-width: 100%;
    }

    .card-banner-250x100 h3 {
        font-size: 1rem;
    }
}




/* === BANNERS DA COLUNA DIREITA === */
.card-banner-dir-250x100 {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-banner-dir-250x100 a {
    display: inline-block;
    width: 100%;
}

.card-banner-dir-250x100 img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.card-banner-dir-250x100 img:hover {
    transform: scale(1.02);
}

/* 📱 Responsividade para telas menores */
@media (max-width: 768px) {
    .card-banner-dir-250x100 {
        padding: 8px;
        margin-bottom: 16px;
    }

    .card-banner-dir-250x100 img {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}


.card-banner-direito-250x250 {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-banner-direito-250x250 img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.card-banner-direito img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

/* === BANNER ITEM BASE === */
.banner-item {
    margin-bottom: 15px;
    text-align: center;
}

.banner-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* === BANNERS DA COLUNA ESQUERDA === */
.banner-esquerdo-250x100 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.banner-item-esquerdo-250x100 {
    margin-bottom: 10px;
    text-align: left;
}

/* === BANNERS DIREITA 250x250 === */
.banner-direito_250x250 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.banner-direito_250x250 .banner-item {
    margin-bottom: 10px;
}

.banner-direito-250x250 {
    width: 250px;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
}

.banner-direito-250x250 img {
    width: 250px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Card geral da seção de banners */
.card-banner-250x100 {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

.card-banner-250x100 h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Container dos banners */
.banner-direito-250x100 {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Cada banner como card interno */
.banner-item-direito-250x100 {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    padding: 8px;
    transition: transform 0.2s ease;
}

.banner-item-direito-250x100:hover {
    transform: scale(1.01);
}

/* Imagem do banner */
.banner-item-direito-250x100 img {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Responsivo */
@media (max-width: 768px) {
    .banner-item-direito-250x100 {
        max-width: 100%;
    }
}



/* === RESPONSIVIDADE === */
@media (max-width: 768px) {

    .card-banner,
    .card-banner-direito250x250,
    .card-banner-direito250x100,
    .banner-direito-250x250,
    .banner-direito-250x100 {
        max-width: 100%;
        width: 100%;
        margin: 0 auto 20px;
    }

    .banner-direito_250x250,
    .banner-direito-250x100,
    .banner-esquerdo-250x100 {
        align-items: center;
    }

    .banner-item-esquerdo-250x100,
    .banner-item-direito-250x100 {
        text-align: center;
    }

    .card-banner img,
    .card-banner-direito img,
    .banner-item img,
    .banner-direito-250x250 img {
        width: 250px;
        max-width: 100%;
        height: auto;
    }
}



/* Imagens dentro do mural */
.card.center.mural img {
    max-width: 100%;
    width: 200px;
    height: auto;
    display: block;
    margin-right: auto;
    margin-left: 0;
    border-radius: 8px;
}





/* 📰 Notícias */
.noticias {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.noticias h2 {
    font-size: 24px;
    color: #b30000;
    margin-bottom: 20px;
}

.noticia-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card vertical (listar_noticias.php) */
.noticia-card:not(.horizontal) {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.noticia-card:not(.horizontal) img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* Card horizontal (index.php) */
.noticia-card.horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.noticia-imagem img {
    width: 180px;
    height: 138px;
    object-fit: cover;
    border-radius: 6px;
}

.noticia-conteudo {
    flex: 1;
}

.noticia-conteudo h3 {
    font-size: 18px;
    color: #b30000;
    margin-bottom: 8px;
}

.data-noticia {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.btn-leia-mais {
    display: inline-block;
    padding: 6px 12px;
    background-color: #b30000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-leia-mais:hover {
    background-color: #800000;
}



.footer {
    background-color: #b30000;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    font-size: 14px;
    margin-top: 40px;
}

.footer-info {
    max-width: 1200px;
    margin: 0 auto;
}

.footer .copyright {
    margin-top: 20px;
    font-size: 13px;
    color: #ffd6d6;
}

.site-footer {
    background-color: #b30000;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    font-size: 14px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.redes-sociais {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.redes-sociais a {
    color: #fff;
    background-color: #b30000;
    padding: 12px;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.redes-sociais a:hover {
    background-color: #800000;
}


.copyright p {
    margin: 6px 0;
    color: #ffd6d6;
}



.redes-sociais {
    display: flex;
    gap: 20px;
    font-size: 24px;
    justify-content: center;
    margin-top: 20px;
}

.redes-sociais a {
    color: #fff;
    background-color: #b30000;
    padding: 12px;
    border-radius: 50%;
    text-decoration: none;
}


.section-title {
    font-size: 22px;
    color: #b30000;
    margin-bottom: 15px;
    margin-top: 15px;
    margin-left: 10px;
}

.nova-mensagem-btn {
    background-color: #b30000;
    color: #fff;
    padding: 10px 10px;
    margin-bottom: 11px;
    border: 1px solid #500000;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nova-mensagem-btn:hover {
    background-color: #800000;
}

.post {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    margin-left: 5px;
    margin-right: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.user-info {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px;
    margin-bottom: 10px;
    text-align: left !important;
}

.avatar-postagem {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: inline-block !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}

.resposta-item img.avatar-resposta {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

/* Container geral */
.conteudo-central {
    max-width: 1000px;
    margin: 10px auto;
    padding: 20px;
}

/* Imagem centralizada e responsiva */
.card-img-top {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

/* Corpo do card centralizado */
.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Título centralizado */
.card-title-emp {
    text-align: center;
    font-size: large;
}

/* Remove sublinhado dos links */
a.text-decoration-none {
    text-decoration: none !important;
}

a.text-decoration-none * {
    text-decoration: none !important;
}

/* Container de cards com espaçamento controlado */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* distribui os cards sem excesso de espaço */
}

/* Card com largura ideal para caber 3 por linha */
.card-mur {
    width: 100%;
    /* ajuste fino: 3x300 + 2x20 = 940px */
    max-width: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin: 5 auto;
}

.card {
    width: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}


/* Coluna ocupa 1/3 da linha */
.col-md-4 {
    flex: 0 0 auto;
    width: 32%;
    /* 3 cards com espaço entre eles */
    box-sizing: border-box;
    margin-bottom: 20px;
}

/* Responsivo: 2 colunas em telas médias */
@media (max-width: 768px) {
    .col-md-4 {
        width: 48%;
    }
}

/* Responsivo: 1 coluna em telas pequenas */
@media (max-width: 480px) {
    .col-md-4 {
        width: 100%;
    }
}





.noticia-listar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* Espaço entre os cards */
    justify-content: center;
    /* Centraliza os cards */
}

.noticia-cards {
    width: 100%;
    /* Tamanho fixo dos cards */
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 10px;
}






/* Estilo dos cards */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.02);
}

/* 🏢 Empresas */
.empresas-destaque {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.empresas-destaque h2 {
    font-size: 24px;
    color: #b30000;
    margin-bottom: 20px;
}

/* Grid de cards */
.empresas-grid {
    width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Card individual */
.empresa-card {
    width: 220px;
    height: 100%;
    background-color: #8f8f8f;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empresa-card:hover {
    transform: translateY(-5px);
}

/* Imagem do card */
.empresa-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* garante que a imagem inteira apareça */
    display: block;
    background-color: #fff;
    border-radius: 8px;
}


/* Título da empresa */
.card-title {
    font-size: 16px;
    margin: 10px 0;
    color: #333;
    text-align: center;
}

/* Link do card */
.empresa-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 10px;
}

/* Texto adicional */
.card-text {
    font-size: 16px;
    color: #555;
}

.card-text i {
    margin-right: 6px;
    color: #b30000;
}

/* Espaçamento extra */
.mb-4 {
    margin-bottom: 20px;
}

/* 📱 Responsivo para telas menores */
@media (max-width: 768px) {
    .empresa-card {
        width: 100%;
        max-width: 100%;
    }

    .empresa-card img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .empresas-grid {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .card-title {
        font-size: 15px;
    }
}

/*card da coluna social*/
.post-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: 6px solid #b30000;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.post-card h4 {
    margin-top: 10px;
    font-size: 22px;
    color: #b30000;
}

.post-card .colunista {
    font-weight: bold;
    color: #444;
    margin-bottom: 5px;
}

.post-card .data {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.post-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px;
    border-radius: 8px;
}

.post-card .conteudo {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-toggle {
    background-color: #b30000;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
}

.btn-toggle:hover {
    background-color: #990000;
}

.conteudo {
    display: none;
}


/* Responsivo */
@media (max-width: 768px) {
    .conteudo-central {
        padding: 15px;
    }

    .post-card {
        padding: 20px;
    }

    .post-card h4 {
        font-size: 20px;
    }

    .btn-toggle {
        width: 100%;
    }
}


.post-card-coluna {
    background-color: #fff;
    border-left: 6px solid #b30000;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    max-width: 1000px;
}

.post-card-coluna:hover {
    transform: scale(1.02);
}

.post-card-coluna h4 {
    color: #b30000;
    margin-bottom: 10px;
}

.post-card-coluna .colunista {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.post-card-coluna .data {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.post-card-coluna img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.post-card-coluna .conteudo {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-toggle {
    background-color: #b30000;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-toggle:hover {
    background-color: #990000;
}






.mensagem {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    text-align: justify;
}

.imagem-postagem img {
    width: 200px;
    max-width: 100%;
    border-radius: 6px;
    margin-top: 10px;
}

.acoes {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-reacao {
    background: none;
    border: none;
    color: #b30000;
    font-size: 18px;
    cursor: pointer;
}

.btn-reacao:hover {
    color: #800000;
}

.curtida-ativa {
    color: #e60000;
}

.contagem-curtidas,
.contador-comentarios,
.quem-curtiu {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.responder-wrapper {
    margin-top: 10px;
}

.responder-text {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    resize: vertical;
    margin-bottom: 10px;
}

.btn-responder-enviar {
    background-color: #b30000;
    color: #fff;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

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

.modal-conteudo {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    margin: 40px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-ver-mais {
    background-color: #b30000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 15px;
}

.btn-ver-mais:hover {
    background-color: #800000;
}

.modal-autenticacao,
.modal-publicar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-conteudo {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.btn-fechar {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #b30000;
    cursor: pointer;
}

.abas-auth {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.abas-auth button {
    background-color: #b30000;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

.aba-auth form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aba-auth input,
.aba-auth textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.aba-auth button[type="submit"] {
    background-color: #b30000;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.aba-auth button[type="submit"]:hover {
    background-color: #800000;
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #660000;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.modal-publicar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.modal-conteudo textarea,
.modal-conteudo input[type="text"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.modal-conteudo textarea:focus,
.modal-conteudo input:focus {
    border-color: #660000;
    outline: none;
}

.file-upload label {
    display: inline-block;
    background-color: #660000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 20px;
}

.file-upload input[type="file"] {
    display: none;
}

.modal-conteudo button[type="submit"] {
    background-color: #660000;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-conteudo button:hover {
    background-color: #990000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#modal-edicao {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    z-index: 1000;
    display: none;
}

#modal-edicao .modal-conteudo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#modal-edicao textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    resize: vertical;
}

#modal-edicao button {
    background-color: #660000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

#modal-edicao button:hover {
    background-color: #990000;
}





/* 📱 Responsivo */
@media (max-width: 768px) {
    .card-section {
        flex-direction: column;
        padding: 0 10px;
    }

    .esquerda-column,
    .right-column,
    .card.center.mural {
        width: 100%;
    }

    .custom-navbar {
        flex-direction: column;
        align-items: center;
    }

    .custom-navbar a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .empresa-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .empresa-card img {
        margin-bottom: 5px;
    }

    .noticia-card.horizontal {
        flex-direction: column;
        text-align: center;
    }

    .noticia-imagem img {
        width: 100%;
        max-width: 100%;
    }

    .card-banner {
        max-width: 100%;
        padding: 10px;
    }

    .card-banner img {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }
}

.banner-topo img,
.banner-central img {
    width: 1000px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.noticia-card img {
    max-width: 100%;
}

.conteudo-central-noticias {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}

/* Lista de notícias */
.noticia-listar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Card individual */
.noticia-cards {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.noticia-cards:hover {
    transform: translateY(-5px);
}

/* Imagem da notícia */
.noticia-cards img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

/* Conteúdo do card */
.noticia-conteudos {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.noticia-conteudos h3 {
    font-size: 20px;
    color: #b30000;
    margin-bottom: 10px;
}

.noticia-conteudos .data {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

/* Botão "Leia mais" */
.noticia-conteudos .leia-mais {
    align-self: flex-start;
    background-color: #b30000;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.noticia-conteudos .leia-mais:hover {
    background-color: #990000;
}

/* Paginação */
.paginacao-listar {
    margin-top: 40px;
    text-align: center;
}

.paginacao-listar a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 14px;
    border-radius: 5px;
    background-color: #eee;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.paginacao-listar a.active {
    background-color: #b30000;
    color: white;
    font-weight: bold;
}

.paginacao-listar a:hover {
    background-color: #ccc;
}



.conteudo-central-mural {
    max-width: 1000px;
    margin: 10px auto;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}

/* Título do mural */
.mural-completo h2 {
    font-size: 24px;
    color: #b30000;
    margin-bottom: 20px;
    text-align: center;
}

/* Lista de postagens */
#lista-post {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Card individual de postagem (assumindo que post_card.php gera algo como isso) */
.post-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-left: 6px solid #b30000;
    transition: box-shadow 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Título da postagem */
.post-card h4 {
    font-size: 20px;
    color: #b30000;
    margin-bottom: 10px;
}

/* Informações do colunista e data */
.post-card .colunista,
.post-card .data {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

/* Imagem da postagem */
.post-card img {
    width: 200px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Conteúdo da legenda */
.post-card .conteudo {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Botão "Leia mais" */
.post-card .btn-toggle {
    background-color: #b30000;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s ease;
}

.post-card .btn-toggle:hover {
    background-color: #990000;
}

/* Aviso final */
#aviso-fim {
    font-size: 16px;
    color: #555;
    margin-top: 30px;
}

/* Responsivo */
@media (max-width: 768px) {
    .conteudo-central-mural {
        padding: 15px;
    }

    .post-card {
        padding: 20px;
    }

    .post-card h4 {
        font-size: 18px;
    }

    .post-card .btn-toggle {
        width: 100%;
        text-align: center;
    }
}

.conteudo-central-contato {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.form-contatos {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #b30000;
}

.form-contatos h2 {
    font-size: 24px;
    color: #b30000;
    margin-bottom: 25px;
    text-align: center;
}

/* Mensagem de sucesso */
.mensagem-sucesso {
    background-color: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

/* Estilo dos campos */
.form-contatos label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

.form-contatos input,
.form-contatos textarea,
.form-contatos select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

.form-contatos input:focus,
.form-contatos textarea:focus,
.form-contatos select:focus {
    border-color: #b30000;
    outline: none;
}

/* Botão de envio */
.form-contatos button {
    background-color: #b30000;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.form-contatos button:hover {
    background-color: #990000;
}

/* Responsivo */
@media (max-width: 768px) {
    .conteudo-central-contato {
        padding: 15px;
    }

    .form-contatos {
        padding: 20px;
    }

    .form-contatos h2 {
        font-size: 22px;
    }
}

.nova-cad-btn,
.nova-log-btn {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    padding: 8px 8px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.nova-cad-btn:hover,
.nova-log-btn:hover {
    background-color: #e0e0e0;
    transform: scale(1.03);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    /* começa escondido */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Botão de fechar (X) */
.modal-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-content .close:hover {
    color: #b30000;
}

form {
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 40px auto;
    font-family: 'Segoe UI', sans-serif;
}

form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="file"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

form input:focus {
    border-color: #b30000;
    outline: none;
    box-shadow: 0 0 0 2px rgba(179, 0, 0, 0.2);
}

form input[type="file"] {
    padding: 10px;
    background-color: #f5f5f5;
    cursor: pointer;
}

form button[type="submit"] {
    background-color: #b30000;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
}

form button[type="submit"]:hover {
    background-color: #990000;
    transform: scale(1.02);
}


.faixa-vermelha-topo {
    background-color: #b30000;
    padding: 10px 20px;
    position: relative;
    z-index: 1;
}

/* Botão hambúrguer */
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    position: absolute;
    top: 0px;
    right: 15px;
    z-index: 10000;
}

/* Menu padrão no desktop */
.custom-navbar {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    color: #fff;
}

/* Mobile: menu recolhido e embutido na faixa vermelha */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .custom-navbar {
        display: none;
        flex-direction: column;
        background: #b30000;
        position: static;
        padding-top: 0px;
    }

    .custom-navbar a {
        color: #fff;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        text-align: left;
    }
}


.conteudo-central-ver-empre {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px 30px 30px 40px;
    background-color: #fff;
    border-left: 6px solid #df081e;
    /* borda vermelha à esquerda */
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.1);
    position: relative;
    animation: bordaPulse 1.5s ease-in-out;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #343a40;
}

@keyframes bordaPulse {
    0% {
        border-left-color: #df081e;
        box-shadow: 0 0 0 rgba(220, 53, 69, 0);
    }

    50% {
        border-left-color: #ff6b6b;
        box-shadow: 0 0 10px rgba(220, 53, 69, 0.2);
    }

    100% {
        border-left-color: #dc3545;
        box-shadow: 0 0 0 rgba(220, 53, 69, 0);
    }
}

.text-start-empre {
    text-align: center;
    margin-bottom: 25px;
}

.text-start-empre img {
    border-radius: 8px;
    border: 1px solid #ccc;
    max-width: 100%;
    height: auto;
}

.card-title-empre {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 15px;
    color: #dc3545;
    /* vermelho Bootstrap */
}

.card-text-empre {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
    text-align: justify;
}

.card-text-empre i {
    margin-right: 6px;
    color: #dc3545;
}

.text-center-empr {
    text-align: center;
}

.btn-outline-danger {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff;
}

.conteudo-central-ver-not {
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px 30px 30px 40px;
    background-color: #fff;
    border-left: 6px solid #df081e;
    /* borda vermelha à esquerda */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.1);
    animation: bordaPulse 1.5s ease-in-out;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #343a40;
}

@keyframes bordaPulse {
    0% {
        border-left-color: #dc3545;
        box-shadow: 0 0 0 rgba(220, 53, 69, 0);
    }

    50% {
        border-left-color: #ff6b6b;
        box-shadow: 0 0 10px rgba(220, 53, 69, 0.2);
    }

    100% {
        border-left-color: #dc3545;
        box-shadow: 0 0 0 rgba(220, 53, 69, 0);
    }
}

.noticia-area-ler h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #dc3545;
}

.data-ler {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.noticia-area-ler img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

.conteudo-ler {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.fonte-ler {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    margin-bottom: 30px;
}

.compartilhar-ler {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.compartilhar-ler a {
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid #dc3545;
    border-radius: 30px;
    color: #dc3545;
    font-weight: 500;
    transition: all 0.3s ease;
}

.compartilhar-ler a:hover {
    background-color: #dc3545;
    color: #fff;
}


/* Seção principal */
.empresas-destaque-index {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.empresas-destaque-index h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

/* Grid de empresas */
.empresas-grid-index {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card individual */
.empresa-card-index {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 10px;


}

/* Imagem da empresa */
.empresa-card-index img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px !important;
    transition: transform 0.2s ease;
    display: block;
}

/* Informações da empresa */
.empresa-info-index {
    padding: 15px;
    text-align: center;
}

/* Título */
.card-title-index {
    font-size: 1.2rem;
    font-weight: 600;
    color: #500000;
    margin: 0;
}

/* Hover */
.empresa-card-index:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.empresa-card-index a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Mensagens de erro ou vazio */
.text-center-index {
    font-size: 1rem;
    margin-top: 20px;
}

/* Responsividade para celular */
@media (max-width: 600px) {
    .empresa-card-index img {
        height: auto;
        border-radius: 10px;
    }
}

/* Estrutura geral */
.conteudo-central-ler-colun {
    max-width: 1000px;
    /* Limita a largura */
    margin: 40px auto;
    /* Centraliza na tela */
    padding: 40px 20px;
    background-color: #fff;
    border-left: 6px solid #b30000;
    /* Borda esquerda vermelha */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}


.container-ler-colun {
    max-width: 1000px;
    margin: 0 auto;
}

/* Colunista */
.container-ler-colun img {
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.container-ler-colun h2 {
    margin-top: 10px;
    color: #b30000;
    font-size: 24px;
}

.container-ler-colun .bio {
    text-align: justify;
    font-size: 15px;
    color: #555;
    margin-top: 10px;
}

/* Postagens */
.container-ler-colun .post {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.container-ler-colun .post h3 {
    color: #333;
    font-size: 20px;
}

.container-ler-colun .post img {
    width: 100%;
    max-width: 1000px;
    margin: 10px 0;
    border-radius: 8px 8px 0 0;
    /* Radius só em cima */
}

/* Texto e botão "Leia mais" */
.container-ler-colun .post .resumo,
.container-ler-colun .post .texto-completo {
    font-size: 14px;
    color: #444;
}

.container-ler-colun .post button {
    margin-top: 10px;
    background-color: transparent;
    border: none;
    color: #b30000;
    cursor: pointer;
}

/* Compartilhamento */
.container-ler-colun .compartilhar {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.container-ler-colun .compartilhar span {
    font-weight: bold;
    color: #555;
}

.container-ler-colun .compartilhar a {
    text-decoration: none;
    font-size: 18px;
}

.container-ler-colun .compartilhar a:hover {
    opacity: 0.8;
}

.container-ler-colun .compartilhar button {
    background-color: #b30000;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Comentários */
.comentario-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comentario-form input,
.comentario-form textarea {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.comentario-form button {
    background-color: #b30000;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.comentario-form button:hover {
    background-color: #990000;
}

/* Bloco de comentários */
.comentarios {
    margin-top: 20px;
}

.comentarios h4 {
    color: #b30000;
}

.comentarios .comentario {
    margin-bottom: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

.comentarios .comentario strong {
    display: block;
    margin-bottom: 5px;
}

.comentarios .comentario small {
    color: #999;
}

/* Paginação */
.paginacao {
    text-align: center;
    margin-top: 30px;
}

.paginacao a {
    margin: 0 10px;
    color: #b30000;
    text-decoration: none;
}

.paginacao span {
    font-weight: bold;
    color: #555;
}




.compartilhar-wrapper {
    position: relative;
}

.compartilhar-btn {
    color: #fff;
    background-color: #b30000;
    padding: 12px;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.compartilhar-btn:hover {
    background-color: #800000;
}

.compartilhar-opcoes {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: row;
    gap: 10px;
}

.compartilhar-opcoes a {
    color: #fff;
    background-color: #b30000;
    padding: 10px;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.compartilhar-opcoes a:hover {
    background-color: #800000;
}


.banner-direito-250x100 {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.banner-direito-250x100 .banner-item {
    margin-bottom: 15px;
    text-align: center;
}

.banner-direito-250x100 img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: contain;
}



.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    /* começa invisível */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.popup-content img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    background: transparent;
    border: none;
}

@media (max-width: 600px) {
    .popup-content {
        padding: 10px;
        border-radius: 10px;
    }

    .popup-content img {
        max-height: 60vh;
        border-radius: 10px;
    }

    .close-btn {
        font-size: 24px;
    }
}

.botao-suspenso {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffc400;
    color: #fff;
    padding: 12px 18px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 1000;
}

.botao-suspenso:hover {
    background-color: #007bff;
    transform: scale(1.05);
}

/* ✅ Ajuste para telas pequenas */
@media (max-width: 480px) {
    .botao-suspenso {
        padding: 10px 14px;
        font-size: 14px;
        bottom: 15px;
        right: 15px;
        border-radius: 20px;
    }
}


#botao-flutuante:hover {
    background-color: #0056b3;
}

.modal-pix {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    overflow-y: auto;
}

.modal-conteudo-pix {
    position: relative;
    margin: 40px auto;
    width: 90%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
    box-sizing: border-box;
}

.fechar-pix {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}

.fechar-pix:hover {
    color: #000;
}

.modal-conteudo-pix img {
    width: 220px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
}

.modal-conteudo-pix a {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.modal-conteudo-pix a:hover {
    text-decoration: underline;
}

.modal-conteudo-pix p:last-of-type {
    word-break: break-word;
    font-size: 0.95rem;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    font-family: monospace;
    color: #444;
    overflow-wrap: break-word;
}

/* ✅ Responsividade aprimorada */
@media (max-width: 480px) {
    .modal-conteudo-pix {
        width: 95%;
        padding: 20px;
        margin: 20px auto;
    }

    .modal-conteudo-pix h2 {
        font-size: 1.4rem;
    }

    .modal-conteudo-pix p {
        font-size: 0.95rem;
    }

    .fechar-pix {
        font-size: 24px;
        top: 10px;
        right: 12px;
    }

    .modal-conteudo-pix img {
        width: 180px;
    }
}

/* Animação */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


.botao-whatsapp {
    display: inline-block;
    background: linear-gradient(135deg, #800000, #ff0000);
    color: #fff;
    padding: 12px 20px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: pulsar 1.8s infinite;
    z-index: 1000;
}

.botao-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* ✅ Animação pulsante */
@keyframes pulsar {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 0, 0, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 0, 0, 0.4);
    }
}

/* ✅ Responsivo para telas pequenas */
@media (max-width: 480px) {
    .botao-whatsapp {
        font-size: 14px;
        padding: 10px 16px;
    }
}



.card-banner-esquerdo-250x250 {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-banner-esquerdo-250x250 a {
    display: inline-block;
    width: 100%;
}

.card-banner-esquerdo-250x250 img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.card-banner-esquerdo-250x250 img:hover {
    transform: scale(1.02);
}

/* 📱 Responsividade para telas menores */
@media (max-width: 768px) {
    .card-banner-esquerdo-250x250 {
        padding: 8px;
        margin-bottom: 16px;
    }

    .card-banner-esquerdo-250x250 img {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}

.banner-esquerdo-250x100 {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.banner-esquerdo-250x100 .banner-item {
    width: 100%;
    max-width: 250px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.banner-esquerdo-250x100 .banner-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.banner-esquerdo-250x100 .banner-item img:hover {
    transform: scale(1.03);
}

/* 📱 Responsividade */
@media (max-width: 768px) {
    .banner-esquerdo-250x100 {
        gap: 10px;
        margin-top: 15px;
    }

    .banner-esquerdo-250x100 img {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .banner-esquerdo-250x100 .banner-item {
        max-width: 100%;
        padding: 6px;
    }
}