@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root{
    --verde-claro: #C5E927;
    --verde-medio: #83C11D;
    --verde-escuro: #37A029;
    --branco: #fcfdf8;
    --preto: #193022;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
body{
  font-family: 'Manrope', sans-serif;
  background-color: var(--branco);
  color: var(--preto);
  line-height: 1.6;
  font-size: 1rem;
}

header{
  background-color: var(--preto);
  color: var(--branco);
  padding: 1.25rem 0 0 0;
}
 
nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 2.625rem;
}
 
.logo{
  width: 11.875rem;
  height: 6.625rem;
}

.logo-mobile{
  width: 3.189rem;
  height: 4.75rem;
  display: none;
}
 
nav ul{
  display: flex;
  list-style: none;
}
 
nav ul li{
  margin-left: 1.25rem;
}
 
nav ul li a{
  color: var(--branco);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.5s;
}

nav ul li a:hover{
  color: var(--verde-claro);
}
 
.hero{
  padding: 3.75rem 1.25rem;
  margin: 0;
  background-size: cover;
  background-position: center;
  color: var(--branco);
}
 
.hero h1{
  font-size: 2.625rem;
  margin-bottom: 0.625rem;
  line-height: 1.2;
  text-align: left;
}
 
.hero .btn{
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.625rem 1.5625rem;
  background-color: var(--verde-claro);
  color: var(--preto);
  border-radius: 0.3125rem;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

.hero-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.3rem;
}

.hero-text{
  flex: 1;
  padding-right: 2.5rem;
  text-align: left;
}

.hero-text p{
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  text-align: left;
}

.hero-image{
  flex: 1;
  text-align: right;
}

.hero-image img{
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

section{
  margin: 0 0 3rem 0;
  padding: 1rem 0;
  font-size: 1.2rem;
  text-align: justify;
}
 
h2{
  font-size: 2.1875rem;
  margin-bottom: 1.2rem;
  color: var(--verde-escuro);
}

#palavras{
  color: var(--branco);
  font-size: 1.4rem;
  background-color: var(--verde-escuro);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem 3rem 1.5rem;
}

#palavras ul{
  display: flex;
  list-style: none;
  gap: 4rem;
  padding: 0;
}

#palavras li{
  display: flex;
  align-items: center;
  gap: 1rem;
}

#palavras li img{
  width: 3.4375rem;
  height: 3.4375rem;
  object-fit: cover;
  border-radius: 50%;
}

#sobre{
  width: 53%;
  margin: 0 auto;
}

#sobre img{
  margin: 3.125rem auto 0 auto;
  width: 100%;
}

#acoes{
  width: 53%;
  margin: 0 auto;
}

.slider{
  margin: 0 auto;
  width: 100%;
  height: 37.5rem;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}

.slides{
  width: 400%;
  height: 37.5rem;
  display: flex;
}

.slides input{
  display: none;
}

.slide{
  width: 25%;
  position: relative;
  transition: 2s;
}

.slide img{
  width: 50rem;
  transition: filter 0.3s ease;
}

.slide:hover img{
  filter: brightness(25%);
}

.manual-navigation{
  position: absolute;
  width: 62.5rem;
  max-width: 53%;
  margin-top: -2.5rem;
  display: flex;
  justify-content: center;
}

.manual-btn{
  border: 0.125rem solid var(--branco);
  padding: 0.3125rem;
  border-radius: 0.625rem;
  cursor: pointer;
  transition: 0.8s;
}

.manual-btn:not(:last-child){
  margin-right: 2.5rem;
}

.manual-btn:hover{
  background-color: var(--branco);
}

#radio1:checked ~ .first{
  margin-left: 0;
}

#radio2:checked ~ .first{
  margin-left: -25%;
}

#radio3:checked ~ .first{
  margin-left: -50%;
}

#radio4:checked ~ .first{
  margin-left: -75%;
}

.navigation-auto div{
  border: 0.125rem solid var(--verde-escuro);
  padding: 0.3125rem;
  border-radius: 0.625rem;
  cursor: pointer;
  transition: 0.8s;
}

.navigation-auto{
  position: absolute;
  width: 62.5rem;
  max-width: 53%;
  margin-top: 35rem;
  display: flex;
  justify-content: center;
}

.navigation-auto div:not(:last-child){
  margin-right: 2.5rem;
}

#radio1:checked ~ .navigation-auto .auto-btn1{
  background-color: var(--branco);
}

#radio2:checked ~ .navigation-auto .auto-btn2{
  background-color: var(--branco);
}

#radio3:checked ~ .navigation-auto .auto-btn3{
  background-color: var(--branco);
}

#radio4:checked ~ .navigation-auto .auto-btn4{
  background-color: var(--branco);
}

.slide-overlay{
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-overlay img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(45%);
}

.slide-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--branco);
  text-align: center;
  padding: 0 1.25rem;
}

.slide-text h3{
  font-size: 2.25rem;
  line-height: 2.6rem;
  margin-bottom: 0.625rem;
}

.slide-text p{
  font-size: 1.125rem;
}

footer{
    background-color: var(--preto);
    color: var(--branco);
    text-align: center;
    margin-top: 3.125rem;
    padding: 1.875rem 1.25rem;
}

.icones-sociais a{
    font-size: 1.75rem;
    color: var(--branco);
    margin: 0 0.625rem 0.625rem;
    transition: color 0.5s;
    text-decoration: none;
}

.icones-sociais a:hover{
  color: var(--verde-claro);
}

footer img{
    width: 17.625rem;
    height: 5.3125rem;
}

footer h2{
  color: var(--verde-claro);
}

::selection{
  background-color: var(--verde-claro);
  color: var(--preto);
}

::-moz-selection{
  background-color: var(--verde-claro);
  color: var(--preto);
}

.menu-toggle {
  display: none;
  font-size: 1.875rem;
  color: var(--branco);
  cursor: pointer;
  z-index: 1001;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 15.625rem;
  height: 100%;
  background-color: var(--preto);
  z-index: 1001;
  transition: right 0.3s ease-in-out;
  padding-top: 2.5rem;
  text-align: right;
}

.side-menu ul {
  list-style: none;
  padding: 0 1.25rem;
}

.side-menu ul li {
  margin: 1.25rem 0;
}

.side-menu ul li a {
  color: var(--branco);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
}

.side-menu ul li a:hover {
  color: var(--verde-claro);
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

@media (max-width: 480px) {
  .hero h1{
    font-size: 2rem;
    text-align: center;
  }
  
  .hero p{
    font-size: 1rem;
  }
}

@media (max-width: 768px){
  header{
    padding: 2.5rem 0 0 0;
  }

  nav img{
    position: absolute;
    top: 1.8125rem;
    left: 2.3125rem;
    z-index: 100;
  }

  .hero{
    padding: 4.375rem 1.25rem;
  }

  .hero-content{
    flex-direction: column;
  }

  .hero h1{
    font-size: 2.4rem;
    text-align: center;
  }
  
  .hero-text{
    text-align: center;
    padding-right: 0;
    margin-bottom: 1.875rem;
  }
  
  .hero-text p{
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.3;
  }

  .hero .btn{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 9.375rem;
  }

  .logo{
    display: none;
  }

  .logo-mobile{
    display: flex;
  }
 
  #palavras{
    padding: 2.8rem 0;
  }

  #palavras ul{
    flex-direction: column;
    gap: 2rem;
  }

  #palavras li{
    justify-content: center;
  }

  #palavras li img{
    width: 1.875rem;
    height: 1.875rem;
  }

  #palavras li b{
    font-size: 1.3rem;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

}

@media (max-width: 1080px){
  #sobre{
    width: 80%;
    margin: 0 auto;
    font-size: 1rem;
  }

  #acoes{
    width: 80%;
    margin: 0 auto;
    font-size: 1rem;
  }
  
  .slider{
    max-width: 80vw;
    aspect-ratio: 5 / 3;
  }

  .manual-navigation,
  .navigation-auto{
    max-width: 80vw;
  }
  
  .slide-text h3{
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
  }
  
  .slide-text p{
    font-size: 0.85rem;
  }

  #contato{
    font-size: 0.85rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  footer img{
    width: 13.25rem;
    height: 3.75rem;
  }
}