@charset "UTF-8";

.capa {
    position: relative;
    width: 100vw;
    height: 75vh;
    overflow: hidden;
}

.capa__titulo {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    max-width: 1140px;
    height: 75vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: var(--margem-grid);
}

.capa__imagem img {
    width: 100%;
    height: 75vh;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center top;
    object-position: center top;
}

@media screen and (max-width: 1280px) {

    .capa {
        height: 65vh;
    }

    .capa__titulo {
        max-width: 960px;
        height: 65vh;
    }

    .capa__imagem img {
        height: 65vh;
    }
}

@media screen and (max-width: 992px) {

    .capa {
        height: 50vh;
    }

    .capa__titulo {
        max-width: 720px;
        height: 50vh;
    }

    .capa__imagem img {
        height: 50vh;
    }
}

@media screen and (max-width: 768px) {

    .capa__titulo {
        max-width: 540px;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
    }

}