body{
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    min-height: auto;
    background:#051c44;
    position: relative;
    overflow-x: hidden;
}

.hero{
    width:100%;
    height: 100%;
    height:100vh;
    position:relative;
    overflow:hidden;
}

.overlay {
    position: absolute; /* ou fixed, dependendo do seu layout */
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px; /* Ajuste a altura da transição como preferir */
    background: linear-gradient(
        to bottom,
        transparent,
        #051c44 90% /* Termina exatamente na cor escura do final do body */
    );
    pointer-events: none; /* Garante que o overlay não bloqueie cliques em botões por trás dele */
    z-index: 1; /* Ajuste para ficar acima do fundo, mas abaixo do conteúdo principal */
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: auto;
    height: 100%;
    
    /* O preto domina do topo até 90%, e o azul surge só nos últimos 10% */
    background: linear-gradient(
        to bottom, 
        #000000 0%,
        #050505 90%, /* Mantém quase tudo preto */
        #0f1d35 100% /* O azul aparece bem concentrado no finalzinho */
    );
}

.navbar{
    width: 100%;
    position: relative;
    height: auto;
    display:flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.616);
}

.cabecalho{
    width: 100%;
    height:100px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
}

.logo img{
    width: 150px;
}

.menu{
    display:flex;
    width: auto;
    list-style:none;
    gap:40px;
}

.menu li a{
    text-decoration:none;
    color: black;
    font-size:16px;
    font-weight:500;
    display: inline-block; 
    transition: color 0.3s, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.menu li a:hover{
    color: red;
    transform: scale(1.20); 
}

.menu-toggle {
    display: none;
}

.MenuMob {
    display: none;
}

.hero-content{
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    margin-top:-50px;
}

.hero-content h1{
    color: #ffffff;
    font-size:40px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:2px;
    text-shadow:0 5px 20px rgba(0,0,0,.5);
}

.hero-content h2{
    font-size:20px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:2px;
    text-shadow:0 5px 20px rgba(0,0,0,.5);
}

/* Animação de flutuação */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(15px);
    }
    60% {
        transform: translateY(8px);
    }
}

.Sobre{
    display: flex;
    flex-direction: column; 
    align-items: center;
    width:100%;
    height:auto;
    gap: 100px;
    position:relative;
}

.QuemSomos{
    width: 100%;
    height: 60vh;
    display: flex;
}

.descricaoQuemSomos{
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-left: 20px;
    padding-right: 20px;
    border-radius:12px;
    background:rgba(0,0,0,0.45);
    backdrop-filter:blur(5px);
}

.QuemSomos h1{
    font-size: 20px ;
    color: white;
}

.QuemSomos p {
    font-size: 18px ;
    color: white;
}

.Visao,.Missao,.Valores{
    width:90%;
    height:80vh;
    position:relative;
    overflow:hidden;
    border-radius: 8px;
    transform: translateY(-10px);
    box-shadow: 0 30px 40px -12px rgba(0, 0, 0, 0.3);
}

/* Efeito ao passar o mouse: o card "levanta" um pouco mais */
.Visao:hover,.Missao:hover,.Valores:hover {
    box-shadow: #000000;
    box-shadow: 0 10px 10px 10px rgba(0, 0, 0, 0.747);
    
    /* Empurra levemente o elemento para cima para dar o efeito de flutuar */
    transform: translateY(-5px);
    
    /* Transição suave caso queira colocar um efeito de hover (ao passar o mouse) */
    transition: all 0.3s ease;
}


.imgVisao, .imgMissao, .imgValores {
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
}


.imgVisao img, .imgMissao img, .imgValores img {
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:8px;
}


/* caixa de texto por cima */
.descricaoVisao, .descricaoMissao, .descricaoValores {

    width:45%;
    min-height:200px;

    position:absolute;

    right:5%;
    bottom:40px;

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:30px;

    border-radius:12px;

    background:rgba(0,0,0,0.45);

    backdrop-filter:blur(5px);

    box-shadow:
    0 10px 30px rgba(0,0,0,0.5);
}


.descricaoVisao h1,
.descricaoMissao h1,
.descricaoValores h1{

    width:100%;
    font-size:32px;
    color:white;
    margin-bottom:15px;

}


.descricaoVisao p,
.descricaoMissao p,
.descricaoValores p{

    width:100%;
    font-size:16px;
    line-height:1.6;
    color:#ddd;

}

.informações{
    display: flex;
    flex-direction: column;
    width: 100%;
    background: black;
    margin-top: 5%;
}

.dados-legais{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    position: relative;
}

.dados-legais p{
    color: white;
}

.termosPolitica{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    position: relative;
}

.termosPolitica a{
    color: white;
}

.termosPolitica p{
    color: white;
}

/* Container de fundo do Modal (Cobre a tela toda) */
.modal-container {
    display: none; /* Fica escondido até o clique */
    position: fixed;
    z-index: 9999; /* Fica acima de absolutamente tudo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Escurece o fundo */
    backdrop-filter: blur(8px); /* MARAVILHA VISUAL: Embaça o site atrás */
    -webkit-backdrop-filter: blur(8px); /* Suporte para Safari */
    align-items: center;
    justify-content: center;
}

/* Caixa centralizada do Modal */
.modal-conteudo {
    background-color: #0b0f19; /* Fundo escuro combinando com seu site */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Poppins', sans-serif;
    padding: 30px;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh; /* Não deixa o modal cortar em telas pequenas */
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    animation: abrirModalSuave 0.3s ease forwards;
}

/* Título */
.modal-conteudo h2 {
    color: #00e5ff; /* Azul Ártico */
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* Subtítulos internos */
.modal-conteudo h3 {
    color: #ffffff;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Área de texto rolável interna (Garante que o texto grande não quebre o layout) */
.modal-texto-corrido {
    overflow-y: auto; /* Cria barra de rolagem interna se necessário */
    padding-right: 10px;
    flex-grow: 1;
    text-align: left;
}

.modal-texto-corrido p {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.modal-texto-corrido ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.modal-texto-corrido li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 10px;
    line-height: 1.5;
}

.data-politica {
    font-style: italic;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-top: 25px;
}

/* Personalização da barra de rolagem do texto para ficar bonita e discreta */
.modal-texto-corrido::-webkit-scrollbar {
    width: 6px;
}
.modal-texto-corrido::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Botão Vermelho de Voltar */
.btn-fechar-modal {
    background: #ff003c; /* Vermelho vibrante Arcontech */
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: background 0.2s, transform 0.1s;
}

.btn-fechar-modal:hover {
    background: #e60035;
    transform: translateY(-1px);
}

.btn-fechar-modal:active {
    transform: translateY(0);
}

/* Animação de surgimento */
@keyframes abrirModalSuave {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media screen and (max-width: 1024px) {
    
    .logo{
        position:absolute;
        top:0;
        right:5%;
    }
    
    /* Esconde o menu tradicional de computador */
    .menu {
        display: none !important;
    }

    .menu-toggle{
        display: flex;
        align-items: center;
        justify-content: center;
        width:40px;
        height: 40px;
        border-radius: 5px;
        text-decoration: none; 
        cursor: pointer;
        background:#fafbfc;
        border: 1px white solid;
        font-size: 16pt;
        cursor: pointer;
        z-index: 10000;
        position: absolute;
        top: 25px;            /* Centraliza verticalmente no cabeçalho de 100px */
        left: 5%;  
    }

    /* Container do Menu Mobile (Escondido e recolhido por padrão) */
    .MenuMob {
        position: absolute;
        top: 100px;           /* Inicia logo abaixo dos 100px do cabeçalho */
        left: 0;
        width: 250px;
        display: flex;        /* Mantemos flex para organizar os itens */
        flex-direction: column;
        list-style: none;
        margin: 0;
        padding: 0;
        background: rgba(255, 255, 255, 0.616);
        z-index: 9999;

        /* --- TRUQUE DA ANIMAÇÃO DE DESLIZE --- */
        max-height: 0;        /* Esconde o menu cortando a altura */
        overflow: hidden;     /* Não deixa o texto vazar enquanto está fechado */
        opacity: 0;           /* Suaviza o surgimento */
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out; /* Controla a velocidade */
    }

    /* Estado Ativo: Quando o JS adiciona a classe .active no clique */
    .MenuMob.active {
        max-height: 400px;    /* Valor maior que a altura total dos seus links para expandir suave */
        opacity: 1;           /* Torna o menu 100% visível */
    }

    /* Os itens da lista */
    .MenuMob li {
        width: 100%;
    }

    /* O link <a> (onde fica o clique e o espaçamento) */
    .MenuMob a {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        color: #000000;
        font-size: 14pt;
        text-decoration: none;
        transition: background 0.3s ease, padding-left 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        cursor: pointer;
        box-sizing: border-box;
    }

    .MenuMob a:hover {
        background-color: #007bff;
        color: #ffffff;
        padding-left: 25px;
    }

    .MenuMob.active {
        display: flex;
        flex-direction: column;
    }

    .btn-orcamento{
        width: 50%;
    }
}


@media screen and (max-width: 768px) {

    .cabecalho{
        height: 60px;
    }

    .logo img{
        width:80px;
    }

    .menu-toggle{
        top: 10px; 
    }

    .MenuMob {
        top: 60px; 
    }
    
    .hero-content h1 {
        font-size: clamp(20px, 4.5vh, 28px);
    }

    .hero-content p {
        font-size: clamp(16px, 2.5vh, 20px);
    }

    .Sobre{
        gap: 50px;
    }

    .QuemSomos{
        display: flex;
        flex-direction: column;
        height: 80vh;
        align-items: center;
    }

    .descricaoQuemSomos {
        width: 95%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .descricaoQuemSomos h1 {
        font-size: 18px;
    }

    .descricaoQuemSomos p {
        font-size:16px;
    }

    .Visao,.Missao,.Valores{
        width: 95%;
        height: 70vh;
    }

    .imgVisao, .imgMissao, .imgValores {
        width:100%;
        height:100%;
        position:relative;
    }

    .imgVisao img, .imgMissao img, .imgValores img {
        width:100%;
        height:100%;
        object-fit:cover;
        border-radius:8px;
    }

    .descricaoVisao, .descricaoMissao, .descricaoValores {
        right:0%;
        bottom:0px;
        padding: 10px;
    }

    .descricaoVisao h1,.descricaoMissao h1,.descricaoValores h1{
        font-size: 18px;
    }

    .descricaoVisao p,.descricaoMissao p,.descricaoValores p{
        font-size: 14px;
    }

    .dados-legais{
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0px;
        padding: 1%;
        position: relative;
    }

    .dados-legais p{
        color: white;
        margin: 0px;
    }
}


@media screen and (max-width: 480px) {
    .cabecalho{
        height: 60px;
    }

    .logo img{
        width:80px;
    }

    .menu-toggle{
        top: 10px; 
    }

    .MenuMob {
        top: 60px; 
    }

    .hero-content h1{
        font: size 1.5rem;
    }

    .hero-content h2{
        font: size 1rem;
    }

    .Visao,.Missao,.Valores{
        display: flex;
        flex-direction: column;
        height: 50vh;
        background: black;
    }

    .imgVisao, .imgMissao, .imgValores {
        width:100%;
        height:50%;
        position:relative;
    }

    .descricaoVisao, .descricaoMissao, .descricaoValores {
        width: 100%;
        right:0%;
        bottom:0px;
        padding: 0px;
    }
}

@media screen and (max-width: 360px) {

    .hero-content h1{
        font-size:16px;
    }

    .hero-content h2{
        font-size:20px;
    }

    .Visao,.Missao,.Valores{
        display: flex;
        flex-direction: column;
        height: 80vh;
        background: black;
    }

    .imgVisao, .imgMissao, .imgValores {
        width:100%;
        height:50%;
        position:relative;
    }

    .descricaoVisao, .descricaoMissao, .descricaoValores {
        width: 100%;
        right:0%;
        bottom:0px;
        padding: 0px;
    }
}