@font-face {
    font-family: Lato;
    src: url('../fontes/lato-regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: Lato;
    src: url('../fontes/lato-bold.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap
}

@font-face {
    font-family: Lato;
    src: url('../fontes/lato-light.woff2') format('woff2');
    font-style: normal;
    font-weight: 300;
    font-display: swap
}

:root {
    --azul: #06275c;
    --texto: #3b4d59;
    --cabecalho: 124px;
    --largura: 1360px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--texto);
    background: #f6f6f5 url('../imgs/bg.png') center top/cover fixed;
    font: 400 1.2rem/1.48 Lato, Arial, sans-serif
}

button,
a {
    font: inherit
}

a {
    color: inherit
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #ec3341;
    outline-offset: 4px
}

.visualmente-oculto {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.pular {
    position: absolute;
    z-index: 50;
    left: 10px;
    top: -80px;
    background: #fff;
    color: var(--azul);
    padding: 12px
}

.pular:focus {
    top: 10px
}

.cabecalho {
    background: var(--azul);
    color: white;
    min-height: var(--cabecalho)
}

.cabecalho-interno {
    max-width: 1740px;
    margin: auto;
    min-height: var(--cabecalho);
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.8vw, 32px);
    padding: 12px clamp(18px, 3.3vw, 64px)
}

.marca {
    flex: 0 0 clamp(185px, 16vw, 250px);
    display: flex;
    align-items: center
}

.marca img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 98px;
    object-fit: contain;
    object-position: center
}

.marca-tce {
    background: #fff;
    border-radius: 0 0 14px 14px;
    align-self: stretch;
    min-width: 132px;
    width: clamp(132px, 10vw, 174px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px
}

.marca-tce img {
    width: 100%;
    height: auto
}

.navegacao {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(3px, .3vw, 8px);
    flex-wrap: wrap
}

.navegacao a {
    white-space: nowrap;
    color: #fff;
    font-size: clamp(.84rem, 1.08vw, 1.04rem);
    padding: 10px 9px;
    border-radius: 6px;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: background-color .2s, color .2s
}

.navegacao a:hover,
.navegacao a:focus-visible {
    background: #244a83
}

.navegacao a.ativo {
    color: var(--azul);
    background: #fff;
    font-weight: 700;
    text-decoration: none
}

.botao-menu {
    display: none
}

.container {
    width: min(calc(100% - 80px), var(--largura));
    margin-inline: auto
}

.pagina-texto {
    min-height: calc(100svh - var(--cabecalho) - 58px);
    padding-top: 60px;
    padding-bottom: 75px
}

.pagina-texto h1,
.pagina-categorias h1 {
    font-size: clamp(2.2rem, 4vw, 4.1rem);
    line-height: 1.12;
    letter-spacing: .01em;
    color: var(--azul);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 40px
}

.pagina-texto p {
    font-size: clamp(1.16rem, 1.65vw, 1.86rem);
    font-weight: 300;
    line-height: 1.52;
    margin: 0 0 32px
}

.pagina-texto p a {
    text-decoration-thickness: 1px;
    text-underline-offset: 4px
}

.inicio {
    min-height: calc(100svh - var(--cabecalho) - 58px);
    display: grid;
    place-items: center;
    padding: 44px 26px 100px
}

.inicio-interior {
    width: min(1160px, 100%);
    text-align: center
}

.logo-principal {
    display: block;
    width: min(100%, 1050px);
    height: auto;
    margin-inline: auto
}

.tema {
    color: var(--azul);
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.9rem);
    line-height: 1.3;
    margin: -20px auto 0
}

.pagina-categorias {
    /* padding: 60px 24px 70px; */
    min-height: calc(100svh - var(--cabecalho) - 58px)
}

.pagina-categorias h1 {
    text-align: center;
    margin-bottom: 64px
}

.categorias {
    display: flex;
    align-items: stretch;
    gap: 18px;
    max-width: 1600px;
    margin: auto;
    min-height: 600px
}

.categoria {
    display: flex;
    min-width: 0;
    flex: 1 1 0;
    gap: 24px;
    transition: flex-grow .42s ease
}

.categoria.selecionada {
    flex: 3.2 1 0
}

.categoria-botao {
    appearance: none;
    cursor: pointer;
    background: none;
    border: 0;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-align: center;
    color: var(--texto)
}

.categoria-titulo {
    display: block;
    font-size: clamp(.84rem, 1.1vw, 1.24rem);
    line-height: 1.25;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    min-height: 43px;
    white-space: nowrap
}

.categoria-titulo::after {
    content: '';
    display: block;
    height: 2px;
    background: var(--azul);
    width: 80%;
    max-width: 180px;
    margin: 10px auto 0
}

.categoria-botao img {
    height: 540px;
    max-height: 58vw;
    width: 100%;
    min-width: 0;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 22px 22px 0 0;
    transition: filter .3s
}

.categoria-botao:hover img {
    filter: brightness(1.06)
}

.categoria-descricao {
    flex: 1.2 1 0;
    min-width: 0;
    align-self: flex-start;
    padding-top: 57px
}

.categoria-descricao p {
    font-weight: 300;
    font-size: clamp(1.05rem, 1.55vw, 1.62rem);
    line-height: 1.5;
    margin: 0
}

.categoria-descricao[hidden] {
    display: none !important
}

.acao-central {
    text-align: center;
    margin-top: 32px
}

.acao-inferior {
    margin-top: auto;
    text-align: center;
    padding-top: 35px
}

.regulamento {
    display: flex;
    flex-direction: column
}

.botao-link {
    display: inline-block;
    background: var(--azul);
    border-radius: 17px;
    color: white;
    font-size: clamp(1.14rem, 2vw, 1.8rem);
    font-weight: 700;
    line-height: 1.25;
    padding: 12px 30px;
    text-decoration: underline;
    text-underline-offset: 4px;
    min-width: min(100%, 460px);
    text-align: center
}

.botao-link:not(.desativado):hover {
    background: #174986
}

.botao-link.desativado {
    opacity: .67;
    cursor: not-allowed;
    text-decoration: none
}

.rodape {
    min-height: 58px;
    padding: 14px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--azul);
    color: #fff;
    font-size: .91rem
}

.rodape a {
    color: #fff
}

/* Contato: icones locais das redes sociais (sem CDN). */
.redes-sociais {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 0
}

.rede-social {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--texto);
    font-size: clamp(1.16rem, 1.65vw, 1.86rem);
    font-weight: 300;
    line-height: 1.3;
    text-decoration: none
}

.rede-social:is(a):hover .rede-texto {
    text-decoration: underline;
    text-underline-offset: 4px
}

.rede-social:is(a):hover .rede-icone {
    transform: translateY(-2px)
}

.rede-social .rede-icone {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    transition: transform .18s ease
}

.rede-social .rede-icone img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block
}

.rede-social.instagram .rede-icone {
    background: linear-gradient(45deg, #feda75 0%, #fa7e1e 23%, #d62976 50%, #962fbf 77%, #4f5bd5 100%)
}

.rede-social.facebook .rede-icone {
    background: #1877f2
}

.rede-social.twitter-x .rede-icone {
    background: #000
}

@media (prefers-reduced-motion:reduce) {
    .rede-social .rede-icone {
        transition: none
    }

    .rede-social:is(a):hover .rede-icone {
        transform: none
    }
}
/* Logotipo decorativo da página inicial */
.pagina-home::before {
    content: "";
    position: absolute;

    width: min(42vw, 650px);
    aspect-ratio: 1;

    right: 5%;
    top: 20%;

    background-image: url("../imgs/logo_isolada.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.50;
    pointer-events: none;

    z-index: 0;
}

/* Conteúdo principal acima da imagem decorativa */
/* .pagina-home > * {
    position: relative;
    z-index: 1;
} */