/* =========================================================
   DINELLY CONTABILIDADE
   CONSULTA CNAE
   ========================================================= */

:root {
    --laranja: #f28c00;
    --laranja-escuro: #d87300;
    --dourado: #d6a12c;
    --dourado-claro: #f4d27a;

    --preto: #171717;
    --preto-2: #242424;

    --cinza: #666;
    --cinza-claro: #f5f5f5;
    --borda: #e5e5e5;
    --branco: #ffffff;

    --verde: #16834b;
    --vermelho: #b42318;

    --largura: 1180px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;

    background: #f6f6f6;

    color: var(--preto);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
}


/* =========================================================
   TOPO
   ========================================================= */

.dinelly-topbar {
    width: 100%;
    background: var(--preto);
    color: #fff;

    font-size: 13px;
}

.dinelly-topbar-inner {
    width: 100%;
    max-width: var(--largura);

    margin: 0 auto;
    padding: 8px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.dinelly-endereco {
    color: #ddd;
}

.dinelly-contatos {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dinelly-contatos a {
    color: #fff;
    text-decoration: none;
}

.dinelly-contatos a:hover {
    color: var(--dourado-claro);
}


/* =========================================================
   CABEÇALHO
   ========================================================= */

.dinelly-header {
    width: 100%;
    background: #fff;

    border-bottom: 1px solid #ddd;
}


/* =========================================================
   LOGO
   ========================================================= */

.dinelly-header-inner {
    width: 100%;
    max-width: var(--largura);

    margin: 0 auto;
}


/*
   Logo fica sozinho em uma linha.
*/

.dinelly-logo {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    padding: 18px 20px 12px;

    text-decoration: none;
}

.dinelly-logo img {
    display: block;

    width: auto;
    max-width: 280px;
    height: auto;

    max-height: 95px;
}


/* =========================================================
   MENU
   ========================================================= */

.dinelly-menu {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0;

    border-top: 1px solid #eee;
}

.dinelly-menu > a,
.dinelly-menu-item > a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 13px;

    color: var(--preto);

    text-decoration: none;

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

    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease;
}

.dinelly-menu > a:hover,
.dinelly-menu-item > a:hover {
    background: var(--laranja);
    color: #fff;
}


/* =========================================================
   FALE CONOSCO
   ========================================================= */

.dinelly-menu .dinelly-contato {
    background: var(--laranja);
    color: #fff;

    margin-left: 8px;

    border-radius: 4px;
}

.dinelly-menu .dinelly-contato:hover {
    background: var(--laranja-escuro);
    color: #fff;
}


/* =========================================================
   ITEM DO MENU
   ========================================================= */

.dinelly-menu-item {
    position: relative;
}

.dinelly-menu-item > a .seta {
    margin-left: 5px;
    font-size: 11px;
}


/* =========================================================
   SUBMENU
   ========================================================= */

.dinelly-submenu {
    position: absolute;

    top: 100%;
    left: 0;

    width: 270px;

    display: none;

    background: #fff;

    border: 1px solid #ddd;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .15);

    z-index: 9999;
}

.dinelly-menu-item:hover .dinelly-submenu {
    display: block;
}

.dinelly-submenu a {
    display: block;

    padding: 11px 15px;

    color: #333;

    background: #fff;

    border-bottom: 1px solid #eee;

    text-decoration: none;

    font-size: 13px;
}

.dinelly-submenu a:hover {
    background: #fff5e8;
    color: var(--laranja-escuro);
}


/* =========================================================
   BOTÃO MOBILE
   ========================================================= */

.dinelly-menu-button {
    display: none;

    margin: 0 auto 12px;

    background: var(--laranja);
    color: #fff;

    border: 0;

    border-radius: 5px;

    padding: 10px 18px;

    font-size: 20px;

    cursor: pointer;
}


/* =========================================================
   CONTEÚDO PRINCIPAL
   ========================================================= */

.dinelly-main {
    width: 100%;
    max-width: var(--largura);

    margin: 0 auto;

    padding: 35px 20px 80px;
}


/* =========================================================
   CONTAINER CNAE
   ========================================================= */

.cnae-container {
    width: 100%;
    max-width: 1050px;

    margin: 0 auto;
}


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

.cnae-card {
    width: 100%;

    background: #fff;

    border: 1px solid var(--borda);

    border-radius: 10px;

    box-shadow:
        0 4px 16px rgba(0, 0, 0, .06);

    overflow: hidden;

    margin-bottom: 24px;
}

.cnae-card-header {
    padding: 30px;

    background:
        linear-gradient(
            135deg,
            #fff8ed,
            #fff
        );

    border-bottom: 1px solid #eee;

    border-left: 5px solid var(--laranja);
}

.cnae-card-header h1 {
    margin: 0 0 8px;

    color: var(--preto);

    font-size: 30px;
    line-height: 1.25;
}

.cnae-card-header p {
    margin: 0;

    color: var(--cinza);

    font-size: 15px;
}

.cnae-card-body {
    padding: 30px;
}


/* =========================================================
   TÍTULOS
   ========================================================= */

.cnae-section-title {
    margin: 35px 0 18px;

    color: var(--preto);

    font-size: 21px;

    border-left: 4px solid var(--laranja);

    padding-left: 12px;
}


/* =========================================================
   BUSCA
   ========================================================= */

.cnae-search {
    width: 100%;
}

.cnae-search label {
    display: block;

    margin-bottom: 8px;

    color: #333;

    font-weight: 700;
}

.cnae-search-row {
    width: 100%;

    display: flex;

    align-items: stretch;

    gap: 10px;
}

.cnae-search input {
    flex: 1;

    min-width: 0;

    height: 48px;

    padding: 0 15px;

    border: 1px solid #ccc;

    border-radius: 6px;

    background: #fff;

    color: #222;

    font-size: 16px;

    outline: none;
}

.cnae-search input:focus {
    border-color: var(--laranja);

    box-shadow:
        0 0 0 3px rgba(242, 140, 0, .12);
}

.btn-cnae {
    height: 48px;

    padding: 0 24px;

    border: 0;

    border-radius: 6px;

    background: var(--laranja);

    color: #fff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    transition:
        background .2s ease,
        transform .1s ease;
}

.btn-cnae:hover {
    background: var(--laranja-escuro);
}

.btn-cnae:active {
    transform: translateY(1px);
}


/* =========================================================
   GRID
   ========================================================= */

.cnae-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   INFORMAÇÕES
   ========================================================= */

.cnae-info {
    min-width: 0;

    padding: 20px;

    background: #fff;

    border: 1px solid var(--borda);

    border-radius: 8px;

    border-top: 3px solid var(--dourado);

    box-shadow:
        0 2px 8px rgba(0, 0, 0, .04);
}

.cnae-info-label {
    display: block;

    margin-bottom: 6px;

    color: var(--laranja-escuro);

    font-size: 16px;

    font-weight: 700;
}

.cnae-info-value {
    display: block;

    color: #555;

    font-size: 14px;
}


/* =========================================================
   RESULTADOS DA BUSCA
   ========================================================= */

.cnae-resultados {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    margin-top: 20px;
}

.cnae-resultado {
    display: flex;

    flex-direction: column;

    min-width: 0;

    padding: 20px;

    background: #fff;

    border: 1px solid var(--borda);

    border-radius: 9px;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .05);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.cnae-resultado:hover {
    transform: translateY(-2px);

    border-color: var(--dourado);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, .09);
}

.cnae-resultado-codigo {
    color: var(--laranja-escuro);

    font-size: 18px;

    font-weight: 800;

    margin-bottom: 7px;
}

.cnae-resultado-descricao {
    flex: 1;

    color: #333;

    font-size: 14px;

    margin-bottom: 16px;
}

.cnae-resultado-botao {
    align-self: flex-start;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 18px;

    background: var(--laranja);

    color: #fff;

    border-radius: 5px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}

.cnae-resultado-botao:hover {
    background: var(--laranja-escuro);
}


/* =========================================================
   DETALHES
   ========================================================= */

.codigo {
    color: var(--laranja-escuro);

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .5px;
}

.descricao {
    margin: 10px 0 15px;

    color: #555;

    font-size: 16px;
}

.grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.item {
    min-width: 0;

    padding: 18px;

    background: #fafafa;

    border: 1px solid #e7e7e7;

    border-radius: 7px;
}

.label {
    display: block;

    margin-bottom: 6px;

    color: #777;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;
}

.value {
    display: block;

    color: #222;

    font-size: 15px;

    font-weight: 600;
}


/* =========================================================
   BADGES
   ========================================================= */

.badge {
    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: 4px 12px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;
}

.badge.ok {
    background: #e8f7ef;
    color: var(--verde);
}

.badge.nao {
    background: #fdecec;
    color: var(--vermelho);
}

.badge.consultar {
    background: #fff4df;
    color: #a15d00;
}

.badge.fator-r {
    background: #fff0d6;
    color: #a85d00;
}


/* =========================================================
   VOLTAR
   ========================================================= */

.cnae-voltar {
    margin-bottom: 20px;
}

.cnae-voltar a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 9px 15px;

    background: #fff;

    color: #444;

    border: 1px solid #ddd;

    border-radius: 5px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}

.cnae-voltar a:hover {
    border-color: var(--laranja);

    color: var(--laranja-escuro);

    background: #fffaf3;
}


/* =========================================================
   REGRA
   ========================================================= */

.regra {
    padding: 20px;

    background: #fff9ef;

    border-left: 4px solid var(--dourado);

    border-radius: 5px;

    color: #444;

    font-size: 14px;
}


/* =========================================================
   PEQUENO
   ========================================================= */

.small {
    display: block;

    margin-top: 9px;

    color: #777;

    font-size: 12px;
}


/* =========================================================
   FOOTER / FONTE
   ========================================================= */

.footer {
    color: #666;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   ERRO
   ========================================================= */

.cnae-erro {
    margin-top: 20px;

    padding: 15px 18px;

    background: #fff1f1;

    border: 1px solid #f2caca;

    border-left: 4px solid #c0392b;

    border-radius: 6px;

    color: #a5281d;

    font-size: 14px;
}


/* =========================================================
   RESULTADO VAZIO
   ========================================================= */

.cnae-vazio {
    padding: 30px;

    text-align: center;

    background: #fff;

    border: 1px solid var(--borda);

    border-radius: 8px;

    color: #666;
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.dinelly-whatsapp {
    position: fixed;

    right: 0;
    bottom: 0;

    z-index: 99999;

    display: block;
}

.dinelly-whatsapp img {
    display: block;

    width: 250px;
    max-width: 80vw;

    height: auto;
}


/* =========================================================
   RESPONSIVO — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .dinelly-topbar-inner {
        flex-direction: column;

        align-items: center;

        text-align: center;

        gap: 5px;
    }

    .dinelly-menu > a,
    .dinelly-menu-item > a {
        padding: 0 8px;

        font-size: 11px;
    }

    .cnae-resultados {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   RESPONSIVO — CELULAR
   ========================================================= */

@media (max-width: 700px) {

    .dinelly-topbar {
        display: none;
    }


    .dinelly-logo {
        padding: 15px 15px 10px;
    }

    .dinelly-logo img {
        max-width: 220px;
    }


    .dinelly-menu-button {
        display: block;
    }


    .dinelly-menu {
        display: none;

        flex-direction: column;

        align-items: stretch;

        width: 100%;

        padding-bottom: 10px;
    }


    body.dinelly-menu-open .dinelly-menu {
        display: flex;
    }


    .dinelly-menu > a,
    .dinelly-menu-item > a {
        width: 100%;

        min-height: 46px;

        justify-content: space-between;

        padding: 0 20px;

        border-bottom: 1px solid #eee;

        font-size: 12px;
    }


    .dinelly-menu-item {
        width: 100%;
    }


    .dinelly-submenu {
        position: static;

        width: 100%;

        display: none;

        box-shadow: none;

        border: 0;

        border-bottom: 1px solid #ddd;
    }


    .dinelly-menu-item:hover .dinelly-submenu {
        display: none;
    }


    body.dinelly-menu-open
    .dinelly-menu-item:hover
    .dinelly-submenu {
        display: block;
    }


    .dinelly-submenu a {
        padding-left: 35px;

        font-size: 12px;
    }


    .dinelly-menu .dinelly-contato {
        margin: 8px 15px 0;

        width: auto;

        justify-content: center;
    }


    .dinelly-main {
        padding: 20px 12px 100px;
    }


    .cnae-card-header {
        padding: 22px 18px;
    }


    .cnae-card-header h1 {
        font-size: 24px;
    }


    .cnae-card-body {
        padding: 20px 16px;
    }


    .cnae-search-row {
        flex-direction: column;
    }


    .cnae-search input,
    .btn-cnae {
        width: 100%;
    }


    .cnae-grid,
    .cnae-resultados,
    .grid {
        grid-template-columns: 1fr;
    }


    .cnae-section-title {
        font-size: 19px;
    }


    .dinelly-whatsapp img {
        width: 210px;
    }
}


/* =========================================================
   CELULAR PEQUENO
   ========================================================= */

@media (max-width: 400px) {

    .dinelly-logo img {
        max-width: 190px;
    }

    .dinelly-main {
        padding-left: 8px;
        padding-right: 8px;
    }

    .cnae-card-body {
        padding: 16px 12px;
    }

    .dinelly-whatsapp img {
        width: 190px;
    }
}
/* ==================================================
   BOTÃO NOVA CONSULTA
================================================== */

.btn-voltar-cnae {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-bottom: 25px;
    padding: 11px 18px;

    background: #e38b16;
    color: #ffffff !important;

    border: 1px solid #c87308;
    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none !important;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


/* SETA */

.btn-voltar-seta {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 23px;
    height: 23px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .18);

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

    line-height: 1;
}


/* HOVER */

.btn-voltar-cnae:hover {
    background: #c9750c;

    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow:
        0 5px 12px rgba(0, 0, 0, .16);
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    .btn-voltar-cnae {
        width: auto;
        max-width: 100%;

        padding: 11px 16px;

        margin-bottom: 20px;
    }

}
CSS do box de atenção


/* =========================================================
BOX DE ATENÇÃO — CNAE
========================================================= */

.cnae-aviso {

width: 100%;
box-sizing: border-box;

margin: 30px 0;

padding: 0;

background: #fffaf1;

border: 1px solid #ead7ad;

border-left: 5px solid #d88900;

border-radius: 12px;

overflow: hidden;

box-shadow:
    0 4px 18px rgba(0, 0, 0, .05);

}

/* TÍTULO */

.cnae-aviso-titulo {

padding: 15px 20px;

background:
    linear-gradient(
        90deg,
        #d88900,
        #c47a00
    );

color: #ffffff;

font-size: 17px;

font-weight: 800;

}

/* TEXTO */

.cnae-aviso-texto {

padding: 20px 22px 8px;

color: #4a4a4a;

font-size: 14px;

line-height: 1.7;

}

.cnae-aviso-texto p {

margin: 0 0 14px;

}

.cnae-aviso-texto strong {

color: #222222;

}

/* LINKS */

.cnae-aviso-links {

margin-top: 18px !important;

}

.cnae-aviso a {

color: #b86f00;

font-weight: 700;

text-decoration: underline;

}

.cnae-aviso a:hover {

color: #222222;

}

/* FONTE */

.cnae-aviso-fonte {

margin-top: 5px;

padding: 14px 22px;

background: #f5ead5;

border-top: 1px solid #ead7ad;

color: #666666;

font-size: 12px;

line-height: 1.6;

}

.cnae-aviso-fonte strong {

color: #333333;

}

/* CELULAR */

@media (max-width: 600px) {

.cnae-aviso {

    margin: 25px 0;

    border-radius: 9px;

}


.cnae-aviso-titulo {

    padding: 13px 16px;

    font-size: 16px;

}


.cnae-aviso-texto {

    padding: 17px 16px 5px;

    font-size: 13px;

    line-height: 1.65;

}


.cnae-aviso-fonte {

    padding: 13px 16px;

    font-size: 11px;

}

}
