﻿/* Scrollbar global */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #070549; /* fundo roxo escuro */
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: #10FF48; /* verde neon */
    border-radius: 6px;
    border: 2px solid #070549; /* borda igual ao fundo para dar recorte */
}

    ::-webkit-scrollbar-thumb:hover {
        background: #0EDC3F;
    }

    ::-webkit-scrollbar-thumb:active {
        background: #0BB934;
    }

::-webkit-scrollbar-corner {
    background: #070549;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #10FF48 #070549;
}

/* Scrollbar com gradiente e sombra opcional */
.custom-scrollbar::-webkit-scrollbar-track {
    background: #070549;
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(16, 255, 72, 0.1);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #1fff5a, #10ff48);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(16, 255, 72, 0.3);
    border: 1px solid #0DCF3E;
}

    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(to bottom, #17e650, #0EDC3F);
        box-shadow: 0 2px 8px rgba(16, 255, 72, 0.5);
    }

/* Para aplicar em elementos específicos */
.green-scroll {
    scrollbar-width: thin;
    scrollbar-color: #10FF48 #070549;
}

    .green-scroll::-webkit-scrollbar {
        width: 12px;
    }

    .green-scroll::-webkit-scrollbar-track {
        background: #070549;
        border-radius: 6px;
    }

    .green-scroll::-webkit-scrollbar-thumb {
        background: #10FF48;
        border-radius: 6px;
        border: 2px solid #070549;
    }

        .green-scroll::-webkit-scrollbar-thumb:hover {
            background: #0EDC3F;
        }


.character-counter {
    font-size: 0.875rem;
}

/* Customização do TinyMCE */
.tox-tinymce {
    border-radius: 0.375rem !important;
}

.character-counter.text-warning {
    color: var(--yellow) !important;
}

.character-counter.text-danger {
    color: var(--red) !important;
}

.texto-quebra {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
}

.more-btn {
    background: transparent;
    border: 1px solid #10FF48;
    color: #10FF48;
    padding: 12px 35px;
    border-radius: 0.28rem;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .more-btn:hover {
        background: #10FF48;
        color: #1a1a3e;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
    }

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.info-card {
    padding: 40px 30px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
}

.icon-container {
    transition: transform 0.3s ease;
}

@media (max-width: 1024px) {
    .info-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .info-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .info-card {
        padding: 30px 20px;
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .info-container {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .info-card {
        padding: 25px 15px;
        min-height: 300px;
    }

    .title-image {
        font-size: 24px;
    }
}

.play-btn-noticiaMaisPartial {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00b050, #00ff88, #a6ff00);
    background-size: 300% 300%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: pulse 1.5s infinite, gradientShift 4s infinite linear;
    box-shadow: 0 0 20px rgba(0, 176, 80, 0.8), 0 0 40px rgba(166, 255, 0, 0.6);
    transition: transform 0.2s ease-in-out;
}

    .play-btn-noticiaMaisPartial:hover {
        transform: translate(-50%, -50%) scale(1.15);
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.9), 0 0 60px rgba(166, 255, 0, 0.8);
    }

    .play-btn-noticiaMaisPartial span {
        font-size: 42px;
        color: white;
        text-shadow: 0 0 10px rgba(255,255,255,0.9);
    }

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 176, 80, 0.8), 0 0 40px rgba(166, 255, 0, 0.6);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 255, 136, 1), 0 0 60px rgba(166, 255, 0, 1);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Layout padrão (desktop) */
.conteudo {
    display: flex;
    gap: 70px;
    align-items: flex-start;
}

.col-6 {
    flex: 1;
}

@media (max-width: 600px) {
    .video-card {
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }
}

@media (max-width: 768px) {
    .conteudo {
        flex-direction: column;
        gap: 30px;
    }

    .col-6 {
        width: 100%; /* faz ocupar toda a tela */
    }

    .title-image {
        justify-content: flex-start; /* mantém à esquerda no mobile também */
    }

        .title-image img {
            max-width: 200px;
        }

    .video-card {
        width: 100%;
        max-width: 100%; /* ocupa toda a largura no mobile */
        height: auto;
    }

    .thumb-video {
        width: 100%;
        height: auto;
    }

    .texto-video {
        width: 100%; /* texto ocupa largura total */
    }
}

    .texto-video h5 {
        font-size: 1.4rem;
    }

.noticia {
    padding: 10px;
}

.texto-video p,
.noticia p {
    font-size: 1rem;
    margin-top: 15px;
}

    .noticia h6 {
        font-size: 1.3rem;
    }
}

@media (max-width: 900px) {
    .conteudo {
        flex-direction: column; /* coloca as colunas uma em cima da outra */
        gap: 10px; /* reduz o espaçamento */
    }

    .col-6 {
        width: 100%; /* cada coluna ocupa toda a largura */
    }

    .video-card {
        max-width: 100%; /* vídeo ocupa toda a largura disponível */
        aspect-ratio: 16/9;
    }

    .title-image img {
        max-width: 180px; /* imagem menor em telas pequenas */
    }

    .texto-video h5,
    .noticia h6 {
        font-size: 1.5rem; /* ajusta títulos para mobile */
    }

    .texto-video p,
    .noticia p {
        font-size: 1rem; /* ajusta textos para mobile */
    }

    .col-6.direita {
        gap: 10px; /* reduz o espaçamento entre notícias */
    }
}

.container-main {
    padding: 0px 20px;
}

.accordion-custom {
    background: transparent;
    border: none;
    margin-bottom: 2rem;
}

    .accordion-custom .accordion-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 1rem;
        border-radius: 0;
    }

    .accordion-custom .accordion-button {
        background: transparent;
        color: #ffffff;
        border: none;
        padding: 18px 25px;
        font-weight: 500;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: none;
    }

        .accordion-custom .accordion-button:not(.collapsed) {
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            box-shadow: none;
        }

        .accordion-custom .accordion-button:focus {
            box-shadow: none;
            border: none;
        }

        .accordion-custom .accordion-button::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            filter: brightness(0) invert(1);
        }

        .accordion-custom .accordion-button:not(.collapsed)::after {
            transform: rotate(-180deg);
        }

    .accordion-custom .accordion-body {
        background: rgba(255, 255, 255, 0.08);
        color: #e0e0e0;
        padding: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 40px 0;
}

.section-title {
    color: #ffffff;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accordion-custom .accordion-button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.pdf-iframe {
    width: 100%;
    height: 600px;
    border: none;
    background: #ffffff;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #ffffff;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.iframe-container {
    position: relative;
    background: #ffffff;
    margin: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.inscricoes-spacer {
    height: 100px;
}

/* CSS específico APENAS para a página de inscrições */
.inscricoes-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    width: 100%;
    padding: 40px 20px;
}

.inscricoes-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.inscricoes-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 40px;
}

.inscricoes-text {
    color: white;
    font-size: 18px;
    line-height: 1.8;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

    .inscricoes-text b {
        color: #10FF48;
        font-weight: 700;
    }

.inscricoes-spacer {
    height: 100px;
}


.banner-container {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.inscricoes-img {
    width: auto;
    height: 300px;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .banner-container {
        grid-template-columns: 1fr;
        justify-content: center;
        gap: 15px;
    }

    .inscricoes-img {
        width: 100%;
        height: 200px;
        object-fit: contain;
    }
}


/* CSS específico APENAS para a página de noticias e mais */

.logo-container-Noticias {
    position: relative;
    display: flex;
    align-items: center;
    margin: 10px 0;
    cursor: pointer;
}

.title-image-noticias img {
    display: block;
    margin: 10px 50px;
    max-width: 170px;
    height: auto;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.icon-Megafone-noticias {
    position: absolute;
    left: 196px;
    top: -01px;
    z-index: 2;
    transform: scale(0.8);
    transition: transform 0.2s ease;
    transform-origin: left center;
}

    .icon-Megafone-noticias img {
        display: block;
        max-width: 70px;
        height: auto;
    }

.logo-container-Noticias:hover .icon-Megafone-noticias {
    transform: scale(1) rotate(-5deg);
    filter: drop-shadow(0 0 5px rgba(148, 0, 211, 0.4));
}

.logo-container-Noticias:hover .title-image-noticias img {
    transform: scale(1.02);
}

.news-item-container-TelaNoticiaMais {
    display: flex;
    align-items: center;
    position: relative;
    width: 97%;
    margin-bottom: 5px;
}

/* Estilo para o ícone keep */
.keep-icon-TelaNoticiaMais {
    position: absolute;
    left: -36px;
    top: 25px;
    color: #3dfb6a;
    font-size: 20px;
    z-index: 2;
    transition: all 0.3s ease;
}

.news-link-TelaNoticiaMais {
    text-decoration: none;
    display: block;
    width: 100%;
}

.news-title-TelaNoticiaMais {
    font-size: 1.3rem;
    font-weight: bold;
    color: rgba(178, 178, 199, 1);
    margin-bottom: 10px;
}

.news-content-TelaNoticiaMais {
    font-size: 0.9rem;
    color: rgba(141, 140, 171, 1);
    line-height: 1.6;
}

.container-main-TelaNoticiaMais {
    width: 100%;
    padding: 0 10px 50px 60px;
    position: relative;
}

.news-grid-TelaNoticiaMais {
    width: 100%;
}

.accordion-custom-TelaNoticiaMais {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background: rgba(5, 4, 52, 1);
    border: none;
    padding: 15px 20px 6px 20px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.accordion-custom-TelaNoticiaMais {
    background: rgba(5, 4, 52, 1);
    border: 1px solid rgba(5, 4, 52, 1);
    margin-bottom: 1rem;
    border-radius: 10px;
}

    .accordion-custom-TelaNoticiaMais:hover {
        border: 1px solid #3dfb6a;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(61, 251, 106, 0.2);
    }

    .accordion-custom-TelaNoticiaMais.active {
        background: #3dfb6a;
        border: 1px solid #3dfb6a;
        transform: scale(0.995);
    }

    .accordion-custom-TelaNoticiaMais:hover .material-symbols-outlined.arrow-icon-TelaNoticiaMais {
        transform: translateX(5px);
        transition: transform 0.2s ease;
        color: #3dfb6a;
        font-size: 25px;
    }

    .accordion-custom-TelaNoticiaMais.active .material-symbols-outlined.arrow-icon-TelaNoticiaMais {
        transform: translateX(5px);
        transition: transform 0.2s ease;
        color: rgba(5, 4, 52, 1);
        font-size: 25px;
    }

    .accordion-custom-TelaNoticiaMais:hover .news-title-TelaNoticiaMais {
        color: #3dfb6a;
    }

    .accordion-custom-TelaNoticiaMais.active .news-title-TelaNoticiaMais {
        color: rgba(5, 4, 52, 1);
    }

    .accordion-custom-TelaNoticiaMais.active .news-content-TelaNoticiaMais {
        color: rgba(5, 4, 52, 1);
    }

.accordion-custom-noticia {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-content-TelaNoticiaMais {
    flex: 1;
    padding-right: 20px;
}

.material-symbols-outlined.arrow-icon-TelaNoticiaMais {
    margin-left: 15px;
    color: rgba(96, 96, 107, 1);
    font-size: 22px;
    transition: all 0.3s ease;
}

.maisNoticias-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 94%;
    margin: 0 auto;
    padding: 0 45px 0 40px;
    position: relative;
}

.menuNoticia {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 1);
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    padding-right: 23px;
}


.maisNoticias-content hr {
    flex-grow: 1;
    height: 2px;
    border: 1px;
    background-color: rgba(58, 58, 65, 1);
    border: none;
    margin: 0 15px;
}

.maisNoticias-content .arrow-down-TelaNoticiaMais {
    color: rgba(255, 255, 255, 1);
    position: relative;
    transform: rotate(90deg);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.maisNoticias-content:hover .arrow-down-TelaNoticiaMais {
    color: #3dfb6a;
    font-size: 20px;
    transform-origin: center;
    display: inline-block;
}



@media (max-width: 768px) {

    .container-main-TelaNoticiaMais {
        padding: 0 15px 30px 15px;
    }

    .news-item-container {
        width: 100%;
        flex-direction: column;
        margin-bottom: 15px;
    }

    .keep-icon-TelaNoticiaMais {
        position: absolute;
        left: -25px;
        top: 0;
        font-size: 18px;
    }

    .news-title-TelaNoticiaMais {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .news-content-TelaNoticiaMais {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

    .accordion-custom-TelaNoticiaMais {
        flex-direction: row;
        padding: 12px 15px;
    }

    .accordion-content-TelaNoticiaMais {
        padding-right: 10px;
    }

    .material-symbols-outlined.arrow-icon-TelaNoticiaMais {
        font-size: 20px;
        margin-left: 10px;
    }

    .maisNoticias-content {
        flex-direction: row;
        padding: 0 15px;
    }

    .menuNoticia {
        font-size: 1rem;
        padding-right: 10px;
    }

    .maisNoticias-content hr {
        margin: 0 5px;
    }

    .maisNoticias-content .arrow-down {
        font-size: 18px;
    }
}

/* Para telas bem pequenas */
@media (max-width: 480px) {
    .news-title-TelaNoticiaMais {
        font-size: 0.95rem;
    }

    .news-content-TelaNoticiaMais {
        font-size: 0.8rem;
    }
    
    .material-symbols-outlined.arrow-icon-TelaNoticiaMais {
        font-size: 18px;
    }

    .title-image-Noticias img {
        max-width: 100px;
    }

    .icon-Megafone-Noticias img {
        max-width: 50px;
    }
}

/* CSS especifico para tela de noticia */

.video-card-noticia {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.video-image {
    max-width: 100%;
    max-height: 600px;
    width: 81%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.noticia-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 2px auto;
    padding: 0 1rem, 0 0 0; 
    max-width: 89rem;
}

.Title-noticia {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 1);
    margin: 20px 0 0 0;
    text-align: left;
}

.noticia-text {
    font-size: 1.2rem;
    white-space: pre-line;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

/* Responsividade */

@media (max-width: 768px) {
    .Title-noticia {
        font-size: 1.8rem;
    }

    .noticia-text {
        font-size: 1rem;
        text-align: left;
    }

    .video-image {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .Title-noticia {
        font-size: 1.5rem;
    }

    .noticia-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}