/**
 *
 * Theme: CMS
 * Folha de Estilos Personalizados
 *
 * Author: Infinito AG
 * Author URI: https://www.infinitoag.com
 *
**/

/*******************************************************
 * CORPO, ELEMENTOS HTML E TIPOGRAFIA
*******************************************************/

body {
    color: #444444;        
    font-size: 15px;
    font-family: 'Titillium Web', sans-serif;
    letter-spacing: .36px;
    line-height: 1.6;
    font-weight: 400;
    background: #FFF;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

h1 { font-size: 60px; }
h2 {
    font-size: 24px;
    font-weight: bold;
}

h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 10px;
}

h4 { font-size: 18px; }


a, a:hover,
a *, a:hover * {
    transition: 0.3s;    
    cursor: pointer;
    text-decoration: none;
    color: #000;
}

a:hover,
a:hover * { filter: brightness(105%); }

/*******************************************************
 * FORMULÁRIOS E BOTÕES
*******************************************************/

.form-control {
    border-radius: 0;
    box-shadow: none;
    border-color: #8C664E;
    height: 42px;
    font-size: 14px;
}

textarea.form-control {
    max-height: 146px;
}

.btn {
    border-radius: 0;
    padding: 8px 30px;
    border: 0;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 14px;
    transition: .3s;
    font-weight: bold;
}

.btn-default,
.btn-default:hover,
.btn-default:active,
.btn-default:focus {
    border: 1px solid #ffc107;
    background: #ffc107;
    color: #fff;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus { border: 1px solid #8C664E; background: #8C664E; color: #FFF; }

.btn-success,
.btn-success:hover,
.btn-success:active,
.btn-success:focus { border: 1px solid #8C664E; background: #8C664E; color: #FFF; }

.btn.btn-inverted {
    color: #FFF;
    border: 2px solid #FFF;
}

.btn:hover {
    transform: scale(1.05);
    transition: .3s;
}

.contato-info {
    display: flex;
    margin-bottom: 15px;
}

.contato-info i { color: #FFBF00; }
.contato-info span:first-child { text-align: center; }
.contato-info span {
    display: block;
    max-width: calc(100% - 30px);
    min-width: 30px;
}

.contato-info p a { text-decoration: underline; }
.contato-info p { margin: 0; }

/*******************************************************
 * CABECALHO
*******************************************************/

#header {
    padding: 0;
    background-color: #FFF;
    color: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

.scrolled #header { box-shadow: 0 0 30px -10px #000; }

.admin-bar #header { top: 32px; }
div#top-header {
    background: #F5F5F5;
    color: #000;
    font-size: 16px;
    transition: .3s;
}

.scrolled div#top-header {
    overflow: hidden;
    margin-top: -40px;
    transition: .3s;
}

#top-header a { color: #000; }
#header .social {
    text-align: right;
    padding-right: 10px;
}

#top-header .info-contato {
    padding: 6px 10px;
    margin-left: 20px;    
    font-size: 14px;
    color: #000;
    text-align: right;
}

#top-header .info-contato a { 
    margin-left: 5px;
    text-decoration: none;
    color: #000;
}

.scrolled div#header-inner { padding: 10px 0; }
div#header-inner {
    padding: 0;
    transition: .3s;
}

div.header-logo img { transition: .3s; }
div.header-logo {
    padding: 0;
    margin-top: -10px;
    background: transparent;
    transition: .3s;
}

.scrolled .header-logo img { max-width: 150px; }
.scrolled .header-logo {
    margin-top: 5px;
    margin-bottom: -10px;    
}

nav#main-menu {
    margin-bottom: 0;
    background: none;
    border: 0;
    margin-right: -15px;
    transition: .3s;
}

.scrolled nav#main-menu {
    transition: .3s;
    margin-top: 10px;
}

#main-menu .menu-item a {
    color: #000;
    padding: 3px 15px;
    font-size: 15px;
    border-radius: 0;    
    border: 0;
    position: relative;
    text-transform: uppercase;
}

#main-menu .menu-item.menu-item.current-menu-item a { 
    color: #8C664E; 
    font-weight: bold;
    text-decoration: underline;
}

#main-menu #menu-menu-principal > .menu-item > a:focus, 
#main-menu #menu-menu-principal > .menu-item > a:hover {
    text-decoration: none;    
    color: #8C664E;
}

/*******************************************************
 * RODAPE
*******************************************************/

#footer {
    padding: 50px 0 0;
    margin-top: 80px;
    color: #000;
    font-size: 13px;
    background: #EEEEEE;
    position: relative;
    z-index: 2;
}

#footer .footer-inner {
    position: relative;
    z-index: 2;
    background: #EEEEEE;
}

#footer:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 80px;
    right: 0;
    top: -80px;
    background: url(img/maprojetos/bg-depoimentos.jpg) no-repeat bottom center;
    background-size: contain;
    background-attachment: fixed;
    z-index: -1;
}

#footer a i {
    display: inline-block;
    font-size: 16px;
    margin: 0 5px;
    color: #FFBF00;
}

#footer .footer-widget a {
    color: #000;
    padding: 0;
    background: none;
}

#footer h3 { 
    font-size: 14px; 
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 20px;
}

#footer .social a i {
    font-size: 28px;
}
#footer .social {
    text-align: center;
    font-size: 28px;
    margin: 15px 0;
}

#copyright {
    background-color: #fff;
    margin-top: 50px;
    color: #777;
    padding: 15px 0;
    font-size: 11px;
}

#copyright p, #copyright a {
    color: #777;
    margin: 0;
}

#copyright .social { text-align: right; }

#link-wpp {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: space-between;
    right: 0;
    padding-right: 15px;
    bottom: 20px;
    font-size: 12px;
    border: 0;
    height: 35px;
    line-height: 60px;
    margin-top: -30px;
    z-index: 99;
    border-radius: 25px;
    box-shadow: none;
    transition: .4s ease;
    color: #FFF !important;
    opacity: 0;
    background: #28a745;
    text-transform: uppercase;
    font-weight: bold;
}

#link-wpp span { color: #FFF; }
#link-wpp img {
    display: block;
    margin: 0 10px 0 -10px;
}

#link-wpp:hover { transform: scale(1.08); }

#link-wpp,
.scrolled #link-wpp {
    opacity: 1;
    right: 20px;
}

#cookie-notice .cn-button {
    margin: 0 0 0 10px;
    background: #8C664E;
	color: #000;
}


/*******************************************************
 * CLASSES E ELEMENTOS PRINCIPAIS
*******************************************************/


section.page-content { overflow: hidden; }
#main {
    padding-bottom: 0;
    padding-top: 130px;
    z-index: 0;
}

#main .page-header {
    margin: 0 50px 50px;
    height: 380px;
    position: relative;
    z-index: 2;
    border: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
}

#main .page-title {
    font-size: 36px;
    text-align: left;
    margin: 0 0 20px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.social a {
    display: inline-block;
    margin: 0 5px;
}

.aligncenter {
    display: block;
    margin: 0 auto 10px;
}

.alignleft {
    float: left;
    margin: 0 10px 10px 0;
}

.alignright {
    float: right;
    margin: 0 0 10px 10px;
}


#main .galeria {
    margin: 0;
    padding: 0;
    background: #fff;
}

#main .gallery .gallery-item {
    margin: 0 0 2px;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
}

#main .gallery .gallery-item a, #main .gallery .gallery-item dt {
    display: flex;
    height: 100%;
    width: 100%;
}

#main .gallery .gallery-item img,
#main .gallery .gallery-item a,
#main .gallery .gallery-item dt { 
    border: 0; 
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 200% !important;
    max-height: 200% !important;
    width: auto;
    height: auto;
}

#main .gallery .gallery-item a, 
#main .gallery .gallery-item dt {
    display: block;
    height: 100%;
}

.header-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    margin-top: -120px;
}

.videoWrapper iframe,
.videoWrapper embed, 
.videoWrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.destaques {
    max-width: 1400px;
    margin: 0 auto;
}

.destaque {
    padding: 30px 0 15px;
    margin: 30px -15px;
}

.destaque-thumb {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.destaque:nth-child(even) .destaque-conteudo { margin-left: auto; }
.destaque:nth-child(odd) .destaque-conteudo { margin-right: auto; }
.destaque-conteudo {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    max-width: 580px;
    margin: 0;
    padding: 0 30px;
    font-size: 16px;
}


.slick-slider .slick-arrow {
    position: absolute;
    top: 50%;
    height: 60px;
    margin-top: -30px;
    background-color: transparent;
    background-size: contain;
    border: 0;
    font-size: 0px;
    z-index: 9;
    width: 40px;
}

.slick-slider .slick-arrow.slick-next {
    right: -30px;
    background: url('img/seta-direita.png') no-repeat center;
}

.slick-slider .slick-arrow.slick-prev {
    left: -30px;
    background: url('img/seta-esquerda.png') no-repeat center;
}

ul.slick-dots {
    padding: 0;
    list-style: none;
    text-align: center;
    display: block;
    margin: 20px 0;
}

ul.slick-dots li.slick-active button { background: #fff; }
ul.slick-dots li button {
    border: 0;
    border-radius: 0;
    display: block;
    width: 20px;
    height: 20px;
    font-size: 0px;
    background: transparent;
    border: 1px solid #fff;
}

ul.slick-dots li {
    display: inline-block;
    margin: 0 3px;
}

/*******************************************************
 * PÁGINAS
*******************************************************/

/* home */

div#home-intro {
    height: 80vh;
    overflow: hidden;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

div#home-intro:before {
    content: "";
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #000a;
    position: absolute;
    top: 0;
    left: 0;
}

#home-intro h1, 
#home-intro h2 {
    font-size: 38px;
    text-transform: uppercase;
}

#home-intro .conteudo-intro p {
    margin: 10px 0 20px;
}
#home-intro .conteudo-intro {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 18px;
    width: 100%;
    line-height: 1.4;
    letter-spacing: 0.6px;
	text-shadow: 0 0 1px #0003;
}

#home-intro .link-conteudo {
    position: absolute;
    bottom: 20px;
    max-width: 50px;
    z-index: 2;
}

#home .slider-servicos {
    margin-right: -30px;
    margin-left: 15vw;
}

#home .slider-servicos .slick-arrow.slick-next { right: 30px; }
#home .slider-servicos:before {
    content: "";
    width: 250px;
    height: 100%;
    top: 0;
    right: 0;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 80%);
    position: absolute;
    z-index: 3;
}

#home .slider-servicos .servico h3 {
    color: #fff;
    position: relative;
    z-index: 3;
}
#home .slider-servicos .servico {
    height: 450px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 15px;
    display: flex;
    align-items: flex-end;
    padding: 10px 20px;
    color: #FFF;
    position: relative;
}

#home .slider-servicos .servico:hover:before { opacity: 0.5; }
#home .slider-servicos .servico:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #0005;
    transition: .4s ease;
}


.bloco-qualidade {
    color: #FFF;
    padding: 80px 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* qualidade */

div#depoimentos {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFF;
    padding: 80px 0;
    text-align: center;
}

.slider-depoimentos-holder { position: relative; }
.slider-depoimentos-holder:before {
    content: "";
    width: 80px;
    height: 80px;
    position: absolute;
    background: url('img/quote.png') no-repeat center;
    background-size: contain;
    z-index: 2;
    top: -40px;
    left: calc(50% - 340px);
}

.depoimento-foto {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.depoimento-foto img {
    min-height: 100% !important;
    min-width: 100% !important;
    max-width: 300% !important;
    max-height: 300% !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

.depoimento {
    max-width: 480px;
    margin: 0 auto;
    background: #8C664E;
    padding: 20px;
}

/*servicos*/

.conteudo-adicional-direita { padding-right: 60%; }
.conteudo-adicional-esquerda {
    background: #8C664E;
    padding: 80px 40px;
    color: #FFF;
    margin: 0 30px 0px -30px;
    padding-left: 50%;
}

/*orcamento*/

div#orcamento {
    background: #282828;
    color: #fff;
    padding: 80px 0 60px;
}

#orcamento .form-contato h3 {
    color: #FFF;
}

#orcamento .form-contato a {
    color: #FFF;
    text-decoration: underline;
}

/* sobre */

.foto-equipe {
    background: #B59173;
    margin-left: -15px;
    padding: 15px 0;
    margin-right: 120px;
}

.equipe .foto-equipe div {
    margin-right: -50%;
    text-align: right;
}

/*home*/

#home-intro .conteudo-intro h1, 
#home-intro .conteudo-intro h2 {
    font-size: 48px;
    letter-spacing: 1.6px;
    line-height: 1.3;
    margin: 0;
}

span#conteudo-texto-intro {
    display: flex;
    max-width: 700px;
    height: 190px;
}

.bloco-institucional {
    color: #FFF;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
}


/* projetos */

.projeto { margin-bottom: 50px; }
.projeto-titulo h2 {
    font-size: 18px;
    margin: 10px 0;
}

.wp-pagenavi {
    text-align: center;
    margin: 50px 0;
}

.wp-pagenavi a, .wp-pagenavi span {
    border: 0;
    display: inline-block;
    font-size: 28px;
    color: #8c664e;
}


/* single projeto */

.projeto-capa {
    text-align: center;
    margin: 30px 15px 15px;
}

#main #projeto .page-title {
    color: #000;
    margin: 0 0 10px;
    font-size: 32px;
}

.addtoany_shortcode {
    position: relative;
    text-align: right;
}

.addtoany_shortcode a {
    display: inline-block;
    filter: grayscale(1);
}
.addtoany_shortcode a:hover {
    filter: grayscale(0);
    opacity: 1;
}
.addtoany_shortcode:before {
    content: "Compartilhe: ";
}

/*contato*/

.bloco-contatos a,
.bloco-contatos a span, 
.bloco-contatos p, 
.bloco-contatos a i,
.bloco-contatos span i {
    color: #FFF !important;
}

.bloco-contatos {
    background: #B59173;
    padding: 15px 30px;
    height: 100%;
    color: #FFF;
}

.bloco-contatos .social {
    margin-left: 25px;
    font-size: 28px;
    margin-top: 30px;
}

.form-contato h3 {
    margin: 0 0 20px;
    border-bottom: 1px solid;
    padding-bottom: 10px;
    color: #8c664e;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
}

.form-contato h3:before {
    content: "";
    width: 193px;
    height: 2px;
    background: #8c664e;
    position: absolute;
    bottom: -1px;
    left: 0;
}

.form-contato .wpcf7-list-item {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: bold;
}

.wpcf7 form p {
    margin: 0;
}
.wpcf7 form .btn {
    display: block;
    float: none;
}
.wpcf7 form br {
    display: none !important;
    margin: 0;
}

/*******************************************************
 * AJUSTES RESPONSIVOS
*******************************************************/

@media( max-width: 1300px ) {
    #main .gallery .gallery-item {
        max-height: 210px;
    }
}

@media(max-width: 1220px) {
    #main .page-header {
        height: 280px;
        margin: 0 15px 15px;
    }

    div#home-intro{ height: 65vh; }
    #home-intro .conteudo-intro h1, #home-intro .conteudo-intro h2 {
        font-size: 32px;
    }

    #home-intro h1, #home-intro h2,
    #main #sobre .page-header h1, #main #sobre .page-header h2 { font-size: 32px; }

    #home .slider-servicos .servico { height: 45vh; }

    .conteudo-adicional-esquerda, .conteudo-adicional-direita {
        padding: 10px 50px 30px;
    }
}

@media( max-width: 991px ) {
    div#top-header { display: none; }

    div.header-logo {
        position: relative;
        z-index: 2;
        margin: 5px 0 0;
    }

    .scrolled .header-logo {
        margin-top: -5px;
        margin-bottom: -5px;
    }

    nav#main-menu {
        margin-top: -75px;
        width: 100%;
        padding: 15px 0 5px;
    }
    #main-menu .menu-item a {
        margin: 0;
        font-size: 18px;
        display: block;
        padding: 10px;
        text-align: center;
    }

    .scrolled nav#main-menu {
        transition: .3s;
        margin-top: -60px;
    }

    ul#menu-menu-principal { padding-top: 30px; }
    #main-menu button.navbar-toggler {
        display: block;
        text-align: right;
        margin-left: auto;
    }

    section#main { padding-top: 100px; }
    .header-bg-video { display: none; }

    .bloco-institucional {
        text-align: center;
    }

    
    #footer { text-align: center; }
    #footer:before {
        background-attachment: scroll;
        z-index: 1;
        background-size: cover;
    }
    .footer-widget { margin: 30px 0 15px; }
    .contato-info span { max-width: 100%; }
    #footer .footer-widget .contato-info {
        display: block;
        text-align: center;
        margin-bottom: 30px;
    }

    .destaque-thumb {
        margin: 0 15px;
        min-height: 40vh;
    }
    
    .destaque:nth-child(odd) .destaque-conteudo,
    .destaque:nth-child(even) .destaque-conteudo {
        margin: 0;
        max-width: 100%;
        display: block;
        margin-top: 10px;
        padding: 0 30px;
    }

    #main .gallery .gallery-item { width: 50%; }

    .equipe { text-align: center; }
    .equipe .foto-equipe {
        background: none;
        margin: 0;
        padding: 0;
    }
    .equipe .foto-equipe div {
        margin: 0;
        text-align: center;
    }

    .foto-missaovisao {
        text-align: center;
        margin: 30px 0;
    }

    .addtoany_shortcode:before { display: block; }
    .addtoany_shortcode {
        position: relative;
        text-align: left;
    }

    .bloco-contatos { margin-top: 30px; }
}

@media( max-width: 768px ) {		
    .admin-bar #header { top: 45px; }
    .scrolled.admin-bar #header { top: 0; }

    #footer,
    #dev {
        text-align: center;
    }
}


@media( max-width: 767px ) {

    nav#main-menu { margin-top: -70px; }
    section#main { padding-top: 90px; }

    #main .page-header { height: 160px; }
    #home-intro h1, #home-intro h2, 
    #main #sobre .page-header h1, #main #sobre .page-header h2 {
        font-size: 26px;
    }
    
    div#home-intro {
        height: 40vh;
    }
    

    #home-intro .conteudo-intro h1, 
    #home-intro .conteudo-intro h2 {
        font-size: 24px;
        text-align: center;
    }

    span#conteudo-texto-intro {
        display: flex;
        max-width: 100%;
        height: auto;
        align-items: center;
    }

    #home .slider-servicos .servico {
        height: 45vh;
        margin: 0 60px;
    }

    #home .slider-servicos { margin: 0 -15px; }
    #home .slider-servicos:before { display: none; }
    #home .slider-servicos .slick-arrow.slick-next { right: 5px; }
    #home .slider-servicos .slick-arrow.slick-prev { left: 5px; }
    

    #main-menu button.navbar-toggle { margin: 10px 0; }
    #main .page-header .page-title {
        font-size: 28px;
        line-height: 36px;
    }

    #main .gallery .gallery-item { max-height: 150px; }

    .conteudo-adicional-esquerda, .conteudo-adicional-direita {
        margin: 0;
    }

    #footer { padding-bottom: 50px; }
    #footer:before { display: none; }
    #footer:after { height: 320px; }

    #link-wpp {
        width: calc(100vw - 40px);
        left: 20px;
        padding: 0;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 40px;
    }

    #link-wpp img {
        position: absolute;
        left: 5px;
        width: 50px;
    }

    .home #footer {
        margin-top: 0;
    }
}