/*DEFINIÇÃO GERAL*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}

header, section, footer {
    width: 100%;
}

/*DEFINIÇÃO MENU*/
main{
    position: relative;
}

header{
    height: 60px;
    background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    margin-bottom: 10px;
    z-index: 3;
}

header #logo{
    margin-left: 20px;
    font-size:22px ;
    width: 360px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

header #logo img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
}

header nav{
    margin-right: 20px;
}

.navlist{
    display: flex;
    justify-content: space-between;
    list-style: none;
    position: static;
    float: right;    
}

.navlist a{
    padding: 8px 28px;
    font-size: 18px;
    color: white;
}

.navlist a:hover{
    background: rgba(255, 255, 255, 0.596);
    border-radius: 5px;
}

.mobileMenu{
    cursor: pointer;
    display: none;
}

.mobileMenu div{
    width: 32px;
    height: 2px;
    background: #fff;
    margin: 8px;
}

@media (max-width: 999px) {

    .mobileMenu{
        display: block;
        z-index: 3;
    }

    .navlist{
        position: absolute;
        top: 60px;
        right: 0%;
        width: 50vw;
        height: calc(100vh - 60px);
        background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
        
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;

        transform: translateX(100%);
        transition: transform 0.4s ease;
    }

    .navlist li{
        opacity: 0;
        transition: opacity 0.3s ease;
    }

     header #logo p{
        display: none; /* esconde texto e deixa só logo */
    }

    /* MENU ATIVO */
    .navlist.active{
        transform: translateX(0);
    }

    .navlist.active li{
        opacity: 1;
    }

    
}
/*SECÇÃO 2*/

#parte2{ 
    padding-top: 50px;
    background-image:  linear-gradient(rgba(0,0,0,0.5),rgba(0, 0, 0, 0.618)), url(img/AMP1.png);
     margin: 0%;
     height: auto;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat; 
    background-attachment: fixed;
    z-index: -1;
    height: 80vh;
}
.container {
    text-align: center;
    padding: 40px 20px;
   
}

/* TOPO */
.top {
    margin-bottom: 40px;
}

.top button {
    padding: 12px 30px;
    border: 1px solid #13c4a1;
    background: transparent;
    color: #FFF;
    cursor: pointer;
    transition: 0.3s;
}

/* GRID */
.grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

/* COLUNAS */
.col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* BOTÕES */
button {
    min-width: 200px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #13c4a1;
    background: transparent;
    color: #FFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* HOVER */
button:hover {
    background: #77e4ff;
    color: #1a1a1a;
    box-shadow: 10px #13c4a1;
                
    transform: translateY(-3px);
}

/* TITULOS */
.title {
    font-weight: bold;
    border: 1px solid #063c6e;
}

/* LINHAS VERTICAIS */
.line {
    width: 2px;
    height: 20px;
    background: #0c539f;
}

/* LINHA HORIZONTAL */
.horizontal-line {
    height: 2px;
    background: #0c539f;
    width: 80%;
    margin: 20px auto;
}



footer{
    background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
    color: white;
    font-size: 18px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 20px;
    gap: 20px;
}

.cor{
    color: rgb(255, 255, 255);
    margin: 70px;
    margin-bottom: 50px;
}

.cs{
    font-size: 22px;
    padding-top: 100px;
}
.cs :hover{
    text-decoration: underline;
    color: rgb(121, 120, 120);
}

.cd :hover{
    text-decoration: underline;
    color: rgb(121, 120, 120);
}


.cp{
   
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.redes{
    background: #fff;
    width: 100%;
    height: 3px;
    
}

.social-icons{
    gap: 20px;
    font-size: 50px;
}

.co{
    color: rgb(255, 255, 255);
    margin: 20px;
    
}

/* TABLET */
@media (max-width: 1024px) {

  .grid {
    justify-content: center;
    gap: 30px;
  }

  .col {
    width: 45%;
  }

  button {
    min-width: 100%;
  }
}


/* MOBILE */
@media (max-width: 768px) {

  /* CORRIGE HEADER FIXO */
  #parte2 {
    padding-top: 100px;
    background-attachment: scroll; /* evita bug no mobile */
  }

  /* GRID */
  .grid {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .col {
    width: 100%;
  }

  /* BOTÕES */
  button {
    width: 100%;
    min-width: unset;
    font-size: 14px;
  }

  .title {
    font-size: 16px;
  }

  /* LINHAS */
  .horizontal-line {
    width: 90%;
  }

  /* TEXTO FINAL */
  .cs {
    font-size: 16px;
    padding: 10px;
  }

  /* FOOTER */
  footer {
    height: auto;
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    font-size: 16px;
  }

  .cp {
    flex-direction: column;
    gap: 20px;
  }

  .cor {
    margin: 10px;
  }

  .social-icons {
    font-size: 25px;
  }
}


/* MOBILE PEQUENO */
@media (max-width: 480px) {

  .title {
    font-size: 14px;
  }

  button {
    font-size: 13px;
    padding: 8px;
  }

  .cs {
    font-size: 14px;
  }

  header #logo {
    width: auto;
    font-size: 16px;
  }

  header #logo img {
    width: 40px;
    height: 40px;
  }
}

#parte2{
    height: auto;
}
