@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-color: #f2f2f2;

    text-align: justify;

    font-family: 'Open Sans', sans-serif;
    font-size: 24px;

    margin: 0;
    padding: 0;

}

.container {
    margin: 0 auto;
    width: 100%;
    max-width: 1260px;
    padding: 0 20px;
}

.layout-main {
    background: url("../img/fundo.jpg") center bottom;
    background-repeat: repeat;
}

.layout-about {
    padding-top: 100px;
}

.layout-services {
    background: url("../img/fundo.jpg") center bottom;
    background-repeat: repeat;

    padding: 130px 0;
}

.layout-questions {
    padding: 130px 0;
}

.layout-carousel {
    background-image: url("../img/fundo.jpg");
    background-repeat: repeat;

    width: 100%;
    height: auto;

    padding: 130px 0
}

.layout-contact {

    padding: 130px 0;

}

.layout-footer {
    background-image: url("../img/fundo.jpg");
    background-repeat: repeat;

    padding-top: 140px;
    padding-bottom: 75px;
}

/*--------------------*\
        MAIN
\*--------------------*/
.main {
    display: grid;
    grid-template-areas:
        "main__logo"
        "main__video"
        "main__video"
        "main__comunication"
        "layout-button";

    text-align: center;
}

.main__logo {
    grid-area: main__logo;

    width: 100%;
    max-width: 563px;
    height: auto;

    margin: 80px auto;
    margin-bottom: 30px;
}

.main__video {
    grid-area: main__video;

    width: 100%;
    max-width: 640px;

    margin: 0 auto;
}

.main__comunication {
    grid-area: main__comunication;
    text-align: center;
}

.main__strong {
    font-weight: 700;
}

/*--------------------*\
        BUTTON
\*--------------------*/
.layout-button {
    grid-area: layout-button;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    max-width: 360px;
    height: 75px;

    font-weight: 500;

    text-decoration: none;

    background-color: #99d9d9;
    color: #000;

    border-radius: 40px;

}

.button__logo {
    width: 65px;
    height: 65px;
    position: absolute;
    top: 5px;
    left: 25px;
}

.button:hover {
    font-weight: bolder;
}

.button-whatsapp {

    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    bottom: 30px;
    right: 30px;

    width: 90px;
    height: 90px;

    border-radius: 50%;

    background-color: #25d366;

}

.button-whatsapp__img {
    width: 50px;
    height: 50px;

    color: #fff;
}

@media (max-width: 385px) {
    .button__logo {
        display: none;
    }
}

/*--------------------*\
        ABOUT
\*--------------------*/
.about {
    display: flex;
    justify-content: space-between;
}

.about__content {
    width: 670px;

    position: relative;
}

.about__strong {

    color: #737373;

    font-weight: 700;

    letter-spacing: 10px;

    text-transform: uppercase;
}

.about__title {

    font-family: 'Libre Baskerville', serif;
    color: #b9a679;
    font-size: 40px;
    font-weight: 500;

    margin:0px;


}

.about__fotograph {

    width: 520px;

    margin: 0;
    padding: 0;
}

.about__logo {

    width: 135px;
    height: 115px;

    position: absolute;
    bottom: 20px;
    right: -70px;

}

@media (max-width: 1200px) {
    .about {
        flex-direction: column;
        align-items: center;
    }

    .about__content {
        padding-bottom: 100px;
    }

    .about__paragraph {
        margin-bottom: 45px;
    }

    .about__title {

        margin-top: 25px;
        margin-bottom: 55px;
    
    }
}

@media (max-width: 768px) {

    .about__content {
        width: 100%;

        text-align: center;
    }

    .about__title {
        font-size: 35px;
    }

    .about__fotograph {
        max-width: 520px;
        width: 100%;
    }

    .about__logo {

        width: 135px;
        height: 115px;

        position: absolute;
        bottom: 20px;
        right: 0;

    }

}

/*--------------------*\
        SERVICES
\*--------------------*/

.services__container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.services__title {

    margin-bottom: 60px;

    font-family: 'Libre Baskerville', serif;
    font-size: 30px;
    font-weight: 700;
    color: #b9a679;

    text-transform: uppercase;

}

.services__list {

    list-style: none;

    display: flex;
    
    flex-wrap: wrap;
    justify-content: space-between;
    
    display: grid;
    grid-template-columns: repeat(4, 305px);

    gap: 40px 20px;


}

.services__item {

    width: 100%;
    
    background-color: #fff;
    border-radius: 10%;

    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;

}

.services__content {

    padding: 0 40px;

    font-weight: 700;

    text-align: center;

}

.services__icon {
    
    width: 58px;
    height: 54px;

    background-image: url("../img/service-icon.png");

    position: absolute;
    display: inline-block;
    top:-27px;
    left: calc(50%-24px);
}

@media (max-width: 1486px) {
    .services__container {
        width: 975px;

    }
    .services__list {
       
        grid-template-columns: repeat(3, 305px);

    }
}

@media (max-width: 1040px) {
    .services__container {
        width: 670px;
    }
    .services__list {
       
        grid-template-columns: repeat(2, 305px);

    }
}

@media (max-width: 768px) {
    .services__container {
        width: 305px;
    }

    .services__list {
       
        grid-template-columns: 305px;

        padding-left: 0;

    }
    .services__title {
        text-align: center;
    }

}

/*--------------------*\
        QUESTIONS
\*--------------------*/
.questions__title {

    margin-bottom: 70px;

    font-family: 'Libre Baskerville', serif;
    font-size: 30px;
    font-weight: 700;
    color: #b9a679;

    text-transform: uppercase;

}

.questions__list {

    list-style: none;

    display: flex;

    flex-wrap: wrap;
    justify-content: space-between;

}

.questions__item {

    border: 2px solid #b9a679;

    padding: 30px;

    display: flex;
    flex-direction: column;

    margin-bottom: 40px;

}

.questions__item--border {
    border: 2px solid;
}

.questions__question {

    font-family: 'Libre Baskerville', serif;

    text-transform: uppercase;
    text-align: left;

    margin-bottom: 30px;
}

.questions__answer {

    text-align: left;
}

@media (max-width: 768px) {
    .questions {
        width: 100%;
    }

    .questions__title {

        text-align: center;

    }

    .questions__list {

        flex-direction: column;

        padding: 0;

    }

    .questions__question {

        text-align: center;

    }

    .questions__answer {

        text-align: center;

    }

}

/*--------------------*\
        CONTACT
\*--------------------*/
.contact {
    position: relative;
}

.contact__title {

    margin-bottom: 100px;

    font-family: 'Libre Baskerville', serif;
    font-size: 30px;
    font-weight: 700;
    color: #b9a679;

    text-transform: uppercase;

}

.contact__list {

    list-style: none;

    display: flex;
    flex-direction: column;

}

.contact__item {

    display: flex;
    align-items: center;

    margin-bottom: 40px;
    margin-left: 260px;

}

.contact__img {

    height: 70px;
    width: 70px;

    margin-right: 30px;

}

.contact__address,
.contact__email,
.contact__phone {

    font-size: 22px;
    font-weight: 700;

}

.contact__logo {
    position: absolute;

    width: 100%;
    max-width: 400px;
    height: auto;

    bottom: -110px;
    right: 0px;
}

@media (max-width: 768px) {
    .contact {
        width: 100%;
        text-align: center;
    }

    .contact__item {
        margin-left: 0;
        margin-bottom: 0;
    }

    .contact__img {
        height: 40px;
        width: 40px;

        margin-right: 10px;
    }

    .contact__list {
        padding: 0;
    }

    .contact__address,
    .contact__email,
    .contact__phone {
        font-size: 18px;
        font-weight: 500;

        text-align: center;
    }

    .contact__logo {
        right: 0;
        left: 0;

        position: static;

        width: 100%;
        max-width: 400px;
        height: auto;
    }
}

@media(max-width: 340px){
    .contact__address,
    .contact__email,
    .contact__phone {
        font-size: 16px;
        font-weight: 500;

        text-align: center;
    }
}

/*--------------------*\
        FOOTER
\*--------------------*/
.footer,
.footer__oab,
.footer__cnpj,
.footer_information,
.footer__copyright,
.footer__strong {
    text-align: center;
    font-size: 22px;
}

.footer__logo {

    margin-bottom: 120px;

    width: 100%;
    max-width: 563px;
    height: auto;

    margin: 80px auto;
    margin-bottom: 100px;

}

.footer__cnpj {
    margin-bottom: 50px;
}

.footer_information {
    margin-bottom: 50px;
}

.footer__strong {
    font-weight: 700;
}

@media (max-width: 768px) {

    .footer__logo {
        width: 100%;
        margin-bottom: 80px;
    }

}

/*--------------------*\
        carousel
\*--------------------*/

.carousel {
    width: 100%;

    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.carousel__title {

    margin-bottom: 50px;

    font-family: 'Libre Baskerville', serif;
    font-size: 30px;
    font-weight: 700;
    color: #b9a679;

    text-transform: uppercase;

}

.carousel__img{
    width: 70px;
    height: 70px;
}

.carousel__comment{
    font-size: 18px;

}

.carousel__date{
    color: #b9a679;
}

.carousel__button{

    width: 70px;
    height: 70px;

    font-size: 40px;
    color: #b9a679;

    border: none;
    border-radius: 50%;
    border: 5px solid #b9a679;

}

.carousel__button:hover {
    background-color: #b9a679;
    color: #fff;

}

.carousel__button--preview{
    margin-right: 10px;
}

.carousel__button--next{
    margin-left: 10px
}

@media (max-width: 768px) {

    .carousel__title {
        text-align: center;
    }
    
}

