@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap');

/* Geral */

body {
    padding: 0px;
    margin: 0px;
    background-color: rgb(231, 231, 231);
    font-size: 18px;
}

h2 {
    font-family: Roboto;
    font-weight: 500;
    font-size: 31.5px;
    line-height: 45px;
    text-align: left;
    color: #414E3C;
}

h2::after {
    content: ' ';
    display: block;
    width: 80px;
    height: 4px;
    background: #bddeb0;
    margin-bottom: 30px;
    -webkit-box-shadow: 2px 2px 0px 0px rgba(8, 105, 67, 1);
    -moz-box-shadow: 2px 2px 0px 0px rgba(8, 105, 67, 1);
    box-shadow: 2px 2px 0px 0px rgba(8, 105, 67, 1);
}

h4 {
    font-family: Roboto;
    font-weight: 500;
    font-size: 27px;
    line-height: 45px;
    text-align: left;
    color: #fff;
}

h4:after {
    content: ' ';
    display: block;
    width: 60px;
    height: 2px;
    background: #bddeb0;
    margin-bottom: 30px;
    -webkit-box-shadow: 2px 2px 0px 0px rgba(8, 105, 67, 1);
    -moz-box-shadow: 2px 2px 0px 0px rgba(8, 105, 67, 1);
    box-shadow: 2px 2px 0px 0px rgba(8, 105, 67, 1);
}

h5 {
    font-family: Roboto;
    font-size: 22.5px;
    text-align: left;
    color: #414E3C;
    margin: 20px 0px;
}

h5:after {
    content: ' ';
    display: block;
    width: 60px;
    height: 3px;
    border-radius: 1.5px;
    background: #bddeb0;
    margin-bottom: 5px;
    -webkit-box-shadow: 2px 2px 0px 0px rgba(8, 105, 67, 1);
    -moz-box-shadow: 2px 2px 0px 0px rgba(8, 105, 67, 1);
    box-shadow: 2px 2px 0px 0px rgba(8, 105, 67, 1);
}

p {
    font-family: Roboto;
    font-size: 18px;
    font-weight: 300;
    line-height: 2;
    text-align: justify;
    color: #5A5A5A;
    hyphens: auto;
}


/* Navbar */

.navbar-custom {
    background-color: white;
    padding: 10px 60px 15px 60px;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.16);
    font-size: 1.125em;
}

.navbar-brand {
    display: block;
    width: 263px;
    height: 52px;
    background-image: url("../img/topmilk.png");
    background-size: cover;
    background-position-x: left;
    background-position-y: center;
    background-repeat: no-repeat;
}

.nav-link {
    margin-right: 40px;
    color: #434343 !important;
    display: block;
    position: relative;
    padding-bottom: 7px;
}

.nav-link::before {
    position: absolute;
    content: "";
    left: 10%;
    bottom: 2px;
    width: 0%;
    height: 4px;
    background-color: #BDDEB0;
    transition: 150ms;
    z-index: 5;
}

.nav-link::after {
    position: absolute;
    content: "";
    left: calc(10% + 2px);
    bottom: 0px;
    width: 0%;
    height: 4px;
    background-color: #086943;
    transition: 150ms;
    z-index: 2;
}

.nav-link:last-child {
    margin-right: 0px;
}

.nav-link:focus::after,
.nav-link:focus::before,
.nav-link:hover::after,
.nav-link:hover::before,
.nav-link.active::after,
.nav-link.active::before {
    width: calc(80% - 2px);
    transition: 150ms;
}


/* mobile */

.navbar-toggler {
    border: none;
    border-radius: 0px;
    outline: none !important;
    width: 40px;
    height: 40px;
    overflow: hidden;
    padding: 5px !important;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .navbar-nav {
        align-items: center;
        padding: 2em;
    }
    .nav-link {
        margin-right: 0px;
        margin-bottom: 15px;
    }
    .nav-link:last-child {
        margin-bottom: 0px;
    }
}

@media (max-width: 575px) {
    .navbar-custom {
        padding: 10px 7% 15px 7%;
    }
    .navbar-brand {
        width: 170px;
        background-size: contain;
    }
    .nav-link::after,
    .nav-link::before {
        left: 25%;
        height: 3px;
        border-radius: 20%;
    }
    .nav-link:focus::after,
    .nav-link:focus::before,
    .nav-link:hover::after,
    .nav-link:hover::before,
    .nav-link.active::after,
    .nav-link.active::before {
        width: 50%;
    }
    .navbar-nav {
        align-items: center;
        padding: 1.1em;
    }
}


/* HOME */


/* Carousel */

.carousel-caption {
    width: 25%;
    min-height: 250px;
    border-radius: 10px;
    background: #fff;
    opacity: 0.9;
    box-shadow: 0px 3px 5px rgba(54, 54, 54, 0.5);
    position: absolute;
    bottom: calc(50% - 300px / 2);
    z-index: 10;
    color: #fff;
    text-align: center;
    left: calc(50%) !important;
    padding: 20px;
    box-sizing: border-box;
}

.carousel-caption h3 {
    font-family: Roboto;
    font-size: 28px;
    line-height: 45px;
    text-align: center;
    color: #1c1c1c;
}

.carousel-caption h3:after {
    content: ' ';
    display: block;
    margin: 0 auto;
    width: 60px;
    height: 2px;
    background: #bddeb0;
    margin-bottom: 30px;
    -webkit-box-shadow: 2px 2px 0px 0px rgba(8, 105, 67, 1);
    -moz-box-shadow: 2px 2px 0px 0px rgba(8, 105, 67, 1);
    box-shadow: 2px 2px 0px 0px rgba(8, 105, 67, 1);
}

.carousel-caption p {
    font-family: Roboto;
    font-size: 18px;
    line-height: 2;
    text-align: center;
    color: #5a5a5a;
}

.section-h_empresa {
    background: #FFF;
    background-image: url(../img/bgHomeEmpresa.png);
    /*, linear-gradient(to top, transparent, rgba(255, 255, 255, 1));*/
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 80px 0px;
}

.section-h_produtos {
    background: #FFF;
    padding: 80px 0px;
}

.card-produto {
    width: 30%;
    min-height: 450px;
    border-radius: 10px;
    background: linear-gradient(#bddeb0 0%, #84c968 100%);
    box-sizing: border-box;
    padding: 5px;
}

.card-produto img {
    border-radius: 10px;
}

.card-produto h3 {
    text-align: center;
}

.card-produto h3 a {
    font-family: Roboto;
    font-size: 22px;
    text-align: center;
    color: #fff;
}

.card-produto h3 a:hover {
    text-decoration: none;
    color: #DEDEDE;
}

.section-h_quebra {
    height: 350px;
    background-image: url(../img/bgQuebra.png);
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-h_quebra .destaque {
    font-size: 40px;
    color: #FFF;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    width: 80%;
}


/* COTAÇÕES */

.grid-cotacoes {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.grid-cotacoes .cotacao {
    background: #EFEFEF;
    padding: 25px;
    border-radius: 20px;
    box-sizing: border-box;
    width: 18%;
}

.grid-cotacoes .cotacao-nome {
    font-size: 16px;
    color: #999;
    font-weight: bold;
    width: 100%;
    display: block;
}

.grid-cotacoes .cotacao-valor {
    font-size: 30px;
    color: #333;
    text-transform: uppercase;
    font-weight: bold;
    width: 100%;
}

.grid-cotacoes .cotacao-data {
    font-size: 13px;
    color: #999;
    width: 100%;
    display: block;
    font-style: italic;
}

.section-h_cotacoes {
    /*height: 400px;*/
    background: #FFF;
    padding: 80px 0px;
}

footer {
    padding: 80px 0px 10px 0px;
    background: #5a5a5a;
}

footer p {
    font-family: Roboto;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
    color: #fff;
}

footer a {
    font-weight: 500;
    color: #FFF;
}

footer a:hover {
    color: #DEDEDE;
    text-decoration: none;
}

.box-outras-linhas {
    background: #FFF;
    padding: 50px 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

footer hr {
    margin-top: 40px;
    background: #DEDEDE;
}

footer p.direitos {
    font-size: 14px;
    margin: 0px;
}


/* EMPRESA /*/

.section-e_cabecalho {
    background-image: url(../img/bgEmpresa.png);
    /*, linear-gradient(to top, transparent, rgba(255, 255, 255, 1));*/
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 150px 0px;
    background-size: cover;
}

.section-e_empresa {
    background: #FFF;
    background-image: url(../img/bgHomeEmpresa.png);
    /*, linear-gradient(to top, transparent, rgba(255, 255, 255, 1));*/
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 80px 0px;
}

.grid-empresa {
    border-radius: 10px;
    background: linear-gradient(#5dcfaf 0%, #37997d 100%);
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.grid-empresa img {
    width: 20%;
}


/* PRODUTOS */

.section-p_cabecalho {
    background-image: url(../img/bgProdutos.png);
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 150px 0px;
    background-size: cover;
}

.section-p_produtos {
    background: #FFF;
    padding: 80px 0px;
}

.grid-produtos {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.grid-produtos .card-produto {
    margin: 10px;
}


/* DETALHE */

.section-detalhe {}


/* CONTATO */

.section-contato {
    background: #FFF;
    padding: 80px 0px;
}

.section-contato p a {
    text-decoration: none;
    color: #5A5A5A;
    font-weight: 500;
}

.section-contato p a:hover {
    color: #333;
}

.mapa {
    position: relative;
    width: 100%;
    height: 400px;
}

.mapa iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.box-contato {
    border-radius: 10px;
    background: linear-gradient(#f6f6f6 0%, #e2e2e2 100%);
    margin-top: 40px;
    padding: 30px;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 2.5rem !important;
}

label {
    font-family: Roboto;
    font-size: 18px;
    text-align: left;
    color: #5a5a5a;
}

input,
textarea {
    border: 2px solid #bddeb0 !important;
    background: #FFF;
}

textarea {}

.form-control:focus {
    color: #37997d;
    box-shadow: 0 0 0 .2rem rgba(189, 222, 176, 0.25);
}

.btnEnviar {
    width: 139px;
    height: 44px;
    background: linear-gradient(#bddeb0 0%, #84c968 100%);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    font-family: Roboto;
    font-weight: normal;
    font-size: 20px;
    text-align: center;
    color: #fff;
    float: right;
}

#whatsapp {
    padding: 10px;
    position: fixed;
    top: 90%;
    right: 20px;
    font-size: 30px;
}

#whatsapp img {
    width: 48px;
    height: 48px;
}


/* RESPONSIVO */

@media(max-width: 1366px) {
    .carousel-caption {
        width: 50%;
        bottom: 15%;
        left: calc(25%) !important;
    }
    .carousel-item img {
        width: 100%;
    }
}

@media(max-width: 1200px) {
    .carousel-caption {
        bottom: 10%;
    }
    .carousel-item img {
        width: 100%;
    }
    .carousel-caption h3 {
        font-size: 22px;
        line-height: 30px;
    }
    .carousel-caption p {
        font-size: 18px;
        line-height: 1.2;
    }
    .section-h_quebra .destaque {
        font-size: 40px;
    }
    .grid-cotacoes {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .grid-cotacoes .cotacao {
        padding: 20px;
        border-radius: 15px;
        width: 18%;
    }
    .grid-cotacoes .cotacao-nome {
        font-size: 13px;
    }
    .grid-cotacoes .cotacao-data {
        font-size: 11px;
    }
    .grid-cotacoes .cotacao-valor {
        font-size: 25px;
    }
    .card-produto {
        min-height: auto !important;
    }
}

@media(max-width: 992px) {
    .grid-cotacoes {
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .grid-cotacoes .cotacao {
        padding: 25px;
        border-radius: 20px;
        width: 48%;
        margin-bottom: 20px;
    }
    .grid-cotacoes .cotacao-nome {
        font-size: 16px;
        color: #999;
        font-weight: bold;
        width: 100%;
        display: block;
    }
    .grid-cotacoes .cotacao-data {
        font-size: 12px;
    }
    .grid-cotacoes .cotacao-valor {
        font-size: 26px;
        color: #333;
        text-transform: uppercase;
        font-weight: bold;
        width: 100%;
    }
    .carousel-caption h3 {
        font-size: 22px;
        line-height: 30px;
    }
    .carousel-caption p {
        font-size: 16px;
        line-height: 1.1;
    }
}

@media(max-width: 768px) {
    .grid-produtos {
        justify-content: center;
    }
    .card-produto {
        width: 80%;
        min-height: auto !important;
    }
    .section-h_quebra .destaque {
        font-size: 23px;
        color: #FFF;
        text-transform: uppercase;
        font-weight: bold;
        text-align: center;
        width: 80%;
    }
    .carousel-item img {
        height: 50vh;
    }
    .carousel-caption {
        width: 80%;
        min-height: 250px;
        border-radius: 10px;
        background: #fff;
        opacity: 0.85;
        box-shadow: 0px 3px 5px rgba(54, 54, 54, 0.8);
        position: absolute;
        bottom: 15%;
        z-index: 10;
        color: #fff;
        text-align: center;
        left: calc(10%) !important;
        padding: 10px;
        box-sizing: border-box;
    }
    .carousel-caption h3 {
        font-size: 18px;
        line-height: 30px;
    }
    .carousel-caption h3:after {
        content: ' ';
        display: block;
        width: 60px;
        height: 2px;
        margin: 10px auto;
        background: linear-gradient(#bddeb0 0%, #84c968 100%);
    }
    .carousel-caption p {
        font-size: 14px;
        line-height: 1.2;
    }
}

@media(max-width: 480px) {
    .carousel-item img {
        height: 50vh;
    }
    .carousel-caption {
        width: 80%;
        min-height: 250px;
        border-radius: 10px;
        background: #fff;
        opacity: 0.85;
        box-shadow: 0px 3px 5px rgba(54, 54, 54, 0.8);
        position: absolute;
        bottom: 15%;
        z-index: 10;
        color: #fff;
        text-align: center;
        left: calc(10%) !important;
        padding: 10px;
        box-sizing: border-box;
    }
    .carousel-caption h3 {
        font-size: 18px;
        line-height: 30px;
    }
    .carousel-caption h3:after {
        content: ' ';
        display: block;
        width: 60px;
        height: 2px;
        margin: 10px auto;
        background: linear-gradient(#bddeb0 0%, #84c968 100%);
    }
    .carousel-caption p {
        font-size: 14px;
        line-height: 1.2;
    }
}

@media(max-width: 420px) {
    .grid-produtos {
        justify-content: center;
    }
    .card-produto {
        width: 80% !important;
        min-height: auto !important;
    }
    .section-h_quebra .destaque {
        font-size: 23px;
        color: #FFF;
        text-transform: uppercase;
        font-weight: bold;
        text-align: center;
        width: 80%;
    }
    .grid-cotacoes {
        flex-wrap: wrap;
    }
    .grid-cotacoes .cotacao {
        width: 48%;
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 10px;
    }
    .grid-cotacoes .cotacao-nome {
        font-size: 13px;
    }
    .grid-cotacoes .cotacao-data {
        font-size: 11px;
    }
    .grid-cotacoes .cotacao-valor {
        font-size: 20px;
    }
    .carousel-item img {
        height: 50vh;
    }
    .carousel-caption {
        width: 80%;
        min-height: 250px;
        border-radius: 10px;
        background: #fff;
        opacity: 0.85;
        box-shadow: 0px 3px 5px rgba(54, 54, 54, 0.8);
        position: absolute;
        bottom: 15%;
        z-index: 10;
        color: #fff;
        text-align: center;
        left: calc(10%) padding: 10px;
        box-sizing: border-box;
    }
    .carousel-caption h3 {
        font-size: 18px;
        line-height: 30px;
    }
    .carousel-caption h3:after {
        content: ' ';
        display: block;
        width: 60px;
        height: 2px;
        margin: 10px auto;
        background: linear-gradient(#bddeb0 0%, #84c968 100%);
    }
    .carousel-caption p {
        font-size: 14px;
        line-height: 1.2;
    }
}