/*************************************************************
  HEADER
**************************************************************/
header {
    position: relative;
    min-height: 90vh;
    width: 100%;
    transform-style: inherit;
    z-index: -1;
}

header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: block;
    background: url("Images/banner-initial.jpeg") top center;
    background-size: cover;
    transform: translateZ(-1px) scale(2.1);
    background-color: rgba(0, 0, 0, 0.99);
    min-height: 100%;
    z-index: -2;
}


/*************************************************************
  SECTIONS
**************************************************************/
section {
    position: relative;
    width: 100%;
    position: relative;
    transform-style: inherit;
}

.section1 {
    background: #fafafa;
    box-shadow: 0 0 20px #333;
    z-index: 1;
}

.section2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: block;
    background-size: cover;
    transform: translateZ(-.5px) scale(1.6);
    z-index: -1;
}

.section3::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: block;
    background-size: cover;
    transform: translateZ(-.5px) scale(1.6);
    z-index: -1;
}

/*************************************************************
  HEADINGS
**************************************************************/
h1 {
    font-size: 4rem;
    text-align: center;
    position: absolute;
    padding: 1rem;
    background: #fafafa;
    box-shadow: 0 0 20px #333;
    top: 50%;
    left: 50%;
    transform: translateZ(-1px) scale(2) translate(-25%, -25%);
}

.logo-header {
    position: absolute;
    top: 50%;
    left: 50%;
}

.section1 h1 {
    z-index: 3;
    transform: translate(-50%, -50%);
    box-shadow: none;
}

.section2 h1 {
    transform: translateZ(-.3px) scale(1.3) translate(-39%, -39%);
    z-index: 3;
}

.section3 h1 {
    transform: translateZ(-.3px) scale(1.3) translate(-39%, -39%);
    z-index: 3;
}

/*************************************************************
  BASIC STYLES
**************************************************************/
*,
*::before,
*::after,
:root {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import 'https://fonts.googleapis.com/css?family=Overlock:400,400i,700|Oleo+Script';

html {
    overflow: hidden;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    border: 0;
    padding: 0;
    overflow-x: hidden !important;
    overflow-y: scroll;
    height: 100%;
    perspective: 1px;
    transform-style: preserve-3d;
    font-size: 62.5%;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #EFEFEF;
}

.card {
    border: 1px solid #ccc;
    margin: 10px;
    padding: 15px;
    border-radius: 5px;
    background-image: linear-gradient(
            to bottom,
            hsla(0, 0%, 0%, 0) 0%,
            hsla(0, 0%, 0%, 0.009) 11.7%,
            hsla(0, 0%, 0%, 0.034) 22.1%,
            hsla(0, 0%, 0%, 0.072) 31.2%,
            hsla(0, 0%, 0%, 0.123) 39.4%,
            hsla(0, 0%, 0%, 0.182) 46.6%,
            hsla(0, 0%, 0%, 0.249) 53.1%,
            hsla(0, 0%, 0%, 0.320) 58.9%,
            hsla(0, 0%, 0%, 0.394) 64.3%,
            hsla(0, 0%, 0%, 0.468) 69.3%,
            hsla(0, 0%, 0%, 0.540) 74.1%,
            hsla(0, 0%, 0%, 0.607) 78.8%,
            hsla(0, 0%, 0%, 0.668) 83.6%,
            hsla(0, 0%, 0%, 0.721) 88.7%,
            hsla(0, 0%, 0%, 0.762) 94.1%,
            hsla(0, 0%, 0%, 0.790) 100%
    );
}

.content {
    text-align: center;
}

.title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.copy {
    font-size: 1em;
    margin-bottom: 15px;
}

.btn {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}

@import url('https://fonts.googleapis.com/css?family=Cardo:400i|Rubik:400,700&display=swap');

:root {
    --d: 700ms;
    --e: cubic-bezier(0.19, 1, 0.22, 1);
    --font-sans: 'Rubik', sans-serif;
    --font-serif: 'Cardo', serif;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    display: grid;
    place-items: center;
}

.page-content {
    display: grid;
    grid-gap: 1rem;
    padding: 1rem;
    max-width: 1024px;
    margin: 0 auto;
    font-family: var(--font-sans);
}

@media (min-width: 600px) {
    .page-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 800px) {
    .page-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 1rem;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    text-align: center;
    color: whitesmoke;
    -webkit-box-shadow: 3px 8px 15px -6px #efefef;
    box-shadow: 3px 8px 15px -6px #efefef;
}

@media (min-width: 600px) {
    .card {
        height: 350px;
    }
}

.card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: 0 0;
    transition: transform calc(var(--d) * 1.5) var(--e);
    pointer-events: none;
}

.card:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    pointer-events: none;
    background-image: linear-gradient(
            to bottom,
            hsla(0, 0%, 0%, 0) 0%,
            hsla(0, 0%, 0%, 0.009) 11.7%,
            hsla(0, 0%, 0%, 0.034) 22.1%,
            hsla(0, 0%, 0%, 0.072) 31.2%,
            hsla(0, 0%, 0%, 0.123) 39.4%,
            hsla(0, 0%, 0%, 0.182) 46.6%,
            hsla(0, 0%, 0%, 0.249) 53.1%,
            hsla(0, 0%, 0%, 0.320) 58.9%,
            hsla(0, 0%, 0%, 0.394) 64.3%,
            hsla(0, 0%, 0%, 0.468) 69.3%,
            hsla(0, 0%, 0%, 0.540) 74.1%,
            hsla(0, 0%, 0%, 0.607) 78.8%,
            hsla(0, 0%, 0%, 0.668) 83.6%,
            hsla(0, 0%, 0%, 0.721) 88.7%,
            hsla(0, 0%, 0%, 0.762) 94.1%,
            hsla(0, 0%, 0%, 0.790) 100%
    );
    transform: translateY(-50%);
    transition: transform calc(var(--d) * 2) var(--e);
}

.card:nth-child(1):before {
    background-image: url("Images/melhoriacontinua.png");
    background-color: #1a1d20;
}

.card:nth-child(2):before {
    background-image: url("Images/valor02.png");
    background-color: #1a1d20;
}

.card:nth-child(3):before {
    background-image: url("Images/Responsabilidade Social.png");
    background-color: #1a1d20;
}

.card:nth-child(4):before {
    background-image: url("Images/colaboracao.png");
    background-color: #1a1d20;
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1rem;
    transition: transform var(--d) var(--e);
    z-index: 1;
}

.content > * + * {
    margin-top: 1rem;
}

.title {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.2;
}

.copy {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.35;
}
/*
.btn {
    cursor: pointer;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.025rem;
    text-transform: uppercase;
    color: white;
    background-color: black;
    border: none;
}

.btn:hover {
    background-color: #333;
}

.btn:focus {
    outline: 1px dashed yellow;
    outline-offset: 3px;
}
*/
@media (hover: hover) and (min-width: 600px) {
    .card:after {
        transform: translateY(0);
    }

    .content {
        transform: translateY(calc(100% - 4.5rem));
    }

    .card:hover,
    .card:focus-within {
        align-items: center;
    }

    .card:hover:before {
        transform: translateY(-4%);
    }

    .card:hover:after {
        transform: translateY(-50%);
    }

    .content {
        transform: translateY(0);
    }

    .content > *:not(.title) {
        opacity: 1;
        transform: translateY(0);
        transition-delay: calc(var(--d) / 8);
    }

    .card:focus-within {
        .card:before,
        .card:after,
        .content,
        .content > *:not(.title) {
            transition-duration: 0s;
        }
    }
}
.bg-primary {
    background: linear-gradient(to top, #fff 0%, #486c34 3%) !important;
    color: #fff !important;

}

.bg-primary-bottom {
    background: #486c34;
    color: #fff !important;
}
.color-energiamt{
    color: #486c34 !important;
}
.color-verde-escuro {
    color: #083a24 !important;
}
.text-justify{
    text-align: justify !important;
}