:root{

    --clr-000: #1E1E1E;
    --clr-111: #FFFFFF;

    --clr-cyan: #097B68;
    --clr-red: #BF2027;

}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    word-wrap: normal;
    overflow-x: hidden;
}

body, html{
    font-family: 'Trebuchet MS', system-ui, -apple-system, sans-serif;
    font-display: swap;
    line-height: 150%;
    font-size: large;
    color: var(--clr-000);
    background-color: var(--clr-111);
}

.sr-only {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

h1, h2, h3{
    display: inline;
}

img{
    width: 100%;
}

main{
    min-height: 80vh;
}

/* header */
header{
    background-image: url('../img/headerImg.webp');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    img{
        max-width: 100%;
        width: 300px;
    }
}
@media screen and (max-width: 599px) {
    header{
        img{
            margin: 20px 10px;
        }
    }
}

.logotipo{
    background: linear-gradient(70deg, var(--clr-111) 80%, transparent 20%);
    width: fit-content;
    height: 100%;
    padding: 50px 130px 30px 80px;
}
header{
    padding-bottom: 50px;
}

.boxHeader {
    width: 100%;
    height: auto;
    color: var(--clr-111);
    background: var(--clr-cyan);
    padding: 50px;
    font-size: x-large;
}

@media screen and (max-width: 869.98px) {
    header{
        background-position: bottom left;
        padding-bottom: 70%;
    }
    .logotipo{
        background-color: var(--clr-111);
        width: 100%;
        padding: 30px 20px;
        text-align: center;
    }
    
}

@media screen and (min-width: 870px) {
    .boxHeader {
        width: 80%;
        background: url('../img/boxHeaderImg.svg') no-repeat left top / 50% 100%,
            linear-gradient(to right,  var(--clr-cyan) 40%, transparent 50%); 
            background-size: cover;
            background-position: right center;
            padding: 50px 200px 50px 50px;
    }
}

@media screen and (min-width: 1400px) {
    .boxHeader{
        background: url('../img/boxHeaderImg.svg') no-repeat right top / 50% 100%,
        linear-gradient(to right,  var(--clr-cyan) 80%, transparent 90%); 
        background-size: contain;
    }
}

.btn01, .btn02{
    border-radius: 10px;
    padding: 8px 60px;
    text-decoration: none;
    display: block;
    width: fit-content;
    text-align: center;
}
.btn01{
    background-color: var(--clr-111);
    color: var(--clr-000);
    font-weight: 700;
}
.btn02{
    background-color: var(--clr-red);
    color: var(--clr-111);
    margin: 30px auto 50px;
}

@media screen and (max-width: 869px) {
    .btn01{
        margin: auto;
    }
}

/* intro section */
.intro{
    padding: 50px;
    p{
        margin: 10px 0;
    }
}
.compromisso{
    padding: 50px;
    align-items: center;
    img{
        width: 100%;
        max-width: 400px;
        height: auto;
        margin: 10px auto 50px;
    }
}

@media screen and (min-width: 992px) {
    .intro{
        padding: 100px;
    }
    .compromisso{
        padding: 100px;
        justify-content: space-around;
        flex-wrap: nowrap!important;
        img{
            margin: 0;
        }
        p{
            width: 50%;
        }
    }
}

h1{
    line-height: 150%;
    font-weight: lighter;
}
hr{
    margin: 20px 0;
    border: none;
    height: 3px;
    background-color: var(--clr-111);
    margin-bottom: 30px;
}


/* box titulos/textos */
.imgBox{
    position: relative;
    overflow: visible;

    img{
        width: 100%;
        height: 400px;
        object-fit: cover;
    }
}
.imgBox-mtop{
    margin-top: 100px;
}
.imgBox-mbottom{
    margin-bottom: 100px;
}

.textLeft {
    width: 100%;
    height: auto;
    color: var(--clr-111);
    background: url('../img/textLeft.svg') no-repeat left top / 50% 100%, /* SVG on the left half */
        linear-gradient(to right,  var(--clr-cyan) 0%, transparent 80%); 
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center right;
    
    padding: 50px 200px 50px 50px;

    font-size: x-large;
}
.textLeft-absolute {
    position: absolute;    
    bottom: -100px;
    left: 0;
    z-index: 2;
}

.textRight{
        width: 100%;
        height: auto;
        color: var(--clr-111);
        background: url('../img/textRight.svg') no-repeat left top / 50% 100%,
        linear-gradient(to right, transparent 50%, var(--clr-red) 0%); 
        background-repeat: no-repeat;
        background-size: auto 100%;
        background-position: center left;
        padding: 50px 50px 50px 150px;

        h2{
            font-size: xx-large;
            font-weight: 500;
        }
}
.textRight-absolute{
    position: absolute;
    right: 0;
    top: -100px;
    z-index: 2;
}
.textRight-absolute-bottom{
    position: absolute;    
    bottom: -100px;
    right: 0;
}
@media screen and (max-width: 499px){
    .textRight{
        background: var(--clr-red);
        padding: 50px 30px;
    }
    .textLeft, .parceirosBox{
        background: var(--clr-cyan);
        padding: 50px 30px;
    }
}

@media screen and (min-width: 769px) {
    .textRight, .textLeft, .parceirosBox{
        width: 80%;
    }
}
@media screen and (min-width: 992px) {
    .textRight, .textLeft, .parceirosBox{
        width: 60%;
    }
}

@media screen and (min-width: 1500px) {
    .textLeft{
        background: url('../img/textLeft.svg') no-repeat right top / 50% 100%,
        linear-gradient(to right, var(--clr-cyan) 60%, transparent 70%); 
        background-size: contain;
    }
    .textRight{
        background: url('../img/textRight.svg') no-repeat left top / 50% 100%,
        linear-gradient(to right, transparent 30%, var(--clr-red) 40%); 
        background-size: contain;
    }
}

.parceirosBox {
    width: 80%;
    height: auto;
    color: var(--clr-111);
    background: url('../img/textLeft.svg') no-repeat left top / 50% 100%,
        linear-gradient(to right,  var(--clr-cyan) 40%, transparent 50%); 
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center right;
    
    padding: 50px 200px 50px 50px;

    font-size: x-large;
}
@media screen and (max-width: 939px) {
    .parceirosBox {
        width: 100%;
        background: url('../img/textLeft.svg') no-repeat left top / 50% 100%,
            linear-gradient(to right,  var(--clr-cyan) 40%, transparent 50%); 
            background-size: cover;
            background-position: right center;
    }
}

/* produtos */
.produtos{
    background: url('../img/products.png') no-repeat;
    background-size: 100%;
    background-position: left bottom;

    row-gap: 50px;
    justify-content: space-around;
    div{
        width: 100%;
    }   
    p{
        margin-top: 10px;
    }
}

@media screen and (min-width: 576px) {
    .produtos div{
            width: 45%;
        }
}
@media screen and (min-width: 769px) {
    .produtos{
        background-size: 40%;
        div{
            width: 40%;
        }
    }
}

span{
    color: var(--clr-cyan);
    font-weight: bold;
    font-size: x-large;
}

.sliding-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    display: flex;
  }
  
  .sliding-image img {
    height: 100%;
    flex-shrink: 0;
    animation: slide-right 10s linear infinite;
    object-fit: contain;
  }
  
  @keyframes slide-right {
    0% {
      transform: translateX(0); 
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  @media screen and (max-width: 769px) {
    .sliding-image img {
        min-height: 300px;
        object-fit: cover;
        width: auto;
      }
  }

/* missao visao valores */
.mvv{
    display: grid;
    grid-template-columns: 60% 40%;
    row-gap: 50px;
    margin: 50px 0;

    div{
        height: fit-content;
    }

    p{
        margin-top: 10px;
    }
}
.boxMissaoVisao, .boxValores{
    padding: 0 50px;
}
.boxValores{
    order: 1;
    grid-column-start: 1;
    grid-column-end: 3;

    display: flex;
    flex-wrap: wrap;

    div{
        width: 100%;
    }
    span{
        margin-bottom: -30px;
    }
}
.boxImg{
    order: 2;
    grid-column-start: 1;
    grid-column-end: 3;
    text-align: right;

        img{
            width: 100%;
            height: auto;
            object-fit: contain;
        }
}
.boxMissaoVisao{
    grid-column-start: 1;
    grid-column-end: 3;
    order: 0;
}

@media screen and (min-width: 769px) {
    .mvv{
        column-gap: 30px;
        margin: 100px 0;
    }
    .boxMissaoVisao, .boxValores{
        padding: 0 100px;
        align-self: center;
    }
    .boxValores{
        order: 2;
        justify-content: space-around;
        div{
            width: 30%;
        }
        span{
            width: 100%;
            text-align: center;
            margin-bottom: 0;
        }
    }
    .boxMissaoVisao{
        grid-column-start: 1;
        grid-column-end: 2;
    }
    .boxImg{
        order: 1;
        grid-column-start: 2;
        grid-column-end: 3;
        img{
            width: auto;
            height: 500px;
        }
    }
    
}

/* parceiros */
.parceiros{
    justify-content: space-around;
    h3{
        width: 100%;
        overflow: visible;
        margin-bottom: 50px;
    }
    img{
        width: 100%;
        max-width: 12%;
        height: 100px;
        object-fit: contain;
    }
}

@media screen and (max-width: 576px) {
    .parceiros {
        img{
            max-width: 45%;
            height: auto;
        }
    }
}
@media screen and (max-width: 768.98px){
    .parceiros{
        background-color: var(--clr-cyan);
        width: 100%;
        padding: 50px;
        text-align: center;
        img{
        max-width: 20%;
        height: auto;
        }
    }
}

/* footer */
footer{
    display: grid;
    grid-template-columns: 1fr;

    margin-top: 50px;    
    img{
        order: 0;
        width: 100%;
        max-width: 350px;
        height: auto;
        margin: 30px auto;
        padding: 0 10px;
    }
    div{
        background: url('../img/footerBackground.svg') no-repeat;
        background-size: cover;
        background-position: center left;
        color: var(--clr-111);
        padding: 20px 50px 20px 250px;
        align-content: center;
    }
    li{
        margin: 10px 0;
        display: flex;
        align-items: center;
        a{
            text-decoration: none;
            color: var(--clr-111);
        }
        svg{
            margin-right: 10px;
        }
    }
}

@media screen and (max-width: 576px) {
    footer{
        margin-top: 20px;
        div{
            background-color: var(--clr-red);
            padding: 20px;
        }
        li{
            justify-content: center;
            text-align: center;
            flex-wrap: wrap;
        }
    }
}

@media (min-width: 576px) and (max-width: 900px) {
    footer{
        margin-top: 20px;
        gap: 20px;
        align-items: center;
        div{
            background-color: var(--clr-red);
            padding: 20px 50px;
        }
    }
}

@media screen and (min-width: 769px) {
    footer{
        grid-template-columns: 1fr 2fr;
    }
}

.d-flex{
    display: flex;
    flex-wrap: wrap;
    column-gap: 50px;
}
.text-uppercase{
    text-transform: uppercase;
}
.p-50-100{
    padding: 50px 50px;
}
.space{
    margin: 20px 0;
}
.space-h{
    margin: 0 10px;
}

@media screen and (min-width: 769px) {
    .p-50-100{
        padding: 50px 100px;
    }
}