/*DEFINIÇÃO GERAL*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}

header, section, footer {
    width: 100%;
}

body {
    overflow-x: hidden;
}

/*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;
    z-index: 2;
}

header #logo{
    margin-left: 20px;
    font-size:22px ;
    width: 360px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}



header #logo img{
    width: 55px;
    height: 55px;
    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;
    }

    /* MENU ATIVO */
    .navlist.active{
        transform: translateX(0);
    }

    .navlist.active li{
        opacity: 1;
    }
}

/*SECÇÃO 1*/
#parte1{
    margin: 0%;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0, 0, 0, 0.618)),  url('img/AMP1.png ') ;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    min-height: 500px;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
    
}

.linha {
    position: relative;
    opacity: 0;              /* Começa invisível */
    animation: entrarDaEsquerda 3s ease forwards; /* Animação de entrada */
}

/* Animação da esquerda para a posição normal */
@keyframes entrarDaEsquerda {
    0% {
        left: -200px;        /* Começa fora da tela à esquerda */
        opacity: 0;
    }
    100% {
        left: 0;             /* Termina na posição normal */
        opacity: 1;
    }
}

#tela {
    /*background:rgb(15, 100, 89) ;*/
    width: 95%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 150px;
    color: white;
    z-index: 1;
}

#zona2 {
    
    max-width: 700px;
    width: 100%;
    height: 100%;
    margin: 0%;
    padding-top: 47px;
    z-index: 1;
}

#zona2 img{
    width: 700px;
    height: 100%;
    border-radius: 0px;
    z-index: 1;
}

#zona1{
    margin-top: 60px;
}

#zona1 h1 {
    font-size: 40px;
    z-index: 1;
}

#zona1 p{
    font-size: 20px;
    text-align: justify;
    z-index: 1;
}

#zona1 button{
    margin: 20px;
    padding: 15px;
    font-size: 15px;
    border-radius: 5px;
    color: white;
    background: rgb(17, 89, 148);
    border-style: none;
    z-index: 1;
}

#tela #zona1 button a{
    font-size: 18px;
    color: white;
    z-index: 1;
}

.under :hover{
    text-decoration: underline;
}


/* CONTAINER PRINCIPAL */
.banner{
    display:flex;
    flex-wrap:wrap;
    min-height:100vh;
}

/* LADO ESQUERDO (IMAGENS) */
.left{
    flex:1;
    background:url('img/Estagio/background_edit.jpg') center/cover no-repeat;
    position:relative;
    display:flex;
   
}

.trans {
    position: relative;
    margin-top: 200px;
    margin-left: 15px;
    font-size: 40px;
    color: #ffffff;
    opacity: 0;              /* Começa invisível */
    animation: entrarDaEsquerda 3s ease forwards; /* Animação de entrada */
}

/* Animação da esquerda para a posição normal */
@keyframes entrarDaEsquerda {
    0% {
        left: -200px;        /* Começa fora da tela à esquerda */
        opacity: 0;
    }
    100% {
        left: 0;             /* Termina na posição normal */
        opacity: 1;
    }
}


/* COLAGEM */
.collage{
    position:absolute;
    bottom:30px;
    left:30px;
    display:flex;
    gap:10px;
}

.collage img{
    width:180px;
    height:300px;
    object-fit:cover;
    border-radius:15px;
    border:3px solid #fff;
}

/* LADO DIREITO (CONTEÚDO) */
.right{
    flex:1;
    background:#0e8a78;
    color:white;
    padding:60px 40px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    position:relative;
}

/* TÍTULO */
.right h1{
    font-size:40px;
    margin-bottom:20px;
}

/* TEXTO */
.right p{
    margin-bottom:20px;
    line-height:1.6;
    font-size:16px;
}

/* LISTA */
.right ul{
    list-style:none;
}

.right ul li{
    margin-bottom:15px;
    position:relative;
    padding-left:25px;
}

.right ul li::before{
    content:"✔";
    position:absolute;
    left:0;
}

/* RODAPÉ */
.footer{
    position:absolute;
    bottom:20px;
    left:40px;
    font-size:14px;
}

/* RESPONSIVO */
@media(max-width:900px){
    .banner{
        flex-direction:column;
    }

    .right{
        padding:40px 20px;
    }

    .right h1{
        font-size:28px;
    }
}


footer{
    background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
    color: white;
    font-size: 20px;
    height: 310px;
    text-align: center;
    padding: 10px 0px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap; 
}

.cor{
    color: rgb(255, 255, 255);
    margin: 70px;
    margin-bottom: 50px;
}

.cd :hover{
    text-decoration: underline;
    color: rgb(44, 44, 44);
}

.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;
    
}

/*AREA  portfolio*/


.container {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(to right, #063c6e,#3a77b9);
    height: auto;
  }
  
  /* LADO ESQUERDO */

.esq{
    margin-top: 10px;
}

  .esq img {
    width: 100%;
    height: 430px;
    margin-bottom: 20px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.568);
    border-radius: 3px;
  }
  
  .esq h2 {
    font-size: 18px;
    margin-bottom: 5px;
  }
  
  .esq p {
    color: #aaa;
    margin-bottom: 20px;
  }
  
  .esq a {
    text-decoration: none;
    color: rgb(0, 217, 255);
    font-size: 12px;
    border-bottom: 1px solid rgb(0, 217, 255);
  }
  
  /* LADO DIREITO */
  .dir {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  
  .top img {
    width: 100%;
    height: 110px;
    border-radius: 6px;
  }
  
  .top p {
    font-size: 12px;
    color: #ccc;
  }
  
  /* IMAGEM PRINCIPAL */


  .main-image img {
    width: 93%;
    height: 430px;
    border-radius: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.568);
  }
  
  /* IMAGENS PEQUENAS */
  .bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .bottom img {
    width: 80%;
    height: 150px;
    border-radius: 3px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.568);
  }

  /*COLOABORADORES/SOBRE*/

  .cool{
    height: 90vh;
     background: linear-gradient(rgba(0,0,0,0.5),rgba(0, 0, 0, 0.618)),  url('img/AMP1.png ');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    align-content: center;
    text-align: justify;
    font-size: 30px;
    color: #ffffff;
    text-decoration: dashed;
    padding-left: 50px;
  }
  
  @media (max-width: 768px) {

    /* HERO */
 

    body {
        overflow-x: hidden;
    }

 header #logo p{
        display: none; /* esconde texto e deixa só logo */
    }

    #parte1 {
         padding-top: 300px;
    }

    #tela {
        flex-direction: column;
        width: 100%;
        padding: 0 15px;
        gap: 20px;
    }

    #zona1 {
        width: 100%;
    }

    #zona1 h1 {
        font-size: 24px;
        text-align: center;
    }

    #zona1 p {
        font-size: 15px;
        width: 100%;
    }

    #zona2 {
        width: 100%;
    }

    #zona2 img {
        width: 100%;
        height: auto;
        opacity: 0;
    }

    #zona1 h1 {
        font-size: 26px;
    }

    #zona1 p {
        font-size: 15px;
    }

    /* CONTAINER */
    .container {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .esq img {
        height: auto;
    }

    .main-image img {
        width: 100%;
        height: auto;
    }

    .bottom {
        grid-template-columns: 1fr;
    }

    .bottom img {
        width: 100%;
        height: auto;
    }

    /* BANNER */
    .banner {
        flex-direction: column;
    }

    .left {
        min-height: 300px;
        justify-content: center;
        align-items: center;
    }

    .trans {
        margin-top: 40px;
        font-size: 26px;
        text-align: center;
    }

    .collage {
        position: static;
        justify-content: center;
        flex-wrap: wrap;
        margin: 20px 0;
    }

    .collage img {
        width: 100px;
        height: 160px;
    }

    .right {
        padding: 30px 20px;
    }

    .right h1 {
        font-size: 24px;
    }

    .right p {
        font-size: 14px;
    }

    /* FOOTER */
    footer {
        height: auto;
        flex-direction: column;
        padding: 20px;
        text-align: center;
        font-size: 16px;
    }

    .cp {
        flex-direction: column;
        gap: 20px;
    }

    .cor {
        margin: 10px;
    }

    .social-icons {
        font-size: 30px;
    }

    .cool{
        font-size: 16px;
        align-content: center;
        padding-left: 20px;
    }
}


/* =========================
   TABLET (769px - 1024px)
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

    
#parte1{
    padding-top: 100px;
}

    #tela {
        flex-direction: column;
        gap: 50px;
    }

    #zona2 {
        width: 100%;
    }

    #zona2 img {
        width: 100%;
        height: 500px;
    }

    .container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .bottom {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom img {
        width: 100%;
    }

    .banner {
        flex-direction: column;
    }

    .collage img {
        width: 140px;
        height: 220px;
    }

    .left{
        width: 100%;
    }

    .disp{
        padding-bottom: 100px;
        padding-left: 10px;
    }
}

.disp{
   padding-top: 200px;
   
   padding-left: 30px;
   color: #fff;
}

.clo{
    color: #ffffff;
}
