:root {
    /* Colors */
    --white-color: #FFF;
    --red-color: #CC092F;
    --black-color: #000;
    --black-color-secundary: #1E1E1E;
    --gray-color: #EDEDED;
    --gray-color-secundary: #D8D8D8;
    
    /* Margins */
    --margin-wrapper-desktop: 400px;
    --margin-wrapper-desktop-secundary: 200px;
    --margin-wrapper-mobile: 25px;
}

@font-face {
    font-family: 'BradescoSans-Light';
    src: url('/assets/common/fonts/bradesco/BradescoSans-light.woff2') format('woff2'),
        url('/assets/common/fonts/bradesco/BradescoSans-light.woff') format('woff'),
        url('/assets/common/fonts/bradesco/BradescoSans-light-web.ttf') format('ttf'),
        url('/assets/common/fonts/bradesco/BradescoSans-light.ttf') format('ttf'),
        url('/assets/common/fonts/bradesco/BradescoSans-light.eot') format('eot');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BradescoSans-Regular';
    src: url('/assets/common/fonts/bradesco/BradescoSans-Regular.woff2') format('woff2'),
        url('/assets/common/fonts/bradesco/BradescoSans-Regular.woff') format('woff'),
        url('/assets/common/fonts/bradesco/BradescoSans-Regular-web.ttf') format('ttf'),
        url('/assets/common/fonts/bradesco/BradescoSans-Regular.ttf') format('ttf'),
        url('/assets/common/fonts/bradesco/BradescoSans-Regular.eot') format('eot');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BradescoSans-Bold';
    src: url('/assets/common/fonts/bradesco/BradescoSans-Bold.woff2') format('woff2'),
        url('/assets/common/fonts/bradesco/BradescoSans-Bold.woff') format('woff'),
        url('/assets/common/fonts/bradesco/BradescoSans-Bold-web.ttf') format('ttf'),
        url('/assets/common/fonts/bradesco/BradescoSans-Bold.ttf') format('ttf'),
        url('/assets/common/fonts/bradesco/BradescoSans-Bold.eot') format('eot');
    font-weight: normal;
    font-style: normal;
}

/* Reset Paddings and Margins */
* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
    background-color: var(--white-color);
    line-height: 150%;
    font-family: 'BradescoSans-Regular', sans-serif;
}

/* Sections */
header .logo {
    filter: brightness(0) saturate(100%) invert(7%) sepia(100%) saturate(5475%) hue-rotate(345deg) brightness(133%) contrast(92%);
    width: 150px;
    height: auto;
    padding: 40px 0;
}

header .home img {
    height: 16px;
    width: auto;
}

header a {
    text-decoration: underline;
    font-size: 16px;
}

footer {
    margin-top: 50px;
    padding-bottom: 20px;
}

footer #page {
    font-size: 14px;
    font-family: 'BradescoSans-Bold', sans-serif;
}

footer .buttons {
    position: absolute;
    right: 20px;
}

footer .buttons button {
    border: none;
    background-color: transparent;
    margin: 0 10px;
    cursor: pointer;
}

footer .buttons button:disabled {
    opacity: 0;
    cursor: initial;
}

.banner {
    color: var(--white-color);
    height: 220px;
    padding: 120px var(--margin-wrapper-desktop) 0 var(--margin-wrapper-desktop);
    background: linear-gradient(90deg, #CC092F 0%, #B81570 100%);
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.banner--logo {
    width: 250px;
    height: auto;
    margin-bottom: 80px;
}

.banner .title {
    font-size: 40px;
    margin-bottom: 25px;
}

.banner .subtitle {
    font-size: 30px;
    padding-bottom: 80px;
}

.banner--img {
    width: 300px;
    height: auto;
}

.wrapper {
    margin: 0 var(--margin-wrapper-desktop);
    overflow: hidden;
}

#mockup-phone {
    width: 398px;
    height: 702px;
}

#box-phone {
    position: absolute;
    width: 360px;
    height: 670px;
}

.box-phone--banner {
    position: relative;
    z-index: -1;
    background: var(--red-color);
    width: 100%;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
}

.box-phone--title,
.box-phone--subtitle {
    margin: 0 auto;
    transform: translateY(50px);
}

.box-phone--title {
    width: 80%;
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--white-color);
}

.box-phone--subtitle {
    width: 80%;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--white-color);
}

.box-phone--grafismo {
    position: relative;
    z-index: -2;
    width: 100%;
    height: 155px;
    background-image: url("../img/grafismo.svg");
    background-repeat: no-repeat;
    transform: translateY(-63px);
    scale: 1.1;
}

.box-phone--subtitle img {
    margin-right: 10px;
}

#btns-mockup {
    position: absolute;
    height: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

#btns-mockup .prefix-phone {
    display: flex;
    align-items: center;
    justify-content: start;
}

#btns-mockup a {
    cursor: pointer;
    font-size: 14px;
    display: block;
    border-radius: 15px;
    padding: 10px 20px;
    margin: 10px 0;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white-color);
    box-shadow: 0px 3px 6px #00000033;
}

#btns-mockup span {
    margin-left: 10px;
    font-weight: bold;
}

/* *** Utilities *** */

/* Widths and Heights */
.h-100 {
    height: 100%;
}

.h-90vh {
    height: 90vh;  
}

.w-100 {
    width: 100%;
}

/* Margins and Paddings */
.p-20 {
    padding: 20px;
}

.p-30 {
    padding: 30px;
}

.pt-10 {
    padding-top: 10px
}

.pb-50 {
    padding-bottom: 50px;
}

.mx-10 {
    margin: 0 10px;
}

.mx-20 {
    margin: 0 20px;
}

.mx-40 {
    margin: 0 40px;
}

.mx-50 {
    margin: 0 50px;
}

.my-10 {
    margin: 10px 0;
}

.my-20 {
    margin: 20px 0;
}

.my-40 {
    margin: 40px 0;
}

.my-50 {
    margin: 50px 0;
}

.mt-40 {
    margin-top: 40px;
}

.ml-40 {
    margin-left: 40px;
}

.my-auto {
    margin: auto 0;
}

/* Colors And Fonts */
.text-white {
    color: var(--white-color);
}

.text-red {
    color: var(--red-color);
}

.text-black {
    color: var(--black-color);
}

.text-black-secundary {
    color: var(--black-color-secundary);
}

.text-bold {
    font-family: 'BradescoSans-Bold', sans-serif;
}

.text-regular {
    font-family: 'BradescoSans-Regular', sans-serif;
    font-weight: lighter;
}

/* Backgrounds */
.bg-red {
    background-color: var(--red-color);
}

.bg-white {
    background-color: var(--white-color);
}

.bg-gray {
    background-color: var(--gray-color);
}

.bg-gray-secundary {
    background-color: var(--gray-color-secundary);
}

/* Borders */
.border-all {
    border: 1px solid;
}

.border-top {
    border-top: 1px solid;
}

.border-right {
    border-right: 1px solid;
}


.border-bottom {
    border-bottom: 1px solid;
}

.border-left {
    border-left: 1px solid;
}

.border-red {
    border-color: var(--red-color);
}

.border-gray {
    border-color: var(--gray-color);
}

.border-gray-secundary {
    border-color: var(--gray-color-secundary);
}

.border-line-3 {
    border-width: 3px;
}

/* Flex Aligns */
.flex-all-start {
    display: flex;
    align-items: self-start;
    justify-content: start;
}

.flex-all-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-x-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-y-top {
    display: flex;
    align-items: self-start;
    justify-content: center;
}

.flex-x-start {
    display: flex;
    align-items: center;
    justify-content: start;
}

.flex-y-start-x-between {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

/* Show and hidden */
.hidden {
    display: none;
}

.show {
    display: block;
}

.show-flex {
    display: flex;
}

/* Components */
.title-home {
    font-size: 32px;
}

.title {
    font-size: 22px;
}

.sub-title--icon {
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

.subtitle--text {
    font-weight: lighter;
    font-size: 24px;
}

.subtitle-bold--text {
    font-size: 18px;
}

.paragraph {
    font-family: 'BradescoSans-Regular', sans-serif;
    font-size: 18px;
}

.number {
    font-size: 58px;
    font-family: 'BradescoSans-Regular', sans-serif;
}

.letter {
    font-size: 58px;
    font-family: 'BradescoSans-Light', sans-serif;
    font-weight: lighter;
}

.icon-x {
    width: 35px;
    height: 35px;
    scale: 2;
    position: relative;
    transform: translateY(-20px);
    right: calc(55px - 100%);
}  

.icon-x-info {
    transform: translateY(-20px);
}

.card-home--list ul {
    max-width: 250px;
}

.card-gray--text {
    font-family: 'BradescoSans-Regular', sans-serif;
    color: var(--black-color-secundary);
    font-size: 18px;
}

.card-gray--img {
    min-height: 140px;
    height: 100%;
    width: auto;
    margin-left: 20px;
    width: auto;
}

.card-icon {
    font-size: 16px;
    display: flex;
    align-items: self-start;
    justify-content: space-between;
    padding: 20px;
}

.card-icon--text {
    padding-top: 24px;
    font-family: 'BradescoSans-Regular', sans-serif;
}

.card-icon--img {
    width: 24px;
    height: 24px;
    margin-left: 20px;
}

.card-list {
    min-height: 120px;
}

.card-list--column {
    padding: 5px 3px;
    margin-right: 20px;
    min-height: 100px;
}

.card-list--img {
    width: 24px;
    height: 24px;
}

.card-list--text {
    font-family: 'BradescoSans-Regular', sans-serif;
    color: var(--black-color-secundary);
    font-size: 18px;
    padding: 10px 0;
}

.card-list--link {
    text-decoration: underline;
    color: var(--red-color);
}

.card-list--index {
    font-size: 22px;
}

.rectangle {
    width: 150px;
}

/* Unic */
.img-bia {
    width: 400px;
    height: auto;
}

/* *** Grids *** */

/* Grid Showcase */
.grid-showcase {
    margin: 20px 0;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 10px;
}

.grid-showcase .col-1 { grid-area: 1 / 1 / 4 / 2; }
.grid-showcase .col-2 { grid-area: 1 / 2 / 2 / 4; }
.grid-showcase .col-3 { grid-area: 2 / 2 / 3 / 3; }
.grid-showcase .col-4 { grid-area: 2 / 3 / 3 / 4; }
.grid-showcase .col-5 { grid-area: 3 / 2 / 4 / 3; }
.grid-showcase .col-6 { grid-area: 3 / 3 / 4 / 4; }

/* Grid Simple */
.grid-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 0px;
}

/* Grid Number */
.grid-number {
    margin: 20px 0;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 10px;
}

.grid-number .col-1 { grid-area: 1 / 1 / 2 / 2; }
.grid-number .col-2 { grid-area: 1 / 2 / 2 / 3; }

/* Grid List */
.grid-list {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    justify-content: start;
}

.grid-list .col-1  {grid-area: 1 / 1 / 2 / 2; }
.grid-list .col-2 { grid-area: 1 / 2 / 2 / 3; }

/* Grid Cards */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(4, auto);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: px;
}
    
.grid-cards .col-1 { grid-area: 1 / 1 / 3 / 2; }
.grid-cards .col-2 { grid-area: 1 / 2 / 3 / 3; }
.grid-cards .col-3 { grid-area: 1 / 3 / 3 / 4; }
.grid-cards .col-4 { grid-area: 1 / 4 / 3 / 5; }

/* Grid Contacts */
.grid-contacts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.grid-contacts .col-1 { grid-area: 1 / 1 / 3 / 2; }
.grid-contacts .col-2 { grid-area: 1 / 2 / 2 / 3; }
.grid-contacts .col-3 { grid-area: 2 / 2 / 3 / 3; }

/* Grid Two Columns */
.grid-two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 0px;
}

.gap-columns-40 {
    grid-column-gap: 40px;
}


/* Responsive */
@media only screen and (max-width: 1650px) {
    .wrapper {
        margin: 0 var(--margin-wrapper-desktop-secundary);
    }

    .banner {
        padding: 120px var(--margin-wrapper-desktop-secundary) 0 var(--margin-wrapper-desktop-secundary);
    }
}

@media only screen and (max-width: 768px) {
    #page-2, #page-2 img {
        max-width: 100%;
    }

    .wrapper {
        margin: 0 var(--margin-wrapper-mobile);
    }

    header a {
        font-size: 14px;
    }

    header .home img{
        width: 14px;
        height: 14px;
    }
    
    .banner {
        max-width: 100vw;
        padding: 0 var(--margin-wrapper-mobile);
    }
    
    .banner--logo {
        width: 150px;
        margin-bottom: 60px;
    }

    .banner .title {
        font-size: 25px;
        margin-bottom: 15px;
    }

    .banner .subtitle {
        font-size: 20px;
        padding-bottom: 25px;
    }

    .banner--img {
        width: 150px;
    }

    .title-home {
        font-size: 24px;
    }

    .card-gray--text {
        font-size: 14px;
    }

    .card-home--list {
        display: block;
    }

    .card-home--list ul {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .paragraph {
        font-size: 14px;
    }

    .card-list--text {
        font-size: 14px;
    }

    .letter,
    .number {
        font-size: 38px;
    }
    
    .card-icon {
        margin: 10px 0;
    }

    .card-icon--text {
        padding-top: 14px;
    }

    .sub-title--icon {
        width: 20px;
        height: 20px;
    }
    
    .subtitle--text {
        font-size: 18px;
    }

    .subtitle-bold--text {
        font-size: 16px;
    }

    .sub-title-icon .subtitle--text {
        font-size: 16px;
    }

    .grid-number .col-2,
    .paragraph.flex-x-between {
        justify-content: center;
        flex-wrap: wrap;
    }

    .grid-showcase .col-2 {
        align-items: center;
        justify-content: center;
        flex-wrap: wrap-reverse;
    }

    .grid-number .col-2 .card-gray--img,
    .grid-number .col-2 .card-gray--img {
        margin-top: 20px;
        margin-left: 0;
    }

    
    .grid-showcase {
        display: block;
    }

    .grid-showcase .col-1 {
        display: block;
        margin-bottom: 20px;
    }
    
    .grid-number {
        margin: 20px 0;
        padding: 20px;
        display: block;
    }

    .grid-number .col-1 {
        justify-content: start;
        margin-bottom: 20px;
    }
    
    .grid-two-columns {
        display: block;
    }

    .grid-contacts {
        display: block;
    }

    .grid-contacts .col-2 {
        border: 1px solid var(--gray-color);
    }

    .grid-cards {
        display: flex;
        flex-wrap: wrap;
    }

    .grid-cards .rectangle {
        width: 180px;
        height: 328px;
        margin-bottom: 10px;
    }

    .grid-cards .bg-gray {
        width: 135px;
        height: 290px;
        font-size: 12px !important;
        margin-bottom: 10px;
    }

    .grid-cards .ml-40 {
        margin-left: 0;
    }

    .grid-showcase .col-2 .card-gray--img {
        margin-bottom: 20px;
        margin-left: 0;
    }

    .paragraph.flex-x-between .ml-40 {
        margin-left: 0;
    }

    .paragraph.flex-x-between img {
        margin-top: 20px;
    }

    .icon-x {
        scale: 1.8;
    }

    #dados-cadastrais {
        display: block;
    }
}

@media only screen and (max-width: 530px) {
    #mockup-phone {
        width: 300px;
        height: 529;
    }
    
    #box-phone {        
        width: 272px;
        height: 512px;
    }

    .box-phone--banner {
        height: 110px;
    }

    .box-phone--title {
        width: 85%;
        font-size: 16px;
    }

    .box-phone--subtitle {
        font-size: 12px;
        width: 85%;
    }

    #btns-mockup {
        height: 220px;
    }
    
    #btns-mockup a {
        font-size: 11px;
        margin: 5px 0;
    }
}

@media only screen and (max-width: 400px) {
    .grid-cards .rectangle {
        width: 140px;
    }
}