/* ==========================================================
   CONFORMIDADE / CADASTUR
   BOA COMPANHIA NA TRILHA
========================================================== */


/* ==========================================================
   SEÇÃO PRINCIPAL
========================================================== */

.conformidade {

    padding:120px 0;

    background:#F7F4EE;

}



.conformidade .container {

    width:min(1200px,92%);

    margin:0 auto;

}





/* ==========================================================
   GRID
========================================================== */

.conformidade-grid {

    display:grid;

    grid-template-columns:

        1.1fr .9fr;

    gap:70px;

    align-items:center;

}





/* ==========================================================
   TEXTO
========================================================== */

.conformidade-tag {

    display:inline-flex;

    padding:.5rem 1rem;

    border-radius:50px;

    background:rgba(38,120,80,.12);

    color:#267850;

    font-size:.75rem;

    font-weight:800;

    letter-spacing:.08em;

    text-transform:uppercase;

}



.conformidade-texto h2 {

    margin:25px 0 20px;

    color:#0D2C3A;

    font-size:clamp(2rem,4vw,3rem);

    line-height:1.15;

}



.conformidade-texto p {

    margin-bottom:25px;

    color:#55636A;

    font-size:1.05rem;

    line-height:1.85;

}





/* ==========================================================
   LISTA
========================================================== */

.conformidade-texto ul {

    display:flex;

    flex-direction:column;

    gap:18px;

    margin:0;

    padding:0;

    list-style:none;

}



.conformidade-texto li {

    position:relative;

    padding-left:32px;

    color:#374151;

    line-height:1.7;

}



.conformidade-texto li::before {

    content:"✓";

    position:absolute;

    left:0;

    top:0;

    color:#267850;

    font-weight:900;

}





/* ==========================================================
   LINKS INSTITUCIONAIS
========================================================== */

.conformidade-links {

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-top:35px;

}



.conformidade-links a {

    padding:10px 18px;

    border-radius:50px;

    background:#FFFFFF;

    color:#0D2C3A;

    border:1px solid #DDE3DF;

    text-decoration:none;

    font-size:.9rem;

    font-weight:700;

    transition:.25s ease;

}



.conformidade-links a:hover {

    border-color:#267850;

    color:#267850;

}





/* ==========================================================
   CARD CREDENCIAL
========================================================== */

.conformidade-card {

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    padding:35px;

    background:#FFFFFF;

    border-radius:28px;

    box-shadow:

        0 20px 50px rgba(0,0,0,.08);

}





.credencial-link {

    display:block;

    border:none;

    padding:0;

    background:none;

    cursor:pointer;

}



.credencial-link img {

    width:100%;

    max-width:340px;

    border-radius:18px;

    transition:

        transform .35s ease,

        box-shadow .35s ease;

}



.credencial-link:hover img {

    transform:translateY(-5px);

    box-shadow:

        0 20px 45px rgba(0,0,0,.15);

}



.credencial-legenda {

    margin-top:20px;

    color:#6B7280;

    font-size:.9rem;

    text-align:center;

}





/* ==========================================================
   MODAL
========================================================== */

.credencial-modal {

    position:fixed;

    inset:0;

    z-index:9999;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:1.5rem;

    opacity:0;

    visibility:hidden;

    transition:.3s ease;

}



.credencial-modal.ativo {

    opacity:1;

    visibility:visible;

}





.credencial-container {

    position:relative;

    width:100%;

    max-width:900px;

    max-height:90vh;

    overflow:hidden;

    background:#FFFFFF;

    border-radius:28px;

    box-shadow:

        0 30px 80px rgba(0,0,0,.35);

}





/* ==========================================================
   CABEÇALHO MODAL
========================================================== */

.credencial-header {

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    padding:20px 25px;

    border-bottom:1px solid #ECECEC;

}



.credencial-titulo {

    display:flex;

    flex-direction:column;

}



.credencial-titulo strong {

    color:#0D2C3A;

    font-size:1.2rem;

}



.credencial-titulo span {

    color:#267850;

    font-size:.8rem;

    font-weight:800;

}





.credencial-acoes {

    display:flex;

    align-items:center;

    gap:10px;

}



.credencial-acoes a,
.credencial-fechar {

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:40px;

    padding:0 15px;

    border-radius:50px;

    text-decoration:none;

    border:none;

    cursor:pointer;

    font-weight:700;

}



.credencial-download,
.credencial-nova-guia {

    background:#EEF5F1;

    color:#267850;

}



.credencial-fechar {

    width:40px;

    padding:0;

    background:#0D2C3A;

    color:#FFFFFF;

    font-size:1.3rem;

}





/* ==========================================================
   IMAGEM MODAL
========================================================== */

.credencial-conteudo {

    max-height:65vh;

    overflow:auto;

    padding:30px;

    text-align:center;

}



.credencial-conteudo img {

    max-width:100%;

    height:auto;

    border-radius:12px;

}





/* ==========================================================
   RODAPÉ MODAL
========================================================== */

.credencial-footer {

    padding:25px;

    background:#F7F4EE;

    color:#55636A;

    line-height:1.7;

}



.credencial-footer strong {

    color:#0D2C3A;

}



.credencial-footer small {

    display:block;

    margin-top:15px;

    color:#7A857C;

}





/* ==========================================================
   RESPONSIVO
========================================================== */

@media(max-width:900px){


    .conformidade {

        padding:80px 0;

    }


    .conformidade-grid {

        grid-template-columns:1fr;

        gap:40px;

    }


    .credencial-container {

        max-height:95vh;

    }


    .credencial-header {

        flex-direction:column;

        align-items:flex-start;

    }


    .credencial-acoes {

        width:100%;

    }


}