:root{
  --bgcolor: #fff;
  --textmain: #212121;
  --textmuted: #6b6b6b;
  --accent: #f2f2f2;
}


*{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    /*outline: 1px solid rgba(255, 0, 0, 0.2);*/


}

html, body{
  overflow-x: clip;
}
a{
    text-decoration: none;
}
body{
  overflow-x: none;
}

header{
    height: 8vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav{
    display: flex;
    width: 1005;
}
.nav-list{
    width: 100%;
    display: flex;
    justify-content: center;
    list-style: none;
}
.nav-list a{
    padding: 10px 20px;
    margin-left: 30px;
    background-color: transparent;
    transition: backgroud-color, 0.3s ease;
    color: black;

}
.nav-list a:hover{
    background-color: black;
    transition: background-color, 0.5s ease;
    color: #fff;
}

.mobile-menu{
    cursor: pointer;
    display: none;
    margin-left: auto;
}

.mobile-menu div{
    width: 32px;
    height: 2px;
    background: black;
    margin: 8px;
}
.hero{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 92vh;
}
.hero-logo{
    width: 300px;
}

/* SERVICES */
.services{
  background-color: var(--textmain);
  color: var(--bgcolor);
  padding: 72px 128px;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.serv_title{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.serv_title h3{
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.serv_title p{
  max-width: 640px;
  font-size: 1rem;
  font-weight: 300;
}

.card_holder{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card{
  min-height: 260px;
  background: transparent;
  border: 1px solid var(--bgcolor);
  padding: 16px;
  display: grid;
  align-content: space-between;
  transition: transform .2s ease, background-color .2s ease;
}
.card:hover{ transform: translateY(-4px); background: rgba(255,255,255,0.02); }
.card_title{
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
}
.card_text{
  font-size: .95rem;
  color: #d9d9d9;
  margin-top: 8px;
}
.btn_mais{
  background-color: transparent;
  width: 120px;
  height: 42px;
  color: var(--bgcolor);
  border: 1px solid var(--bgcolor);
  margin-top: 12px;
  text-decoration: none;
  display: inline-grid;
  place-items: center;
  transition: background-color .2s ease, color .2s ease;
}
.btn_mais:hover{ background: var(--bgcolor); color: var(--textmain); }


.who-container{
    display: flex;
    justify-content: space-around;
    margin-inline: auto;
    padding-inline: 200px;
    height: 100vh;
    align-items: center;
    
}

.who-text p{
    max-width: 400px;
    font-size: 1rem;
    text-align: justify;
    margin-top: 20px;
}
.who h2{
    font-size: 2rem;
}
.partners{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.logos{
    display: flex;
    justify-content: space-between;
    width: 60%;
    margin-top: 40px;
    align-items: center;
}
.logos img{

    width: 100px;

}

.videos{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 40px auto;
    overflow-x: hidden;
    padding-inline: 16px;
    flex-wrap: wrap;
}
.videos video{
    width: 424px;
    aspect-ratio: 16/9;
}

.contato{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 50vh;
    background: #2e2e2e;
    color: #fff;
}
.contato li{
    list-style: none;
    font-size: 0.8rem;
}
.contato p{
    max-width: 320px;
    padding-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 400;
}
.contato a{
    text-decoration: none;
    color: #fff;
}

.formulario{
    min-width: 320px ;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: start;
    align-items: flex-start;
}
.formulario input{
    padding: 5px;
    border-radius: 3px;
    border: none;
    width: 250px;
}
.form__row{
    display: flex;
    justify-content: space-between;
    min-width: 320px;
}
#mensagem{
    width: 200px;
    padding: 5px;
}
.sr-only{
    font-size: 0.9rem;
    padding-right: 10px;
}
.btn{
    border: solid 1px #fff;
    background-color: transparent;
    color: #fff;
    padding: 10px 30px;
    transition: all 0.6s ease;
}

.btn:hover{
    border: none;
    background-color: #fff;
    color: #212121;
    transition: all 0.4s ease;
}

@media (max-width:999px){

    body{
        overflow-x: hidden;
    }

    nav{
        justify-content: end;
        width: 100vw;
        padding: 1rem;
    
    }
    .hero-logo{
        transform: scale(50%);
        z-index: -100;
    }
    .nav-list{
        position: fixed;
        top: 8vh;
        right: 0;
        left: auto;
        overflow-x: hidden;
        width: 100vw;
        height: 92vh;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        background-color: black;
        transform: translateX(100%);
        opacity: 0;
        transition: transform, opacity, 0.3s ease;

    }
    .nav-list li{
        margin-left: 0;
        opacity: 100;
        justify-content: center;
        align-items: center;
        padding: 0;

    }
    .nav-list a{
        color: #fff;
        font-size: 1.2rem;
    }
    .nav-list a:hover{
        color: #2e2e2e;
        background-color: #fff;
    }
    .mobile-menu{
        display: block;
    }

    .nav-list.active{
        transform: translateX(0);
        opacity: 100%;
        transition: transform, opacity, 0.3s ease ;
    }
  }
    /* ====== AJUSTES DE RESPONSIVIDADE ====== */

/* Tablets (até 768px) */
@media (max-width: 768px) {

  .services {
    padding: 48px 32px;
    height: auto;
    flex-direction: column;
    text-align: center;
  }

  .serv_title {
    flex-direction: column;
    gap: 16px;
  }

  .card_holder {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .who-container {
    flex-direction: column;
    padding-inline: 24px;
    height: auto;
    gap: 32px;
    text-align: center;
    padding-top: 40px;
  }

  .who-text p {
    max-width: 100%;
    font-weight: 200;
    padding-top:10px;
  }
  .who-img{
    display: none;
  }

  .partners h3{
    padding-top:50px;
    padding-bottom: 55px;
  }

  .logos {
    flex-wrap: wrap;
    width: 70%;
    justify-content: center;
    gap: 24px;
  }

  .videos {
    flex-direction: column;
    gap: 24px;
    margin: 40px 0;
  }

  .videos video {
    width: 90%;
  }

  .contato {
    flex-direction: column;
    height: auto;
    padding: 48px 24px;
    text-align: center;
    gap: 32px;
  }

  .formulario,
  .form__row {
    align-items: center;
    justify-content: center;
  }

  .formulario input,
  #mensagem {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width:460px){

.formulario input{
    padding: 5px;
    border-radius: 3px;
    border: none;
    width: 180px;
}
#mensagem{
  width: 170px;
}
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
