.home-main-section {
    background-image: linear-gradient(270deg, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, .6) 100%), url(/integridade/assets/img/home.png);
    background-image: linear-gradient(270deg, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, .6) 100%), -webkit-image-set(url(/integridade/assets/img/home.webp)1x);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 38.8vw;
    width: 100%;
    position: relative;
    top: 80px;
    overflow: hidden
}

.home-main-container {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 0 0 156px;
    position: relative
}

.home-main-grafismo {
    width: 22vw;
    height: 20vw;
    background-image: url(/integridade/assets/svg/banner-home-grafismo.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    right: -10px;
    top: 12px
}

.home-main-container .home-main-title h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 68px;
    color: #fff;
    padding-bottom: 16px;
    max-width: 520px
}

.home-main-container .home-main-title p {
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    color: #fff;
    max-width: 600px
}

.home-message-leadership-section {
    padding: 60px 0 80px 0;
    display: flex;
    justify-content: center
}

.home-message {
    font-size: 20px
}

.home-message-leadership-container {
    max-width: 60vw
}

.home-message-leadership-title h2 {
    font-size: 32px;
    line-height: 39px;
    font-weight: 600
}

.home-message-leadership-body {
    margin-top: 32px
}

.home-message {
    display: flex;
    flex-direction: column;
    gap: 24px
}

.home-message p {
    font-size: 16px
}

.home-learn-more-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 120px
}

.home-learn-more-container {
    width: 63vw
}

.home-learn-more-title {
    position: relative;
    padding: 0 24px;
    width: 437px;
    font-size: 21px;
    font-weight: 600;
    line-height: 30px;
    background-color: #fff;
    z-index: 2
}

.home-learn-more-line {
    width: 77vw;
    position: relative;
    left: -100px;
    top: -30px;
    height: 1px;
    background-color: #d9dcdd
}

.card-home-line {
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #cc092f, #b81570);
    border-radius: 8px 0 0 8px
}

.cards-home-row {
    display: flex;
    margin-top: 35px;
    gap: 32px
}

.card-home-header {
    display: block;
    width: 250px
}

.card-home-header-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding-top: 20px;
    width: 90%
}

.card-home-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative
}

.card-home-body.ccd {
    position: relative;
    top: -20px
}

.card-home {
    border-image-slice: 1;
    width: 256px;
    height: 171px;
    box-shadow: 0 2px 6px #00000029;
    border-radius: 8px;
    display: flex;
    position: relative
}

.card-home:hover {
    color: #fff;
    cursor: pointer
}

.card-home:hover::before {
    width: 256px;
    max-width: 256px
}

.card-home:hover .card-home-line {
    display: none
}

.card-home::before {
    position: absolute;
    content: '';
    display: block;
    max-width: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: transparent linear-gradient(180deg, #cc092f 0, #cc092f 40%, #b81570 90%, #b81570 100%) 0 0 no-repeat padding-box;
    transition: max-width .3s ease-in
}

.card-home img {
    padding-left: 20px
}

.learn-more img:first-child {
    padding-left: 7px
}

.learn-more img:last-child {
    padding-left: 30px
}

.card-home p {
    padding-left: 20px;
    font-size: 16px;
    font-weight: 600
}

.card-home .learn-more p {
    font-size: 14px;
    font-weight: 600;
    padding-left: 20px
}

.red-icon {
    position: absolute
}

.white-icon {
    position: relative;
    opacity: 0
}

.card-home:hover .white-icon {
    opacity: 1
}

.red-arrow {
    opacity: 1
}

.card-home:hover .red-arrow {
    opacity: 0
}

.white-arrow {
    opacity: 0
}

.card-home:hover .white-arrow {
    opacity: 1;
    position: relative;
    right: 40px
}

.learn-more {
    display: flex
}

@media (max-width:1440px) {
    .home-message p {
        max-width: 848px
    }
}

@media (max-width:1220px) {
    .cards-home-row {
        gap: 20px
    }

    .home-message-leadership-container {
        max-width: 70vw
    }

    .home-learn-more-container {
        width: 70vw
    }

    .home-main-container .home-main-title h1 {
        font-size: 42px;
        padding-bottom: 0
    }

    .home-main-container .home-main-title p {
        font-size: 28px;
        max-width: 450px
    }

    .home-main-container {
        padding: 0 0 0 10vw
    }
}

@media (max-width:1100px) {
    .home-learn-more-body {
        margin: 0 200px
    }

    .cards-home-row {
        flex-wrap: wrap
    }
}

@media (max-width:1000px) {
    .home-learn-more-body {
        margin: 0 100px 0 16vw
    }
}

@media (max-width:900px) {
    .home-message-leadership-container {
        max-width: 80vw
    }

    .home-learn-more-container {
        width: 80vw
    }

    .home-learn-more-body {
        margin: 0 10vw
    }

    .home-main-container .home-main-title h1 {
        font-size: 34px;
        line-height: 48px
    }

    .home-main-container .home-main-title p {
        font-size: 24px;
        max-width: 350px;
        line-height: 36px
    }
}

@media (max-width:664px) {
    .card-home {
        width: 100%;
        height: auto
    }

    .card-home-header-container {
        flex-direction: row;
        gap: 0;
        padding: 20px 0 14px
    }

    .card-home-body {
        gap: 4px
    }

    .card-home-header {
        width: auto
    }

    .card-home-body.ccd {
        top: 0
    }
}

@media (max-width:546px) {
    .home-main-grafismo {
        display: none
    }

    .home-message-leadership-title {
        font-size: 18px;
        line-height: 22px
    }

    .card-home p {
        font-size: 14px;
        font-weight: 700
    }

    .home-message {
        gap: 20px
    }

    .card-home img {
        padding-left: 10px
    }

    .cards-home-row {
        gap: 8px
    }

    .home-learn-more-section {
        margin-bottom: 60px
    }

    .home-learn-more-title {
        font-size: 18px;
        width: auto
    }

    .home-message-leadership-container {
        max-width: 90vw
    }

    .home-learn-more-container {
        width: 90vw
    }

    .home-learn-more-body {
        margin: 0;
        width: 90vw
    }

    .home-main-container {
        padding: 0 0 10vw 5vw;
        align-items: end
    }

    .home-main-section {
        height: 60vw;
        background-size: cover
    }

    .home-main-container .home-main-title h1 {
        max-width: 200px;
        font-size: 32px;
        line-height: 39px
    }

    .home-main-container .home-main-title p {
        max-width: 250px;
        font-size: 18px;
        line-height: 22px
    }
}

@media (max-width:400px) {
    .home-main-section {
        background-image: linear-gradient(270deg, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, .6) 100%), url(/integridade/assets/img/home-mobile.png);
        background-image: linear-gradient(270deg, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, .6) 100%), -webkit-image-set(url(/integridade/assets/img/home-mobile.webp)1x);
        background-size: contain;
        height: 111vw
    }

    .home-main-container {
        align-items: center
    }
}