/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}


@media screen and (max-width:1920px) and (orientation: landscape) {
	 
	 
	 @viewport{
    zoom: 0.0;
    width:device-width;
	
	 }
     
       .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    
}

#container-principal{	
	width:100%;
	min-width:1200px;
	height:100%;
	float:left;
	margin:auto;
	
    
 }
	 

	

#cursos{
margin-top: 70px;
float:left;
width:100%;
height:auto;
margin-bottom: 100px;


}


#conteudo-cursos{
width:1200px;
height:auto;
margin: auto;
}


#projetos-cursos-titulo{
	width:1200px;
	height:auto;
	margin:auto;
	margin-top:47px;	
}


#projetos-cursos-titulo h1{
    margin-top: 37px;
	text-align: left;
	width:1200px;

    font-display: swap;
    font-weight:700;
    font-size: 34px;
    color:rgba(41,104,94,1.00);
	
}


#projetos-cursos-titulo h2{
 width:96px;
height:2px;
background: rgba(41,104,94,1.00);
text-align: left;
	
}


#projetos-cursos-dados{
	margin-top:27px;
    margin-left: 25px;
    margin-right: 25px;
	width:550px;
	height:850px;
	float:left;	
	text-align:center;
    
	
	
  
	
}

#projetos-cursos-dados img{
margin-top: 34px;
	 object-fit: cover;
    object-position: center;
	width:550px;
	height:300px;	
	text-align:center;	
	float:right;
	
}



#projetos-cursos-dados h1{
	float: left;
	width:550px;
    height:auto;
	text-align: left;
	margin-top:12px;	
    
font-display: swap;
font-weight:800;
font-size:25px;
color:rgba(41,104,94,1.00);
	
}




#projetos-cursos-dados p{
	
	width:550px;
    max-height:300px;
    
     height: auto;
	text-align:justify;
	margin-top:17px;
    
    float: left;

font-display: swap;
font-weight: 400;
font-size: 15px;
color:rgba(102,102,102,1.00);
line-height: 25px;
	text-overflow:ellipsis;
    overflow:hidden;
  	white-space:pre-line;
	display:list-item;
	direction: ltr;
}




#projetos-cursos-dados a p3  {
    display: inline-block;
    margin-top: 27px;
    
    margin-bottom: 15px;
    padding: 5px 10px;
    color: #004d40; /* Verde escuro inicial */
    background-color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;    
    letter-spacing: 0.5px;
    border: 1.5px solid #004d40;
    border-radius: 14px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    overflow: hidden; /* Garante que o efeito de fundo não escape */
}

/* O "fundo" que vai deslizar (Pseudo-elemento) */
#projetos-cursos-dados a::before p3 {
    content: "";
    position: absolute;
    top: 0;
    left: -100%; /* Começa escondido à esquerda */
    width: 100%;
    height: 100%;
    background-color: #004d40; /* Cor que vai preencher */
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    z-index: -1; /* Fica atrás do texto */
}

/* --- EFEITOS AO PASSAR O MOUSE (HOVER) --- */

#projetos-cursos-dados a:hover p3 {
    color: #FFFFFF; /* Texto muda para branco quando o fundo preenche */
    background-color: #004d40;
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.3);
}

/* Faz o fundo deslizar para a direita */
#projetos-cursos-dados a:hover::before p3 {
    left: 0;
}

/* Efeito extra: Aumenta levemente o botão */
#projetos-cursos-dados a:active p3{
    transform: scale(0.95);
}
	
	 
	 


	
	
	
	
	
}

















/*celular*/

@media screen and (max-width:960px) and (orientation: portrait){ 
	
	
	
	 @viewport{
    zoom: 0.0;
    width:device-width;
	
	 }
	

#container-principal{
	
	width:100%;
	min-width:350px;
	height:100%;
	float:left;
	margin:auto;
	
	

 }
 
 


#cursos{
margin-top: 17px;
float:left;
width:100%;
height:auto;
margin-bottom: 70px;


}


#conteudo-cursos{
width:350px;
height:auto;
margin: auto;
}


#projetos-cursos-titulo{
	width:350px;
	height:auto;
	margin:auto;
	margin-top:7px;	
}


#projetos-cursos-titulo h1{
    margin-top: 7px;
	text-align: left;
	width:350px;

    font-display: swap;
    font-weight:700;
    font-size: 34px;
    color:rgba(41,104,94,1.00);
	
}


#projetos-cursos-titulo h2{
 width:96px;
height:2px;
background: rgba(41,104,94,1.00);
text-align: left;
	
}


#projetos-cursos-dados{
	margin-top:27px;
   
	width:350px;
	height:auto;
	float:left;	
	text-align:center;
    
	
	
  
	
}

#projetos-cursos-dados img{
margin-top: 17px;
	 object-fit: cover;
    object-position: center;
	width:350px;
	height:270px;	
	text-align:center;	
	float:right;
	
}



#projetos-cursos-dados h1{
	float: left;
	width:350px;
    height:auto;
	text-align: left;
	margin-top:12px;	
    
font-display: swap;
font-weight:800;
font-size:21px;
color:rgba(41,104,94,1.00);
	
}




#projetos-cursos-dados p{
	
	width:350px;
    max-height:300px;
    
     height: auto;
	text-align:left;
	margin-top:17px;
    
    float: left;

font-display: swap;
font-weight: 400;
font-size: 15px;
color:rgba(102,102,102,1.00);
line-height: 25px;
	text-overflow:ellipsis;
    overflow:hidden;
  	white-space:pre-line;
	display:list-item;
	direction: ltr;
}




#projetos-cursos-dados a p3  {
    display: inline-block;
    margin-top: 27px;
    
    margin-bottom: 15px;
    padding: 5px 10px;
    color: #004d40; /* Verde escuro inicial */
    background-color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;    
    letter-spacing: 0.5px;
    border: 1.5px solid #004d40;
    border-radius: 14px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    overflow: hidden; /* Garante que o efeito de fundo não escape */
}

/* O "fundo" que vai deslizar (Pseudo-elemento) */
#projetos-cursos-dados a::before p3 {
    content: "";
    position: absolute;
    top: 0;
    left: -100%; /* Começa escondido à esquerda */
    width: 100%;
    height: 100%;
    background-color: #004d40; /* Cor que vai preencher */
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    z-index: -1; /* Fica atrás do texto */
}

/* --- EFEITOS AO PASSAR O MOUSE (HOVER) --- */

#projetos-cursos-dados a:hover p3 {
    color: #FFFFFF; /* Texto muda para branco quando o fundo preenche */
    background-color: #004d40;
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.3);
}

/* Faz o fundo deslizar para a direita */
#projetos-cursos-dados a:hover::before p3 {
    left: 0;
}

/* Efeito extra: Aumenta levemente o botão */
#projetos-cursos-dados a:active p3{
    transform: scale(0.95);
}
	
    
    
	
	
}





