html {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Edge legado/IE */
}

html::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge novo */
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    margin: 0;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HEADER */
.cabecalho {
    background-color: #ffffff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}


.cabecalho::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #c93438;
}

.logo-area img {
    max-height: 70px;
    width: auto;
    display: block;
}

.botoes-topo {
    display: flex;
    gap: 15px;
}

/* BOTÕES (CORES DE CIMINAS) */
.botao-primario {
    background-color: #c93438;
    /* Vermelho Ciminas */
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(21, 115, 166, 0.3);
    /* Sombra na cor exata */
    transition: all 0.3s ease;
}

.botao-primario:hover {
    background-color: #cc2d32;
    /* Vermelho mais escuro no hover */
    box-shadow: 0 6px 12px rgba(138, 35, 39, 0.4);
    transform: translateY(-2px);
}

.botao-secundario {
    display: inline-block;
    background-color: transparent;
    color: #c93438;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    border: 2px solid #c93438;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.botao-secundario:hover {
    background-color: #cc2d32;
    color: #ffffff;
}

/* ESTRUTURA GERAL */
.conteudo-principal {
    display: flex;
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
}

.coluna-conteudo {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 2;
}

.coluna-lateral {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.cartao {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cartao:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.cartao h2 {
    font-size: 20px;
    margin-top: 0;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 15px;
    color: #c93438;
    /* Vemelho Ciminas c93438*/
    margin-bottom: 10px;
}

.cartao h2 a {
    color: #c93438;

    text-decoration: none;
    background-color: rgba(21, 115, 166, 0.1);

    padding: 4px 10px;

    border-radius: 6px;

    display: inline-block;

    margin-left: 4px;

    transition: all 0.3s ease;

    /* Aplica a animação 'pulsar' */
    animation: pulsar 2s infinite;
    /* Nome da animação, duração de 2s, rodar para sempre */
}

/* Efeito ao passar o mouse: Para o pulsar e dá um micro-zoom */
.cartao h2 a:hover {
    background-color: rgba(21, 115, 166, 0.2);
    animation: none;
    transform: scale(1.03);
}

/* DEFINIÇÃO DA ANIMAÇÃO */
@keyframes pulsar {
    0% {
        /* Estado inicial do botão */
        box-shadow: 0 0 0 0 rgba(21, 115, 166, 0.5);
        /* Uma sombra transparente */
    }

    70% {
        /* Estado mais 'forte' do pulso */
        box-shadow: 0 0 0 8px rgba(21, 115, 166, 0);
    }

    100% {
        /* Retorna ao estado inicial para reiniciar o ciclo */
        box-shadow: 0 0 0 0 rgba(21, 115, 166, 0);
        /* Garante que o fim do ciclo seja transparente */
    }
}

/* CONHEÇA O NOTPAPER */
.branding {
    text-align: center;
    margin-bottom: 20px;
}

.branding img {
    max-width: 200px;
    height: auto;
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* RASTREADOR DE STATUS (widget de monitoramento publico) */
.status-tracker {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #ffffff;
    border: 1px solid #f2c7c8;
    border-radius: 14px;
    padding: 14px 16px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(201, 52, 56, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
}

.status-tracker:hover {
    border-color: #c93438;
    box-shadow: 0 10px 26px rgba(201, 52, 56, 0.25);
    transform: translateY(-2px);
}

.status-tracker-icone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #c93438;
    color: #ffffff;
    flex-shrink: 0;
}

.status-tracker-dot {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: #9aa5b1;
}

.status-tracker-dot.operacional {
    background-color: #2e7d32;
    animation: pulsar-status-ok 2s infinite;
}

.status-tracker-dot.instavel {
    background-color: #d9a400;
}

.status-tracker-dot.indisponivel {
    background-color: #c0392b;
}

@keyframes pulsar-status-ok {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(46, 125, 50, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
}

.status-tracker-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.status-tracker-titulo {
    font-size: 15px;
    font-weight: bold;
    color: #c93438;
}

.status-tracker-texto {
    font-size: 12.5px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-tracker-botao {
    flex-shrink: 0;
    background-color: #ffffff;
    color: #c93438;
    border: 2px solid #c93438;
    font-size: 13px;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.status-tracker:hover .status-tracker-botao {
    background-color: #c93438;
    color: #ffffff;
    box-shadow: 0 6px 12px rgba(201, 52, 56, 0.35);
}

/* MODAL DO STATUS DO SISTEMA */
.modal-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.aberto {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-caixa {
    background-color: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.96) translateY(10px);
    transition: transform 0.2s ease;
}

.modal-overlay.aberto .modal-caixa {
    transform: scale(1) translateY(0);
}

.modal-cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #c93438;
    color: #ffffff;
    font-weight: bold;
    flex-shrink: 0;
}

.modal-fechar {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0 5px;
}

.modal-fechar:hover {
    opacity: 0.7;
}

#statusModalIframe {
    flex: 1;
    border: none;
    width: 100%;
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 0;
    }

    .modal-caixa {
        height: 100vh;
        max-width: 100%;
        border-radius: 0;
    }
}

/* SUPORTE */
.suporte-destaque {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8fbff;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #c93438;
    /* Fita Vermelho Ciminas */
}

.texto-suporte p {
    margin: 1%;
    line-height: 1.5;
}

.qr-code {
    max-width: 90px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* FAQ */
.lista-faq {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.lista-faq li {
    border-bottom: 1px solid #f0f4f8;
}

.lista-faq li:last-child {
    border-bottom: none;
}

.lista-faq a {
    display: block;
    padding: 12px 0;
    color: #c93438;
    /* Vermelho Ciminas */
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
}

.lista-faq a:hover {
    color: #c93438;
    padding-left: 8px;
}

.item-oculto {
    display: none;
}

.botao-ver-mais {
    background-color: #c93438;
    /* Vermelho Ciminas */
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(21, 115, 166, 0.3);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.botao-ver-mais:hover {
    background-color: #cc2d32;
    /* Vermelho mais escuro */
    box-shadow: 0 6px 12px rgba(16, 91, 132, 0.4);
    transform: translateY(-2px);
}

/* RODAPÉ (CORES CIMINAS) */
.rodape {
    background-color: #c93438  ;
    /* Vermelho Ciminas para manter a identidade */
    color: #ffffff;
    padding: 15px 0;
    font-size: 14px;
    margin-top: 40px;
}

.rodape-conteudo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.logo-rodape {
    max-height: 37px;
    width: auto;
    padding: 0;
}

.rodape p {
    margin: 0;
}

.link-logo {
    display: inline-flex;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.link-logo:hover {
    transform: scale(1.10);
    opacity: 0.9;
}

/* =========================================
   REGRAS DE RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 768px) {

    .cabecalho {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }

    .conteudo-principal {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .cartao {
        padding: 20px;
    }

    .suporte-destaque {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        border-left: none;
        border-top: 4px solid #c93438;
        /* Borda ajustada para o celular */
    }

    .qr-code {
        margin-top: 10px;
    }

    .status-tracker-texto {
        white-space: normal;
    }

    .status-tracker-botao {
        padding: 8px 14px;
        font-size: 12px;
    }
}