/* Configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.body1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    /* Fonte Thin */
    background-color: #1c1c1c;
    color: white;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-items: space-between;
    padding: 10px;
    background-color: #000;
}

.logo img {
    max-width: 200px;
    height: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 120px;
    position: relative;
}

nav ul li a:hover {
    background-color: #555;
    /* Cor mais escura ao passar o mouse */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    /* Medium */
    padding: 30px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Submenu */
.submenu {
    position: absolute;
    z-index: 20;
    min-width: 200px;
    list-style: none;
    top: 240%;
    right: 0;
    background-color: #333;
    padding: 10px 0;
    margin: 0;
    display: none;
    /* Oculta o submenu por padrão */
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.submenu li {
    margin: 0px;
    padding: 0px 0px;
    white-space: nowrap;
}

.submenu li a {
    align-items: flex-end;
    color: white;
    text-decoration: none;
    display: block;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.submenu li a:hover {
    background-color: #555;
}

/* Exibe o submenu ao passar o mouse */
.dropdown:hover .submenu {
    display: block;
}


/*------------------------PRIMEIRA PÁGINA-------------------------------*/
.main1 {
    flex: 1;
    /* Faz com que o main ocupe todo o espaço restante */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-image: url(../images/fundo02.png);
    background-position: top left;
    background-size: 100%;
    background-position: top;
    /* Centraliza a imagem no fundo */
    background-repeat: no-repeat;
    margin-bottom: 180px;
}

.parte1 {
    width: 100%;
    height: 800px;
    margin-bottom: 40px;
}

.apresentacao {
    margin-top: 100px;
}

.apresentacao h1 {
    font-size: 64px;
    font-weight: 500;
    margin-bottom: 20px;
}

.apresentacao p {
    font-size: 20px;
    font-weight: 300;
    /* Thin */
    max-width: 600px;
    margin: 0 auto 50px auto;
}

/*Estilo do empresas*/
.empresas {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    /* Para colocar as linhas usando ::before e ::after */
}

.logo_empresas img {
    margin-right: 20px;
}

.cta-text p {
    font-size: 18px;
    font-weight: 300;
    /* Thin */
}

/* Linhas brancas com gradiente */
.empresas::before,
.empresas::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    /* Espessura da linha */
    background: linear-gradient(to right, white, transparent);
}

.empresas::before {
    top: 0;
    /* Linha na parte superior */
}

.empresas::after {
    bottom: 0;
    /* Linha na parte inferior */
}


.lucas_nigro {
    margin-top: 280px;
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 80%;
    justify-content: space-around;
}

.foto_lucas {
    /* Efeito de brilho */
    animation: flutuar 3s ease-in-out infinite;
    /* Aplica a animação de flutuação */
    transform: rotate(45deg);
    /* Inclinação da imagem */
    -webkit-mask-image: url('../images/FOTO_LUCAS_NIGRO.png');
    /* Aplica a máscara da imagem */
    mask-image: url('../images/FOTO_LUCAS_NIGRO.png');
    /* Aplica a máscara da imagem */
}

@keyframes flutuar {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
        /* Define o quanto a imagem vai subir */
    }

    100% {
        transform: translateY(0);
    }
}

.consultoria {
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 80%;
    justify-content: space-around;
}

.imagem-consultoria {
    width: 540px;
}

.texto-topicos {
    width: 40%;
    margin-left: 20px;
}

.RUMO-em-n {
    margin-top: 80px;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.RUMO-em-n h3,
h1 {
    align-self: start;
}

.RUMO-em-n h1 {
    font-size: 80px;
}

.RUMO-em-n h3 {
    font-weight: 100;
}

.RUMO-em-n h1 a {
    color: #e8cf55;
}

.RUMO-em-n div p1 {
    font-size: 80px;
}

.RUMO-em-n div a {
    color: #e8cf55;
}

.info-rumo div p {
    margin-top: 5px;
}

.info-rumo div {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}

.info-rumo {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;

}

.blocos {
    display: none;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.final-empresas {
    margin-top: 180px;
    width: 100%;
}

.final-empresas h1 {
    font-size: 60px;
    color: #e8cf55;
    font-weight: 600;
}

.final-empresas p {
    font-weight: 400;
    font-size: 20px;
}

.texto-final {
    margin-bottom: 40px;
}

.logos {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    background: rgb(78, 78, 78);
    white-space: nowrap;
    position: relative;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgb(21, 21, 21));
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(21, 21, 21));
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
    vertical-align: middle;
}

.logo-pequena {
    height: 120px !important;
}

.logos-slide img {
    height: 80px;
    margin: 0 40px;
}

footer {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    font-family: 'Montserrat', sans-serif;
    background-color: #233821;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;

    height: 200px;
    width: 100%;
    align-items: center;
    padding: 20px 50px 20px 50px;
}

.logo_rodape {
    width: 300px;
}

.menu-rodape {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    list-style-type: none;
    justify-content: space-around;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.container p {
    font-size: 25px;
}

footer hr {
    width: 80%;
    margin-bottom: 10px;
}

a {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    list-style-type: none;
    text-decoration: none;

}

menu-rodape a.menu-rodape:visited,
menu-rodape a.menu-rodape:hover,
menu-rodape a.menu-rodape:active {
    color: white;
    list-style-type: none;
    text-decoration: none;
}

.titulo-topicos {
    font-size: 40px;
    margin: 10px;
}

.texto-topicos {
    font-size: 20px;
}

/*-----------------------------------------------PÁGINA FERRAMENTAS-----------------------------------------*/
.main3 {
    flex: 1;
    /* Faz com que o main ocupe todo o espaço restante */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #555;
    /* Cor de fundo principal */
    background-image: url(../images/fundopagferramentasmenor.png);
    /*background-image: radial-gradient(circle, #0d0d0d 1px, transparent 1px);*/
    background-position: top left;
    /*background-size: 100%;*/
    background-position: top;
    /* Centraliza a imagem no fundo */
    background-repeat: no-repeat;
    text-align: center;
    padding: 20px 20px 50px 20px;
}

.barra-pesquisa {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 20px 0;
}

.barra-pesquisa input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 4px;
}

.main3 h1 {
    font-size: 60px;
    color: #e8cf55;

}

.painel-ferramentas {
    width: 30%;
}

#pesquisa {
    width: 100%;
    max-width: 1200px;
    padding: 15px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}

.categorias {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.categoria {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
}

.categoria:hover {
    background-color: #45a049;
}

#lista-ferramentas {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px;
}

.ferramenta {
    width: 200px;
    background-color: #1f1f1f;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    /*transition: transform 0.2s ease, box-shadow 0.2s ease;*/
    opacity: 0;
    /* Começa invisível */
    transform: translateX(-100%);
    /* Começa fora da tela, à esquerda */
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    position: relative;
}

.ferramenta img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

/* Estilo base para todas as ferramentas */

/* Diagnósticos - Sombra Verde */
.ferramenta.diagnosticos {
    box-shadow: 2px 2px 5px rgba(0, 255, 0, 0.5);
}

.ferramenta.diagnosticos:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 15px rgba(0, 255, 0, 0.7);
}

/* Relatórios - Sombra Amarela */
.ferramenta.relatorios {
    box-shadow: 2px 2px 5px rgba(255, 255, 0, 0.5);
}

.ferramenta.relatorios:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 15px rgba(255, 255, 0, 0.7);
}

/* Análise - Sombra Azul */
.ferramenta.analise {
    box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.5);
}

.ferramenta.analise:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 15px rgba(255, 255, 255, 0.7);
}

.ferramenta h3 {
    font-size: 18px;
    margin: 10px 0;
}

.ferramenta p {
    font-size: 14px;
    color: #cacaca;
}

/* Animação de entrada da esquerda para a direita */
.ferramenta.aparecer {
    opacity: 1;
    transform: translateX(0);
    /* Move para o lugar original */
}

.ferramenta:hover {
    transform: translateY(-5px);
    /* Sobe levemente */
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3);
    /* Sombra mais intensa */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* Suaviza o efeito */
}

/* Faz o efeito hover funcionar mesmo após a animação de entrada */
.ferramenta.aparecer:hover {
    transform: translateY(-5px);
    /* Sobe quando o mouse passa */
}

/*-------------------------------------TERCEIRA PÁGINA DIAGOSTICO FINANCEIRO---------------------------------------------*/

.body2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    /* Fonte Thin */
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main2 {
    flex: 1;
    /* Faz com que o main ocupe todo o espaço restante */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #f5f5f5;
    /* Cor de fundo principal */
    background-image: radial-gradient(circle, #ccc 1px, transparent 1px);
    background-size: 20px 20px;
    /* Tamanho do padrão de bolinhas */
    text-align: center;
    padding: 20px 20px 50px 20px;
}

/* Container principal */
.grid-content {
    flex-direction: row;
    display: flex;
    justify-content: space-around;
    justify-items: flex-start;
    gap: 10px;
    width: 70%;
    align-items: flex-start;
}

.questionario-box h1 {
    margin-bottom: 3%;
}

.imagem {
    position: relative;
    display: flex;
    width: 800px;
    /*height: 300px;*/
    margin-bottom: 30px;
    margin-left: 0;
}

.questionario-box {
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 400px;
    /* Largura do retângulo */
    padding: 30px;
    border-radius: 15px;
    /* Arredondamento dos cantos */
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333;
}

.questionario-box div img {
    width: 50%;
}

.questionario-box hr {
    margin-bottom: 5%;
}

/* Formulário */

.header-form {
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, rgb(31, 165, 24) 0%, rgb(59, 59, 59) 100%);
    padding: 24px;
    color: #fff;
    max-height: 100px;
    display: flex;
    /* Usando flexbox para organizar os elementos */
    align-items: center;
    /* Centraliza verticalmente o conteúdo */
    justify-content: center;
    /* Centraliza horizontalmente o conteúdo */
}

.header-form h2 {
    margin: 1% 1% 1% 0%;
    text-align: center;
    z-index: 1;
}

.header-form button {
    margin: 10% 0% 1% 15%;
}

.container-form {
    background-color: #fafafa;
    border-radius: 14px;
    margin: 0px auto;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    /* Corrigido */
    overflow: hidden;
    box-sizing: border-box;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

.voltar-btn {
    position: absolute;
    transform: translateY(-40%);
    right: 88%;
    /* Ajuste conforme necessário para o espaço da borda */
    background: none;
    border: none;
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
    padding: 10% 1% 1%;
    z-index: 0;
}

.voltar-btn:hover {
    background-color: #233821;
}

#header-form2,
#header-form3,
#header-form1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #f1f1f1;
    border-bottom: 2px solid #ccc;
}

.form1,
#form2,
#form3,
#form0 {
    padding: 18px;
}

.form-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
    padding-bottom: 18px;
    position: relative;
    align-items: flex-start;
    text-align: start;
}

.form-content label {
    display: block;
    margin-bottom: 4px;
    word-wrap: break-word;
}

.form-content input {
    display: block;
    width: 100%;
    border-radius: 8px;
    padding: 8px;
    border: 2px solid #dfdfdf;
}

.form-content a {
    position: absolute;
    bottom: -8px;
    left: 0;
    display: none;
}

.button-group {
    align-self: center;
}

.role-button.active {
    background-color: rgba(241, 217, 0);
    /* Cor quando selecionado */
    color: black;
}

.observacao {
    font-size: 12px;
    /* Tamanho da fonte menor */
    color: #555;
    /* Cor do texto */
    margin-top: 4px;
    /* Espaçamento entre o input e a observação */
    display: block;
    line-height: 1.5;
    text-align: start;
}


.form1 button,
#form2 button,
#form3 button,
#form0 button {
    background-color: rgba(31, 165, 24);
    color: #fff;
    width: 100%;
    border-radius: 14px;
    padding: 10px;
    border: 0;
    font-size: 16px;
    cursor: pointer;
    margin-top: 14px;
}

.form1 button:hover,
#form2 button:hover,
#form3 button:hover,
#form0 button:hover {
    background-color: rgba(24, 128, 19);
}

.form-content.error input {
    border-color: red;
}

.form-content.error a {
    visibility: visible;
    color: red;
}

.span-required,
.span-requiredvp {
    color: red;
}

.span-requiredvp {
    color: green;
}

@keyframes slide-up {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

@keyframes slide-down {
    0% {
        transform: translateY(-50px);
        /* Inicia acima */
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        /* Termina na posição original */
        opacity: 1;
    }
}

.resultado {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    overflow-x: hidden;
    padding-bottom: 18px;
}

.dados {
    display: flex;
    flex-direction: column;
    position: relative;
    /*left: 18%;*/
}

.curso {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
}

.resultado h3 {
    display: flex;
    flex-direction: row;
    align-self: center;
    font-size: 200%;
}

.markup {
    font-size: 350%;
    color: #4CAF50;
}

.ver-mais {
    padding: 10px;
}

.ver-mais p {
    padding: 30px 10px 5px 10px;
}

.dados {
    margin-top: 5%;
    margin-bottom: 10%;
}

.role {
    color: #000;
}

.curso {
    margin-top: 10%;
    display: flex;
    flex-direction: column;
    /* Para alinhar a imagem e o botão verticalmente */
    width: 80%;
    height: 100%;
    min-height: 200px;
    align-self: center;
    align-items: center;
    position: relative;
    justify-content: center;
    justify-self: center;
}

.curso img {
    position: absolute;
    /* Posiciona a imagem atrás do botão */
    width: 100%;
    z-index: 0;
}

.curso button {
    position: relative;
    z-index: 1;
    background-color: rgba(31, 165, 24);
    color: #fff;
    width: 100%;
    border-radius: 14px;
    padding: 10px;
    border: 0;
    font-size: 25px;
    cursor: pointer;
    box-shadow: 10px 10px 15px rgba(0, 255, 0, 0.5);
}

select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    appearance: none;
    /* Remove o estilo padrão do navegador */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Ícone de seta personalizado */
select::after {
    content: "";
    display: inline-block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
    pointer-events: none;
}

/* Estilo ao passar o mouse */
select:hover {
    background-color: #f0f0f0;
    border-color: #007bff;
}

/* Estilo ao focar no campo */
select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    background-color: #fff;
}


.back-button {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #00ff66;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    /* Inicialmente escondido */
}

.back-button:hover {
    background-color: #00b312;
}


.video {
    width: 100%;
    height: 250%;
    margin-bottom: 5%;
    aspect-ratio: 16/9;
}

/*Parte da estilização da notificação final*/
.notification {
    display: none;
    /* Inicialmente oculto */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 2px solid #4CAF50;
    /* Verde escuro */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    /* Certifique-se de que está acima de outros elementos */
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.notification h2 {
    margin: 0 0 10px;
}

.notification p {
    margin: 10px 0;
}

.notification button {
    background: linear-gradient(to bottom, #4CAF50, #388E3C);
    /* Gradiente de verde para verde escuro */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.3s;
    /* Para uma transição suave na mudança de cor */
}

.notification button:hover {
    background: linear-gradient(to bottom, #388E3C, #2E7D32);
    /* Gradiente um pouco mais escuro ao passar o mouse */
}

.form-container {
    align-self: center;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    color: #555;
    max-width: 800px;

}

.form-container h2 {
    margin-bottom: 20px;
}

.form-container label {
    display: block;
    margin-bottom: 5px;
}

@media screen and (max-width: 1120px) {
    .RUMO-em-n div p1 {
        font-size: 60px;
    }

}

@media screen and (max-width:1000px) {
    section.consultoria h3 {
        font-size: 20px;
    }

    section.consultoria a {
        font-size: 13px;
    }

    section.lucas_nigro h3 {
        font-size: 20px;
    }

    section.lucas_nigro a {
        font-size: 13px;
    }
}

@media screen and (max-width: 1240px) {
    .grid-content {
        justify-self: flex-start;
        flex-direction: column;
        align-items: center;
        gap: 50px;
        margin-top: 20px;
    }

    .imagem {
        margin-top: 30px;
        transform: scale(1.2);
    }
}

@media screen and (max-width: 800px) {
    .grid-content {
        transform: scale(0.8);
        flex-direction: column;
        align-items: center;
        gap: 50px;
        margin-top: -50px;
    }

    .imagem {
        margin-top: 30px;
        transform: scale(1.2);
    }

    nav ul li a {
        text-align: center;
        font-size: 13px;

        font-weight: 500;
        /* Medium */
        padding: 20px 20px;
        border-radius: 5px;
    }

    .logo img {
        width: 100px;
    }

    .form-container {
        width: 900px;
        height: 800px;
    }

    iframe {
        width: 750px;
        height: 700px;
    }
}

/*---------------------------------------------------------------TAMANHO SÓ MENOR QUE 600---------------------------------------------------*/
@media screen and (max-width: 600px) {
    .grid-content {
        width: 80%;
        flex-direction: column;
        align-items: center;
    }

    .imagem {
        margin-top: 30px;
        transform: scale(1.2);
    }

    nav ul li a {
        padding: 18px 5px;
    }

    nav ul li {
        margin: 5px
    }

    iframe {
        width: 750px;
        height: 1000px;
    }
}

/*---------------------------------a partir de 450px--------------------------------------------*/
@media screen and (max-width: 450px) {

    body,
    html {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        /* Esconde conteúdo que extrapola */
    }

    * {
        box-sizing: border-box;
    }

    .apresentacao {
        margin-top: 20px;
    }

    .apresentacao h1 {
        font-size: 40px;
    }

    .apresentacao h2 {
        font-size: 15px;
    }

    .apresentacao p {
        font-size: 13px;
    }

    .empresas {
        width: 300px;
    }

    .logo_empresas img {
        width: 200px;
    }

    .cta-text p {
        font-size: 8px;
    }

    .parte1 {
        margin-bottom: 10px;
        height: 300px;
    }

    .lucas_nigro {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        align-content: center;
        margin-top: 100px;
        align-self: center;
        flex-wrap: wrap;
    }

    .texto-topicos {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 0px;
    }

    .lucas_nigro div a {
        display: flex;
        width: 300px;
        font-size: 15px;
    }

    .lucas_nigro div h3 {
        font-size: 25px;
        width: 300PX;
    }

    .lucas_nigro img.foto_lucas {
        width: 200px;
        mask-size: 200px;
    }

    .imagem-consultoria {
        width: 300px;
    }

    .consultoria {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
        margin-top: 80px;
        align-self: center;
        flex-wrap: wrap;
    }

    .consultoria div a {
        display: flex;
        width: 300px;
        font-size: 15px;
    }

    .consultoria div h3 {
        font-size: 25px;
        width: 300PX;
    }

    .RUMO-em-n {
        margin-top: 80px;
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .RUMO-em-n h3,
    h1 {
        align-self: start;
    }

    .RUMO-em-n h3 {
        font-size: 10px;
    }

    .RUMO-em-n h1 {
        font-size: 24px;
        align-self: flex-start;
    }

    .RUMO-em-n div p1 {
        font-size: 55px;
    }

    .info-rumo {
        display: flex;
        flex-direction: column;
        width: 320px;
        gap: 50px;
    }

    .info-rumo div p {
        margin-top: 5px;
    }

    .info-rumo div {
        margin-top: 40px;
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .info-rumo div hr {
        width: 200px;
    }

    .logo_rodape {
        width: 90px;
    }

    .container {
        gap: 5px
    }

    .container p {
        font-size: 12px;
    }

    .container a {
        font-size: 10px;
    }

    .credito {
        font-size: 5px;
    }

    .credito a {
        font-size: 5px;
    }

    .grid-content {
        width: 100%;
        align-items: center;
        transform-origin: top;
        flex-direction: column;
        margin-top: 10px;
    }

    .imagem {
        margin-top: 30px;
        transform: scale(1.2);
    }

    nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    nav ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        display: flex;
        margin-left: 25%;
    }

    nav ul li {
        margin: 0 70px;
        position: relative;
    }

    nav ul li a:hover {
        background-color: #555;
        /* Cor mais escura ao passar o mouse */
    }

    nav ul li a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        /* Medium */
        padding: 15px 10px;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

    .main3 {
        background-size: auto;
    }

    #lista-ferramentas {
        display: flex;
        flex-wrap: nowrap;
        /* Impede que as ferramentas quebrem para a próxima linha */
        gap: 0px;
    }

    .categoria {
        padding: 5px;
    }

    .ferramenta.diagnosticos,
    .ferramenta.diagnosticos:hover,
    .ferramenta.relatorios,
    .ferramenta.relatorios:hover,
    .ferramenta.aparecer,
    .ferramenta.aparecer:hover {
        transform: scale(0.8);
    }

    .ferramenta.relatorios {
        transform: scale(0.8);
    }

    .main3 h1 {
        font-size: 30px;
    }

    /* Submenu */
    .submenu {
        display: none;
        position: absolute;
        z-index: 20;
        min-width: 200px;
        list-style: none;
        position: absolute;
        top: 150%;
        right: 0;
        background-color: #333;
        padding: 10px 0;
        margin: 0;
        display: none;
        /* Oculta o submenu por padrão */
        border-radius: 5px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    .submenu li {
        margin: 0px;
        padding: 0px 0px;
        white-space: nowrap;
    }

    .submenu li a {
        align-items: flex-end;
        color: white;
        text-decoration: none;
        display: block;
        font-size: 16px;
        transition: background-color 0.3s ease;
    }

    .submenu li a:hover {
        background-color: #555;
    }

    /* Exibe o submenu ao passar o mouse */
    .dropdown.open .submenu {
        display: block;
    }

    .voltar-btn {
        position: absolute;
        transform: translateY(-40%);
        right: 84%;
        background: none;
        border: none;
        font-size: 30px;
        color: #ffffff;
        cursor: pointer;
        padding: 10px 20px;
        z-index: 0;
    }

    .form-container {
        transform: scale(0.65);
        margin-top: -150px;
        height: auto;
    }

    iframe {
        width: 700px;
        height: 1000px;
    }

    .imagem {
        display: none;
    }

    .blocos {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .blocos img {
        width: 750px;
    }

    .footer {
        margin-top: 100px;
    }

    .main2 {
        max-height: 2100px;
    }

    .logo-pequena {
        height: 50px !important;
    }

    .logos-slide img {
        height: 30px;
        margin: 0 15px;
    }

    .logos {
        display: flex;
        align-items: center;
        height: 80px;
        width: 100%;
        overflow: hidden;
        padding: 20px 0;
        background: rgb(78, 78, 78);
        white-space: nowrap;
        position: relative;
    }

    .logos:before,
    .logos:after {
        position: absolute;
        top: 0;
        width: 50px;
        height: 100%;
        content: "";
        z-index: 2;
    }

    .final-empresas {
        margin-top: 180px;
    }

    .final-empresas h1 {
        font-size: 30px;
        color: #e8cf55;
        font-weight: 600;
    }

    .final-empresas p {
        font-weight: 400;
        font-size: 8px;
    }
}

/*-------------------------------------tela 376 ---------------------------------------*/
@media screen and (max-width: 376px) {
    .grid-content {
        width: 100%;
        align-items: center;
        transform-origin: top;
        flex-direction: column;
        margin-top: 10px;
    }

    .questionario-box {
        width: 100%;
    }



    .imagem {
        margin-top: 30px;
        transform: scale(1.0);
    }

    nav ul li a {
        font-size: 13px;
    }

    .submenu li a {
        font-size: 12px;
    }

    .logo img {
        width: 60px;
    }

    .form-container {
        transform: scale(0.5);
        margin-top: -250px;
        height: auto;
    }

    iframe {
        width: 800px;
        height: 1200px;
    }
}