/*
Theme Name: Facilit Móveis Sob Medida
Theme URI: http://wordpress.org/themes/estela
Author: DARC
Author URI: http://wordpress.org/
Description: Tema criado para o site institucional da loja Facilit
Version: 1.0

*/

@font-face {
    font-family: "BreadleySans-Regular";
    src: url(../fonts/BreadleySans-Regular.woff);
    font-display: swap;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
     /* border: 1px solid red; */
}

h1,h2,h3,h4,h5,h6,p,#menu li a, #footer-links ul li, span, a, div{
    font-family: "Lato", sans-serif;
    color: #2C2C2C;
}

a{
    /* color: black; */
    text-decoration: none;
}

section{
    width: 100%;
    margin: 0 auto;
    padding: 50px 0;
}

main{
    width: 100%;
    height: 100vh;
    position: relative;
}

.container,
.footer-container{
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

.titulo h2{
    /* color: #FFFFFF; */
    /* font-family: 'Playfair Display', serif; */
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-size: 2.6em;
    line-height: 45px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.titulo .color-title:nth-child(1) {
    text-transform: uppercase;
    font-weight: bold;
    color: #DA9062 !important;
}

.titulo .color-title:nth-child(2) {
    color: #2A2A2A;
}

.titulo h5{
    font-weight: 300;
    font-size: 1.2em;
    text-transform: uppercase;
    margin-bottom: -10px;
}

/*  MENU  */

#logo{
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 0 10px; */
    position: relative;
}

#logo svg {
    height: 50px;
    width: 200px;
    font-family: "BreadleySans-Regular, Breadley Sans";
    /* border: 1px solid red; */
}

#header{
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    /* background-color: white; */
    transition: top 0.5s ease;
    transition: background-color 0.5s ease;
}

#header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#menu{
    display: flex;
    list-style: none;
    gap: .5rem;
    text-transform: uppercase;
}

#menu a {
    display: block;
    padding: .5rem;
    color: white!important;
    position: relative;
    font-weight: 300;
}

#menu a::after{
    content: '';
    width: 0%;
    height: 1.5px;
    background-color: white;
    z-index: 1001;
    display: block;
    position: absolute;
    bottom: 1px;
    transition: .5s;
}

#menu li:hover a::after{
    width: 100%;
}

#btn-mobile{
    display: none;
}

#header.scrolled {
    /* background-color: #EEE8EC; */
    /* background-color: #FC9978; */
    /* background-color: white; */
    /* background: rgba(168, 97, 61,0.85); */
    /* background: linear-gradient(to right, #A45C38, #BB7750); */
    background: linear-gradient(to right, rgba(164, 92, 56, 0.85), rgba(187, 119, 80, 0.85));
    box-shadow: 20px 20px 40px -6px rgba(0,0,0,0.2);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

#header.scrolled #menu a{
    color: white!important;
}

#header.scrolled li:hover a::after{
    background-color: white;
}


#header.scrolled #logo-branca{
    opacity: 0;
}

#header.scrolled #logo-colorida{
    opacity: 1;
}

@media screen and (max-width: 974px){
    #menu{
        /* display: none; */
        position: absolute;
        width: 100%;
        top: 90px;
        right: 0;
        /* background-color: white; */
        display: block;
        height: 0;
        transition: .6s;
        z-index: 10;
        visibility: hidden;
        overflow-y: hidden;
        background: rgba(144, 103, 79,0.85);
        box-shadow: 20px 20px 40px -6px rgba(0,0,0,0.2);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
    #nav.active #menu{
        height: calc(100vh - 90px);
        visibility: visible;
        overflow-y: auto;
    }
    #menu a{
        padding: 1rem 0;
        margin: 0;
        text-align: center;
        color: white!important;
        /* color: #563373!important; */
    }

    span#hamburguer{
        color: white;
    }
    #btn-mobile{
        display: flex;
        padding: .5rem 1rem;
        font-size: 1rem;
        border: none;
        background: none;
        cursor: pointer;
        gap: .5rem;
        align-items: center;
        color: white;
    }
    #hamburguer{
        width: 20px;
        border-top: 2px solid;
        display: block;
    }
    #hamburguer::after, #hamburguer::before{
        content: '';
        display: block;
        background-color: white;
        height: 2px;
        width: 20px;
        margin-top: 5px;
        transition: .3s;
        position: relative;
    }
    #header.scrolled #btn-mobile{
        /* color: #563373!important; */
        color: white!important;
    }
    #header.scrolled #menu a{
        color: white!important;
    }
    #nav.active #hamburguer{
        border-top-color: transparent;
    }
    #nav.active #hamburguer::before{
        transform: rotate(135deg);
    }
    #nav.active #hamburguer::after{
        transform: rotate(-135deg);
        top: -7px;
    }
    #nav.active li:hover a::after{
        width: 100%;
        /* background-color: #14337B!important; */
        background-color: white!important;
    }
    #header.scrolled a{
        color: white!important;
        /* color: #14337B!important; */
    }
    
    #header.scrolled #menu li:hover a::after{
        width: 100%;
        /* background-color: #14337B!important; */
        background-color: white!important;
    }
}

@media screen and (max-width: 367px) {
    #btn-mobile{
        padding: 0;
    }
}

/*  BANNER  */

#banner{
    background-image: url(../img/banner.webp);
    background-size: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

#banner .titulo h2 {
    width: 100%;
    font-size: 4.6em;
    line-height: 75px;
    text-transform: uppercase;
} 

#banner .titulo h3 {
    color: #FFFFFF;
    font-size: 2.3em;
    margin: 10px auto 20px;
    font-weight: lighter;
    width: 600px;
} 

#banner .content {
    text-align: center;
    position: relative;
}

#banner .titulo h2,
#banner .titulo h5,
#banner .content p{
    color: white;
}

#banner .content p{
    width: 600px;
    text-align: center;
    margin: 0 auto;
    font-size: 18px;
}

.banner-redes{
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 5px;
}

.banner-redes a{
    color: white;
    padding: 5px 10px;
    transition: all .1s ease-in-out;
}

.banner-redes a:hover {
    color: #D4C3BA;
} 

@media screen and (max-width: 677px){
    #banner .titulo h2{
        font-size: 3em;
        line-height: 45px;
    } 
    #banner .titulo h3 {
        font-size: 2em;
        max-width: 100%;
    } 
}

@media screen and (max-width: 511px) {
    #banner .titulo h3 {
        font-size: 1.8em;
    }
}

@media screen and (max-width: 420px) {
    #banner .titulo h2{
        font-size: 2.7em;
        line-height: 45px;
    } 
    #banner .titulo h3 {
        font-size: 1.5em;
    } 
}

@media screen and (max-width: 368px){
    #banner .titulo h2{
        font-size: 2.3em;
        line-height: 40px;
    } 
    #banner .titulo h5{
        font-size: 1.1em;
        margin-bottom: 3px;
    }
}

.btn-budget {
    padding: 10px 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to right, #DA9A6F, #A45C38);
    box-shadow: 20px 20px 40px -6px rgba(0,0,0,0.2);
    border: 1px solid #A45C38;
    text-transform: uppercase;
    text-align: center;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    display: inline-block;
    margin-top: 20px;
    letter-spacing: 2px;
    transition: all .3s ease-in-out;
    animation: btn-conhecer 1.3s;
    animation-iteration-count: infinite;
}

.btn-conhecer{
    padding: 10px 15px;
    color: white;
    background: rgba(255,255,255,0.25);
    box-shadow: 20px 20px 40px -6px rgba(0,0,0,0.2);
    backdrop-filter: blur(5.3px);
    -webkit-backdrop-filter: blur(5.3px);
    border: 1px solid white;
    text-transform: uppercase;
    text-align: center;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    display: inline-block;
    margin-top: 20px;
    letter-spacing: 2px;
    transition: all .3s ease-in-out;
    animation: btn-conhecer 1.3s;
    animation-iteration-count: infinite;
    
}

@keyframes btn-conhecer {
    0%{
        transform: scale(100%);
    }
    50%{
        transform: scale(110%);
    }
    100%{
        transform: scale(100%);
    }
}

/* SERVICOS */

#servicos {
    background: linear-gradient(to right, #F2B688, #A45C38);
    padding: 28px 0;
}

#servicos .container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    justify-items: center;
}

#servicos .container .servicos-tipo {
    text-align: center;
    color: #FFFFFF;
}

#servicos .container .servicos-tipo i {
    font-size: 25px;
    margin-bottom: 7px;
}

#servicos .container .servicos-tipo h4 {
    text-transform: uppercase;
    color: #FFFFFF;
    font-size: 13px;
}

@media screen and (max-width: 946px) {
    #servicos .container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr 1fr;
    }
}

@media screen and (max-width: 486px) {
    #servicos .container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 15px;
    }
}

@media screen and (max-width: 423px) {
    #servicos .container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}

/* SOBRE */

#sobre {
    background-color: #FAF7F5;
    text-align: center;
}

.sobre-content {
    margin: 35px auto 10px;
}

.sobre-content p {
    font-size: 19px;
    text-align: center;
    margin-bottom: 15px;
}

/* PROJETOS */

#projetos {
    text-align: center;
}

.projects-container  {
    margin-top: 35px;
}

.projects-container img {
    /* width: 100% !important; */
    margin: 0 10px;
}

/* PAGAMENTOS */

#pagamentos{
    background-image: url(../img/pagamentos.webp);
    background-size: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 400px;
    padding: 40px 0;
    display: flex;
    align-items: center;
}

#pagamentos .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.pagamentos-content {
    width: 50%;
}

.pagamentos-content h3 {
    font-size: 3.3em;
    color: #FFFFFF;
    line-height: 53px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-container {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 1142px) {
    .pagamentos-content {
        width: 55%;
    }
}

@media screen and (max-width: 894px) {
    .pagamentos-content h3 {
        font-size: 3em;
    }
}

@media screen and (max-width: 800px) {
    #pagamentos .container {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
    }
    .pagamentos-content {
        width: 80%;
    }
    .pagamentos-content h3 {
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .pagamentos-content {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .pagamentos-content h3 {
        font-size: 2.7em;
        line-height: 43px;
    }
}

@media screen and (max-width: 470px) {
    .pagamentos-content h3 {
        font-size: 2.3em;
        line-height: 37px;
    }
}


/* DEPOIMENTOS */

#depoimentos {
    background-color: #FAF7F5;
    text-align: center;
}

.depoimentos-container {
    margin-bottom: 10px;
}

.card-depoimentos {
    width: 400px;
    background-color: #FFFFFF;
    border-radius: 10px;
    min-height: 200px;
    height: 200px;
    padding: 25px;
    text-align: center;
    margin: 50px 10px 0;
}

.card-depoimentos h4 {
    margin-bottom: 10px;
}

.stars-container {
    margin-bottom: 20px;
}

.stars-container i {
    color: #FFC401;
}

.rating-google {
    display: flex;
    gap: 7px;
    justify-content: end;
    align-items: center;
}

.rating-google h5 {
    font-size: 16px;
}

@media screen and (max-width: 960px) {
    .rating-google {
        margin-top: 25px;        
    }
}

@media screen and (max-width: 650px) {
    .rating-google {
        justify-content: center;  
    }
}

/*  WHATSAPP  */

.whatsapp-link-class{
    position: fixed;
    width: 75px;
    height: 75px;
    bottom: 35px;
    right: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;

    background-color: #40C451;
    box-shadow: 20px 20px 40px -6px rgba(0,0,0,0.2);
    -webkit-backdrop-filter: blur(5.3px);
    border: 1px solid white;

    transition: all .3s ease-in-out;
    animation: btn-conhecer 1.3s;
    animation-iteration-count: infinite;
}


.whatsapp-link-class div{
    color: white;
    height: 51.14px;
    display: flex;
    justify-content: center;
    align-items: center;

    
}

@media screen and (max-width: 831px){
    .whatsapp-link-class{
        height: 60px;
        width: 60px;
    }
    .whatsapp-link-class div svg{
        width: 35px!important;
    }
}

/* VÍDEO */

#video .iframe-container {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 630px) {
    #video .iframe-container iframe {
        width: 100%;
        height: autos;
    }   
}

/* FOOTER */

footer {
    /* background-color: #DA9062; */
    background: linear-gradient(to right, #A45C38, #BB7750);
}

footer .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 40px 0 ;
    gap: 10px;
}

footer .logo {
    align-self: center;
}

footer .logo svg {
    height: 90px;
    width: 180px;
    font-family: "BreadleySans-Regular, Breadley Sans";
}

footer .footer-grid * {
    color: white;
}

footer .footer-grid h3 {
    margin-bottom: 10px;
    text-transform: uppercase;
}

footer .footer-grid ul li {
    color: white;
    list-style-type: none;
    margin-bottom: 5px;
}

footer .footer-grid a {
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    transition: all .1s ease-in-out;
}

footer .footer-grid a:hover {
    color: #D4C3BA;
}

footer .footer-grid a p,
footer .footer-grid a i {
    transition: all .1s ease-in-out;
}

footer .footer-grid a:hover p,
footer .footer-grid a:hover i {
    color: #D4C3BA;
}

footer #creditos {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid white;
}

@media screen and (max-width: 1000px) {
    footer .container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 20px;
    }
    footer .logo {
        justify-self: center;
    }

    .footer-grid:nth-child(3) {
        justify-self: end;
    }
} 

@media screen and (max-width: 516px) {
    footer .container {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        padding: 30px 0;
    }

    .footer-grid {
        justify-self: center;
    }
    .footer-grid:nth-child(3) {
        justify-self: center;
    }
    footer .footer-grid *,
    footer a {
        text-align: center;
    }
    footer a {
        justify-content: center;
    }
}
