[comp="cabecalho-website"] {
    display: flex;
    flex-direction: column;
    background: white;
    z-index: 2;



    & .topo {
        background-color: var(--color-primary);
        color: white;
        padding: 5px 0;
    }

    & .topo .controles button,
    & .topo .controles a {
        background-color: #00000021;
        border: none;
        border-radius: calc(var(--border-radius) - 2px);
        color: white;
        aspect-ratio: 1;
        width: 27px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: .2s ease;
        text-decoration: none;
    }

    & .topo .controles button:hover,
    & .topo .controles a:hover {
        background-color: #ffffff26;
    }

    & .topo .controles button.ativo,
    & .topo .controles a.ativo {
        background-color: white;
        color: var(--color-primary);
    }

    & .topo .controles button:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

    & .topo .controles {
        display: flex;
        gap: 4px;
    }

    & .topo .controles .btn-lgpd {
        width: auto;
        aspect-ratio: auto;
        padding: 0 8px;
        gap: 5px;
        font-size: 12px;
        font-weight: 700;
    }

    & .topo>div {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 5px;
    }

    & .topo .menu {
        font-size: 13px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 5px;
        cursor: pointer;
    }

    & .topo .menu a {
        text-decoration: none;
        color: #ffffff;
        background: #00000021;
        padding: 5px 8px;
        border-radius: calc(var(--border-radius) - 2px);
        transition: .2s ease;
    }

    & .topo .menu a:hover {
        background-color: #ffffff26;
    }

    & .principal {
        padding: 18px 0;
    }

    & .principal>div {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 15px;
    }

    & .principal .brasao {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        justify-content: center;
    }

    & .principal .brasao img {
        height: 70px;
    }


    & .principal .brasao>.nome {
        display: flex;
        flex-direction: column;
        line-height: 1;
        gap: 2px;
        text-transform: uppercase;
    }

    & .principal .brasao>.nome span {
        font-size: 15px;
        font-weight: 600;
        color: #5f5f5f;
    }

    & .principal .brasao>.nome b {
        font-weight: 800;
        color: #212121;
        font-size: 26px;
    }

    & .principal .titulo h1 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        line-height: 1;
        gap: 4px;
        font-size: 26px;
    }

    & .principal .titulo h1 span {
        font-size: 60%;
        letter-spacing: 7px;
        color: #5f5f5f;
    }

    & .principal .titulo h1 b {
        font-weight: 800;
        color: #212121;
    }

    & .principal .ano {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        justify-content: center;
    }

    & .principal .ano select {
        font-size: 15px;
        font-weight: 600;
        color: #161616;
        border-color: var(--color-primary);
        cursor: pointer;
    }

    & .controles p {
        font-size: 14px;
        margin-top: 5px;
    }

    & .mapa-site {
        max-height: calc(100dvh - 115px);
        overflow: auto;
        padding: 8px;
        background: #f6f7f6;
        border-radius: calc(var(--border-radius) - 2px);
    }

    & .mapa-site-intro {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 12px;
        padding: 15px 16px;
        background: linear-gradient(135deg, var(--color-primary), #0b8a3b);
        border-radius: var(--border-radius);
        color: white;
        box-shadow: 0 12px 24px -22px #000;
    }

    & .mapa-site-intro div {
        display: flex;
        flex-direction: column;
        gap: 3px;
        min-width: 0;
    }

    & .mapa-site-intro strong {
        font-size: 18px;
        line-height: 1.1;
    }

    & .mapa-site-intro span {
        font-size: 13px;
        line-height: 1.35;
        opacity: .9;
    }

    & .mapa-site-intro>i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        aspect-ratio: 1;
        border-radius: 50%;
        background: #ffffff24;
        flex: none;
        font-size: 19px;
    }

    & .mapa-site-lista {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 9px;
    }

    & .mapa-site-lista .mapa-site-lista {
        display: none;
        margin: 8px 0 0 18px;
        padding-left: 18px;
        border-left: 2px dashed #cfd8d2;
    }

    & .mapa-site-lista li.aberto>.mapa-site-lista {
        display: grid;
    }

    & .mapa-site-item {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: 8px;
        min-height: 44px;
        border: 1px solid #dedede;
        border-radius: var(--border-radius);
        background: white;
        color: #242424;
        font-size: 14px;
        font-weight: 700;
        box-shadow: 0 8px 18px -20px #000;
        overflow: hidden;
        transition: .2s ease;
    }

    & .mapa-site-item:hover {
        border-color: #c8d8cd;
        box-shadow: 0 12px 22px -22px #000;
    }

    & .mapa-site-link {
        color: inherit;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 9px;
        min-width: 0;
        line-height: 1.25;
        flex: 1;
        padding: 11px 12px;
    }

    & .mapa-site-link>i {
        color: var(--color-primary);
        width: 18px;
        text-align: center;
        flex: none;
    }

    & .mapa-site-link span {
        min-width: 0;
    }

    & a.mapa-site-link:hover {
        color: var(--color-primary);
    }

    & .mapa-site-toggle {
        width: 44px;
        border: none;
        border-left: 1px solid #ededed;
        background: #f9fbfa;
        color: var(--color-primary);
        cursor: pointer;
        flex: none;
        transition: .2s ease;
    }

    & .mapa-site-toggle:hover {
        background: #edf7f1;
    }

    & .mapa-site-toggle i {
        transition: transform .2s ease;
    }

    & .mapa-site-lista li.aberto>.mapa-site-item .mapa-site-toggle i {
        transform: rotate(180deg);
    }

    & .mapa-site-lista li:not(.aberto)>.mapa-site-item {
        background: #fbfbfb;
    }

    & .mapa-site-nivel-1 .mapa-site-item {
        min-height: 40px;
        font-weight: 600;
        box-shadow: none;
    }

    & .mapa-site-nivel-1 .mapa-site-link {
        padding: 9px 10px;
    }
}

body.acessibilidade-contraste {
    filter: invert(1) hue-rotate(180deg) brightness(1.3);
}


@media screen and (max-width: 768px) {
    [comp="cabecalho-website"] {
        & .principal>div {
            display: flex;
            flex-direction: row;
            gap: 0px;
            padding: 0;
            justify-content: center;
        }

        & .principal .titulo {
            padding: 15px;
            flex: 3;
        }

        & .principal {
            padding: 0;
            background-color: #f1f1f1;
        }

        & .principal .brasao {
            padding: 10px;
            width: 100%;
            background-color: white;
        }

        & .principal .ano {
            padding: 10px 16px;
            flex: 2;
        }

        & .principal .titulo h1 {
            font-size: 23px;
        }

        & .mapa-site-lista .mapa-site-lista {
            margin-left: 8px;
            padding-left: 10px;
        }

        & .mapa-site-item {
            align-items: stretch;
        }

        & .mapa-site-intro {
            align-items: flex-start;
            padding: 13px;
        }

        & .mapa-site-intro>i {
            width: 38px;
        }
    }
}
