/*
* Bosco Esposizione
*
* Criação: Jacques Fernandes, Bold Creative
* Desenvolvimento: Marco Andrei Kichalowsky, Arsnova (https://arsnova.digital)
*
* Copyright 2021 Construesse, Edincorp
* 22/09/2021
*/

/* # Preparação
--------------------------------------------------------------*/

/* Correções
--------------------------------------------- */

button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */

*, *::before, *::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/* Variáveis
--------------------------------------------- */

:root {
    --dourado: #B6A47B;
}

/* Pré-definições
--------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    background-color: white;
    font-family: 'Abhaya Libre', serif;
    font-size: 16px;
    margin: 0;
}

p {}

h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
    text-align: center;
}

@media screen and (min-width: 800px) {
    h2 {
        text-align: left;
        text-indent: -100px;
    }
}

h2 span {
    color: var(--dourado);
    font-family: 'Amalfi Coast', cursive;
    font-size: 42px;
    font-weight: 400;
    padding-left: 8px;
}

@media screen and (min-width: 800px) {
    h2 span {
        font-size: 48px;
    }
}

figure {
    line-height: 0;
    margin: 0;
    position: relative;
    z-index: 20;
}

figcaption {
    background-color: rgba(47, 57, 35, 0.5);
    bottom: 0;
    color: white;
    padding: 20px 0;
    position: absolute;
    text-align: center;
    width: 100%;
}

img {
    max-width: 100%;
}

/* Elementos */

.btn {
    background-color: var(--dourado);
    border: 0;
    color: white;
    min-width: 120px;
    padding: 8px 16px;
    text-decoration: none;
}

.friso, .modal-friso {
    background-image: url('img/friso.png');
    background-position: center;
    background-size: cover;
    height: 55px;
    position: absolute;
    width: 100%;
}

.friso {
    bottom: 50%;
}

/* # Cabeçalho
--------------------------------------------------------------*/

.site-header {
    height: 100px;
    position: fixed;
    width: 100%;
    background-color: rgba(47, 57, 35, 0.99);
    z-index: 99;
}

@media screen and (min-width: 800px) {
    .site-header {
        height: 120px;
        background-color: rgba(47, 57, 35, 0);
    }
}

.site-header .conteudo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

.main-navigation {
    display: block;
}

.logo {
    width: 80px;
}

.site-header nav {
    width: 85%;
}

.site-header ul {
    display: none;
    list-style: none;
    height: 100%;
    width: 100%;
}

.site-header ul.abre {
    display: flex;
    flex-direction: column;
    position: absolute;
    background-color: rgba(47, 57, 35, 0.99);
    top: 84px;
    left: 0;
    right: 0;
    height: auto;
    padding: 50px;
}

.site-header ul.abre li {
    padding: 20px;
}

.site-header ul li {
    color: white;
    font-size: 20px;
}

.site-header ul li a {
    color: white;
    text-decoration: none;
}

.site-header ul li a:hover {
    color: var(--dourado);
}

.menu-destaque {
    background-color: var(--dourado);
    color: rgba(47, 57, 35, 0.99);
    padding: 4px 8px;
}

.menu-destaque a {
    color: rgba(47, 57, 35, 0.99) !important;
}

.menu-destaque a:hover {
    color: white !important;
}

.menu-toggle {
    float: right;
    border: 0;
    font-family: 'FontAwesome';
    font-size: 1.2em;
    background-color: transparent;
    color: var(--dourado);
    padding: 8px;
}

@media screen and (min-width: 800px) {
    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }
}

.texto {
    line-height: 1.2;
    max-width: 600px;
    text-align: center;
}

@media screen and (min-width: 800px) {
    .texto {
        text-align: initial;
    }
}

/* # Vitrine
--------------------------------------------------------------*/

#vitrine {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.vitrine-fundo {
    height: 100%;
    width: 100%;
}

.vitrine-fundo video {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 10;
}

/*
.vitrine-video-mascara {
    background-color: rgba(34, 38, 99, 0.25);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
}

*/

.vitrine-conteudo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 80px 10px 10px;
    text-align: center;
    z-index: 30;
}

.vitrine-titulo {
    color: var(--dourado);
    font-family: 'Americana BT', serif;
    font-weight: 700;
    line-height: 1.5;
    font-size: 24px;
    letter-spacing: 12px;
    margin-right: -12px;
}

@media screen and (min-width: 400px) {
    .vitrine-titulo {
        font-size: 32px;
        letter-spacing: 16px;
    }
}

@media screen and (min-width: 768px) {
    .vitrine-titulo {
        font-size: 36px;
        letter-spacing: 18px;
    }
}

@media screen and (min-width: 1000px) {
    .vitrine-titulo {
        font-size: 48px;
        letter-spacing: 25px;
    }
}

/* # Conceito
--------------------------------------------------------------*/

#conceito {
    padding: 150px 10px 75px;
    position: relative;
}

#conceito:after {
    background-color: #E9E7E9;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

#conceito .video {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 50px;
    max-width: 800px;
}

#conceito .video h2 {
    margin-bottom: 50px;
}

#conceito .conteudo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 820px;
}

#conceito .conteudo .esq {
    margin-bottom: 50px;
    padding: 0 10px;
}

@media screen and (min-width: 920px) {
    #conceito .conteudo {
        flex-direction: row;
        justify-content: center;
    }

    #conceito .conteudo .dir {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    #conceito .conteudo .dir .texto {
        padding-left: 50px;
    }
}

#conceito .conteudo .esq {
    max-width: 450px;
    padding: 10px;
    width: 100%;
}

/* Galho */
.encaixe-galho {
    overflow: clip;
    position: relative;
}

.encaixe-galho:after {
    background-image: url('img/galho-lateral.png');
    background-repeat: no-repeat;
    background-position: bottom right;
    bottom: 0;
    content: '';
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: -1;
}

@media screen and (max-width: 992px) {
    .encaixe-galho:after {
        background-size: contain;
        width: 50%;
        right: -45px;
    }
}

@media screen and (min-width: 993px) {
    .encaixe-galho:after {
        right: -150px;
    }
}

@media screen and (min-width: 1400px) {
    .encaixe-galho:after {
        right: -50px;
    }
}

@media screen and (min-width: 1500px) {
    .encaixe-galho:after {
        right: 0;
    }
}

@media screen and (min-width: 1650px) {
    .encaixe-galho:after {
        right: 50px;
    }
}

@media screen and (min-width: 1750px) {
    .encaixe-galho:after {
        right: 200px;
    }
}

.encaixe-galho .galho {
    bottom: -5px;
    display: none;
    position: absolute;
    right: 0;
    z-index: 0;
}

@media screen and (min-width: 800px) {
    .encaixe-galho .galho {
        display: block;
        right: -250px;
    }
}

@media screen and (min-width: 1150px) {
    .encaixe-galho .galho {
        right: -150px;
    }
}

@media screen and (min-width: 1400px) {
    .encaixe-galho .galho {
        right: -50px;
    }
}

@media screen and (min-width: 1500px) {
    .encaixe-galho .galho {
        right: 0;
    }
}

@media screen and (min-width: 1650px) {
    .encaixe-galho .galho {
        right: 50px;
    }
}

@media screen and (min-width: 1750px) {
    .encaixe-galho .galho {
        right: 200px;
    }
}

/* # Sustentabilidade
--------------------------------------------------------------*/

#sustentabilidade {
    padding: 150px 0 100px;
    position: relative;
}

#sustentabilidade .friso {
    bottom: 0;
    z-index: -1;
}

#sustentabilidade .conteudo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 10px;
    position: relative;
}

#sustentabilidade .conteudo .esq {
    margin-bottom: 50px;
    padding: 0 10px;
}

@media screen and (min-width: 800px) {
    #sustentabilidade .conteudo {
        flex-direction: row;
        justify-content: flex-start;
    }

    #sustentabilidade .conteudo .esq {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        min-width: 600px;
        max-width: 600px;
    }

    #sustentabilidade .conteudo .esq .texto {
        padding-left: 100px;
        padding-right: 50px;
    }
}

.selos {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 25px auto;
    max-width: 390px;
}

.saiba-texto {
    padding: 0 20px;
}

@media screen and (min-width: 640px) {
    .saiba-texto {
        columns: 2;
        padding: 0 50px;
    }
}

.texto-menor {
    font-size: 0.9em;
}

/* # Infraestrutura
--------------------------------------------------------------*/

#infraestrutura {
    padding: 150px 10px 75px;
}

#infraestrutura .conteudo {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 10px;
    text-align: center;
}

#infraestrutura .texto {
    margin: 0 auto 50px;
    max-width: 600px;
    text-align: center;
}

#infraestrutura h2 {
    text-align: center;
    text-indent: 0;
}

.infra-fotos {
    margin: 0 auto 50px;
    width: 100%;
}

.infra-fotos figure {
    position: relative;
    ;
    height: 67vw;
    margin-bottom: 4px;
}

@media screen and (min-width: 800px) {
    .infra-fotos {
        display: grid;
        grid-template-columns: 3fr 3fr 2fr 1fr 3fr;
        grid-template-rows: 440px 200px;
        /*grid-template-areas:
        "linha1a linha1a linha1a linha1b linha1b"
        "linha2a linha2b linha2c linha2d";    */
        gap: 4px;
        max-width: 1200px;
    }

    .infra-fotos figure {
        height: auto;
        margin: 0;
    }

    .linha1a {
        grid-area: 1 / 1 / 2 / 4;
    }

    .linha1b {
        grid-area: 1 / 4 / 2 / 6;
    }

    .linha2a {
        grid-area: 2 / 1 / 3 / 2;
    }

    .linha2b {
        grid-area: 2 / 2 / 3 / 3;
    }

    .linha2c {
        grid-area: 2 / 3 / 3 / 5;
    }

    .linha2d {
        grid-area: 2 / 5 / 3 / 6;
    }

    .infra-fotos figcaption {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        justify-content: center;
        align-items: center;
        background: transparent;
        display: flex;
        color: transparent;
    }

    .infra-fotos figcaption:hover {
        background-color: rgba(47, 57, 35, 0.5);
        color: white;
    }
}

.infra-fotos figure {
    background-size: cover;
    background-position: center;
}

/* # Plantas
--------------------------------------------------------------*/

#plantas {
    background-color: #ECEBEC;
    background-position: center right;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 150px 0 75px;
    position: relative;
}

@media screen and (min-width: 920px) {
    #plantas {
        background-image: url('img/plantas/plantas-fundo.jpg');
    }
}

#plantas .friso {}

#plantas .conteudo {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 10px;
    text-align: center;
}

#plantas .texto {
    margin: 0 auto 50px;
    max-width: 600px;
}

#plantas h2 {
    text-align: center;
    text-indent: 0;
}

.plantas-carrossel {
    margin: 0 auto;
    max-width: 800px;
}

.plantas-legendas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    font-size: 20px;
    margin: 40px auto;
    max-width: 640px;
    text-align: center;
}

.plantas-legendas div {
    margin-bottom: 25px;
    width: 160px;
}

/* # Localização
--------------------------------------------------------------*/

#localizacao {
    padding: 150px 0 75px;
    position: relative;
}

#localizacao .conteudo {
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 10px;
    text-align: center;
}

#localizacao .texto {
    margin: 0 auto 50px;
}

#localizacao h2 {
    margin-bottom: 50px;
    text-align: center;
    text-indent: 0;
}

#localizacao .friso {
    bottom: 650px;
    z-index: -1;
}

.folhas {
    display: none;
    position: absolute;
    top: 50px;
    left: -350px;
    z-index: -1;
}

@media screen and (min-width: 768px) {
    .folhas {
        display: block;
    }
}

@media screen and (min-width: 920px) {
    .folhas {
        left: -300px;
    }
}

@media screen and (min-width: 1080px) {
    .folhas {
        left: -200px;
    }
}

@media screen and (min-width: 1600px) {
    .folhas {
        left: -100px;
    }
}

@media screen and (min-width: 1720px) {
    .folhas {
        left: 0;
    }
}

.local-info {
    display: flex;
    flex-direction: column;
    margin: 24px auto;
    padding: 10px;
    text-align: left;
}

.local-texto {
    margin-bottom: 25px;
}

@media screen and (min-width: 768px) {
    .local-info {
        flex-direction: row;
    }

    .local-legenda {
        margin-left: 100px;
        min-width: 350px;
    }
}

ol {
    counter-reset: my-awesome-counter;
    list-style: none;
    margin: 0 auto;
    padding-left: 38px;
}

ol li {
    margin: 0 0 0.5rem 0;
    counter-increment: my-awesome-counter;
    position: relative;
}

ol li::before {
    content: counter(my-awesome-counter);
    color: white;
    font-weight: bold;
    position: absolute;
    --size: 22px;
    left: calc(-1 * var(--size) - 10px);
    line-height: var(--size);
    width: var(--size);
    height: var(--size);
    top: -2px;
    background: var(--dourado);
    border-radius: 50%;
    text-align: center;
}

.local-legenda img {
    height: 32px;
}

.bosco-legenda {
    display: flex;
}

.bosco-legenda p {
    margin: 0 auto 0 8px;
}

/* # Contato
--------------------------------------------------------------*/

#contato {
    background-image: url('img/be-fundo.png');
    background-size: cover;
    padding: 75px 10px;
}

#contato .conteudo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

@media screen and (min-width: 920px) {
    #contato .conteudo {
        flex-direction: row;
        justify-content: space-evenly;
    }
}

.contato-form {
    background-color: #EBE9E9;
    margin-bottom: 75px;
    max-width: 480px;
    padding: 50px 20px;
    width: 100%;
}

@media screen and (min-width: 920px) {
    .contato-form {
        padding: 50px;
    }
}

.contato-form form input[type='text'], .contato-form form input[type='tel'], .contato-form form input[type='email'], .contato-form form textarea {
    border: 0;
    margin-bottom: 8px;
    padding: 8px 12px;
    width: 100%;
}

.contato-form form input[type='submit'] {
    background: var(--dourado);
    border: 0;
    color: white;
    float: right;
    margin-bottom: 8px;
    padding: 4px 12px;
}

.contato-form form input[type='submit']:disabled {
    opacity: 0.5;
}

.contato-form form textarea {
    height: 72px;
    resize: none;
}

.contato-titulo {
    color: var(--dourado);
    font-family: 'Amalfi Coast', cursive;
    font-size: 48px;
}

.contato-form form {
    margin-top: 32px;
}

.contato-logo img {
    width: 120px;
}

.contato-logo {
    color: var(--dourado);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contato-logo p {
    margin: 0 auto;
    font-family: 'Americana BT', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 12px;
    line-height: 1.5;
    margin-right: -12px;
    text-transform: uppercase;
}

/* Rodapé */

.site-footer {
    background-color: #2F3923;
    color: white;
    font-size: 12px;
    padding: 50px 25px;
}

.site-footer a {
    color: white;
    font-weight: 700;
    text-decoration: none;
}

.rodape-infos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    font-size: 20px;
}

.rodape-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.rodape-logos img {
    margin: 0 8px;
}

.rodape-fones {
    text-align: center;
    margin-top: 8px;
}

.rodape-fones>* {
    margin: 0 4px;
}

.rodape-fones a {
    font-weight: 400;
}

.rodape-social {
    text-align: center;
    width: 100%;
    font-size: 24px;
    margin-top: 8px;
}

.rodape-social>* {
    margin: 0 4px;
}


@media screen and (min-width: 800px) {
    .rodape-logos {
        width: 360px;
    }

    .rodape-social {
        width: 100px;
    }
}

.rodape-texto {
    margin: 25px auto 0;
    max-width: 1200px;
    text-align: justify;
}

/* # Carrossel
--------------------------------------------------------------*/

.slick-prev {
    left: 5px;
    z-index: 1;
}

.slick-next {
    right: 5px;
    z-index: 1;
}

@media screen and (min-width: 920px) {
    .slick-prev {
        left: -25px;
        z-index: initial;
    }

    .slick-next {
        right: -25px;
        z-index: initial;
    }

    .slick-prev:before, .slick-next:before {
        color: var(--dourado);
    }
}

/* Modais */

.modal {
    color: white;
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(47, 57, 35);
    background-color: rgba(47, 57, 35, 0.99);
    z-index: 99;
    left: 10px;
    top: 120px;
    right: 10px;
    bottom: 20px;
}

.modal-friso {
    bottom: 2%;
}

@media screen and (max-height: 640px) {
    .modal-friso {
        display: none;
    }
}

@media screen and (min-width: 640px) {
    .modal {
        left: 50px;
        right: 50px;
        bottom: 50px;
    }
}

.modal-titulo {
    color: var(--dourado);
    font-family: 'Amalfi Coast', cursive;
    font-size: 24px;
    margin: 25px auto;
    text-align: center;
}

/* Modal Content/Box */

.modal-content {
    padding: 20px;
}

/* The Close Button */

.btn-close {
    color: var(--dourado);
    font-size: 36px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.btn-close:hover, .btn-close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.area-texto {
    text-align: center;
}

@media screen and (min-width: 920px) {
    .modal {
        left: 50px;
        top: 150px;
        right: 50px;
        bottom: 50px;
    }

    .modal-friso {
        bottom: 5%;
    }

    .modal-titulo {
        font-size: 32px;
    }
}

/* # Privacidade
--------------------------------------------------------------*/

#privacidade {
    background-color: rgba(47, 57, 35, 0.95);
    color: white;
    padding: 200px 0 75px;
    position: relative;
}

#privacidade a {
    color: white;
    font-weight: 700;
    text-decoration: none;
}

@media screen and (min-width: 600px) {
    #privacidade {}
}

#privacidade .conteudo {
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.5;
    padding: 0 20px;
}

#privacidade .texto {
    margin: 0 auto 50px;
    max-width: 600px;
}

#privacidade h2 {
    text-align: center;
    text-indent: 0;
}

/* WhatsApp */
/* WhatsApp v2 com Fale Conosco */
.floating {
    align-items: center;
    justify-content: center;
    display: flex;
    position: fixed;
    bottom: 25px;
    right: 25px;
    padding: 10px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    z-index: 100;
    text-decoration: none;
}

.floating span {
    font-size: 18px;
    margin: 0px 15px;
}

.floating:hover {
    background-color: #03b144;
    transition: background-color 0.5s;
    -webkit-transition: background-color 0.5s;
    -moz-transition: background-color 0.5s;
    -ms-transition: background-color 0.5s;
    -o-transition: background-color 0.5s;
}

.float-button {
    font-size: 28px;
}