@import './reset.css';

.hero,
.info {
    padding: 1.4rem
}

.hero__container--start {
    position: relative;
    content: '\A';
    width: 100%;
    min-height: 13.2rem;
    background: url(../images/img/mbr-500x300.jpg) center center no-repeat;
    background-size: cover;
    color: var(--text-color-white);
    top: 0;
    left: 0;
}

.hero__container--start:after,
.newsletter:before{
    content: ""
}

.hero__container--start:after {
    position: absolute;
    width: 100%;
    min-height: 100%;
    background-color: rgba(32, 32, 32, .69);
    background-size: inherit;
    left: 0;
    top: 0;
    z-index: 1
}

.hero__btn,
.hero__text,
.hero__title {
    z-index: 10;
    display: inline-block;
    position: relative
}

.hero__title {
    width: 100%;
    font-family: var(--font-title);
    font-size: var(--size-title-mobile);
    font-weight: 500;
    margin: 8px 0 18px
}

.hero__text,
.info__title {
    font-size: var(--size-text-mobile)
}

.hero__text,
.info {
    margin-bottom: 8px;
    width: 100%
}

.hero__text {
    font-family: var(--font-text);
    font-weight: 300;
    text-align: justify
}

.hero__btn {
    margin-top: 8px
}

.info__article,
.info__div {
    display: -webkit-box;
    display: -ms-flexbox
}

.info__article {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.info__div {
    width: 100%;
    min-height: 84px;
    background-color: var(--primary-color1);
    border-radius: 8px;
    display: flex;
    margin: .5rem 0;
    -webkit-transition: -webkit-box-shadow ease-in-out .1s;
    -o-transition: box-shadow ease-in-out .1s;
    transition: box-shadow ease-in-out .1s;
    transition: box-shadow ease-in-out .1s, -webkit-box-shadow ease-in-out .1s;
    cursor: pointer;
    user-select: none
}

.info__div.is-active {
    display: -webkit-box;
    display: -ms-flexbox
}

.info__div:hover .info__icon {
    background-color: var(--primary-color-1)
}

.info__div:hover .info__icon svg path {
    fill: var(--text-color-dark);
    -webkit-transition: all ease-in-out .1s;
    -o-transition: all ease-in-out .1s;
    transition: all ease-in-out .1s
}

.info__div.is-active {
    width: 100%;
    background-color: var(--secondary-color0);
    border-radius: 8px;
    border: 0;
    outline: 0;
    display: flex;
    -webkit-transition: -webkit-box-shadow ease-in-out .1s;
    -o-transition: box-shadow ease-in-out .1s;
    transition: box-shadow ease-in-out .1s;
    transition: box-shadow ease-in-out .1s, -webkit-box-shadow ease-in-out .1s;
    box-shadow: -1px 11px 26px -1px rgba(59, 59, 59, .83);
    -webkit-box-shadow: -1px 11px 26px -1px rgba(59, 59, 59, .83);
    -moz-box-shadow: -1px 11px 26px -1px rgba(59, 59, 59, .83)
}

.info__icon {
    width: 10%;
    min-width: 85px;
    background-color: var(--primary-color0);
    border-radius: 8px 0 0 8px
}

.info__div.is-active .info__icon {
    width: 10%;
    background-color: var(--secondary-color-1);
    border-radius: 8px 0 0 8px
}

.info__icon svg {
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

.info__div svg path {
    fill: var(--secondary-color0)
}

.info__div.is-active svg path {
    fill: var(--text-color-dark)
}

.info__content {
    width: 90%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 18px;
    color: var(--text-color-white)
}

.info__title {
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px
}

.info__card,
.info__content p,
.info__desktop {
    font-family: var(--font-text);
    font-weight: 300;
    font-size: var(--size-text-mobile);
    text-align: justify
}

.info__div.is-active .info__content {
    color: var(--text-color-dark)
}

.info__div.is-active .info__content {
    color: var(--text-color-dark)
}

.info__desktop {
    display: none
}

.info__card {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height ease-in-out .1s;
    -o-transition: max-height ease-in-out .1s;
    transition: max-height ease-in-out .1s
}

.info__card.is-visible {
    max-height: 15rem;
    -webkit-transition: max-height ease-in-out .1s;
    -o-transition: max-height ease-in-out .1s;
    transition: max-height ease-in-out .1s
}

.info__card div,
.info__desktop div {
    padding: 1rem 0;
    color: var(--text-color-menu)
}

.info__card span,
.info__desktop span {
    font-weight: 600
}

.info .info__iframe {
    position: relative
}

.info__map iframe {
    width: 100%;
    min-height: 130px;
    border: 1px solid #b8b8b8;
    border-radius: 8px
}

.info__card:nth-child(1),
.info__desktop:nth-child(1) {
    margin: 16px 0 8px
}

.info__card .info__btn,
.info__desktop .info__btn {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 500
}

.info__table tfoot,
.info__table thead {
    background-color: var(--table-color-1)
}

.info__table tbody {
    background-color: var(--table-color-2)
}

.details,
.details__container {
    background-color: var(--primary-color0)
}

.details {
    width: 100%;
    padding: 1rem 1.4rem
}

.newsletter,
.newsletter__container,
.newsletter__form {
    background-color: var(--primary-color1)
}

.details__title,
.newsletter__title {
    font-family: var(--font-title);
    color: var(--text-color-white);
    font-size: var(--size-subTitle-mobile);
    margin-bottom: 1rem
}

.details__subTitles {
    font-family: var(--font-title);
    color: var(--secondary-color0);
    font-size: var(--size-title-mobile);
    text-transform: uppercase;
    margin-bottom: 1rem
}

.details__description,
.details__ul {
    font-family: var(--font-text);
    font-weight: 300;
    font-size: var(--size-text-mobile);
    color: var(--text-color-white);
    margin-bottom: 1rem;
    text-align: justify
}

.details__ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.details__ul p {
    display: block;
    margin: 8px 16px
}

.details__ul img {
    width: 14px;
    height: 14px;
    margin: 8px 0
}

.details__image {
    display: none
}

.newsletter,
.newsletter__form {
    position: relative;
    width: 100%;
    padding: 1rem 1.4rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.newsletter:before {
    position: absolute;
    left: 50%;
    bottom: 0;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 1px;
    width: calc(100% - 2.8rem);
    border-bottom: 2px solid silver
}

.newsletter__title {
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0
}

.newsletter__input {
    width: 100%;
    padding: 5px .5rem;
    border-radius: 5px;
    margin: .1rem .5rem 1rem .1rem;
    font-size: var(--size-text-mobile);
    background-color: var(--background-color);
    color: var(--text-color-input);
}

.newsletter__btn:hover {
    background-color: #21b853;
    color: #000
}

.no-js .info__card {
    max-height: 15rem
}

.no-js .info .info__iframe:after {
    content: "Mapa Indisponível";
    background-color: rgba(136, 136, 136, .5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    margin-top: 1rem;
    font-size: var(--size-title-mobile);
    font-weight: 700;
    color: #646b71;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 8px
}

@media screen and (min-width:31rem) {
    .hero {
        min-height: 18.5rem;
        padding: 2.5rem 2rem
    }

    .hero__title {
        margin: 16px 0 24px
    }

    .hero__text {
        margin-bottom: 16px
    }

    .no-js .info__card {
        display: block
    }

    .no-js .info__desktop {
        display: none
    }

    .no-js .info__article {
        width: 100%
    }
}

@media screen and (min-width:48rem) {
    .hero__container--start {
        background: url(../images/img/mbr-900x600.jpg) center no-repeat;
        background-size: cover
    }

    .hero {
        padding: 5vw 3.5rem;
        max-width: 1300px;
        margin: 0 auto
    }

    .details {
        position: relative;
        z-index: 1
    }

    .details:after,
    .details:before {
        position: absolute;
        content: "";
        top: 50%;
        right: 1.4rem;
        height: calc(100% - 4rem);
        z-index: -5
    }

    .details:before {
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 50%;
        background-image: url(../images/img/details-500x280.jpg);
        background-position: top right;
        background-size: cover;
        background-color: rgba(32, 32, 32, .69)
    }

    .details:after {
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 51%;
        background: -webkit-gradient(linear, left top, right top, from(var(--primary-color0)), to(transparent));
        background: -o-linear-gradient(left, var(--primary-color0), transparent);
        background: linear-gradient(90deg, var(--primary-color0), transparent)
    }

    .details__description,
    .details__subTitles,
    .details__title {
        width: 60%
    }

    .newsletter:before {
        width: calc(100% - 6rem)
    }

    .newsletter__input {
        width: 80%
    }

    .no-js .info .info__iframe:after {
        height: 80%
    }
}

@media screen and (min-width:56.25rem) {
    .info {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
    }

    .info__card,
    .info__desktop .desktop {
        display: none
    }

    .info__content p {
        text-align: left
    }

    .info__desktop,
    .info__desktop div.is-active {
        display: block
    }

    .info__article,
    .info__desktop {
        width: calc(50% - .7rem);
        height: 100%
    }

    .info__desktop div iframe {
        min-height: 20rem
    }

    .info__div {
        margin: 1rem 0
    }

    .newsletter {
        padding: 0 3rem
    }

    .newsletter,
    .newsletter__form {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
    }

    .newsletter__form {
        width: 57%;
        border: 0;
        padding: 1rem 0;
        margin: 1rem 0
    }

    .newsletter__title {
        width: 40%
    }

    .newsletter__input {
        width: calc(100% - 9.5rem);
        margin: 0 1rem
    }

    .no-js .info .info__iframe:after {
        height: 82%
    }
}

@media screen and (min-width:64rem) {
    .hero__container--start {
        background: url(../images/img/mbr-1920x1280.jpg) center no-repeat;
        background-size: cover
    }

    .details,
    .hero,
    .info,
    .newsletter
    {
        max-width: 1300px;
        margin: 0 auto
    }

    .details:before {
        background-image: url(../images/img/details-900x500.jpg)
    }

    .newsletter__input {
        padding: .5rem 1rem
    }
}