/* STYLE */

* {
    /* outline:1px solid #f00; */
    transition: 0.5s ease-in-out;
    box-sizing: border-box;
}

body, html {
    font-family: "jaf-domus";
    position: relative;
    color: #44506F;
}

b, strong {
    font-weight: 700;
}

h1 {
    margin: 0px;
    position: absolute;
    left: 100px;
    top: 60px;
    color: #44506F;
    font-size: 31px;
    font-weight: 300;
}

.description {
    margin: 0px;
    position: absolute;
    left: 100px;
    top: 120px;
    color: #44506F;
    font-size: 18px;
    font-weight: 300;
}

h1:before {
    content: '';
    height: 3px;
    width: 100px;
    background: #00C89B;
    margin-bottom: 18px;
    display: block;
}

.legenda {
    position: absolute;
    right: 5%;
    top: 88%;
}

.legenda-lp {
    position: absolute;
    right: 5%;
    top: 80%;
}

.logo {
    position: absolute;
    right: 100px;
    bottom: 70px;
}

.desktop {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-left: -20px;
    margin-top: -10px;
}

.item {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index:2;
}

.item i {
    position: absolute;
    padding: 4px 24px;
    font-size: 18px;
    line-height: 100%;
    border-radius: 10px;
    background: #F1F2FB;
    color: #44506F;
    text-decoration: none;
    text-align: center;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    font-style: normal;
    white-space: nowrap;
    margin-bottom: 10px;
}

.item.bottom i {
    bottom: auto;
    margin-bottom: 0px;
    top: 100%;
    margin-top: -20px;
}

.item img {
    position: relative;
    display: block;
    transition: 0.3s ease-in-out;
    transform: scale(1);
}

.item:hover img {
    transform: scale(1.1);
}


.legenda-flow {
    position: absolute;
    top: 40px;
    left: 90%;
    /* left: auto !important;
    bottom: auto !important; */
    transform: translate(-50%, -50%);
    z-index:2;
}

.legenda-flow-lp {
    position: absolute;
    top: 20%;
    left: 88%;
    /* left: auto !important;
    bottom: auto !important; */
    transform: translate(-50%, -50%);
    z-index:2;
}

.legenda-flow img, .legenda-flow-lp img {
    position: relative;
    display: block;
    transition: 0.3s ease-in-out;
    transform: scale(1);
}

.legenda-flow:hover img, .legenda-flow-lp:hover img {
    transform: scale(1.1);
}


.holder {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.botoes-desktop{
    margin: 0px;
    position: absolute;
    left: 100px;
    top: 750px;
}

.botoes-desktop a{
    display: block;
    padding: 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    min-width: 255px;
}

.botoes-mobile a{
    display: block;
    padding: 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    min-width: 255px;
}

.btn{
    position: absolute;
    z-index: 2;
    margin-left: -600px;
    margin-top: 300px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
}

.btn-green{
    background: linear-gradient(90deg, #4DAC9B 2.75%, #33D6B5 100%);
}

.btn-orange{
    background: linear-gradient(90deg, #EC6D1F 2.75%, #E08036 100%);
}

.mt-4{
    margin-top: 3rem;;
}

.mt-2{
    margin-top: 1rem;;
}

@media(max-height:899px) {
    .holder {
        transform: scale(0.9);
    }
}

@media(min-width:1500px){
    .botoes-mobile{
        display: none;
    } 
}


@media(max-width:1499px) {
    h1 {
        left: 40px;
    }

    .description {
        left: 40px;
    }

    .logo {
        right: 40px;
    }

    .legenda {
        right: 40px;
        width: 500px;
    }

    .legenda-lp {
        right: 40px;
        width: 500px;
    }

    .legenda-flow {
        top: -80px;
        left: 95%;
    }

    .legenda-flow-lp {
        top: 10%;
        left: 87%;
    }

    .holder {
        transform: scale(0.9);
    }
    .botoes-desktop{
        left: 50px;
        top:730px;
    }

    .botoes-mobile{
        display: none;
    }
}

@media(max-height:799px) {
    .holder {
        transform: scale(0.78);
    }
}

@media(max-width:1399px) {
    h1 {
        left: 40px;
        top: 20px;
    }

    .description {
        left: 40px;
        top: 80px;
    }

    .legenda {
        top: 88%;
        width: 500px;
    }

    .legenda-lp {
        top: 78%;
        width: 500px;
    }

    .legenda-flow {
        left: 102%;
    }
    .legenda-flow-lp {
        top: 10%;
        left: 98%;
    }

    .logo {
        bottom: 40px;
        width: 100px;
    }

    .holder {
        transform: scale(0.78);
    }

    .botoes-desktop{
        left: 50px;
        top: 690px;
    }

    .botoes-mobile{
        display: none;
    }
}

@media(max-height:699px) {
    .holder {
        transform: scale(0.65);
    }
}

@media(max-width:1199px) {
    h1 {
        left: 40px;
        top: 10px;
    }

    .description {
        left: 40px;
        top: 70px;
    }

    .legenda {
        top: 650px;
        width: 500px;
    }

    .legenda-flow, .legenda-flow-lp {
        left: 105%;
    }

    .logo {
        bottom: 40px;
        width: 100px;
    }

    .holder {
        transform: scale(0.65);
    }

    .botoes-desktop{
        left: 50px;
        top: 625px;
    }

    .botoes-mobile{
        display: none;
    }
}

@media(max-height:599px) {
    .holder {
        transform: scale(0.50);
    }
}

@media(max-width:991px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block !important;
    }


    body {
        padding: 20px;
    }

    h1, .description, .logo {
        position: relative;
        right: auto;
        bottom: auto;
        top: 0px;
        left: 0px;
    }

    .description {
        position: relative;
        right: auto;
        bottom: auto;
        top: 20px;
        left: 0px;
    }
    

    .description {
        margin-bottom: 48px;
    }

    .logo {
        margin: 0px auto;
        display: block;
        margin-top: 48px;
        margin-bottom: 48px;
    }

    .botoes-desktop{
        display: none;
    }

    .botoes-mobile{
        display: block;
    }
}

.legend-cards-ia{
    position: absolute;
    bottom: 34px;
}

/* Link customizado para modais HCM */
.link-hcm-custom {
    color: #00C89B;
    text-decoration: none;
    transition: color 0.2s;
}
.link-hcm-custom:hover, .link-hcm-custom:focus {
    color: #009e7f;
    text-decoration: none;
}

/* MOBILE */

.mobile {
    display: none;
}

.item_mobile {
    display: flex;
    cursor: pointer;
    border: 1px solid #eee;
    border-radius: 10px;
    position: relative;
    gap: 10px;
    padding: 0px 10px;
    align-items: center;
    margin-bottom: 10px;
    text-decoration: none;
    font-weight: 600;
    padding-right: 20px;
    overflow: hidden;
}

.item_mobile i {
    font-size: 24px;
    font-style: normal;
    color: #44506F;
}

.item_mobile img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    position: relative;
    top: 5px;
}

@media(max-width:767px) {

    .item_mobile i {
        font-size: 16px;
        font-style: normal;
        color: #44506F;
    }
}

/* MODAL */

.overlay {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    z-index: 10;
    transition: 0s;
    display: none;
}

.modal {
    position: fixed;
    left: 0px;
    top: 50%;
    width: 100%;
    max-height: 100%;
    z-index: 10;
    overflow: auto;
    padding: 40px;
    transform: translateY(-50%);
    transition: 0s;
    pointer-events: none;
    display: none;
}

.modal_item {
    max-width: 100%;
    width: 1200px;
    border-radius: 20px;
    overflow: hidden;
    margin: 40px 0px;
    margin-bottom: 80px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    transition: 0s;
    pointer-events: all;
    display: none;
}

.modal_item_header {
    background: #aaa;
    padding: 40px;
    position: relative;
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    line-height: 37px;
}

.modal_item_header img {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.modal_item_header_close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal_item_header_close:before, .modal_item_header_close:after {
    content: '';
    width: 10px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal_item_header_close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal_item_content {
    padding: 40px;
    background: rgba(240, 240, 240, 0.5);
    backdrop-filter: blur(20px);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: stretch;
}

.img-flow img{
    max-width: 400px;
}

.modal_item_content.center {
    justify-content: center;
}

.modal_item_content_item {
    min-height: 190px;
    background: #fff;
    border-radius: 30px;
    flex-grow: 1;
    flex: 0 0 calc(25% - 15px);
    position: relative;
    padding:24px;
    padding-bottom:48px;
    font-size: 18px;
}

.modal_item_content_item.big {
    flex: 0 0 calc(75% - 15px);
}

.modal_item_content_item.medium {
    flex: 0 0 calc(50% - 15px);
}

.modal_item_content_item:before {
    content:'';
    left:24px;
    bottom:24px;
    position: absolute;
    width:100px;
    height:3px;
    background:#FF8200;
}

@media(max-width:1199px){
    .modal_item_content_item {
        flex: 0 0 calc(33.33% - 13.33px);
    }

    .modal_item_content_item.big {
        flex: 0 0 100%;
    }
    
    .modal_item_content_item.medium {
        flex: 0 0 100%;
    }
}

@media(max-width:991px){
    .modal_item_content_item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media(max-width:767px){
    .modal{
        padding:10px;
    }
    .modal_item_content_item {
        flex: 0 0 100%;
        min-height: 0px;
    }
    .modal_item_header{
        padding:24px;
        padding-right:100px;
    }
    .modal_item_content{
        padding:24px;
        justify-content: flex-start;
    }
}

.opacity-text {
    opacity: 0.5;
}

.opacity-image {
    opacity: 0.2;
}

.opacity-mobile {
    opacity: 0.4;
}

.opacity-text b , .opacity-mobile b{
    font-size: 13px;
}
