*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

:root{
    --bg-color: #080808;
    --seconde-bg-color: #101010;
    --text--color: white;
    --main-color: #8D6E63; 
}

html{
    font-size: 62.5%;
    overflow-y: scroll;
}

body{
    background: var(--bg-color);
    color: var(--text--color);
}





/*po up*/
.no-overflow {
    overflow: hidden;
}

.custom-alerta {
    display: none;
    position: fixed;
    top: 70px;
    right: 10px;
    border-radius: 12px;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35),  opacity 0.5s ease, transform 0.5s ease;
    color: #fff;
    z-index: 9999;
}

.custom-alerta.active {
    transform: translateX(0%);
    opacity: 1;
}

.custom-alerta .alerta-content {
    display: flex;
    align-items: center;
}

.custom-alerta.success {
    background-color: #FFFFFF !important;
    border-left: 6px solid #00c037 !important;
    border-radius: 12px !important;
}

.custom-alerta.success .alerta-content .check {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    min-width: 35px;
    background-color: #00c037;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
}

.alerta-content .message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.message .text {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
}

.message .text.text-1 {
    font-weight: 600;
    color: #000000;
}

.custom-alerta .close {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
    color: #000000;
}


.custom-alerta .close:hover {
    opacity: 1;
}

.custom-alerta .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.custom-alerta.success .progress:before {
    background-color: #00c037;
}

.progress.active:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    animation: progress 8s linear forwards;
}

@keyframes progress {
    100% {
        right: 100%;
    }
}


/*end pop up*/


.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 3rem 9%;
    background: rgba(0,0,0,0.6);
    backdrop-filter : blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.logo{
    font-size: 3rem ;
    color: var(--text--color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.logo:hover{
    transform: scale(1.1);
}

.logo span{
    text-shadow: 0 0 25px var(--main-color);
}

.navbar a{
    font-size: 1.8rem;
    color: var(--text--color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.6s ease;
    border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a.active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}

/*acabou o header*/

section{
    min-height: 100vh;
    padding: 12rem 9% 10rem;
}


.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15rem;
}

.home-content{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
    justify-content: center;
    margin-top: 3rem;
}

span{
    color: var(--main-color);
}

.logo span{
    color: var(--main-color);
}

.home-content h1{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-img{
    border-radius: 50%;
}

.home-img img{
    position: relative;
    top: 3rem;
    width: 60rem;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
}

.home-content p{
    font-size: 1.5rem;
    max-width: 1000px;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 1rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
}

.social-icons a:hover{
    color: var(--text--color);
    transform: scale(1.3)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: var(--text--color);
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
}
.text-animation{
    font-size: 26px;
    font-weight: 600;
    min-width: 280px;
}





::-webkit-scrollbar{
    width: 15px;
}

::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
}

::-webkit-scrollbar-track{
    background-color: var(--bg-color);
    width: 50px;
}

.historia{
    min-height: 50vh;
}

.heading{
    text-align: center;
    font-size: 8rem;
}

.services{
    background: var(--bg-color);
    color: var(--text--color);
}

.services h2{
    margin-bottom: 5rem;
    color: white;
}

.services-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 2.5rem;
}

.service-box{
    background-color: var(--main-color);
    height: 400px;
    border-radius: 3rem;
    border: 5px solid transparent;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.service-box:hover{
    background: white;
    color: var(--main-color);
    border: 5px solid var(--main-color);
    transform: scale(1.03);
}


.service-box .service-info{
    display: flex;
    flex-direction: column;
    text-align: left;
    max-height: 200px;
    justify-content: center;
    align-items: baseline;
    padding: 5rem;
}

.service-info h4{
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-info p{
    font-size: 1.6rem;
    font-weight: 400;
    max-height: 100px;
    margin: auto;
}

.historia p{
    font-size: 1.5rem;
    font-weight: 400;
    margin: auto;
}

.paragrafo{
    text-indent: 40px;
}

.testimonials{
    background: var(--seconde-bg-color);
}

.testimonials-box{
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonials .heading{
    margin-bottom: 5rem;
}

.testimonials-box img{
    width: 15rem;
    border-radius: 50%;
}

.wrapper{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:3em;
}

.testimonials-item{
    min-height: 550px;
    max-width: 450px;
    background-color: var(--seconde-bg-color);
    backdrop-filter: blur(20px);
    border: 3px solid rgba(238,238,238,0.2);
    border-radius:  2rem;
    margin: 0 2rem;
    padding: 30px 60px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    color: white;
    transition: 0.4s ease-in-out;
}

.testimonials-item:hover{
    border: 3px solid var(--main-color);
    transform: translateY(-10px)scale(1.03);
}

.testimonials-item h2{
    font-size: 2.8rem;
}

.testimonials-item p{
    font-size: 1.5rem;
}

#star{
    color: gold;
    font-size: 2rem;
}

.contact{
    background-color: var(--bg-color);
}

.contact h2{
    margin-bottom: 3rem;
    color: white;
}

.contact form{
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text--color);
    background: var(--bg-color);
    border-radius: 0.8rem;
    border: 2px solid var(--main-color);
    margin: 1rem 0;
    resize: none;
}

.contact form .btn{
    margin-top: 2rem;
}

.footer{
    width: 100%;
    padding: 30px 0;
    background-color: var(--main-color);
    display: flex;
}

.item{
    position: relative;
    flex-grow: 1;
    text-align: end;
}

.footer .social{
    text-align: center;
    padding-bottom: 25px;
    color: white;
}

.footer .social a {
    font-size: 25px;
    color: white;
    border: 2px solid white;
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease-in-out;
}

.footer .social a:hover{
    transform: scale(1.2)translateY(-10px);
    background-color: white;
    color: var(--main-color);

}

.footer ul{
    margin-top: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}

.footer ul li a{
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}

.footer ul li a:hover{
    border-bottom: 3px solid white;
}

.footer ul li{
    display: inline-block;
    padding: 0 15px;
}

.footer .copyright{
    margin-top: 50px;
    text-align: center;
    font-size: 16px;
    color: white;

}

/* .footer .endereco {
   display: flex;
   text-align: end;
   flex: 1;
} */

.footer .celular span{
    font-size: 16px;
    color: white;
}

.footer .rua {
    text-decoration: underline;
    font-size: 16px;
    color: white;
}

@media (max-width: 1470px) {

    .home-content p {
        position: relative;
        font-size: 1.7em;
    }

    .historia p {
        font-size: 1.7em;
    }

    .service-info p {
        font-size: 1.6em;
    }
    .services-container{
        padding-bottom: 7rem;
        grid-template-columns: repeat(1,1fr);
        margin: 0 5rem;
    }

    .services-box{
        height: 380px;
    }
    
    .testimonials-item p{
        font-size: 1.6em;
    }
    .testimonials .wrapper{
        grid-template-columns: repeat(2,1fr);
    }

}

@media(max-width:1285px){
    html{
        font-size: 55%;
    }

    .social-icons a{
        width: 5.5rem;
        height: 5.5rem;
        font-size: 4.5rem;
    }

    .home-content h1{
        font-size: 2.5rem;
    }

    .services-container{
        padding-bottom: 7rem;
        grid-template-columns: repeat(1,1fr);
        margin: 0 5rem;
    }

    .services-box{
        height: 380px;
    }
    
    .testimonials .wrapper{
        grid-template-columns: repeat(1,1fr);
    }
    .footer{
        padding: 2rem 3%;
    }

    .text-animation {
        font-size: 18px;
    }
    
    
}

@media(max-width:991px){
    header{
        padding: 2rem 3%;
    }
    section{
        padding: 10rem 3% 2rem;
    }

    .historia{
        margin: 5em 4em;
    }

    .home-content h1{
        font-size: 2.2rem;
    }

    .social-icons a{
        width: 5.5rem;
        height: 5.5rem;
        font-size: 4.5rem;
    }

    .services{
        padding-bottom: 7rem;
    }

    .services-box{
        height: 380px;
    }

    .testimonials .wrapper{
        grid-template-columns: repeat(1,1fr);
    }
    .footer{
        padding: 2rem 3%;
    }
}

@media(max-width:895px){
    #menu-icon{
        display: block;
    }
    .navbar{
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3%;
        background-color: rgba(0,0,0,0.9);
        backdrop-filter: blur(20px);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: white;
    }
    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }
    .home-content h3{
        font-size: 2.6rem;
    }
    .home-content h1{
        font-size: 3.5rem;
        margin-top: 3rem;
    }
    .heading h2{
        text-align: center;
        font-size: 1.6rem;
    }
    .home-content p{
        position: relative;
        margin: 0 auto;
        font-size: 1.8em;
    }
    .home-img img{
        width: 48w;
        margin-bottom: 3rem;
    }
    .services h2{
        margin-bottom: 3rem;
    }
    
    .testimonials-item p{
        font-size: 1.8em;
    }

    .social-icons a{
        width: 5.5rem;
        height: 5.5rem;
        font-size: 4.5rem;
    }
    .services-box{
        height: 380px;
    }
    .services-container{
        grid-template-columns: repeat(1,1fr);
    }
}


@media (max-width: 768px) {
    html {
        font-size: 50%;
    }

    .header {
        padding: 2rem 5%;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        padding: 2rem 5%;
        background-color: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        display: none;
        flex-direction: column;
        align-items: center;
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 1.5rem 0;
        color: white;
    }

    #menu-icon {
        display: block;
        cursor: pointer;
    }

    .home {
        flex-direction: column;
        text-align: center;
        padding: 5rem 2rem;
    }

    .home-content h1 {
        font-size: 4.5rem;
        margin-top: 2rem;
    }

    .home-content p {
        position: relative;
        font-size: 1.7rem;
    }

    .home-img img {
        width: 80%;
        margin-top: 3rem;
    }

    .services-container {
        grid-template-columns: 1fr;
        padding: 0 3%;
    }

    .services p{
        font-size: 1.5rem;
    }

    .service-box {
        height: 390px;
    }

    .service-info {
        padding: 3rem;
    }

    .wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-item {
        padding: 2rem;
    }

    .contact form {
        max-width: 90%;
    }

    .footer {
        padding: 3rem 5%;
        text-align: center;
    }

    .footer ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer ul li {
        padding: 1rem 0;
    }
}


@media (max-width: 480px) {
    html {
        font-size: 45%;
    }

    .home-content h1 {
        max-width: 6px;
        font-size: 3.5rem;
    }


    .home-content p {
        position: relative;
        font-size: 1.7rem;
    }

    .home-img img {
        width: 90%;
    }

    .social-icons a{
        width: 5.5rem;
        height: 5.5rem;
        font-size: 4.5rem;
    }

    .services-container {
        padding: 0 2rem;
    }

    .service-info p{
        font-size: 1.6rem;
    }

    .service-box {
        height: 415px;
    }
    
    .service-box .service-info {
        padding: 3.5em;
    }

    
    .historia p{
        font-size: 1.7em;
    }

    .testimonials-item {
        padding: 2rem;
    }

    .btn {
        font-size: 1.4rem;
        padding: 1rem 2rem;
    }

    .footer {
        padding: 2rem 4%;
    }
}

@media (max-width: 320px){
    .service-box {
        height: 490px;
    }

}