/**
 * Base visual compartilhada das landing pages históricas de gestão.
 */

.bodygestao {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: #fff;
    color: #004e74;
    font-family: Arial, Helvetica, sans-serif;
}

.bodygestao *,
.bodygestao *::before,
.bodygestao *::after {
    box-sizing: border-box;
}

.tjba-gestao-historica__skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100000;
    padding: 10px 14px;
    border-radius: 6px;
    background: #fff;
    color: #002654;
    font-weight: 700;
    transform: translateY(-160%);
}

.tjba-gestao-historica__skip-link:focus {
    transform: translateY(0);
}

.bodygestao img {
    max-width: 100%;
    height: auto;
}

.topogestao {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    padding: 28px 16px 50px;
    background-image: url('../img/gestao-historica/bgtopo.png');
    background-position: center;
    background-size: cover;
    text-align: center;
}

.topogestao > div:first-child {
    position: relative;
    z-index: 2;
}

.topogestao img {
    width: min(230px, 28vw);
}

.topogestao h1 {
    width: fit-content;
    margin: 52px auto 0;
    padding: 6px 22px;
    background: #30b4e4;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4.1rem);
    font-style: italic;
    font-weight: 900;
    line-height: 1.08;
}

.tjba-gestao-historica__chamada {
    width: fit-content;
    margin: 0 auto;
    padding: 5px 15px;
    background: #073566;
    color: #fff;
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.2;
}

.paralaxxtopo {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('../img/gestao-historica/paralaxtopo.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: min(75%, 1450px);
    pointer-events: none;
}

.lider {
    padding: 0 0 15px;
    border-bottom: 2px solid #f7ba50;
    color: #004e74;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 300;
}

.apenas {
    color: #424242;
    font-size: 0.875rem;
}

.video {
    text-align: center;
}

.video iframe,
.tjba-gestao-historica__embed iframe {
    display: block;
    width: 100%;
    min-height: 520px;
    border: 0;
    border-radius: 14px;
    background: #eef3f7;
}

.bodygestao .marcador {
    margin: 0 0 24px;
    padding-left: 1.75rem;
    color: #004e74;
}

.bodygestao .marcador li {
    width: fit-content;
    margin: auto;
}

.bodygestao .marcador li::marker {
    color: #f8af22;
    font-size: 2rem;
}

.bodygestao .marcador h2,
.bodygestao .marcador h3 {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

.contador {
    padding: 42px 0;
    background: #a8c9da;
}

.contador .row {
    row-gap: 24px;
}

.boxcontador {
    width: 25%;
    padding: 0 10px;
}

.boxcontador > div {
    height: 100%;
    padding: 38px 12px;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.tjba-gestao-counter__value {
    margin: 8px 0;
    color: #f8af22;
    font-size: clamp(3.2rem, 7vw, 6.25rem);
    font-weight: 900;
    line-height: 1;
}

.boxcontador span {
    font-weight: 400;
}

.boxcontador p:last-child {
    margin-bottom: 0;
    font-weight: 700;
}

.sombrabox {
    display: block;
    width: 90%;
    height: 25px;
    margin: 18px auto 0;
    background: url('../img/gestao-historica/sombrabox.png') center / contain no-repeat;
}

.destaque {
    padding-bottom: 40px;
}

.destaque-topo {
    align-items: center;
    text-align: center;
}

.destaque-topo .linha {
    border-top: 2px dotted #004e74;
}

.destaque-topo h2 {
    margin-top: -10px;
    font-family: Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
}

.destaqueul {
    position: relative;
    display: grid;
    gap: 26px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.destaqueul::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #f4940f;
    content: '';
    transform: translateX(-50%);
}

.destaqueul .lista {
    position: relative;
    z-index: 2;
    width: 12px;
    height: 12px;
    margin: 0 auto;
    border-radius: 50%;
    background: #f4940f;
}

.box {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 48px));
    margin: 0 auto;
}

.linhaul {
    display: none;
}

.conteudolista {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px 24px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.18);
    color: #004e74;
    font-size: 0.95rem;
}

.conteudolista > img {
    flex: 0 0 64px;
    width: 64px;
    height: auto;
    object-fit: contain;
}

.conteudolista p {
    margin-bottom: 0;
}

.obras {
    font-size: 0.82rem;
    line-height: 1.55;
}

.js .anime {
    opacity: 0;
    transform: translateY(24px);
}

.js .anime.anime-init {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.banner img {
    display: block;
    width: min(100%, 1200px);
    margin: auto;
}

.relatorio {
    text-align: center;
}

.relatorio a,
.btn-relatorio {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: #f7ba50;
    color: #002654;
    font-weight: 700;
    text-decoration: none;
}

.relatorio a:hover,
.btn-relatorio:hover {
    background: #073566;
    color: #fff;
}

.bodygestao .rodape {
    padding: 32px 16px 0;
    background: #004e74;
    color: #fff;
    text-align: center;
}

.bodygestao .rodape img {
    width: min(260px, 55vw);
    margin-bottom: 8px;
}

.bodygestao .rodape p {
    font-size: 0.8rem;
}

.bodygestao .linharodape {
    display: block;
    width: 100%;
    margin-top: 24px;
    border-top: 4px solid #f8af22;
}

@media (max-width: 991px) {
    .topogestao {
        min-height: 410px;
    }

    .boxcontador {
        width: 50%;
    }

    .paralaxxtopo {
        background-size: 100%;
    }
}

@media (max-width: 767px) {
    .topogestao {
        min-height: auto;
        padding-bottom: 32px;
    }

    .paralaxxtopo,
    .destaqueul::before {
        display: none;
    }

    .topogestao h1 {
        margin-top: 12px;
    }

    .video iframe,
    .tjba-gestao-historica__embed iframe {
        min-height: 300px;
    }

    .box {
        width: 100%;
    }

    .conteudolista {
        padding: 22px 18px;
    }
}

@media (max-width: 550px) {
    .boxcontador {
        width: 100%;
    }

    .conteudolista {
        display: block;
    }

    .conteudolista > img {
        display: block;
        margin: 0 auto 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js .anime,
    .js .anime.anime-init {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .paralaxxtopo {
        background-attachment: scroll;
    }
}
