html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #fff;
}

/* FULL BLEED */
.full-bleed {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
}

.full-bleed picture{
    display: block;
    width: 100%;
}

.full-bleed img {
    display: block;
    width: 100%;
    height: auto;
}

/* MODAL */
.modal-close-btn {
    z-index: 10;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 10px;
    opacity: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.modal-close-btn:hover {
    transform: none;
    filter: none;
    opacity: 1;
    background-color: #f8f9fa;
}

.modal-close-btn:focus,
.modal-close-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 74, 145, 0.25);
}

/* TOPO INSTITUCIONAL */
.topo-institucional {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    height: 56px;
    background: #004a91;
    z-index: 9999;
}

.topo-logo {
    height: 50px;
    width: auto;
    display: block;
}

/* MENU PRINCIPAL */
.menu-principal {
    background-color: #a56b17;
    min-height: 44px;
    position: relative;
    z-index: 1000;
}

.menu-container {
    max-width: 1200px;
    min-height: 44px;
    padding-left: 16px;
    padding-right: 16px;
}

.menu-logo-link {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0;
}

.menu-logo {
    max-height: 40px;
    width: auto;
    display: block;
}

.menu-links {
    gap: 10px;
}

.menu-link-custom {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 10px !important;
    line-height: 1;
    text-decoration: none;
}

.menu-link-custom:hover,
.menu-link-custom:focus {
    color: #ffffff !important;
    opacity: 0.9;
}

.menu-cadastro-area {
    display: flex;
    align-items: center;
}

.menu-cadastro-btn {
    background-color: #3a2413;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 18px;
    text-decoration: none;
}

.menu-cadastro-btn:hover,
.menu-cadastro-btn:focus {
    background-color: #2d1b0e;
    color: #ffffff;
}

/* BOTÃO HAMBURGUER */
.menu-toggler {
    border: none;
    padding: 4px 8px;
    box-shadow: none !important;
}

.menu-principal .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Menu do desktop */
@media (min-width: 992px) {
    .menu-principal .navbar-collapse {
        display: flex !important;
        align-items: center;
    }

    .menu-links {
        margin-left: auto;
        margin-right: auto;
    }

    .menu-cadastro-area {
        margin-left: 16px;
    }
}

/* Menu do mobile */
@media (max-width: 991.98px) {
    .menu-principal {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .menu-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .menu-logo {
        max-height: 40px;
    }

    .menu-principal .navbar-collapse {
        margin-top: 10px;
        background-color: #8f5c14;
        border-radius: 12px;
        padding: 12px;
    }

    .menu-links {
        gap: 0;
    }

    .menu-link-custom {
        display: block;
        padding: 10px 4px !important;
        font-size: 14px;
    }

    .menu-cadastro-area {
        margin-top: 10px;
    }

    .menu-cadastro-btn {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: 10px 16px;
    }
}

/* BANNER */
.banner-img {
    object-fit: cover;
}

/* SOBRE */
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: min(92%, 900px);
    padding: 20px;
    color: #fff;
    z-index: 2;
}

.overlay-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 28px;
}

.overlay-text p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
    white-space: normal;
    margin: 0;
}

.sobre-picture,
.sobre-picture img{
    display: block;
    width: 100%;
    height: auto;
}

/* BARRA */
.separador-barra {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    height: 80px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* PROGRAMAS */
.programas-section {
    position: relative;
}

.programas-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 160px 40px;
}

.programas-titulo {
    color: #9b5a2e;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 90px;
}

.programas-bg-img {
    object-fit: cover;
}

.programas-cards {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.programa-card {
    background: rgba(245, 240, 225, .95);
    border-radius: 18px;
    padding: 46px 26px 40px;
    flex:  1 1 320px;
    font-weight: 700;
    max-width: 380px;
    height: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.programa-card h3 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    margin: 0;
}

.programa h3 {
    background: #d97b2c;
}

.card-programa-conteudo{
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;

    scrollbar-width: thin;
    scrollbar-color: rgba(155, 90, 46, 1)transparent;
}

.programa-card li {
    margin-bottom: 6px;
}

.requisitos h3 {
    background: #d62828;
}

.card-requisitos-conteudo{
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;

    scrollbar-width: thin;
    scrollbar-color: rgb(214, 40, 40)transparent;
}


.decreto h3 {
    background: #8b512f;
}

.card-decreto-conteudo{
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;

    scrollbar-width: thin;
    scrollbar-color: rgba(139, 81, 47, 1)transparent;
}

.programa-card p{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.programa-card ul {
    list-style: disc;
    text-align: justify;
    padding-left: 20px;
}

.programas-slider-mobile {
    position: relative;
}

/* tablet */

@media (min-width: 768px) and (max-width: 1199.98px) {
    .programas-section {
        min-height: 980px;
        overflow: hidden;
    }

    .programas-section picture,
    .programas-section picture img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .programas-overlay {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 120px 32px 56px;
    }

    .programas-slider-mobile {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .programas-slider-viewport {
        width: min(82vw, 720px);
        overflow-x: hidden;
        overflow-y: visible;
        position: relative;
        padding-top: 22px;
        box-sizing: content-box;
    }

    .programas-cards {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        transition: transform 0.35s ease;
        will-change: transform;
    }

    .programa-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-height: 620px;
        margin: 0;
        border-radius: 20px;
        padding: 72px 34px 32px;
        background: rgba(245, 240, 225, 0.96);
    }

    .programa-card h3 {
        width: min(360px, 80%);
        min-height: 56px;
        height: auto;
        font-size: 24px;
        border-radius: 10px;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 12px 20px;
        line-height: 1.2;
    }

    .card-programa-conteudo,
    .card-requisitos-conteudo,
    .card-decreto-conteudo {
        flex: 1;
        overflow-y: auto;
        padding-right: 8px;
    }

    .programa-card p,
    .programa-card li {
        font-size: 20px;
        line-height: 1.5;
    }

    .programa-card ul {
        padding-left: 22px;
        margin-bottom: 14px;
    }

    .programas-seta {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        border: 0;
        background-color: transparent;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
    }

    .programas-seta span {
        display: block;
        width: 0;
        height: 0;
    }

    .programas-seta-prev span {
        border-top: 30px solid transparent;
        border-bottom: 30px solid transparent;
        border-right: 44px solid #9b5a2e;
    }

    .programas-seta-next span {
        border-top: 30px solid transparent;
        border-bottom: 30px solid transparent;
        border-left: 44px solid #9b5a2e;
    }

    .programas-seta:hover {
        opacity: 0.85;
        transform: scale(1.05);
    }

    .programas-seta:disabled {
        opacity: 0.35;
        cursor: default;
        transform: none;
    }
}

/* celular */
@media (max-width: 767px) {
    .programas-section {
        min-height: 770px;
        overflow: hidden;

    }

    .programas-section picture,
    .programas-section picture img{
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .programas-overlay {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 90px 18px 40px;
    }

    .programas-slider-mobile {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .programas-slider-viewport{
        width: calc(100% - 88px);
        max-width: 320px;
        overflow: hidden;
        position: relative;
        padding-top: 19px;
        box-sizing: content-box;
    }

    .programas-cards{
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        width: 100%;
        justify-content: flex-start;
        transition: transform 0.35s ease;
        will-change: transform;
    }

    .programa-card{
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        height: 420px;
        margin: 0;
        border-radius: 14px;
        padding: 58px 16px 20px;
        background: rgba(245, 240, 225, .96);
        overflow: visible;
    }

    .programa-card h3{
        position: absolute;
        top: 0;
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);
        width: 220px;
        min-height: 38px;
        height: auto;
        font-size: 14px;
        border-radius: 6px;
        padding: 8px 12px;
        line-height: 1.2;
    }

    .card-programa-conteudo,
    .card-requisitos-conteudo,
    .card-decreto-conteudo {
        flex:1;
        overflow-y: auto;
        padding-right: 4px;
    }

    .programa-card p,
    .programa-card li{
        font-size: 14px;
        line-height: 1.2;
    }

    .programa-card ul{
        padding-left: 18px;
        margin-bottom: 10px;
    }

    .programas-seta{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
    }

    .programas-seta span {
        display: block;
        width: 0;
        height: 0;
    }

    /* seta esquerda */
    .programas-seta-prev span{
        border-top: 22px solid transparent;
        border-bottom: 22px solid transparent;
        border-right: 34px solid #9b5a2e;
    }

    /* seta direita */
    .programas-seta-next span{
        border-top: 22px solid transparent;
        border-bottom: 22px solid transparent;
        border-left: 34px solid #9b5a2e;
    }

    .programas-seta:hover{
        opacity: 0.85;
        transform: scale(1.05);
    }

    .programas-seta:disabled{
        opacity: 0.35;
        cursor: default;
        transform: none;
    }
}

/* SERVIÇOS */
.servicos-section {
    text-align: center;
}

.servicos-titulo {
    text-align: center;
    color: #965C14;
    font-size: 36px;
    font-weight: 400;
    margin: 0;
}

.servicos-texto {
    color: #965C14;
}

.servicos-descricao {
    /* max-width: 900px; */
    font-size: 16px;
    line-height: 1.75;
}

@media(min-width: 576px){
    .servicos-descricao{
        font-size: 17px;
    }
}

.botao-outros-servicos{
    background-color: #965C14;
    color: #fff;
}

@media (min-width: 992px){
    .servicos-descricao{
        font-size: 18px;
    }
}

/* MAPA */
.mapa-section {
    background: #fff;
}

.mapa-titulo {
    text-align: center;
    color: #965C14;
    font-size: 36px;
    font-weight:400;
    margin: 0 0 60px;
}

.mapa-box {
    max-width: 1200px;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.mapa-img {
    object-fit: contain;
}

#viewMapa {
    position: relative;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .mapa-titulo {
        margin-bottom: 80px;
    }

    .mapa-box {
        border-radius: 1rem;
        box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.18);
    }
}

@media (min-width: 992px) {
    .mapa-titulo {
        margin-bottom: 100px;
    }
}

/* NOTÍCIAS */
.noticias-section {
    background: #fff;
}

.noticia-informacoes {
    text-align: center;
    color: #965C14;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 60px;
}

.noticias-vazio {
    color: #495057;
    margin: 0;
}

.noticia-link {
    text-decoration: none;
    color: inherit;
}

.noticia-card {
    min-height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.375rem 0.75rem rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noticia-link:hover .noticia-card,
.noticia-link:focus .noticia-card {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.16);
}

.noticia-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.noticia-img {
    display: block;
    object-fit: cover;
}

.noticia-titulo {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: #111827;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.botao-todas-noticias {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #a56610;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.botao-todas-noticias:hover,
.botao-todas-noticias:focus {
    background-color: #8f570d;
    color: #fff;
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .noticia-informacoes {
        margin-bottom: 80px;
    }

    .noticia-titulo {
        font-size: 16px;
        line-height: 1.5;
    }

    .botao-todas-noticias {
        font-size: 15px;
    }
}

@media (min-width: 992px) {
    .noticia-informacoes {
        margin-bottom: 100px;
    }
}

/* TUDO QUE PRECISA */
.tudo-que-precisa-section {
    background-color: #fff;
}

.tqp-titulo {
    text-align: center;
    color: #965C14;
    font-size: 36px;
    font-weight: 400;
    margin: 0 0 60px;
}

.tqp-card{
    height: 100%
}

.tqp-item {
    align-items: center;
}

.tqp-thumb{
    width: 140px;
}

.tqp-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    object-fit: cover;
}

.tqp-item-title {
    font-family: "NewJuneBold", "Exo", sans-serif;
    color: #004d9f;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    line-height: 1.1;
}

.tqp-item-sub {
    font-family: "NewJuneBold", "Exo", sans-serif;
    color: #004d9f;
    font-weight: 700;
    font-size: 14px;
    margin: 2px 0 10px;
}

.tqp-btn-link {
    --btnColor: #004d9f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    height: 48px;
    padding: 0 28px;
    border-radius: 999px;
    border: 0;
    background: var(--btnColor);
    color: #fff;
    font-family: "NewJuneBold", "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.tqp-btn-link:hover,
.tqp-btn-link:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

#tudo-que-precisa a:hover {
    text-decoration: none;
}

@media (min-width: 579px){
    .tqp-thumb{
        width: 160px;
    }
}

@media (min-width: 768px){
    .tqp-titulo{
        margin-bottom: 80px;
    }
}

@media (min-width: 992px){
    .tqp-titulo{
        margin-bottom: 100px;
    }
}

/* CANAIS */
.canais-contato-section {
    width: 100%;
    background: #fff;
}

.canais-container {
    max-width: 1200px;
    text-align: center;
}

.canais-titulo {
    font-size: 32px;
    font-weight: 700;
    color: #965C14;
    margin: 0 0 60px;
    text-align: center;
}

.canal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    max-width: 220px;
}

.canal-img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.canal-item:hover .canal-img,
.canal-item:focus .canal-img {
    transform: scale(1.05);
}

.canal-texto {
    margin-top: 1.25rem;
    font-size: 15px;
    font-weight: 400;
    color: #3f3f3f;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: center;
}

@media (min-width: 576px) {
    .canal-img {
        width: 88px;
        height: 88px;
    }

    .canal-texto {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .canais-titulo {
        margin-bottom: 80px;
    }
}

@media (min-width: 992px) {
    .canais-titulo {
        margin-bottom: 100px;
    }

    .canal-img {
        width: 92px;
        height: 92px;
    }
}

/* TARJA */
.tarja-final {
    background-color: #a56b17;
}

.tarja-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    white-space: nowrap;
}

.tarja-link:hover {
    text-decoration: underline;
}

/* Desktop (igual ao print) */
@media (min-width: 992px) {
    .tarja-link {
        font-size: 1rem;
    }
}

/* FOOTER */
.footer-site {
    background:  #004a91;
    color: #fff;
}

.footer-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.img-rodape {
    width: 72px;
    max-width: 100%;
    height: auto;
    margin-bottom: 8px;
}

.txt-img {
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.footer-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 2px solid #fff;
    line-height: 1.3;
}

.footer-link:hover,
.footer-link:focus {
    color: #cfefff;
}

@media (min-width: 992px) {
    .footer-logo {
        margin-left: 0;
    }
}


/* INTERAÇÃO (clicáveis) */
a,
button,
.tqp-btn,
.botao-outros-servicos,
.canal-item{
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
}

a:hover,
button:hover,
.tqp-btn:hover,
.botao-outros-servicos:hover,
.canal-item:hover,
.noticia-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

a:active,
button:active,
.tqp-btn:active,
.botao-outros-servicos:active,
.canal-item:active,
.noticia-link:active {
    transform: translateY(-1px) scale(.99);
}

a:focus-visible,
button:focus-visible,
.tqp-btn:focus-visible,
.botao-outros-servicos:focus-visible,
.canal-item:focus-visible,
.noticia-link:focus-visible {
    outline: 3px solid rgba(0, 74, 145, .35);
    outline-offset: 4px;
    border-radius: 8px;
}

.botao-outros-servicos:hover,
.tqp-btn:hover {
    box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
}

.logomarcas-wrapper a {
    display: inline-block;
    border-radius: 10px;
}

.logomarcas-wrapper a:hover {
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.noticia-link:hover .noticia-box-menor,
.noticia-link:hover .noticia-img-grande {
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.canal-item:hover {
    box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
    border-radius: 16px;
    padding: 8px 10px;
}

