@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}
body {
    overflow-x: hidden;
}
/* LANDING PAGE */
.landing-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -998;
}
.landing-img {
    position: fixed;
    background: url(imgs/bgs/LP.jpg);
    background-position: top;
    width: 100%;
    height: 110%;
    top: 0;
    left: 0;
    background-size: cover;
    z-index: -999;
}

#landing-page{
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
}

.landing {
    overflow-x: hidden;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 14vh 0 2rem 3rem;
}
.landing-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    max-width: 50%;
    margin-right: 2rem;
}
.landing-title {
    padding-top: 3rem;
}

.landing-title h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}
.landing-title h2 {
    font-size: 1.8rem;
}
.landing-btns {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}
.landing-btns a{
    color: white;
    text-decoration: none;
    margin: 1rem;
    transition: all .3s ease;
}
.landing-btns a:hover{
    transform: translateX(5px);
}
.landing-btns a:first-child {
    background: #242424;
    border-radius: 5px;
    padding: .3rem .5rem;
}

.landing-btns a:last-child {
    display: block;
}
.landing-btns a:last-child::after {
    content: '';
    height: 2px;
    width: 17ch;
    background-color: white;
    display: block;
    margin: 3px 0 0;
}


.landing-right {
    padding: 3rem;
    padding-right: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.landing-right::before {
    content: '';
    border-right: 26rem solid rgba(0, 0, 0, 0.473);
    border-bottom: 64px solid transparent;
    border-top: 64px solid transparent;
    height: calc(100% - 128px);
    width: 0;
    z-index: -1;
    position: absolute;
    right: 0;
    top: 0;
}
.landing-logo {
    width: 18rem;
    padding-top: 5rem;
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -o-crisp-edges; /* Opera */
    image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}

/* socials */

.socials {
    margin: 2rem 0 3rem;
    font-size: 1.2rem;
}

.socials > a {
    text-decoration: none;
    color: white;
    margin: .2rem;
}

.socials > a > i {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid white;
    border-radius: 50%;
    line-height: 2.4rem;
    text-align: center;

    transition: all .3s ease;
}

.socials > a > i:hover {
    transform: scale(1.05);
}

/* SECTIONS TITLES */

h3 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.4rem;
    padding: 1rem 0 0;
}

h3::after {
    content: '';
    height: 2px;
    width: 6rem;
    display: block;
    margin: 0 auto 0;
}

/* BANNER */
#banner {
    width: 100%;
    overflow: hidden;
}

.banner-separator {
    background-color: #ffffff;
    background-image: linear-gradient(to right, #ffffff, #b9b9b9);
    height: 4rem;
}

.banner-img {
    height: 300px;
    background-position: center center !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}

/* SOLUTIONS */

#solutions {
    text-align: center;
    background-color: #414850;
    background-image: linear-gradient(to right, #414850, #272727);
    /* background: #ECE9E6;  
    background: -webkit-linear-gradient(to right, #FFFFFF, #ECE9E6);  
    background: linear-gradient(to right, #FFFFFF, #ECE9E6);  */
    background: #000000;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom right, #434343, #000000);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom right, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

#solutions > h3 {
    color: #242424;
    background-color: #ffffff;
    background-image: linear-gradient(to right, #ffffff, #b9b9b9);
    padding-bottom: 1rem;
}
#solutions > h3::after {
    background: #242424;
}

.cards {
    padding: 4rem;
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr;
    grid-row: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
}
.productinfo img {
    transition: all .6s ease !important;
}
.productinfo img:hover {
    transform: scale(1.04) !important;
}

.cards > .wrapper:nth-child(1) {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row: 1;
}
.cards > .wrapper:nth-child(2) {
    grid-column: 3;
    grid-row-start: 1;
    grid-row-end: 3;
}
.cards > .wrapper:nth-child(3) {
    grid-row: 2;
    grid-column: 1;
}
.cards > .wrapper:nth-child(4) {
    grid-row: 2;
    grid-column: 2;
}

/* FORM */
#simulation > h3 {
    color: white;
    background-color: #000;
    background-image: linear-gradient(to top left, #000, #242424);
    padding-bottom: 1rem;
    text-align: center;
}
#simulation > h3::after {
    background: white;
}

/*--- iOS Fixed Background Image --*/
#simulation .fixed-background {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
#simulation .fixed-wrap {
    clip: rect(0, auto, auto, 0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#simulation .fixed {
    z-index: -1;
    background: url('imgs/bgs/Form-BG.jpg') rgba(120, 129, 141, 0.39);
    background-blend-mode:screen;
    background-size: cover;
    background-position: right;
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 60rem;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.form-wrapper {
    background: rgb(255, 255, 255);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem auto;
    width: 50%;
    color: rgb(68, 68, 68);
    overflow-x: hidden;
}

.form-wrapper h4 {
    font-size: 1.3rem;
    margin: 1rem 0;
    font-weight: 400;
}

.form-wrapper h4::after {
    content: '';
    width: 100%;
    height: 1px;
    display: block;
    background: gray;
}

form input {
    border: none;
    border-bottom: 1px solid gray;
    padding: .5rem .5rem .1rem;
    font-size: 1rem;
    margin: .5rem 0;
    font-weight: 400;
}

form select {
    background: #f0f0f0;
    border-radius: 1rem;
    border: none;
    padding: .5rem;
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
}

form select option {
    font-weight: 400;
}

.forms {
    font-weight: 400;
    display: grid;
    grid-template-columns: 100%;
}

.forms button {
    padding: .5rem;
    width: auto;
    border-radius: 3rem;
    border: none;
    text-transform: uppercase;
    font-size: 1rem;
    margin-top: 1rem;
    cursor: pointer;
    font-weight: 400;
    color: rgb(255, 255, 255);
    background: rgba(0, 0, 0, 0.7);
}
.part1,
.part2,
.part3 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20rem;
    padding-top: 1rem;
    transform: translateX(200%);
    transition: all .5s ease;

    grid-row-start: 1;
    grid-column-start: 1;
}
.parcelasValues,
.valueCredit {
    text-align: center;
    padding: .3rem .5rem;
    background: rgba(6, 185, 255, 0.521);
    border-radius: 2rem;
}
.part4 {
    text-align: center;
    grid-row-start: 1;
    grid-column-start: 1;
    transform: translateX(200%);
    margin: auto 0;
}
.part4 p:first-child {
    font-size: 1.8rem;
}
.part4 button {
    text-transform: none;
    color: rgb(20, 20, 20);
    background: rgb(169, 255, 135);
}
.active {
    transform: translateX(0);
}
.past {
    transform: translateX(-200%);
}
.forms p {
    font-weight: 400;
}


/* ABOUT US SECTION */

#about{
    background-color: black;
    /* background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 74%); */
    /* background-image: linear-gradient(315deg, black 0%, #242424 74%); */
    background-image: linear-gradient(to bottom right, black, #242424);
    color: rgb(92, 92, 92);

    padding: 0 4rem;
    text-align: center;
    box-shadow: 0px -10px 10px rgba(0, 0, 0,.27);
}

#about > h3 {
    color: white;
}
#about > h3::after {
    background: white;
}

.about-top {
    margin: 2rem 0;
}
.about-top pre {
    color: white;
    width: 90%;
    margin: 0 auto;
    text-align: left;
    font-size: .9rem;
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
.about-top img {
    width: 15rem;
    max-width: 15rem;
}
.about-bottom {
    color: white;
    padding-bottom: 3rem;
}
.about-bottom h4 {
    font-size: 1.4rem;
}
.about-bottom p {
    font-size: .9rem;
    margin: 1rem 0 2rem;
}


/* COMO CHEGAR? */

#address {
    background: rgb(46, 46, 46);
    text-align: center;
    height: auto;
}

#address h3 {
    color: rgb(224, 224, 224);
    padding: 1rem 0 1.2rem;
}
#address h3::after {
    background: rgb(224, 224, 224);
}

#address iframe {
    width: 100%;
    height: 20rem;
}

/* FOOTER */

footer {
    background: #242424;
    text-align: center;
    padding: 2rem 1rem 1rem;
    color: white;
}

footer > img {
    height: 10rem;
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -o-crisp-edges; /* Opera */
    image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}

.end-text {
    max-width: 40rem;
    margin: 1rem auto 0;
    color: rgb(145, 145, 145);
    font-size: .9rem;
}

#end-contact-btn {
    text-decoration: none;
    color: rgb(202, 202, 202);
    text-transform: uppercase;
    border: 1px solid rgb(202, 202, 202);
    border-radius: 2rem;
    padding: .3rem .8rem;
    transition: all .3s ease;
    display: inline-block;
    margin: 1rem;
}

#end-contact-btn:hover {
    transform: scale(1.03);
}

footer .socials {
    margin:0 0 .8rem;
}

footer > span {
    height: 2px;
    width: 100%;
    background: rgb(46, 46, 46);
    display: block;
    margin: .5rem 0;
}

footer .socials > a {
    color: rgb(202, 202, 202);
}

footer .socials > a > i {
    font-size: 1.2rem;
    width: 2.2rem;
    height: 2.2rem;
    line-height: 2.2rem;
    border-color: rgb(202, 202, 202);
}

.disclaimer, .policy {
    font-size: .8rem;
    color: gray;
    text-decoration: none;
}

/* MEDIA */

@media screen and (max-width: 768px) {
    /* Landing Page */
    .landing {
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        padding: 3rem 1rem 0;
    }
    .landing-left {
        max-width: 90%;
        margin: 0;
    }
    .landing-title {
        margin-bottom: 2rem;
    }
    .landing-title h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .landing-title h2 {
        font-size: 1.2rem;
    }
    .landing-btns {
        margin-bottom: 0 auto;
        text-align: center;
    }
    .landing-btns a:last-child::after {
        margin: 3px auto 0;
    }
    .landing-right {
        padding: 0;
    }
    .landing-right::before {
        content: none;
    }
    .landing-logo {
        padding: 0;
    }
    /* BANNER */
    
    .banner-img {
        height: 200px;
    }
    /* Solutions */
    #solutions .cards {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cards {
        padding: 1rem;
    }
    .cards .card-2-detail {
        display: none;
    }
    .cards .wrapper {
        width: 90%;
    }
    /* Simulation */
    .form-wrapper {
        width: 90%;
    }
    /* About */
    #about {
        padding: 0 1.5rem;
    }
}