/* =========================================================
PROCESSOS SELETIVOS - RESIDÊNCIA MÉDICA (COREME)
Hospital Dr. Adolfo Bezerra de Menezes
========================================================= */


/* =========================================================
RESET & BASE
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #13233b;
    background: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

section {
    padding: 70px 0;
}


/* =========================================================
HEADER
========================================================= */

.active-nav {
    color: #00ab98 !important;
    font-weight: 700 !important;
}


/* =========================================================
HERO
========================================================= */

.hero-processos {
    min-height: 48vh;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(19, 35, 59, 0.84),
            rgba(19, 35, 59, 0.84)
        ),
        url("../Imagens/teste1.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    margin-top: 100px;

    padding: 65px 0;
}

.hero-content {
    color: #ffffff;
}

.hero-content span {
    display: inline-block;

    margin-bottom: 14px;

    color: #67cbbf;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 860px;

    margin-bottom: 18px;

    font-size: 46px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -0.5px;
}

.hero-content p {
    max-width: 720px;

    font-size: 18px;

    line-height: 1.7;

    opacity: 0.95;

    color: #e5e9f0;
}


/* =========================================================
SEÇÃO DE PROCESSOS
========================================================= */

.secao-processos {
    background: #ffffff;

    padding: 80px 0;
}

.processos-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: flex-start;
}

.processo-coluna {
    display: flex;

    flex-direction: column;
}

.coluna-header {
    margin-bottom: 30px;
}

.badge-status {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    padding: 5px 14px;

    border-radius: 30px;

    margin-bottom: 12px;
}

.badge-status.aberto {
    background: #e6fcf5;

    color: #0ca678;
}

.badge-status.finalizado {
    background: #f1f5f9;

    color: #64748b;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
}

.aberto-dot {
    background: #0ca678;

    box-shadow:
        0 0 0 3px rgba(12, 166, 120, 0.2);
}

.finalizado-dot {
    background: #94a3b8;
}

.coluna-header h2 {
    font-size: 28px;
    font-weight: 800;

    color: #13233b;

    margin-bottom: 8px;
}

.coluna-header p {
    font-size: 15px;

    color: #64748b;
}


/* =========================================================
CARD VAZIO
========================================================= */

.card-vazio {
    background: #f8fafc;

    border: 2px dashed #cbd5e1;

    border-radius: 20px;

    padding: 50px 35px;

    text-align: center;
}

.icone-vazio {
    font-size: 48px;

    margin-bottom: 18px;

    opacity: 0.8;
}

.card-vazio h3 {
    font-size: 20px;

    color: #1e293b;

    font-weight: 700;

    margin-bottom: 12px;
}

.card-vazio p {
    font-size: 15px;

    color: #64748b;

    line-height: 1.6;

    margin-bottom: 24px;
}

.aviso-inscricao {
    background: #ffffff;

    border: 1px solid #e2e8f0;

    padding: 14px 20px;

    border-radius: 12px;

    font-size: 13.5px;

    color: #475569;

    display: inline-block;
}

.aviso-inscricao span {
    font-weight: 700;

    color: #00ab98;
}


/* =========================================================
LISTA DE PROCESSOS
========================================================= */

.lista-processos {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


/* =========================================================
CARD DO PROCESSO
========================================================= */

.processo-card {
    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    padding: 26px 28px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.03);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

    display: flex;

    flex-direction: column;
}

.processo-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.08);

    border-color: #00ab98;
}


/* =========================================================
TOPO DO CARD
========================================================= */

.processo-card-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 14px;
}

.ano-tag {
    font-size: 13px;

    font-weight: 700;

    color: #00ab98;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.badge-finalizado {
    font-size: 11px;

    background: #f1f5f9;

    color: #64748b;

    font-weight: 600;

    padding: 3px 10px;

    border-radius: 20px;
}


/* =========================================================
TÍTULO DO PROCESSO
========================================================= */

.processo-card h3 {
    font-size: 19px;

    color: #13233b;

    font-weight: 700;

    margin-bottom: 8px;

    line-height: 1.35;
}

.processo-card > p {
    font-size: 14px;

    color: #64748b;

    margin-bottom: 20px;

    line-height: 1.5;
}


/* =========================================================
BOTÃO VER ARQUIVOS
========================================================= */

.btn-processo {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #f8fafc;

    color: #13233b;

    padding: 12px 20px;

    border-radius: 10px;

    font-family: 'Inter', sans-serif;

    font-size: 14px;

    font-weight: 600;

    border: 1px solid #e2e8f0;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.btn-processo .seta {
    font-size: 18px;

    color: #00ab98;

    transition:
        transform 0.25s ease;
}

.btn-processo:hover {
    background: #00ab98;

    color: #ffffff;

    border-color: #00ab98;
}

.btn-processo:hover .seta {
    color: #ffffff;

    transform: translateX(4px);
}


/* =========================================================
BOTÃO QUANDO O PROCESSO ESTÁ ABERTO
========================================================= */

.processo-card.aberto .btn-processo {
    background: #00ab98;

    color: #ffffff;

    border-color: #00ab98;
}

.processo-card.aberto .btn-processo .seta {
    color: #ffffff;

    transform: rotate(90deg);
}


/* =========================================================
ÁREA DOS DOCUMENTOS
========================================================= */

.documentos-processo {
    display: none;

    margin-top: 15px;

    padding-top: 15px;

    border-top: 1px solid #e2e8f0;

    animation: abrirDocumentos 0.25s ease;
}

.processo-card.aberto .documentos-processo {
    display: block;
}

@keyframes abrirDocumentos {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

}


/* =========================================================
TÍTULO DA ÁREA DE DOCUMENTOS
========================================================= */

.documentos-titulo {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 10px;

    color: #13233b;

    font-size: 13px;

    font-weight: 700;
}

.documentos-titulo span {
    color: #00ab98;

    font-size: 17px;
}


/* =========================================================
LISTA DE DOCUMENTOS
========================================================= */

.lista-documentos {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


/* =========================================================
DOCUMENTO
========================================================= */

.documento-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    padding: 10px 12px;

    background: #f8fafc;

    border: 1px solid #e8edf2;

    border-radius: 9px;

    color: #334155;

    text-decoration: none;

    font-size: 13px;

    font-weight: 500;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.documento-item:hover {
    background: #eefaf8;

    border-color: #67cbbf;

    color: #008f7f;

    transform: translateX(3px);
}


/* =========================================================
LADO ESQUERDO DO DOCUMENTO
========================================================= */

.documento-info {
    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;
}

.documento-icone {
    width: 30px;
    height: 30px;

    min-width: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 7px;

    background: rgba(103, 203, 191, 0.12);

    color: #00a996;

    font-size: 15px;
}

.documento-nome {
    min-width: 0;

    line-height: 1.35;
}


/* =========================================================
ÍCONE DE ABRIR
========================================================= */

.documento-seta {
    width: 26px;
    height: 26px;

    min-width: 26px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #00ab98;

    color: #ffffff;

    font-size: 14px;

    transition: transform 0.2s ease;
}

.documento-item:hover .documento-seta {
    transform: translateX(2px);
}


/* =========================================================
MENSAGEM
========================================================= */

.documentos-carregando {
    padding: 15px;

    text-align: center;

    color: #64748b;

    font-size: 13px;
}

.documentos-vazio {
    padding: 15px;

    background: #f8fafc;

    border-radius: 9px;

    color: #64748b;

    font-size: 13px;

    text-align: center;
}


/* =========================================================
SEÇÃO SUPORTE
========================================================= */

.secao-suporte {
    background: #f8fafc;

    padding: 80px 0;
}

.suporte-box {
    background:
        linear-gradient(
            145deg,
            #13233b,
            #1e3a5f
        );

    border-radius: 24px;

    padding: 50px;

    color: #ffffff;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 40px;

    align-items: center;

    box-shadow:
        0 20px 40px rgba(19, 35, 59, 0.12);
}

.tag-suporte {
    display: inline-block;

    color: #67cbbf;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 10px;
}

.suporte-conteudo h2 {
    font-size: 30px;

    font-weight: 800;

    margin-bottom: 12px;

    line-height: 1.25;
}

.suporte-conteudo p {
    font-size: 15px;

    color: #cbd5e1;

    line-height: 1.7;

    margin-bottom: 25px;
}

.suporte-contatos {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;
}

.contato-mini {
    display: flex;

    align-items: center;

    gap: 12px;

    background:
        rgba(255, 255, 255, 0.08);

    padding: 12px 20px;

    border-radius: 12px;

    border: 1px solid
        rgba(255, 255, 255, 0.12);
}

.mini-icone {
    font-size: 22px;
}

.contato-mini small {
    display: block;

    font-size: 11px;

    color: #94a3b8;

    text-transform: uppercase;

    font-weight: 600;
}

.contato-mini strong {
    font-size: 15px;

    color: #ffffff;
}

.contato-mini a {
    color: #67cbbf;

    text-decoration: none;

    font-weight: 600;

    font-size: 14.5px;
}


/* =========================================================
REGIMENTO
========================================================= */

.regimento-card {
    background:
        rgba(255, 255, 255, 0.06);

    border: 1px solid
        rgba(255, 255, 255, 0.15);

    border-radius: 18px;

    padding: 30px;

    text-align: center;
}

.reg-icon {
    font-size: 38px;

    margin-bottom: 12px;

    display: inline-block;
}

.regimento-card h4 {
    font-size: 18px;

    font-weight: 700;

    margin-bottom: 8px;

    color: #ffffff;
}

.regimento-card p {
    font-size: 13.5px;

    color: #cbd5e1;

    margin-bottom: 20px;

    line-height: 1.5;
}

.btn-regimento {
    display: inline-block;

    background: #00ab98;

    color: #ffffff;

    padding: 12px 24px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: all 0.25s ease;
}

.btn-regimento:hover {
    background: #008f7f;

    transform: translateY(-2px);
}

/* =========================================================
RESPONSIVIDADE
========================================================= */

@media (max-width: 992px) {

    .processos-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .suporte-box {
        grid-template-columns: 1fr;

        text-align: center;

        padding: 40px 25px;
    }

    .suporte-contatos {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

}


@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .processo-card {
        padding: 22px 20px;
    }

}


@media (max-width: 500px) {

    .processo-card-top {
        align-items: flex-start;

        gap: 10px;
    }

    .processo-card h3 {
        font-size: 18px;
    }

    .documento-item {
        padding: 9px 10px;

        font-size: 12px;
    }

    .documento-icone {
        width: 28px;
        height: 28px;

        min-width: 28px;
    }

}