@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Anton+SC&display=swap');


/* Estilos Gerais */
:root {
    --primary-color: #1E1E1E; 
    --secondary-color: #a88725; 
    --text-color: #ffffff;
    --light-bg: #2C2C2C;
    --dark-bg: #343a40;
    --white: #fff;
    --black: #000000;
    --gradient-cinza: linear-gradient(to top, #1E1E1E, #3b3b3b);
    --gradient: linear-gradient(to top, #614b0b, #bd982b);
}

.destaque-cor {
    color: var(--secondary-color);
    font-weight: bold; /* Opcional: para dar ainda mais destaque */

}



.video-background {
    position: absolute; /* Ou fixed, dependendo do comportamento desejado */
    top: 0;
    transform: translate(0, 0);
    width: 100%;
    height: 150%;
    overflow: hidden;
    z-index: -1; /* Coloca bem atrás para não interferir com cliques */
    
}

.video-background video {
    min-width: 60%; /* Garante que o vídeo cubra toda a largura */
    min-height: 80%; /* Garante que o vídeo cubra toda a altura */
    width: auto; /* Permite que a largura se ajuste automaticamente */
    height: 100%; /* Permite que a altura se ajuste automaticamente */
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza o vídeo */
    object-fit: fill; /* Garante que o vídeo cubra o contêiner sem distorção */
    border-radius: 5%;
    
}

.container-engenhariadeprecisão {
    margin-top: 5%;
}

#img-grande {

    width: 40%; 
    height: 100%;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%;
    
}

#img-grande-2 {

    width: 70%; 
    height: 100%;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%;
    
}

#img-grande-3 {

    width: 850px; 
    height: 850px;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%; 
    transform: translate(30%, -58%);
    
}

#img-grande-4 {

    width: 850px; 
    height: 850px;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%;
    transform: translate(-70%, 60%);
    
}


#img-grande-5 {

    width: 650px; 
    height: 650px;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%; 
    transform: translate(15%, -70%);
    
    
}

#img-grande-6 {

    width: 550px; 
    height: 550px;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%;
    transform: translate(-120%, 60%);
     
    
}

#img-laudos-1 {
    width: 400px; 
    height: 400px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, -5%);
    border-style: dashed;
}

#img-laudos-2 {
    width: 400px; 
    height: 400px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(60%, -25%);
    border-style: dashed;
}

#img-laudos-3 {
    width: 400px; 
    height: 400px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, -45%);
    border-style: dashed;
}

#img-laudos-4 {
    width: 400px; 
    height: 400px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(60%, -65%);
    border-style: dashed;
}

#img-laudos-5 {
    width: 400px; 
    height: 400px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, -85%);
    border-style: dashed;
}

#img-laudos-6 {
    width: 400px; 
    height: 400px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(60%, -105%);
    border-style: dashed;
}

#img-laudos-7 {
    width: 400px; 
    height: 400px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, -125%);
    border-style: dashed;
}

#img-laudos-8 {
    width: 400px; 
    height: 400px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(60%, -145%);
    border-style: dashed;
}

#img-laudos-9 {
    width: 400px; 
    height: 400px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, -165%);
    border-style: dashed;
}

#img-laudos-10 {
    width: 400px; 
    height: 400px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(60%, -185%);
    border-style: dashed;
}

#img-laudos-11 {
    width: 400px; 
    height: 400px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, -205%);
    border-style: dashed;
}

#img-laudos-12 {
    width: 600px; 
    height: 300px;
    margin-top: 5%;
    position: relative; 
    border-radius: 0%;
    transform: translate(-120%, 1720%);
    z-index: -1; /* Coloca atrás de outros elementos */
}

#img-laudos-13 {
    width: 1000px; 
    height: 300px;
    object-fit: cover;
    margin-top: 5%;
    position: relative; 
    border-radius: 5%;
    transform: translate(15%, 20%);
    z-index: -1111; /* Coloca atrás de outros elementos */
    border-style: double;
    opacity: 0.25;
}

#img-media {

    width: 800px; 
    height: 800px;
    padding: 200px auto;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%;     
    transform: translate(40%, -60%);
    border-style: groove;
    
}

#img-media-2 {

    width: 800px; 
    height: 800px;
    padding: 200px auto;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%;  
    transform: translate(-60%, 50%);   
    border-style: groove;
    
}



#Fotopessoal {
    width: 30%; 
    height: auto; 
    border-radius: 50%;
    margin-top: 2%;  

}

/* O hero section precisa de um position: relative para o vídeo absoluto funcionar */
.hero {
    position: relative; /* Adicione isto */
    /* ... outros estilos ... */
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at center, #000c44, #000000);
    line-height: 1.6;
    color:#fff;
    

}

#sobre p {
    background-color: transparent;
    color: var(--text-color);
    padding: 60px 0;
    line-height: 1.8;
    text-align: justify;
    font-size: 1.4em; /* Tamanho da fonte aumentado */
    margin-top: 5%;
}
.container {
    width: 90%;
    max-width: 50%;
    margin: 0 auto;
    padding: 20px 0;
    
  
}

.container-sobre {
    width: 90%;
    max-width: 50%;
    margin: 0 auto;
    padding: 20px 0;
    margin-top: 5%;
    margin-bottom: 5%;
    
    
}

.container-secpages {
    width: 80%;
    max-width: 50%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: 5%;
    margin-right: 5%;
    text-align: justify;
    

}

.container-secpages-aud {
    width: 80%;
    max-width: 50%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: -40%;
    margin-right: -45%;
    text-align: justify;
    

}

.container-secpages-rt {
    width: 70%;
    min-width: 50%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: 5%;
    text-align: justify;
    transform: translate(-25%, 1%);
    

}

.container-secpages-prj {
    width: 80%;
    max-width: 50%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: 5%;
    margin-right: 5%;
    text-align: justify;
    

}

.container-secpages-perito {
    width: 80%;
    min-width: 40%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: 5%;
    margin-right: 5%;
    text-align: justify;
    transform: translate(-20%, 1%);
    

}

.container-secpages-ppci {
    width: 80%;
    min-width: 40%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: 5%;
    margin-right: 5%;
    text-align: justify;
    transform: translateX(-40%);
    margin-bottom: 15%;
    

}

.container-secpages-laudos {
    width: 60%;
    min-width: 30%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: 5%;
    margin-right: 5%;
    text-align: justify;
    transform: translateX(8%) translateY(-7%);
    

}

span {
    color: var(--secondary-color);
    font-weight: bold; /* Opcional: para dar ainda mais destaque */
    font-size: 1.4em;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    
}

a:hover {
    color: rgb(231, 231, 231);
}

h1, h2, h3 {
    color: var(--white);
    margin-bottom: 15px;
    
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    text-align: center;
    font-weight: bold;
    
}

.btn2 {
    display: inline-block;
    background: #0e0d0d;
    color: var(--white);
    font-size: 1.3em;
    font-weight: bold;
    padding: 10px 50px;
    border-radius: 5px;
    margin-top: 30px;
    transition: 0.3s ease;
    
}

.btn:hover {
    background-color: #000000;
}

.btn2:hover {
    background: #505050;
}

.logo-header {
height: 200px; /* Ajuste a altura conforme necessário */
vertical-align: middle; /* Alinha verticalmente com o texto */
margin-right: 1px; /* Adiciona um espaço entre o símbolo e o texto (se o símbolo estiver antes) */
padding-top: 25px; /* Ajusta o espaçamento superior */


}

/* Header */
header {
    background: var(--gradient);
    color: var(--white);
    padding: 30px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    
}

header h1 {
    margin: -100px;
    color: var(--white);
    float: left ; /* Para alinhar ao lado da navegação */
    white-space: nowrap;
    
   
    
}

header h1 a {
    font-weight: bold;
    color:  var(--black);
    display: flex inline;
    font-family: "Anton SC", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4em;
    
      

}

header nav {
    float: right;
    
}

header nav ul {
    margin:  0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline-block;
    margin-left: 20px;
}

header nav ul li a {
    color: var(--black);
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary--color);
}

/* Clearfix para o header */
header .container::after {
    content: "";
    display: table;
    clear: both;
}

.whatsapp-button1 {
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 1000;
    scroll-snap-type: proximity;
}

.whatsapp-button2FIXO {
    display: inline-block;
    background-color: green;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.whatsapp-button2FIXO:hover {
    background-color: #000000;
}


/* Seção Hero (Banner Principal) */
.hero {
    background: transparent;
    color: #b4b4b4;
    text-align: center;
    padding: 100px auto;
    min-height: 400px; /* Altura mínima para o banner */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif; /* Substitua 'Montserrat' pelo nome da sua fonte */
    font-size: 1.2em; /* Ajuste o tamanho da fonte se necessário */
    font-weight: 700em; /* Use o peso que você importou, ex: 700 para Bold */
    text-decoration: none;
}


.hero h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Seções de Conteúdo */
section {
    padding: 60px 0;
    text-align: center;
    border-bottom: 3px solid gold;
}

section:nth-of-type(even) { /* Cores alternadas para melhor legibilidade */
    background: transparent;
    
    
}

.sectionsemborda {
    padding: 60px 0;
    text-align: center;
    
}
section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    display: inline-flex /*AQUIIIIIIIIIIIIIIII                       RESPONSIVIDADE                           APRENDER*/
   
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    
    
}

/* Seção Serviços */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    gap: 5%;
    margin-top: 4%;
    margin-bottom: 20%;
    
    
}

.service-item {
    background: radial-gradient(circle at left, #5f4e03, var(--secondary-color));
    padding: 10%;
    border-radius: 8%;
    border: 10px solid var(--black);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: 5%;
    margin-inline: 5%;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: justify;
    
}

.service-item:hover {
    transform: translateY(-5%);
    box-shadow: 0 8% 16% rgba(0,0,0,0.2);
}

.service-item img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    display: block;
    border-radius: 8%;
    margin-bottom: 5%;
    margin-top: 5%;
    
   
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 5%;
}

/* Seção Projetos */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-item {
    background-color: var(--white);
    border-radius: 8%;
    box-shadow: 0 4% 8% rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8% 16% rgba(0,0,0,0.2);
}

.project-item img {
    width: auto;
    height: auto;
    object-fit: cover;
    display: block;
}

.project-item h3 {
    margin: 2%;
    color: var(--primary-color);
}

.project-item p {
    margin: 0 2% 2%;
    font-size: 0.9em;
}

.project-item a {
    display: block;
    padding: 10% 15%;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    transition: background-color 0.3s ease;
}

.project-item a:hover {
    background-color: var(--primary-color);
}

/* Seção Contato */
.contact-form {
    max-width: 60%;
    margin: 0 auto 40px;
    text-align: left;
    
}

.contact-form input,
.contact-form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

.contact-info p {
    margin: 5px 0;
}

/* Footer */
footer {
    background: var(--gradient-cinza);
    color: var(--white);
    text-align: center;
    padding: 0;
    margin-top: 10%;
}

footer p {
    margin: 0 0 5px 0;
}

.social-links a {
    color: var(--white);
    margin: 0 10px;
    font-size: 1.3em;
    font-weight: bold;
}

.social-links a:hover {
    color: var(--black);
}


   

    /* -------------------------------------------------- */
/* ----------- MEDIA QUERIES PARA RESPONSIVIDADE ----------- */
/* -------------------------------------------------- */



@media (max-width: 2200px) {

    #img-grande {

    width: 40%; 
    height: 100%;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%;
    
}

#img-grande-2 {

    width: 70%; 
    height: 100%;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%;
    
}

#img-grande-3 {

    width: 650px; 
    height: 650px;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%; 
    transform: translate(30%, -88%);
    
}

#img-grande-4 {

    width: 650px; 
    height: 650px;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%;
    transform: translate(-70%, 60%);
    
}


#img-grande-5 {

    width: 650px; 
    height: 650px;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%; 
    transform: translate(15%, -70%);
    
    
}

#img-grande-6 {

    width: 550px; 
    height: 550px;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%;
    transform: translate(-100%, 60%);
     
    
}

#img-laudos-1 {
    width: 380px; 
    height: 380px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, -110%);
    border-style: dashed;
}

#img-laudos-2 {
    width: 380px; 
    height: 380px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(60%, -110%);
    border-style: dashed;
}

#img-laudos-3 {
    width: 380px; 
    height: 380px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, -110%);
    border-style: dashed;
}

#img-laudos-4 {
    width: 380px; 
    height: 380px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(60%, -110%);
    border-style: dashed;
}

#img-laudos-5 {
    width: 380px; 
    height: 380px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, -110%);
    border-style: dashed;
}

#img-laudos-6 {
    width: 380px; 
    height: 380px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(60%, -110%);
    border-style: dashed;
}

#img-laudos-7 {
    width: 380px; 
    height: 380px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, -110%);
    border-style: dashed;
}

#img-laudos-8 {
    width: 380px; 
    height: 380px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(60%, -110%);
    border-style: dashed;
}

#img-laudos-9 {
    width: 380px; 
    height: 380px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, -110%);
    border-style: dashed;
}

#img-laudos-10 {
    width: 380px; 
    height: 380px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(60%, -110%);
    border-style: dashed;
}

#img-laudos-11 {
    width: 380px; 
    height: 380px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, -110%);
    border-style: dashed;
}



#img-laudos-12 {
    width: 500px; 
    height: 200px;
    margin-top: 5%;
    position: relative; 
    border-radius: 0%;
    transform: translate(-100%, 2700%);
    z-index: -1; /* Coloca atrás de outros elementos */
}

#img-laudos-13 {
    width: 800px; 
    height: 300px;
    object-fit: cover;
    margin-top: 5%;
    position: relative; 
    border-radius: 5%;
    transform: translate(8%, 20%);
    z-index: -1111; /* Coloca atrás de outros elementos */
    border-style: double;
    opacity: 0.25;
}

#img-media {

    width: 500px; 
    height: 500px;
    padding: 200px auto;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%;     
    
}

#img-media-2 {

    width: 500px; 
    height: 500px;
    padding: 200px auto;
    margin-top: 5%;
    position: relative;
    margin-left: 5%; 
    border-radius: 10%; 
    transform: translate(-60%, 50%);    
    
}



#Fotopessoal {
    width: 30%; 
    height: auto; 
    border-radius: 50%;
    margin-top: 2%;  

}

/* O hero section precisa de um position: relative para o vídeo absoluto funcionar */
.hero {
    position: relative; /* Adicione isto */
    /* ... outros estilos ... */
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at center, #000c44, #000000);
    line-height: 1.6;
    color:#fff;
    

}

#sobre p {
    background-color: transparent;
    color: var(--text-color);
    padding: 60px 0;
    line-height: 1.8;
    text-align: justify;
    font-size: 1.4em; /* Tamanho da fonte aumentado */
    margin-top: 5%;
}
.container {
    width: 90%;
    max-width: 50%;
    margin: 0 auto;
    padding: 20px 0;
    
  
}

.container-engenhariadeprecisão {
    margin-top: 10%;
}

.container-sobre {
    width: 90%;
    max-width: 50%;
    margin: 0 auto;
    padding: 20px 0;
    margin-top: 5%;
    margin-bottom: 5%;
    
    
}

.container-secpages {
    width: 80%;
    max-width: 50%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: 5%;
    margin-right: 5%;
    text-align: justify;
    

}

.container-secpages-aud {
    width: 80%;
    max-width: 50%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: -40%;
    margin-right: -45%;
    text-align: justify;
    

}

.container-secpages-rt {
    width: 70%;
    max-width: 50%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: 5%;
    margin-right: 5%;
    text-align: justify;
    transform: translate(-15%, 1%);
    

}

.container-secpages-prj {
    width: 80%;
    max-width: 50%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: 5%;
    margin-right: 5%;
    text-align: justify;
    

}

.container-secpages-perito {
    width: 80%;
    min-width: 40%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: 5%;
    margin-right: 5%;
    text-align: justify;
    transform: translateX(-20%);
    

}

.container-secpages-ppci {
    width: 80%;
    min-width: 40%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: 5%;
    margin-right: 5%;
    text-align: justify;
    transform: translateX(-40%);
    margin-bottom: 15%;
    

}

.container-secpages-laudos {
    width: 70%;
    min-width: 30%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    margin-top: 5%;
    margin-right: 5%;
    text-align: justify;
    transform: translateX(8%) translateY(-7%);
    

}

span {
    color: var(--secondary-color);
    font-weight: bold; /* Opcional: para dar ainda mais destaque */
    font-size: 1.4em;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    
}

a:hover {
    color: rgb(231, 231, 231);
}

h1, h2, h3 {
    color: var(--white);
    margin-bottom: 15px;
    
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    
}

.btn2 {
    display: inline-block;
    background: #0e0d0d;
    color: var(--white);
    font-size: 1.3em;
    font-weight: bold;
    padding: 10px 50px;
    border-radius: 5px;
    margin-top: 30px;
    transition: 0.3s ease;
    
}

.btn:hover {
    background-color: #000000;
}

.btn2:hover {
    background: #505050;
}

.logo-header {
height: 200px; /* Ajuste a altura conforme necessário */
vertical-align: middle; /* Alinha verticalmente com o texto */
margin-right: 1px; /* Adiciona um espaço entre o símbolo e o texto (se o símbolo estiver antes) */
padding-top: 25px; /* Ajusta o espaçamento superior */

}

/* Header */
header {
    background: var(--gradient);
    color: var(--white);
    padding: 30px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    
}

header h1 {
    margin: -100px;
    color: var(--white);
    float: left ; /* Para alinhar ao lado da navegação */
    white-space: nowrap;
   
    
}

header h1 a {
    font-weight: bold;
    color:  var(--black);
    display: flex inline;
    font-family: "Anton SC", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4em;
    
      

}

header nav {
    float: right;
    
}

header nav ul {
    margin:  0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline-block;
    margin-left: 20px;
}

header nav ul li a {
    color: var(--black);
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary--color);
}

/* Clearfix para o header */
header .container::after {
    content: "";
    display: table;
    clear: both;
}

.whatsapp-button1 {
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 1000;
    scroll-snap-type: proximity;
}

.whatsapp-button2FIXO {
    display: inline-block;
    background-color: green;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.whatsapp-button2FIXO:hover {
    background-color: #000000;
}

.btn {

     text-align: center;
        font-weight: bold;
}


/* Seção Hero (Banner Principal) */
.hero {
    background: transparent;
    color: #b4b4b4;
    text-align: center;
    padding: 100px auto;
    min-height: 400px; /* Altura mínima para o banner */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif; /* Substitua 'Montserrat' pelo nome da sua fonte */
    font-size: 1.2em; /* Ajuste o tamanho da fonte se necessário */
    font-weight: 700em; /* Use o peso que você importou, ex: 700 para Bold */
    text-decoration: none;
}


.hero h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Seções de Conteúdo */
section {
    padding: 60px 0;
    text-align: center;
    border-bottom: 3px solid gold;
}

section:nth-of-type(even) { /* Cores alternadas para melhor legibilidade */
    background: transparent;
    
    
}

.sectionsemborda {
    padding: 60px 0;
    text-align: center;
    
}
section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    display: inline-flex /*AQUIIIIIIIIIIIIIIII                       RESPONSIVIDADE                           APRENDER*/
   
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    
    
}

/* Seção Serviços */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    gap: 5%;
    margin-top: 4%;
    margin-bottom: 20%;
    
    
}

.service-item {
    background: radial-gradient(circle at left, #5f4e03, var(--secondary-color));
    padding: 10%;
    border-radius: 8%;
    border: 10px solid var(--black);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: 5%;
    margin-inline: 5%;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: justify;
    
}

.service-item:hover {
    transform: translateY(-5%);
    box-shadow: 0 8% 16% rgba(0,0,0,0.2);
}

.service-item img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    display: block;
    border-radius: 8%;
    margin-bottom: 5%;
    margin-top: 5%;
    
   
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 5%;
}

/* Seção Projetos */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-item {
    background-color: var(--white);
    border-radius: 8%;
    box-shadow: 0 4% 8% rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8% 16% rgba(0,0,0,0.2);
}

.project-item img {
    width: auto;
    height: auto;
    object-fit: cover;
    display: block;
}

.project-item h3 {
    margin: 2%;
    color: var(--primary-color);
}

.project-item p {
    margin: 0 2% 2%;
    font-size: 0.9em;
}

.project-item a {
    display: block;
    padding: 10% 15%;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    transition: background-color 0.3s ease;
}

.project-item a:hover {
    background-color: var(--primary-color);
}

/* Seção Contato */
.contact-form {
    max-width: 60%;
    margin: 0 auto 40px;
    text-align: left;
    
}

.contact-form input,
.contact-form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

.contact-info p {
    margin: 5px 0;
}

/* Footer */
footer {
    background: var(--gradient-cinza);
    color: var(--white);
    text-align: center;
    padding: 0;
    margin-top: 10%;
}

footer p {
    margin: 0 0 5px 0;
}

.social-links a {
    color: var(--white);
    margin: 0 10px;
    font-size: 1.3em;
    font-weight: bold;
}

.social-links a:hover {
    color: var(--black);
}
    
}

@media (max-width: 1600px) {
    .container {
        width: 85%; /* Um pouco mais apertado */
        max-width: 60%; /* Pode expandir um pouco mais em telas grandes */
    }

    .container-sobre {
        width: 85%;
        max-width: 60%;
    }

    .container-engenhariadeprecisão {
    margin-top: 25%;
}

    /* Exemplo de ajuste para um container de página secundária */
    .container-secpages {
        width: 85%; /* Ajuste a largura conforme necessário */
        max-width: 60%;
        /* Você pode querer ajustar transform aqui se precisar */
    }

    .container-secpages-aud {
        width: 85%;
        max-width: 50%;
        /* Ajuste margens ou transforms se necessário */
    }

    .container-secpages-rt {
        /* Exemplo de ajuste específico para este container */
        width: 75%;
        min-width: 70%;
        transform: translate(-50%, -35%); /* Ajuste a posição, se necessário */
        margin-top: 100%; /* Adapte o margin-top */
    }

    .container-secpages-prj {
        width: 85%;
        min-width: 80%;
        transform: translate(-35%, 1%); /* Ajuste a posição, se necessário */
        margin-top: 45%; /* Adapte o margin-top */
    }

    .container-secpages-perito {
        width: 60%;
        min-width: 70%;
        transform: translate(-50%, 1%); /* Ajuste a posição, se necessário */
        margin-top: 30%; /* Adapte o margin-top */
        text-align: justify;
    }

    .container-secpages-ppci {
        width: 85%;
        min-width: 70%;
        transform: translateX(-30%); /* Ajuste a posição, se necessário */
        margin-top: 30%; /* Adapte o margin-top */
    }

    .container-secpages-laudos {
        width: 85%;
        min-width: 80%; /* Pode ser um pouco menor para dar mais espaço */
        padding: 100px 0;
        transform: translateX(-5%) translateY(-7%); /* Ajuste o translateX conforme o necessário */
        margin-top: 30%; /* Adapte o margin-top */
    }

    /* Ajustes para imagens #img-grande-X */
    #img-grande {
        width: 35%; /* Reduzir um pouco */
    }
    #img-grande-2 {
        width: 900px;
        height: 500px; 
        transform: translate(60%, -60%); /* Ajustar transform */
    }
    #img-grande-3 {
        width: 400px; /* Reduzir tamanho fixo */
        height: 400px;
        transform: translate(90%, -250%); /* Ajustar transform */
    }
    #img-grande-4 {
        width: 400px; 
        height: 400px;
        transform: translate(110%, -250%); /* Ajustar transform */
    }
    #img-grande-5 {
        width: 450px; 
        height: 450px;
        transform: translate(120%, -190%); /* Ajustar transform */
    }
    #img-grande-6 {
        width: 350px; 
        height: 350px;
        transform: translate(180%, -230%); /* Ajustar transform */
    }
    #img-media {
        transform: translate(90%, -280%); /* Ajustar transform */
        width: 420px;
    }

    #img-media-2 {
        transform: translate(100%, -280%); /* Ajustar transform */
        width: 420px;
    }


    #img-laudos-1 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-660%, 0%);
    border-style: dashed;
}

#img-laudos-2 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-3 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-4 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-5 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-6 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-7 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-8 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-9 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-10 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-11 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    
}

#img-laudos-12 {
    width: 400px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 0%;
    transform: translate(-1200%, 0%);
    z-index: -1; /* Coloca atrás de outros elementos */
}

#img-laudos-13 {
    width: 800px; 
    height: 700px;
    object-fit: cover;
    margin-top: 5%;
    position: relative; 
    border-radius: 5%;
    transform: translate(35%, 10%);
    z-index: -1111; /* Coloca atrás de outros elementos */
    border-style: double;
    opacity: 0.35;
}


    /* Ajustes para logo e navegação */
    .logo-header {
        height: 150px;
        margin-top: 10px;
    }
    header h1 a {
        font-size: 1.3em;
        position: relative;
        top: 20px;
    }
    header nav ul li {
        margin-left: 18px;
    }
    header nav ul li a {
        font-size: 0.95em;
    }

    /* Ajustes gerais de fonte e padding */
    .hero h2 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    section h2 {
        font-size: 2.2rem;
    }
    .about p {
        font-size: 1.3em;
    }
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .service-item {
        font-size: 1.15rem;
    }
    .service-item img {
        height: 200px;
    }
    .project-grid {
        gap: 25px;
    }
    .btn2 {
        padding: 9px 40px;
        font-size: 1.2em;
    }

    .btn {
        padding: 10px 40px;
        font-size: 1em;
        text-align: center;
        font-weight: bold;
    }

    .whatsapp-button2FIXO {
        font-size: 1.18em; /* Tamanho da fonte do botão */
    }

}

@media (max-width: 1200px) {
    .container {
        width: 90%; /* Mais próximo da borda */
        max-width: 70%;
    }

    .container-sobre {
        width: 90%;
        max-width: 70%;
    }

    .container-engenhariadeprecisão {
    margin-top: 15%;
    border-bottom: 3px solid gold;
    
}

    .container-secpages {
        width: 90%;
        max-width: 70%;
        /* Ajuste a largura e o posicionamento conforme a necessidade */
        transform: translateX(0%); /* Pode tentar resetar o translateX ou ajustar menos */
    }

    .container-secpages-aud {
        width: 90%;
        max-width: 80%;
        transform: translate(-30%, 20%); /* Ajuste a posição, se necessário */
        
        /* Ajuste conforme necessário */
    }

    .container-secpages-rt {
        width: 90%;
        min-width: 75%;
        transform: translate(-45%, -5%); /* Ajuste a posição, se necessário */
        margin-top: 80%; /* Adapte o margin-top */
    }
    
    .container-secpages-prj {
        width: 90%;
        min-width: 70%;
        transform: translate(-20%, 20%); /* Ajuste a posição, se necessário */
        margin-bottom: 20%; /* Adapte o margin-bottom */
    }

    .container-secpages-perito {
        width: 90%;
        max-width: 70%;
        transform: translate(-60%, 10%); /* Ajuste a posição, se necessário */
        margin-top: 20%; /* Adapte o margin-top */
        margin-bottom: 20%;
    }

    .container-secpages-ppci {
        width: 90%;
        min-width: 70%;
        transform: translate(-40%, 10%); /* Ajuste a posição, se necessário */
        margin-top: 20%; /* Adapte o margin-top */
    }

    .container-secpages-laudos {
        width: 90%;
        min-width: 80%; 
        padding: 100px 0;
        transform: translateX(-20%) translateY(-5%); /* Ajuste o translateX novamente */
        margin-top: 20%; /* Adapte o margin-top */
    }

    /* Ajustes para imagens #img-grande-X */
    #img-grande {
        width: 80%; 
        margin-top: 10%;
        margin-left: 10%;
    }
    #img-grande-2 {
        width: 400px;
        height: 400px; 
        transform: translate(90%, -120%); 
    }
    #img-grande-3 {
        width: 350px; 
        height: 350px;
        transform: translate(80%, -300%); 
    }
    #img-grande-4 {
        width: 350px; 
        height: 350px;
        transform: translate(110%, -300%); 
    }
    #img-grande-5 {
        width: 300px; 
        height: 300px;
        transform: translate(120%, -280%); 
    }
    #img-grande-6 {
        width: 300px; 
        height: 300px;
        transform: translate(160%, -280%); 
    }
    #img-media {
        transform: translate(85%, -230%); 
        width: 400px;
    }

    #img-media-2 {
        transform: translate(108%, -230%); 
        width: 400px;
    }

    #img-laudos-1 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-660%, 0%);
    border-style: dashed;
}

#img-laudos-2 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-3 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-4 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-5 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-6 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-7 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-8 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-9 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-10 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-11 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    
}

#img-laudos-12 {
    width: 400px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 0%;
    transform: translate(-1200%, 0%);
    z-index: -1; /* Coloca atrás de outros elementos */
}

#img-laudos-13 {
    width: 710px; 
    height: 530px;
    object-fit: cover;
    margin-top: 5%;
    position: relative; 
    border-radius: 5%;
    transform: translate(10%, 10%);
    z-index: -1111; /* Coloca atrás de outros elementos */
    border-style: double;
    opacity: 0.35;
}


    /* Ajustes para logo e navegação */
    .logo-header {
        height: 120px;
        margin-top: 30px;
    }
    header h1 a {
        font-size: 1em;
        
        top: 20px;
    }
    header nav ul li {
        margin-left: 12px;
    }
    header nav ul li a {
        font-size: 0.9em;
    }

    /* Ajustes gerais de fonte e padding */
    .hero h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1em;
    }
    section h2 {
        font-size: 2rem;
    }
     
    section {
        border-bottom: none;
    }

    .about p {
        font-size: 1.2em;
    }
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }
    .service-item {
        font-size: 1.1em;
        padding: 8%;
    }
    .service-item img {
        height: 180px;
    }
    .project-grid {
        gap: 20px;
    }
    .btn2 {
        padding: 8px 30px;
        font-size: 1.1em;
    }

    .btn {
        padding: 8px 15px;
        font-size: 1em;
        text-align: center;
        font-weight: bold;
    }

    footer {
        padding: 20px 0;
        margin-top: 80%;
    }

    .whatsapp-button2FIXO {
        font-size: 0.9em; /* Tamanho da fonte do botão */
    }

}

/* Ponto de Quebra para Desktop Menor / Tablets Maiores (992px) */
/* Adicionado um novo ponto de quebra para gerenciar o layout antes de 768px */


@media (max-width: 992px) {
    .container {
        width: 92%; /* Ajusta a largura para telas um pouco menores */
    }

    .container-engenhariadeprecisão {
    margin-top: 25%;
}




      .video-background {
    position: absolute; /* Ou fixed, dependendo do comportamento desejado */
    top: 10%;
    transform: translate(0, 0);
    width: 90%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Coloca bem atrás para não interferir com cliques */
    
}

.video-background video {
    max-width: 100%; /* Garante que o vídeo cubra toda a largura */
    max-height: 100%; /* Garante que o vídeo cubra toda a altura */
    width: 100%; /* Permite que a largura se ajuste automaticamente */
    height: 100%; /* Permite que a altura se ajuste automaticamente */
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza o vídeo */
    object-fit: fill; /* Garante que o vídeo cubra o contêiner sem distorção */
    border-radius: 5%;
    
}

    .container-secpages {
        width: 92%; /* Ajusta a largura para telas um pouco menores */

    }    

    .container-secpages-aud {

        width: 75%;
        transform: translate(-30%,15%);
        font-size: medium;

    }

    .container-secpages-rt {
        min-width: 75%; 
        padding: 150px 0; 
        transform: translate(-40%, -10%);
        font-size: medium;
        margin-top: 120%;
        
    }

    .container-secpages-prj {
        min-width: 75%; 
        padding: 150px 0; 
        transform: translate(-30%, 1%);
        font-size: medium;
        margin-top: 30%;
        
         
        
    }

    .container-secpages-perito {
        min-width: 85%; 
        padding: 150px 0; 
        transform: translateX(-40%);
        font-size: medium;
        margin-top: 50%;
        text-align: justify;

    }

    .container-secpages-ppci {
        min-width: 85%; 
        padding: 150px 0; 
        transform: translate(-50%, 2%);
        font-size: medium;
        margin-top: 50%;
        text-align: justify;

    }

    .container-secpages-laudos {
        min-width: 85%; 
        padding: 150px 0; 
        transform: translate(-15%, -12%);
        font-size: medium;
        margin-top: 50%;
        text-align: justify;

    }


    #img-grande {

    width: 70%; 
    height: 100%;
    margin-top: 8%;
    position: relative;
    margin-left: 15%; 
    border-radius: 10%;
    
    }

    #img-grande-2 {

    width: 400px; 
    height: 300px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(70%, -260%);
    }

    #img-grande-3 {

    width: 300px; 
    height: 300px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(210%, -400%);
    }

    #img-grande-4 {

    width: 300px; 
    height: 300px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(0%, -400%);
    }

    #img-grande-5 {

    width: 400px; 
    height: 400px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(90%, -280%);
    }

    #img-grande-6 {

    width: 300px; 
    height: 300px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(125%, -300%);
    }

    #img-media {

        transform: translate(82%, -315%);
        width: 300px;
        align-self: center;

    }

     #img-media-2 {

        transform: translate(90%, -315%);
        width: 300px;
        align-self: center;

    }

      #img-laudos-1 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-160%, 0%);
    border-style: dashed;
}

#img-laudos-2 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-3 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-4 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-5 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-6 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-7 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-8 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-9 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-10 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    border-style: dashed;
}

#img-laudos-11 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-600%, 0%);
    
}

#img-laudos-12 {
    width: 400px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 0%;
    transform: translate(-1200%, 0%);
    z-index: -1; /* Coloca atrás de outros elementos */
}

#img-laudos-13 {
    width: 710px; 
    height: 530px;
    object-fit: cover;
    margin-top: 5%;
    position: relative; 
    border-radius: 5%;
    transform: translate(10%, 10%);
    z-index: -1111; /* Coloca atrás de outros elementos */
    border-style: double;
    opacity: 0.35;
}



    /* Ajustes para o cabeçalho em telas intermediárias */
    .header-container {
        padding: 15px 15px; /* Reduz padding lateral para não ficar muito apertado */
    }

    .logo-header {
        height: 90px; /* Logo um pouco menor */
        
        margin-top: 40px;
    }

    header h1 a {
        font-size: 0.9em; /* Texto do h1 menor */
        top: 30px
    }

    header nav ul li {
        margin-left: 15px; /* Reduz o espaçamento entre itens da nav */
    }

    header nav ul li a {
        font-size: 0.9em; /* Reduz a fonte da nav */
    }

    /* Ajustes para a seção Hero */
    .hero h2 {
        font-size: 2.5em; /* Reduz o tamanho do h2 */
    }

    .hero p {
        font-size: 1.4em; /* Reduz o tamanho do p */
    }

    /* Ajustes para títulos de seção */
    
    section {
        border-bottom: none;
    }
    
    section h2 {
        font-size: 2.2em;
    }
    
    /* Seção Sobre Nós */
    .about p {
        font-size: 1.2em; /* Texto sobre nós um pouco menor */
        padding: 0 20px; /* Padding para o texto */
    }

    /* Serviços - ajuste para telas intermediárias */
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Minmax ainda menor */
        gap: 20px; /* Reduz o gap */
    }

    .service-item {
        padding: 20px; /* Padding interno menor */
        font-size: 1.2em; /* Tamanho da fonte do item */
    }

    .service-item h3 {
        min-height: 2em; /* Garante que o título não encolha demais */
        font-size: 1em; /* Reduz a fonte do h3 no service item */
    }

    .service-item img {
        height: 180px; /* Imagem um pouco menor */
    }

    .btn2 {
        padding: 8px 25px; /* Reduz o padding do botão */
        font-size: 0.92em; /* Reduz a fonte do botão */
    }

    .btn {
        padding: 8px 25px; /* Reduz o padding do botão */
        font-size: 1em; /* Reduz a fonte do botão */
        text-align: center;
        font-weight: bold;
    }

    .whatsapp-button2FIXO {
        font-size: 1.03em; /* Tamanho da fonte do botão */
    }


    
}

/* Tablet e Mobile Landscape (paisagem) */
@media (max-width: 768px) {
   


    .container-sobre {

        text-align: center;
        transform: translate(0%, 1%);

    }

      .video-background {
    position: absolute; /* Ou fixed, dependendo do comportamento desejado */
    top: 10%;
    transform: translate(0, 0);
    width: 90%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Coloca bem atrás para não interferir com cliques */
    
}

.video-background video {
    max-width: 100%; /* Garante que o vídeo cubra toda a largura */
    max-height: 100%; /* Garante que o vídeo cubra toda a altura */
    width: 100%; /* Permite que a largura se ajuste automaticamente */
    height: 100%; /* Permite que a altura se ajuste automaticamente */
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza o vídeo */
    object-fit: fill; /* Garante que o vídeo cubra o contêiner sem distorção */
    border-radius: 5%;
    
}


    .whatsapp-button1 img {
        width: 85px; /* Botão do WhatsApp bem pequeno */
        height: 85px;
    }

    

    .container-engenhariadeprecisão {
    margin-top: 55%;
    border-bottom: 3px solid gold;
}
   .container {
        min-width: 95%; 
        padding: 15px 0; 
    }

    .container-secpages {
        max-width: 100%; 
        padding: 100px 0; 
        transform: translateX(-25%);
        margin-top: -40%;
        font-size: medium;
        
    }

    .container-secpages-aud {
        max-width: 100%; 
        padding: 100px 0; 
        transform: translateX(-25%);
        margin-top: -40%;
        font-size: medium;
        
    }

     .container-secpages-rt {
        max-width: 100%; 
        padding: 300px 0; 
        transform: translate(-95%, -20%);
        font-size: medium;
        margin-top: 80%;
    }

    .container-secpages-prj {
        max-width: 100%; 
        padding: 100px 0; 
        transform: translateX(-50%);
        font-size: medium;
        margin-top: 40%;
    }

    .container-secpages-perito {
        max-width: 100%; 
        padding: 100px 0; 
        transform: translateX(-110%);
        font-size: medium;
        margin-top: 40%;
    }

    .container-secpages-ppci {
        min-width: 80%; 
        padding: 100px 0; 
        transform: translateX(-95%);
        font-size: medium;
        margin-top: 40%;
    }

    .container-secpages-laudos {
        min-width: 90%; 
        padding: 150px 0; 
        transform: translateX(-50%) translateY(-20%);
        font-size: medium;
        margin-top: 50%
    }


    .header-container {
        flex-direction: column; /* Empilha logo e nav em telas menores */
        text-align: center;
        padding-bottom: 10px; 
        padding: 10px 15px; /* Ajusta padding */
    }

    #img-grande {

        transform: translate(-10%, 10%);
        width: 80%;
    }  
    
    #img-grande-2 {

    width: 70%; 
    height: 90%;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(57%, -150%);
    }

    #img-grande-3 {

    width: 80%; 
    height: 100%;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(115%, -240%);
    }

    #img-grande-4 {

    width: 80%; 
    height: 100%;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-5%, 380%);
    z-index: -2; /* Coloca atrás do conteúdo principal */
    }

    #img-grande-5 {

    width: 500px; 
    height: auto;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(95%, -300%);
    }

    #img-grande-6 {

    width: 400px; 
    height: auto;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-10%, 450%);
    z-index: -2; /* Coloca atrás do conteúdo principal */
    }

    #img-laudos-1 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-160%, 0%);
    border-style: dashed;
}

#img-laudos-2 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, 0%);
    border-style: dashed;
}

#img-laudos-3 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, 0%);
    border-style: dashed;
}

#img-laudos-4 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, 0%);
    border-style: dashed;
}

#img-laudos-5 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, 0%);
    border-style: dashed;
}

#img-laudos-6 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, 0%);
    border-style: dashed;
}

#img-laudos-7 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, 0%);
    border-style: dashed;
}

#img-laudos-8 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, 0%);
    border-style: dashed;
}

#img-laudos-9 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, 0%);
    border-style: dashed;
}

#img-laudos-10 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, 0%);
    border-style: dashed;
}

#img-laudos-11 {
    width: 250px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 10%;
    transform: translate(-60%, 0%);
    
}

#img-laudos-12 {
    width: 400px; 
    height: 250px;
    margin-top: 5%;
    position: relative; 
    border-radius: 0%;
    transform: translate(-120%, 0%);
    z-index: -1; /* Coloca atrás de outros elementos */
}

#img-laudos-13 {
    width: 510px; 
    height: 330px;
    object-fit: cover;
    margin-top: 5%;
    position: relative; 
    border-radius: 5%;
    transform: translate(20%, 10%);
    z-index: -1111; /* Coloca atrás de outros elementos */
    border-style: double;
    opacity: 0.35;
}


     #img-media {

        transform: translate(90%, -670%);
        width: 250px;
        height: 250px;
    }

    #img-media-2 {
        transform: translate(30%, -665%);
        width: 250px;
        height: 250px;
    }

    header h1 {
        justify-content: center; 
         /* Espaço entre logo e nav */
    }

    .logo-header {
        height: 80px; /* Reduz um pouco mais o logo */
        margin-top: 50px;
        margin-left: 30%;
    }

    header h1 a {
        font-size: 0.8em; /* Reduz o tamanho do texto do h1 */
       
    }

    header nav ul li {
        margin: 0 6px; /* Reduz espaço entre itens da nav */
    }

    header nav ul li a {
        font-size: 0.9em; /* Ajusta o tamanho da fonte da navegação */
        padding: 2px 0;
    }

    .hero {
        padding: 300px 0; 
        min-height: 280px; 
        
    }

    .hero h2 {
        font-size: 2em; /* Reduz o tamanho da fonte do título hero */
        text-align: center;


    }

    .hero p {
        font-size: 0.9em; /* Reduz o tamanho da fonte do parágrafo hero */
    }

    section {
        padding: 30px 0; /* Reduz o padding geral das seções */
        text-align: center;
        border-bottom: none;
    }

    section h2 {
        font-size: 1.8em; /* Reduz o tamanho da fonte dos títulos das seções */
        margin-bottom: 25px;
        text-align: center;
    }

    /* Seção Sobre Nós em telas menores */
    .about-container {
        gap: 15px; /* Reduz o espaço entre os elementos */
    }

    .about p {
        font-size: 1em; /* Ajuste para melhor legibilidade */
        padding: 0 15px; 
    }

    .profile-image {
        width: 160px; /* Reduz o tamanho da imagem de perfil */
        height: 160px;
        margin-top: 10px;
    }

    .service-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas menores */
        gap: 25px; /* Reduz o gap entre os itens de serviço */
    }

    .service-item {
        margin: 0 10%; /* Adiciona uma margem lateral percentual para não colar nas bordas */
        padding: 20px; /* Ajusta o padding interno do item */
        font-size: 1.1em;
        border-width: 4px;
    }

    .service-item h3 {
        min-height: auto; /* Permite que o h3 se ajuste naturalmente */
        font-size: 1em;
    }

    .service-item img {
        height: 160px; /* Ajusta a altura da imagem do serviço */
    }

    .btn2 {
        padding: 7px 20px; /* Reduz o padding do botão Saiba mais */
        font-size: 1em; /* Reduz a fonte do botão */
        
        
    }
    
    .btn {
        padding: 6px 12px; 
        font-size: 1.2em;
        min-width: 185px;
        min-height: 35px;
        text-align: center;
        font-weight: bold;
        
    }
    .whatsapp-button2FIXO {
        font-size: 1.08em; /* Tamanho da fonte do botão */
    }


    .contact {
        margin-top: 50px; 
        padding: 30px 0;
    }

    .contact-form {
        margin: 0 auto 25px; 
        padding: 0 15px; 
    }

    .contact-info p {
        font-size: 0.9em; 
    }

    

    footer {
        padding: 20px 0; 
        font-size: 0.9em;
        position: relative; /* Para garantir que o footer fique no final da página */
       
    }
}


@media (max-width: 600px) {
    .container {
        padding: 10px 0; 

        width: 95%; /* Ajusta a largura para telas menores */

        

    }

    .container-sobre {

        text-align: center;
        transform: translate(10%, 1%);
        
        
    }

    .container-sobre h2{

        text-align: center;
        font-size: 1.5em; /* Ajusta o tamanho do título */
        transform: translate(-30%, 0);
        
        
        
    }

    .container-engenhariadeprecisão {
    margin-top: 25%;
    border-bottom: 3px solid gold;
}
        

       .container-secpages {
        max-width: 95%; 
        padding: 100px 0; 
        transform: translateX(-25%);
        font-size: medium;
    }

    .container-secpages-aud {
        max-width: 100%; 
        padding: 100px 0; 
        transform: translateX(-25%);
        font-size: medium;
    
}

 .container-secpages-rt {
        max-width: 100%; 
        padding: 150px 0; 
        transform: translate(-110%, -3%);
        font-size: medium;
        margin-top: 1%;
        margin-bottom: 5%;
        margin-left: 10%;
    }

    .container-secpages-prj {
        max-width: 100%; 
        padding: 150px 0; 
        transform: translate(-60%, -3%);
        font-size: medium;
        margin-top:-10%;
        margin-bottom: -70%;
    }

    .container-secpages-perito {
        max-width: 100%; 
        padding: 150px 0; 
        transform: translate(-110%, 0);
        font-size: medium;
        margin-top:-30%;
        margin-bottom: -70%;
    }

     .container-secpages-ppci {
        min-width: 80%; 
        padding: 150px 0; 
        transform: translate(-95%, 0%);
        font-size: medium;
        margin-top:-20%;
        margin-bottom: -70%;
        margin-left: 5%;
        
    }
    .container-secpages-laudos {
        min-width: 90%; 
        padding: 150px 0; 
        transform: translate(-50%, 0%);
        font-size: medium;
        margin-top: -110%;
    }

    .video-background {
    position: absolute; /* Ou fixed, dependendo do comportamento desejado */
    top: 10%;
    transform: translate(0, 0);
    width: 90%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Coloca bem atrás para não interferir com cliques */
    
}

.video-background video {
    max-width: 100%; /* Garante que o vídeo cubra toda a largura */
    max-height: 100%; /* Garante que o vídeo cubra toda a altura */
    width: 100%; /* Permite que a largura se ajuste automaticamente */
    height: 100%; /* Permite que a altura se ajuste automaticamente */
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza o vídeo */
    object-fit: fill; /* Garante que o vídeo cubra o contêiner sem distorção */
    border-radius: 5%;
    
}

    

#sobre p {
    max-width: 100%; 
        padding: 10px 0; 
        min-width: 250px;
        font-size: medium;
        transform: translatex(-15%);
}

#Fotopessoal {
    width: 90%; 
    height: auto; 
    border-radius: 50%;
    margin-top: 2%;  
    transform: translate(-10%, 1%);

}

    #img-grande {

        transform: translate(5%, 10%);
        width: 65%;
    }

    #img-media {

        transform: translate(-1105%, -720%);
        width: 65%;
        height: 65%;
        position: flex;
    }

    #img-media-2 {

        transform: translate(-1020%, -550%);
        width: 250px;
    }

    #img-grande-2 {

    transform: translate(-1045%, 0);
        width: 50px;
    }

    #img-grande-3 {
    transform: translate(-550%, -350%);
        width: 10px;
        height: auto;
    
    }

    #img-grande-4 {

    transform: translate(-600%, 900%);
        width: 10px;
        height: auto;
    }

    #img-grande-5 {

    transform: translate(-1100%, -400%);
        width: 50px;
        height: 50px;
        
    }

    #img-grande-6 {

    transform: translate(-2000%, 950%);
        width: 220px;
        height: auto;
        
    }


span {
    font-size: 1em; /* Ajusta o tamanho da fonte do span */
}

    #img-laudos-1 {

        width: 150px; 
        height: 150px;
        transform: translate(-260%, -2312%);
        border-style: none;
        border-radius: 1%;
        
        
    }
    #img-laudos-2 {

        width: 150px; 
        height: 150px;       
        transform: translate(-260%, -2322%);
        border-style: none;
        border-radius: 1%;
    }
    #img-laudos-3 {

      width: 150px; 
        height: 150px;       
        transform: translate(-260%, -2332%);
        border-style: none;
        border-radius: 1%;
    }
    #img-laudos-4 {

         width: 150px; 
        height: 150px;       
        transform: translate(-260%, -2342%);
        border-style: none;
        border-radius: 1%;
    }
    #img-laudos-5 {

         width: 150px; 
        height: 150px;       
        transform: translate(-260%, -2352%);
        border-style: none;
        border-radius: 1%;

    }
    #img-laudos-6 {

     width: 150px; 
        height: 150px;       
        transform: translate(-260%, -2900%);
        border-style: none;
        border-radius: 1%;
    }
    #img-laudos-7 {
        width: 150px; 
        height: 150px;       
        transform: translate(-260%, -2910%);
        border-style: none;
        border-radius: 1%;


    }
    #img-laudos-8 {

        width: 150px; 
        height: 150px;       
        transform: translate(-260%, -2920%);
        border-style: none;
        border-radius: 1%;

    }
    #img-laudos-9 {

        width: 150px; 
        height: 150px;       
        transform: translate(-260%, -2930%);
        border-style: none;
        border-radius: 1%;

    }
    #img-laudos-10 {

        width: 150px; 
        height: 150px;       
        transform: translate(-260%, -2940%);
        border-style: none;
        border-radius: 1%;

    }
    #img-laudos-11 {

        width: 150px; 
        height: 150px;
        transform: translate(-260%, -2950%);
        border-style: none;
        border-radius: 3%;
        
    

    }
    #img-laudos-12 {

        width: 100%; 
        transform: translate(-100%, 0%);
        height: auto;
        opacity:0;

    }
    #img-laudos-13 {

        width: 80%; 
        height: auto;
        opacity: 1;
        margin-top: 5%;
        margin-left: -8%;

    }


    header {
        padding: 10px 0; 
    }

    .logo-header {
        height: 100px; /* Logo ainda menor */
        margin-top: 45px; /* Espaço entre logo e nav */
        margin-left: 80px;
    }

    header h1 a {
        font-size: 0.6em; /* Texto do h1 menor */
        top: -100px; /* Espaço entre logo e nav */


    }

    header nav ul li {
        margin: 0 4px; /* Espaço ainda menor entre itens da nav */
    }

    header nav ul li a {
        font-size: 0.8em; /* Fontes da navegação bem pequenas */
    }

    .hero {
        padding: 100px 0; 
        min-height: 200px;
        min-width: 100px; 
        
    }

    .hero h2 {
        font-size: 1.2em; /* Título hero menor */
        


    }

    .hero p {
        font-size: 1em; /* Parágrafo hero menor */
        
    }

    .btn {
        padding: 6px 12px; 
        font-size: 1.2em;
        min-width: 185px;
        text-align: center;
        font-weight: bold;

    }

    section {
        padding: 100px 0; 
        border-bottom: none;
    }

    section h2 {
        font-size: 1.2em; /* Títulos de seção menores */
    }

    .about p {
        font-size: 0.9em; 
        padding: 0 10px; 
    }

    .profile-image {
        width: 120px; /* Imagem de perfil ainda menor */
        height: 120px;
    }

    .service-item {
        padding: 15px; 
        font-size: 1em;
        border-width: 2px; /* Borda mais fina */
    }

    .service-item h3 {
        font-size: 0.9em;
    }

    .service-item img {
        height: 120px; /* Imagem do serviço menor */
    }

    .btn2 {
        padding: 6px 15px; 
        font-size: 1.2em;
        
    }

    .contact {
        margin-top: 30px; 
        padding: 20px 0;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%; /* Ocupa a largura total sem calc */
        padding: 6px; 
        font-size: 0.85em;
    }

    .contact-form button {
        padding: 6px;
        font-size: 0.9em;
    }

    .contact-info p {
        font-size: 0.8em; 
    }

    footer {
        padding: 10px 0; 
        font-size: smaller;
    }

    .social-links a {
        font-size: 0.9em; 
    }

    .whatsapp-button1 {
        bottom: 5px;
        right: 5px;
    }

    .whatsapp-button1 img {
        width: 65px; /* Botão do WhatsApp bem pequeno */
        height: 60px;
    }

     .whatsapp-button2FIXO {
        font-size: 1.08em; /* Tamanho da fonte do botão */
    }

     footer {
        padding: 20px 0; 
        font-size: 0.9em;
        position: relative; /* Para garantir que o footer fique no final da página */
    }

}

/* Media Query para Smartphones Pequenos */
/* Smartphones pequenos (por exemplo, iPhone SE, Galaxy S) */
@media (max-width: 370px) {
    .container {
        min-width: 95%; 
        padding: 15px 0; 
    }

    .container-engenhariadeprecisão {
    margin-top: 25%;
    border-bottom: 3px solid gold;
}

.video-background {
    position: absolute; /* Ou fixed, dependendo do comportamento desejado */
    top: 10%;
    transform: translate(0, 0);
    width: 90%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Coloca bem atrás para não interferir com cliques */
    
}

.video-background video {
    max-width: 100%; /* Garante que o vídeo cubra toda a largura */
    max-height: 100%; /* Garante que o vídeo cubra toda a altura */
    width: 100%; /* Permite que a largura se ajuste automaticamente */
    height: 100%; /* Permite que a altura se ajuste automaticamente */
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza o vídeo */
    object-fit: fill; /* Garante que o vídeo cubra o contêiner sem distorção */
    border-radius: 5%;
    
}

    .container-secpages {
        max-width: 100%; 
        padding: 100px 0; 
        transform: translateX(-25%);
        font-size: medium;
    }

    .container-secpages-aud {
        max-width: 100%; 
        padding: 100px 0; 
        transform: translateX(-25%);
        font-size: medium;
    
}

 .container-secpages-rt {
        max-width: 100%; 
        padding: 150px 0; 
        transform: translate(-95%, -10%);
        font-size: medium;
        margin-top: 100%;
    }

    .container-secpages-prj {
        max-width: 100%; 
        padding: 150px 0; 
        transform: translate(-58%, 0);
        font-size: medium;
        margin-top:-20%;
        margin-bottom: -60%;
    }

    .container-secpages-perito {
        max-width: 100%; 
        padding: 150px 0; 
        transform: translateX(-110%);
        font-size: medium;
        margin-top:-20%;
        margin-bottom: -70%;
    }

     .container-secpages-ppci {
        min-width: 80%; 
        padding: 150px 0; 
        transform: translate(-103%, 0%);
        font-size: medium;
        margin-top:-20%;
    }
    .container-secpages-laudos {
        min-width: 90%; 
        padding: 150px 0; 
        transform: translate(-50%, 0%);
        font-size: medium;
        margin-top: -70%;
    }

    

#sobre p {
    max-width: 100%; 
        padding: 10px 0; 
        min-width: 250px;
        font-size: medium;
        transform: translatex(-15%);
        
}

#Fotopessoal {
    width: 90%; 
    height: auto; 
    border-radius: 50%;
    margin-top: 2%;  

}

    #img-grande {

        transform: translate(-5%, 10%);
        width: 80%;
    }

    #img-media {

        transform: translate(-125%, -680%);
        width: 150px;
    }

    #img-media-2 {

        transform: translate(-300%, -560%);
        width: 150px;
    }

    #img-grande-2 {

    transform: translate(-5100%, 0);
        width: 250px;
    }

    #img-grande-3 {

    transform: translate(-1160%, -460%);
        width: 60%;
    }

    #img-grande-4 {

    transform: translate(-600%, 1010%);
        width: 250px;
        height: auto;
    }

    #img-grande-5 {

    transform: translate(-1105%, -900%);
        width: 220px;
        height: auto;
    }

    #img-grande-6 {

    transform: translate(-1100%, 1060%);
        width: 220px;
        height: auto;
    }


span {
    font-size: 1em; /* Ajusta o tamanho da fonte do span */
}

    #img-laudos-1 {

        width: 150px; 
        height: 150px;
        transform: translate(-645%, -2720%);
        border-style: none;
        border-radius: 1%;
        
        
    }
    #img-laudos-2 {

        width: 150px; 
        height: 150px;       
        transform: translate(-645%, -2740%);
        border-style: none;
        border-radius: 1%;
    }
    #img-laudos-3 {

      width: 150px; 
        height: 150px;       
        transform: translate(-645%, -2760%);
        border-style: none;
        border-radius: 1%;
    }
    #img-laudos-4 {

         width: 150px; 
        height: 150px;       
        transform: translate(-645%, -2780%);
        border-style: none;
        border-radius: 1%;
    }
    #img-laudos-5 {

         width: 150px; 
        height: 150px;       
        transform: translate(-645%, -2800%);
        border-style: none;
        border-radius: 1%;

    }
    #img-laudos-6 {

     width: 150px; 
        height: 150px;       
        transform: translate(-645%, -3300%);
        border-style: none;
        border-radius: 1%;
    }
    #img-laudos-7 {
        width: 150px; 
        height: 150px;       
        transform: translate(-645%, -3320%);
        border-style: none;
        border-radius: 1%;


    }
    #img-laudos-8 {

        width: 150px; 
        height: 150px;       
        transform: translate(-645%, -3340%);
        border-style: none;
        border-radius: 1%;

    }
    #img-laudos-9 {

        width: 150px; 
        height: 150px;       
        transform: translate(-645%, -3360%);
        border-style: none;
        border-radius: 1%;

    }
    #img-laudos-10 {

        width: 150px; 
        height: 150px;       
        transform: translate(-645%, -3380%);
        border-style: none;
        border-radius: 1%;

    }
    #img-laudos-11 {

        width: 150px; 
        height: 150px;
        transform: translate(-645%, -3397%);
        border-style: none;
        border-radius: 3%;
        
       

    }
    #img-laudos-12 {
        
        width: 100px; 
        height: auto;

    }
    #img-laudos-13 {

        width: 80%; 
        height: auto;
        transform: translate(20%, 20%);

    }






    header {
        padding: 10px 0; 
    }

    .logo-header {
        height: 80px;
        margin-top: -100px; /* Logo ainda menor */
       
    }

    header h1 a {
        font-size: 0.9em; /* Texto do h1 menor */
    }

    header nav ul li {
        margin: 0 4px; /* Espaço ainda menor entre itens da nav */
    }

    header nav ul li a {
        font-size: 0.8em; /* Fontes da navegação bem pequenas */
    }

    .hero {
        padding: 100px 0; 
        min-height: 200px;
        min-width: 100px; 
        
    }

    .hero h2 {
        font-size: 1.2em; /* Título hero menor */
        


    }

    .hero p {
        font-size: 1em; /* Parágrafo hero menor */
        
    }

    .btn {
        padding: 6px 12px; 
        font-size: 1.2em;
        min-width: 185px;
        text-align: center;
        font-weight: bold;

    }

   

    section {
        padding: 100px 0; 
        border-bottom: none;
    }

    section h2 {
        font-size: 1.2em; /* Títulos de seção menores */
    }

    .about p {
        font-size: 0.9em; 
        padding: 0 10px; 
    }

    .profile-image {
        width: 120px; /* Imagem de perfil ainda menor */
        height: 120px;
    }

    .service-item {
        padding: 15px; 
        font-size: 1em;
        border-width: 2px; /* Borda mais fina */
    }

    .service-item h3 {
        font-size: 0.9em;
    }

    .service-item img {
        height: 120px; /* Imagem do serviço menor */
    }

    .btn2 {
        padding: 6px 15px; 
        font-size: 1em;
        
    }

    .whatsapp-button2FIXO {
        font-size: 1.065em; /* Tamanho da fonte do botão */
    }


    .contact {
        margin-top: 30px; 
        padding: 20px 0;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%; /* Ocupa a largura total sem calc */
        padding: 6px; 
        font-size: 0.85em;
    }

    .contact-form button {
        padding: 6px;
        font-size: 0.9em;
    }

    .contact-info p {
        font-size: 0.8em; 
    }

    footer {
        padding: 10px 0; 
        font-size: smaller;
    }

    .social-links a {
        font-size: 0.9em; 
    }

    .whatsapp-button1 {
        bottom: 5px;
        right: 5px;
    }

    .whatsapp-button1 img {
        width: 60px; /* Botão do WhatsApp bem pequeno */
        height: 60px;
    }

     footer {
        padding: 20px 0; 
        font-size: 0.9em;
        position: relative; /* Para garantir que o footer fique no final da página */
    }
}

/* Media Query para telas maiores que 993px (Desktop/Tablet em modo paisagem) */
/* Isso garante que os estilos de desktop sejam aplicados acima de 992px */
@media (min-width: 993px) {
    .about-container {
        flex-direction: row; 
        text-align: left; 
        justify-content: center; 
        align-items: center; 
    }

    .about p {
        flex: 1; 
        margin-right: 50px; 
        text-align: justify; 
        padding: 0; 
    }

    .profile-image {
        flex-shrink: 0; 
        margin-top: 0; 
    }

    /* Reverte service-item h3 para a altura automática em desktop */
    .service-item h3 {
        min-height: 2.2em; /* Volta para a altura mínima que você definiu para desktop */
        font-size: 1.5em; /* Mantém o tamanho da fonte para desktop */
    }
}

