*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body{
    scroll-behavior: smooth;
    height: 100%;
}

.clear{
    clear: both;
}

section{
    scroll-snap-align: start;
}

.container{
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.bgCover{
    background:linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
    height: 100%;
}

.bgHeader{
    background:linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
    height: 600px;
}

.gotopbtn{
    position: fixed;
    width: 40px;
    height: 40px;
    background-color: #c30505;
    bottom: 20px;
    right: 32px;
    text-decoration: none;
    text-align: center;
    line-height: 45px;
    opacity: 0;
    font-size: 24px;
    color: white;
    transition: all 0.4s;
    pointer-events: none;
    border-radius: 20%;
}

.gotopbtn.active {
    pointer-events: auto;
    opacity: 1;
}

.btn-primary-full{
    background-color: #c30505;
    border: none;
    outline: none;
    width: 170px;
    height: 45px;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    font-size: 14px;
    padding: 5px;
    text-transform: uppercase;
    opacity: 0.8;
    transition: all 300ms ease;
    margin-right: 10px;
}

.btn-primary-full:hover{
    opacity: 1;
}

.btn-primary-line{
    background-color: transparent;
    border: 2px solid #c30505;
    outline: none;
    width: 160px;
    height: 45px;
    color: #c30505;
    font-weight: 600;
    border-radius: 12px;
    font-size: 14px;
    padding: 5px;
    text-transform: uppercase;
    transition: all 300ms ease;
}

.btn-primary-line:hover{
    background-color: #c30505;
    color: white;
}

.updown-animation{
    animation-name: infiniteupdown;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
    transition: all .5s;
}

.downup-animation{
    animation-name: infinitedownup;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
    transition: all .5s;
}

@keyframes infiniteupdown{
    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-40px);
    }

    100%{
        transform: translateY(0px);
    }
}

@keyframes infinitedownup{
    0%{
        transform: translateY(-40px);
    }

    50%{
        transform: translateY(0px);
    }

    100%{
        transform: translateY(-40px);
    }
}

/* Menu Desktop */

header{
    background-color: transparent;
    position: fixed;
    width: 100%;
    padding: 20px 2rem;
    z-index: 100;
}

header .navbar{
    width: 100%;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .navbar .logo{
    display: flex;
    align-items: center;
}

header img{
    width: 190px;
    height: 100px;
}

header .navbar .links{
    display: flex;
    column-gap: 30px;
}

header .navbar .toggle-btn{
    color: #404040;
    font-size: 28px;
    cursor: pointer;
    display: none;
}

header .navbar-mobile{
    display: none;
}

header .navbar .nav-bar-btn{
    background-color: #c30505;
    color: #404040;
    padding: 12px;
    text-transform: uppercase;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s ease;
}

header .navbar .nav-bar-btn:hover{
    scale: 1.05;
    color: #404040;
}

header .navbar .nav-bar-btn:active{
    scale: 0.95;
}

header .navbar li{
    list-style: none;
}

header .navbar a{
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 300ms ease;
}

header .navbar ul li a:hover{
    color: #c30505;
}

header .navbar ul li a.active{
    color: #c30505;
}

header .navbar ul li i{
    transition: 0.2s;
}

/* Menu Mobile */

header .navbar-mobile{
    display: none;
    z-index: 999;
    position: fixed;
    width: 100%;
    top: 90px;
    left: 0;
    background-color: white;
    overflow: hidden;
    transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

header .navbar-mobile.open{
    display: block;
    background-color: white;
    height: fit-content;
}

header .navbar-mobile li{
    padding: 5px;
    list-style: none;
    text-transform: uppercase;
}

header .navbar-mobile a{
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    margin-left: 50px;
}

header .navbar-mobile a.mobileLogin{
    position: absolute;
    bottom: 14%;
    background: transparent;
    color: #c30505;
    border-radius: 8px;
    padding: 10px 37%;
    border: 1px solid #c30505;
    transition: 0.5s;
}

/* Initial Section */
section.welcome{
    padding-top: 100px;
    padding-left: 2%;
    padding-right: 2%;
}

section.welcome .welcome-wraper{
    width: 100%;
    max-width: 1400px;
    position: absolute;
    top: 50%; /* 5. Add this. */
    left: 50%; /* 6. Add this. */
    transform: translate(-50%, -50%); /* 7. Add this. */
}

section.welcome .welcome-wraper2{
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 55px;
}

section.welcome .text-welcome{
    width: 100%;
    padding: 0 30px;
}

section.welcome .text-welcome h3{
    color: #c30505;
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 10px;
}

section.welcome .text-welcome h2{
    color: white;
    font-family: "Dancing Script", cursive;
    font-size: 100px;
    margin-bottom: 10px;
    max-width: 700px;
    line-height: 1;
    font-weight: 400;
}

section.welcome .text-welcome p{
    color: white;
    font-weight: 200;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 700px;
}

section.welcome .text-welcome .text{
    position: relative;
    color: white;
    font-size: 62px;
    font-weight: 600;
    text-transform: uppercase;
}

section.welcome .container .buttons{
    display: flex;
    gap: 10px;
}

section.welcome .container .buttons .btnOne{
    background-color: #c30505;
    border: none;
    outline: none;
    color: white;
    font-weight: 600;
    border-radius: 6px;
    font-size: 16px;
    padding: 15px 40px;
    text-transform: uppercase;
    transition: all 300ms ease;
    margin-right: 10px;
    cursor: pointer;
}

section.welcome .container .buttons .btnOne:hover{
    background-color: white;
    color: #333333;
}

/* Services */

section.about{
    padding: 100px 2%;
    background-color: white;
}

section.about h3{
    color: #c30505;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
}

section.about h2{
    font-size: 32px;
    color: #333333;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

section.about .aboutBox{
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
}

section.about .aboutBox .aboutSingle{
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    position: relative;
    padding: 25px;
}

section.about .aboutBox .aboutSingle .singleBox{
    text-align: center;
    background-color: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 300ms ease;
}

section.about .aboutBox .aboutSingle .singleBox:hover{
    scale: 1.05;
}

section.about .aboutBox .aboutSingle .singleBox .boxPerma{
    background-color: white;
    border-radius: 12px;
    -webkit-box-shadow: 0px 0px 9px 1px rgba(211, 211, 211, 1);
    -moz-box-shadow: 0px 0px 9px 1px rgba(211, 211, 211, 1);
    box-shadow: 0px 0px 9px 1px rgba(211, 211, 211, 1);
}

section.about .aboutBox .aboutSingle .singleBox .boxPerma .aboutImage{
    background-size: cover;
}

section.about .aboutBox .aboutSingle .singleBox .boxPerma .aboutImage img{
    width: 100%;
    height: 250px;
    border-radius: 12px;
}

section.about .aboutBox .aboutSingle .singleBox .boxPerma .aboutContent{
    padding: 20px;
    height: fit-content;
    border-radius: 12px;
}

section.about .aboutBox .aboutSingle .singleBox .boxPerma .aboutContent h3{
    text-transform: uppercase;
    color: #333333;
    font-size: 20px;
    margin-bottom: 5px;
}

section.about .aboutBox .aboutSingle .singleBox .boxPerma .aboutContent p{
    text-align: justify;
    text-justify: inter-word;
    color: #a2a8ac;
    font-size: 15px;
    overflow: hidden;
    height: 150px;
}

section.about .aboutBox .aboutSingle .singleBox .boxPerma .aboutContent button{
    background-color: #c30505;
    border: none;
    outline: none;
    color: white;
    font-weight: 600;
    border-radius: 6px;
    font-size: 16px;
    padding: 10px 30px;
    text-transform: uppercase;
    transition: all 300ms ease;
    margin-right: 10px;
    cursor: pointer;
    margin-top: 20px;
}

section.about .aboutBox .aboutSingle .singleBox .boxPerma .aboutContent button:hover{
    background-color: #333333;
    color: white;
}

/* Sustentabilidade */

section.sustentBox{
    padding: 100px 2%;
    background-color: #f2f2f2;
}

section.sustentBox h3{
    color: #c30505;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
}

section.sustentBox h2{
    font-size: 32px;
    color: #333333;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

section.sustentBox .normalBox{
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
}

section.sustentBox .normalBox .sustentSingle{
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    position: relative;
    padding: 25px;
}

section.sustentBox .normalBox .sustentSingle .singleBox{
    text-align: start;
    background-color: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 300ms ease;
    padding: 25px;
}

section.sustentBox .normalBox .sustentSingle .singleBox .headerSustent{
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

section.sustentBox .normalBox .sustentSingle .singleBox .headerSustent i{
    font-size: 24px;
    background-color: #c30505;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    text-align: center;
    line-height: 40px;
    color: white;
    border-radius: 50%;
}

section.sustentBox .normalBox .sustentSingle .singleBox .headerSustent h3{
    font-weight: bold;
    color: #333333;
    font-size: 22px;
}

section.sustentBox .normalBox .sustentSingle .singleBox:hover{
    scale: 1.05;
}

section.sustentBox .normalBox .sustentSingle .singleBox .bodySustent{
    text-align: justify;
    text-justify: inter-word;
    color: #a2a8ac;
    font-size: 15px;
}

/* Galeria */

section.imagesShow{
    text-align: center;
    padding: 100px 2%;
}

section.imagesShow h3{
    color: #c30505;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
}

section.imagesShow h2{
    font-size: 32px;
    color: #333333;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

section.imagesShow .image-gallery {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  grid-gap: 20px;
}

section.imagesShow .image-gallery .image-box {
  position: relative;
  background-color: #d7d7d8;
  overflow: hidden;
}

section.imagesShow .image-gallery .image-box:nth-child(7n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

section.imagesShow .image-gallery .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

section.imagesShow .image-gallery .image-box:hover img {
  transform: scale(1.1);
}

/* Section Welcome */

section.headerSection{
    padding: 0 2%;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

section.headerSection h2{
    font-family: "Shadows Into Light", serif;
    font-size: 74px;
    color: white;
    font-weight: 500;
}

section.headerSection p{
    margin: 0 auto;
    color: white;
    max-width: 650px;
    font-size: 16px;
}

/* Historia */

section.history{
    padding: 100px 2%;
}

section.history h3{
    color: #c30505;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
}

section.history h2{
    font-size: 32px;
    color: #333333;
    text-transform: uppercase;
    margin-bottom: 25px;
    text-align: center;
}

section.history .timeline {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 0;
}

section.history .timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: #c30505;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

section.history .timeBox {
  padding: 15px 30px;
  position: relative;
  background: inherit;
  width: 50%;
}

section.history .timeBox.left {
  left: 0;
}

section.history .timeBox.right {
  left: 50%;
}

section.history .timeBox::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: calc(50% - 8px);
  right: -8px;
  background: #ffffff;
  border: 2px solid #c30505;
  border-radius: 16px;
  z-index: 1;
}

section.history .timeBox.right::after {
  left: -8px;
}

section.history .timeBox::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  top: calc(50% - 1px);
  right: 8px;
  background: #c30505;
  z-index: 1;
}

section.history .timeBox.right::before {
  left: 8px;
}

section.history .timeBox .date {
  position: absolute;
  display: inline-block;
  top: calc(50% - 8px);
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #c30505;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

section.history .timeBox.left .date {
  right: -75px;
}

section.history .timeBox.right .date {
  left: -75px;
}

section.history .timeBox .icon {
  position: absolute;
  display: inline-block;
  width: 50px;
  height: 50px;
  padding: 9px 0;
  top: calc(50% - 20px);
  background: #fed867;
  border: 2px solid #c30505;
  border-radius: 40px;
  text-align: center;
  font-size: 18px;
  color: #c30505;
  z-index: 1;
  line-height: 25px;
}

section.history .timeBox.left .icon {
  right: 56px;
}

section.history .timeBox.right .icon {
  left: 56px;
}

section.history .timeBox img{
  position: absolute;
  display: inline-block;
  width: 50px;
  height: 50px;
  top: calc(50% - 20px);
  background: #fed867;
  border: 2px solid #c30505;
  border-radius: 40px;
  text-align: center;
  font-size: 18px;
  color: #c30505;
  z-index: 1;
  line-height: 25px;
}

section.history .timeBox.left img {
  right: 56px;
}

section.history .timeBox.right img {
  left: 56px;
}

section.history .timeBox .content {
  padding: 30px 90px 30px 30px;
  background: #fed867;
  position: relative;
  border-radius: 0 500px 500px 0;
}

section.history .timeBox.right .content {
  padding: 30px 30px 30px 90px;
  border-radius: 500px 0 0 500px;
}

section.history .timeBox .content h2 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: normal;
  color: #c30505;
}

section.history .timeBox .content p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
}

@media (max-width: 767.98px) {
  section.history .timeline::after {
    left: 90px;
  }

  section.history .timeBox {
    width: 100%;
    padding-left: 120px;
    padding-right: 30px;
  }

  section.history .timeBox.right {
    left: 0%;
  }

  section.history .timeBox.left::after, 
  section.history .timeBox.right::after {
    left: 82px;
  }

  section.history .timeBox.left::before,
  section.history .timeBox.right::before {
    left: 100px;
    border-color: transparent #c30505 transparent transparent;
  }

  section.history .timeBox.left .date,
  section.history .timeBox.right .date {
    right: auto;
    left: 15px;
  }

  section.history .timeBox.left .icon,
  section.history .timeBox.right .icon {
    right: auto;
    left: 146px;
  }
  
  section.history .timeBox.left img,
  section.history .timeBox.right img {
    right: auto;
    left: 146px;
  }

  section.history .timeBox.left .content,
  section.history .timeBox.right .content {
    padding: 30px 30px 30px 90px;
    border-radius: 500px 0 0 500px;
  }
}

/* Roda Pé */

footer{
    padding: 100px 2% 20px 2%;
    text-align: center;
}

footer img{
    width: 190px;
    height: 100px;
}

footer .footerBox {
    display: flex;
    justify-content: space-between; /* Espaçamento uniforme entre os itens */
    width: 100%; /* A largura da div pai será 100% */
    margin-bottom: 80px;
}

footer .footerSingle {
    text-align: start; /* Centraliza o texto, se necessário */
}

footer .footerSingle .links{
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
}

footer .footerSingle .links h3{
    text-transform: uppercase;
    color: #333333;
    font-weight: normal;
    font-size: 17px;
}

footer .footerSingle .links .linkBox{
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #788187;
    font-size: 15px;
}

footer .footerSingle .links .linkBox a{
    transition: all 300ms ease;
}

footer .footerSingle .links .linkBox a:hover{
    text-decoration: underline;
}

footer .footerSingle .links .linkBox .linkContact{
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

footer .footerSingle .links .linkBox .linkContact i{
    font-size: 26px;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    transition: all 300ms ease;
    cursor: pointer;
}

footer .footerSingle .links .linkBox .linkContact i:hover{
    background-color: #c30505;
    color: white;
}

footer .footerSingle .links .linkBox .linkContact p{
    max-width: 350px;
}

footer .copyRight p{
    color: #a2a8ac;
}

@media screen and (max-width: 1200px){
    /* Initial Section */
    section.welcome{
        padding-top: 100px;
        padding-left: 2%;
        padding-right: 2%;
    }
    
    section.welcome .welcome-wraper{
        padding-top: 0;
        width: 100%;
        position: absolute;
        top: 50%; /* 5. Add this. */
        left: 50%; /* 6. Add this. */
        transform: translate(-50%, -50%); /* 7. Add this. */
    }
    
    section.sustentBox .normalBox .sustentSingle{
        flex: 0 0 50%;
        max-width: 50%;
        position: relative;
        padding: 25px;
    }
    
    footer {
        padding: 20px 2% 20px 2%;
        text-align: center; /* Centraliza o conteúdo do footer */
        display: flex;
        flex-direction: column;
        align-items: center; /* Alinha todo o conteúdo ao centro */
    }
    
    footer img {
        width: 190px;
        height: 100px;
        margin-bottom: 20px; /* Adiciona algum espaçamento abaixo da imagem */
    }
    
    footer .footerBox {
        display: flex;
        flex-direction: column;
        justify-content: normal; /* Centraliza os itens dentro da caixa */
        width: 100%;
        margin-bottom: 80px;
        gap: 40px; /* Espaço entre os itens */
    }
    
    footer .footerSingle {
        text-align: center; /* Centraliza o texto dentro de cada "footerSingle" */
    }
    
    footer .footerSingle .links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        cursor: pointer;
        align-items: center; /* Alinha os links ao centro */
    }
    
    footer .footerSingle .links h3 {
        text-transform: uppercase;
        color: #333333;
        font-weight: normal;
        font-size: 17px;
    }
    
    footer .footerSingle .links .linkBox {
        display: flex;
        flex-direction: column;
        gap: 5px;
        color: #788187;
        font-size: 15px;
        align-items: center; /* Alinha os itens da linkBox ao centro */
    }
    
    footer .footerSingle .links .linkBox a {
        transition: all 300ms ease;
    }
    
    footer .footerSingle .links .linkBox a:hover {
        text-decoration: underline;
    }
    
    footer .footerSingle .links .linkBox .linkContact {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
        justify-content: center; /* Alinha os ícones e texto ao centro */
    }
    
    footer .footerSingle .links .linkBox .linkContact i {
        font-size: 26px;
        width: 35px;
        height: 35px;
        text-align: center;
        line-height: 35px;
        border-radius: 50%;
        transition: all 300ms ease;
        cursor: pointer;
    }
    
    footer .footerSingle .links .linkBox .linkContact i:hover {
        background-color: #c30505;
        color: white;
    }
    
    footer .footerSingle .links .linkBox .linkContact p {
        max-width: 350px;
        text-align: center; /* Garante que o texto do contato esteja centralizado */
    }
    
    footer .copyRight p {
        color: #a2a8ac;
        margin-top: 20px; /* Adiciona espaço entre o conteúdo e o copyright */
    }
    
    }

@media screen and (max-width: 1000px){
    header .navbar .links{
        display: none;
    }
    
    header .navbar .toggle-btn{
        font-size: 26px;
        color: white;
        display: block;
    }
    
    section.about .aboutBox .aboutSingle{
        flex: 0 0 100%;
        max-width: 100%;
        position: relative;
        padding: 25px;
    }
    
    section.about .aboutBox .aboutSingle .singleBox .boxPerma .aboutImage img{
        width: 100%;
        height: 500px;
        border-radius: 12px;
    }
}

@media screen and (max-width: 850px){
    section.welcome .welcome-wraper{
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    section.welcome .welcome-wraper2{
        position: relative;
        display: block;
        align-items: center;
        gap: 0px;
    }
    
    section.welcome .text-welcome h2{
        max-width: 100%;
        font-size: 86px;
        text-align: center;
    }
    
    section.welcome .text-welcome p{
        color: white;
        font-weight: 200;
        font-size: 16px;
        margin-bottom: 30px;
        max-width: 100%;
        text-align: center;
    }
    
    section.welcome .container .buttons{
        display: flex;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    section.sustentBox .normalBox .sustentSingle{
        flex: 0 0 100%;
        max-width: 100%;
        position: relative;
        padding: 25px;
    }
}

@media screen and (max-width: 650px){
    section.welcome .text-welcome h2{
        max-width: 100%;
        font-size: 75px;
        text-align: center;
    }
    
    section.about .aboutBox .aboutSingle .singleBox .boxPerma .aboutImage img{
        width: 100%;
        height: 400px;
        border-radius: 12px;
    }
}

@media screen and (max-width: 500px){
    section.welcome .text-welcome h2{
        font-size: 60px;
    }
    
    section.about .aboutBox .aboutSingle .singleBox .boxPerma .aboutImage img{
        width: 100%;
        height: 300px;
        border-radius: 12px;
    }
}