﻿.blog-post {
    display: grid;
    gap: 60px;
    justify-content: space-between;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 50px;
}

.post-img {
    max-width: 550px;
    height: fit-content;
    width: 100%;
}

    .post-img img {
        object-fit: contain;
    }

.post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
    align-items: flex-start;
}

.title span {
    font-size: 10rem;
    line-height: 100px;
    font-weight: bolder;
}

.title .title-who {
    color: #161616;
}

.title .title-are {
    color: var(--secondary-color);
}

.subtitle {
    width: 438px;
    display: block;
}

    .subtitle p {
        padding: 0px 10px;
        text-align: justify;
        display: block;
    }

.title {
    font-weight: 600;
    letter-spacing: 1px;
    max-width: 450px;
    font-size: 25px;
}

.service.center {
    margin: 50px 0 70px;
}

.service .service-info {
    display: flex;
    align-items: center;
    padding: 0 30px;
    justify-content: center;
}

.service h1 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 18px;
}

.services-img h2 {
    font-size: 3rem;
}

.top-line {
    height: 6px;
    background: var(--primary-color);
    width: 70px;
    border-radius: 13px;
}

.service .services-img {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 90px;
    row-gap: 17px;
}

.service-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.services-img div {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
}

    .services-img div img {
        object-fit: contain;
        width: 80%;
        height: fit-content;
    }

.services-img p {
    text-align: justify;
    width: 340px;
}

.post {
    display: flex;
    align-items: center;
    padding: 0;
    flex-direction: column;
}

p.obrigatory {
    font-size: 12px;
    letter-spacing: .5px;
    color: red;
}

.contact {
    background: var(--primary-color);
}

.contact-all {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    height: 480px;
    margin-top: 130px;
    color: white;
}

.contact-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    top: -70px;
}

    .contact-img img {
        object-fit: cover;
        object-position: top;
        transform: scale(1.07);
    }

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

    .contact-info button {
        padding: 5px 20px;
        background: white;
        font-weight: 600;
        color: #1b606f;
        text-transform: uppercase;
    }

        .contact-info button:hover {
            background: white;
            color: #1b606f;
            transform: translateY(-1px)
        }

    .contact-info h2 {
        font-size: 8rem;
        line-height: 100px;
    }

    .contact-info .contact-name p {
        font-size: 2.5rem;
    }

.infos-all {
    display: flex;
    align-items: center;
    gap: 90px;
    padding: 55px 30px;
    justify-content: center;
}

    .infos-all .info-img {
        width: 17%;
    }


.info-icon .text {
    display: flex;
    flex-direction: column;
}

.info-icon {
    display: flex;
    align-items: center;
    gap: 25px;
}

    .info-icon i {
        background: var(--secondary-color);
        color: white;
        padding: 12px;
        border-radius: 7px;
        font-size: 30px;
    }

    .info-icon .text span {
        font-size: 16px;
    }

    .info-icon .text .tit {
        font-size: 18px;
        font-weight: 600;
    }


/* OTHER ANUNCIANTE */
.who-all {
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: 50px;
    align-items: start;
    padding: 36px 5% 50px;
}

.cie-title {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 25px;
}

.cie-title.associe {
    margin-left: 4px;
}

.cie-subtitle {
    font-weight: 600;
    max-width: 450px;
    text-transform: uppercase;
    font-size: 53px;
    line-height: 50px;
    color: var(--secondary-color);
}

.main-description img {
    height: 340px;
    opacity: .8;
    margin: 4rem 0;
    max-width: 460px;
    border-radius: 6px;
}

.who-submenu {
    padding: 36px 5% 50px;
}

.cie-submenu {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 50px;
    margin: 0 0 30px;
    color: var(--secondary-color);
}

.sub-image {
    position: relative;
    height: 40%;
    width: 40%;
    display: block;
    float: right;
    border-radius: 15px;
    margin: 0 0px 11px 15px;
    max-height: 330px;
    top: -20px;
}

@media screen and (max-width: 1230px) {
    .subtitle {
        width: 438px;
        display: block;
    }

    .services-img p {
        width: auto;
    }
}

@media screen and (max-width: 1130px) {
    .title span {
        font-size: 9rem;
    }
    .who-all {
        gap: 30px;
    }
}

@media screen and (max-width: 1000px) {
    .service .services-img {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .services-img div {
        max-width: 300px;
    }
}

@media screen and (max-width: 950px) {
    .infos-all {
        gap: 30px;
        flex-wrap: wrap;
        justify-content: normal;
    }

    .info-icon .text .tit {
        font-size: 16px;
    }

    .title span {
        font-size: 8rem;
        line-height: 85px;
    }

    .info-icon .text span {
        font-size: 14px;
    }

    .blog-post {
        display: grid;
        gap: 40px;
    }

    .info-icon i {
        padding: 10px;
        font-size: 25px;
    }

    .post-img {
        width: 450px;
    }

    .subtitle {
        width: 100%;
    }

    .subtitle p {
        padding: 0px 15px;
    }

    .info-icon {
        gap: 18px;
    }

    .contact-info h2 {
        font-size: 7rem;
        line-height: 90px;
    }
}

@media screen and (max-width: 850px) {
    .contact-info h2 {
        font-size: 6rem;
        line-height: 80px;
    }
    .who-all {
        gap: 0px;
        display: flex;
        flex-direction: column;
    }
    .title-div,
    .main-description {
        width: 100%;
    }
    .main-description img {
        max-width: 100%;
        height: 200px;
    }
    .sub-image {
        height: 100%;
        width: 100%;
        float: none;
        margin: 0 0 15px;
        top: -8px;
    }
}

@media screen and (max-width: 750px) {
    .subtitle p {
        padding: 0px 10px;
    }

    .blog-post {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .post-content {
        padding: 0 15px;
    }

    .title span {
        font-size: 8rem;
        line-height: 85px;
    }

    .subtitle {
        width: 100%;
    }

    .service h1 {
        font-size: 3rem;
    }

    .contact-all {
        display: flex;
        flex-direction: column;
        padding: 0px 0 50px;
        margin-top: 50px;
        height: 100%;
    }

    .contact-img img {
        transform: initial;
    }

    .contact-img {
        width: 100%;
        height: 500px;
        overflow: hidden;
        top: 0;
        position: initial;
    }

    .contact-info h2 {
        font-size: 5rem;
        line-height: 75px;
    }

    .contact-info {
        padding: 0 20px;
    }
}

@media screen and (max-width: 650px) {
    .cie-subtitle {
        font-size: 45px;
        line-height: 35px;
    }
    .main-description img {
        max-height: 160px;
        margin: 20px 0;
    }
    .main-description h1 {
        font-size: 3em;
    }
    .infos-all {
        padding: 50px 15px;
    }

    .contact-img {
        width: 100%;
        height: 390px;
    }

    .post-img {
        width: 100%;
    }
    .who-text p {
        padding: 1em;
    }
}

@media screen and (max-width: 450px) {
    .infos-all {
        padding: 50px 15px;
    }
    .main-description h1 {
        font-size: 3em;
    }
    .contact-img {
        height: 290px;
    }
    .cie-subtitle {
        font-size: 37px;
    }
}
