    body {
        background: #fff;
        font-family: 'Nunito', sans-serif;
        color: #222;
    }

    body {
        font-family: 'Nunito', sans-serif;
    }

    body.font-serif article {
        font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
    }

    body.font-nunito article {
        font-family: 'Nunito', Arial, Helvetica, sans-serif;
    }

    body.font-georgia article {
        font-family: Georgia, 'Times New Roman', serif;
    }

    body.font-arial article {
        font-family: Arial, Helvetica, sans-serif;
    }
    

   .container-legislacao {
        max-width: 900px;
        margin: 0 auto;
    }

    @media (max-width: 1200px) {
        .container-legislacao {
            max-width: 95%;
        }
    }

    .titulo-lei {
        text-align: center;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 2.5rem;
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .ementa {
        border-left: 4px solid #dc3545;
        padding-left: 1rem;
        margin-bottom: 2.5rem;
        color: #444;
        font-style: italic;
        font-size: 1.05rem;
    }

    article {
        line-height: 1.95;
        font-size: 1.05rem;
        text-align: justify;
    }

    
    article p {
        margin-bottom: 1.2rem;
    }
    article strong {
        font-weight: 900;
    }

    

    .footer-public {
        border-top: 1px solid #eee;
        font-size: 0.85rem;
        color: #000;
        text-align: center;
    }

    .preview-badge {
        background: #ffc107;
        color: #000;
        padding: 5px 10px;
        font-size: 0.8rem;
        border-radius: 8px;
        display: inline-block;
        margin-top: 5px;
    }

    article a {
        color: #0d6efd;
        text-decoration: underline;
        transition: all 0.2s ease;
        white-space: normal;
    }

    article a:hover {
        color: #0a58ca;
        cursor: pointer;
    }

    article a[href*="/legislacao/"] {
        color: #198754;
        font-weight: 500;
        border-bottom: 1px dashed currentColor;
    }

    article a[href*="/legislacao/"]:hover {
        color: #146c43;
        background: rgba(25, 135, 84, 0.1);
        border-radius: 2px;
    }


    .topo-legislacao {
        background: #f4f4f4;
        border-bottom: 1px solid #203862;
    }

.brasao-legislacao {
    height: 55px;
}

.subtitulo-legislacao {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
}
.titulo-legislacao {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

.topo-legislacao .btn {
    font-size: 0.8rem;
}

.btn {
    font-size: 14px;
     border-radius: 8px;
}
.btn:hover {
    transform: translateY(-1px);
    transition: all 0.15s ease;
}

.dropdown-menu {
    display: block;

    opacity: 0;
    transform: translateY(8px) scale(0.98);

    transition: 
        opacity 0.18s ease-out,
        transform 0.18s ease-out;

    visibility: hidden;
    pointer-events: none;

    border: none;
    border-radius: 10px;

    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.05);

    backdrop-filter: blur(4px);
}

.dropdown.show .dropdown-menu {
    opacity: 1;
    transform: translateY(0) scale(1);

    visibility: visible;
    pointer-events: auto;
}

.footer-legislacao {
    border-top: 1px solid #203862;
    background: #fafafa;
}

.footer-titulo {
    font-weight: 700;
    font-size: 0.95rem;
}

.footer-subtitulo {
    font-size: 0.8rem;
    color: #777;
}

.brasao-footer {
    height: 45px;
    width: auto;
}

.footer-bottom {
    border-top: 1px solid #eee;
    color: #777;
}
.barra-acessibilidade {
    background: #f4f4f4;
    border-bottom: 1px solid #203862;
    padding: 5px 0;
    font-size: 0.85rem;
}

.btn-acessibilidade {
    background: #203862;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;

    margin-left: 6px;

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

    font-size: 0.85rem;
    font-weight: bold;

    transition: all 0.2s ease;
}

.btn-acessibilidade img {
    filter: brightness(0) invert(1);
}

.btn-acessibilidade:hover {
    background: #fff;
    color: #000;
}

.btn-acessibilidade:hover img {
    filter: none;
}


body.alto-contraste {
    background: #000 !important;
    color: #fff !important;
}

body.alto-contraste .barra-acessibilidade,
body.alto-contraste .header-public,
body.alto-contraste .topo-legislacao,
body.alto-contraste .footer-legislacao,
body.alto-contraste .dropdown-menu {
    background: #000 !important;
    color: #fff !important;
    border-color: #444 !important;
}

body.alto-contraste .container,
body.alto-contraste section,
body.alto-contraste article,
body.alto-contraste .ementa,
body.alto-contraste .preview-badge {
    background: #000 !important;
    color: #fff !important;
    border-color: #666 !important;
}

body.alto-contraste .titulo-lei,
body.alto-contraste .subtitulo-legislacao,
body.alto-contraste .titulo-legislacao,
body.alto-contraste .footer-titulo,
body.alto-contraste .footer-subtitulo,
body.alto-contraste p,
body.alto-contraste strong,
body.alto-contraste div,
body.alto-contraste span {
    color: #fff !important;
}

body.alto-contraste a,
body.alto-contraste .dropdown-item {
    color: #ff0 !important;
}

body.alto-contraste .btn {
    background: #000 !important;
    color: #ff0 !important;
    border-color: #ff0 !important;
}

body.alto-contraste .btn:hover {
    background: #222 !important;
    color: #fff !important;
    border-color: #fff !important;
}

body.alto-contraste .btn-acessibilidade {
    background: #000 !important;
    color: #ff0 !important;
    border: 1px solid #ff0 !important;
}

body.alto-contraste .btn-acessibilidade img {
    filter: brightness(1.5) sepia(1) hue-rotate(20deg) saturate(8) !important;
}

body.alto-contraste article a[href*="/legislacao/"] {
    color: #00ff90 !important;
    border-bottom-color: #00ff90 !important;
}

body.alto-contraste article a:hover {
    background: #222 !important;
}

.box-anotacoes {
    background: #f8f9fb;
    border-left: 4px solid #203862;
    padding: 10px;
    border-radius: 6px;
}

.titulo-bloco {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #203862;
    margin-bottom: 8px;
}

.lista-anotacoes {
    padding-left: 30px;
}

.lista-anotacoes li {
    margin-bottom: 4px;
}

.lista-anexos {
    margin: 0;
    padding-left: 18px;
}

.lista-anexos li {
    margin-bottom: 5px;
}

.lista-anexos a {
    color: #0d6efd;
    text-decoration: none;
}

.lista-anexos a:hover {
    text-decoration: underline;
}

.card-anexos {
    border: 1px solid #e3e6f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.card-anexos .card-header {
    background: #f8f9fc;
    font-weight: 600;
    font-size: 0.9rem;
}

.lista-anexos {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-anexos li {
    border-top: 1px solid #eee;
}

.lista-anexos li:first-child {
    border-top: none;
}

.lista-anexos a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
}

.lista-anexos a:hover {
    background: #f1f3f9;
}

.card-anexos {
    border: 1px solid #e3e6f0;
    border-radius: 10px;
    overflow: hidden;
}

.card-anexos .card-header {
    background: #f8f9fc;
    font-weight: 600;
    font-size: 0.9rem;
}

.lista-anexos {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-anexos li {
    border-top: 1px solid #eee;
}

.lista-anexos li:first-child {
    border-top: none;
}

.lista-anexos a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
}

.lista-anexos a:hover {
    background: #f1f3f9;
}

.anexo-item {
    display: flex;
    align-items: center;
}

.anexo-icon {
    font-size: 18px;
    margin-right: 10px;
}

.anexo-info {
    flex: 1;
}

.anexo-nome {
    font-weight: 500;
}

.anexo-meta {
    font-size: 0.75rem;
    color: #777;
}

.anexo-arrow {
    color: #bbb;
    font-size: 14px;
}

.highlight-toolbar {
    position: absolute;
    z-index: 9999;
}
.texto-highlight {
    background: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
    position: relative;
}

.highlight-remove {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 4px;
    cursor: pointer;
    position: relative;
    top: -1px;
}

.highlight-remove::before {
    content: "×";
    color: #999;
    font-size: 12px;
    line-height: 12px;
}

.highlight-remove:hover::before {
    color: #dc3545;
}

article .l_art {
    margin-bottom: 1.2rem;
}

article .s_span {
    font-weight: 700 !important;
}

article .l_paragrafo_1 { padding-left: 20px; }
article .l_paragrafo_2 { padding-left: 40px; }
article .l_paragrafo_3 { padding-left: 60px; }

article .l_inciso_1 { padding-left: 20px; }
article .l_inciso_2 { padding-left: 40px; }
article .l_inciso_3 { padding-left: 60px; }

article .l_alinea_1 { padding-left: 20px; }
article .l_alinea_2 { padding-left: 40px; }
article .l_alinea_3 { padding-left: 60px; }

article .citacao,
article blockquote {
    background: #f1f3f5;
    border: 1px solid #dee2e6;

    padding: 16px 20px;
    margin: 25px 0;

    border-radius: 8px;

    font-style: italic;
    color: #444;
}

article blockquote p {
    margin: 0 !important;
}

article blockquote p:empty {
    display: none;
}