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;
}

.hero-img{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    z-index:0;
}

.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:95%;
}

.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{
    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:30px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:2px;
    color: red;
    text-shadow:0 5px 20px rgba(0,0,0,.5);
}

.hero-content p{
    font-size:25px;
    font-weight:500;
    margin-top:10px;
}

.btn-orcamento{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:35px;
    background:#e60025;
    color:white;
    text-decoration:none;
    font-size:15px;
    font-weight:700;
    border-radius:30px;
    text-align: center;
    box-shadow:
    0 0 15px rgba(255,0,40,.8),
    0 0 35px rgba(255,0,40,.5);
    transition:.3s;
}

.btn-orcamento{
    width: 40%;
    height: 50px;
}

.btn-orcamento:hover{
    background:#ff0033;
    transform:scale(1.05);
}

.seta-gigante {
    width: 80px;  /* Mude para 150px, 200px ou o tamanho que preferir! */
    height: 80px; /* Mude para acompanhar a largura */
    cursor: pointer;
    animation: bounce 2s infinite ease-in-out;
    border-radius: 100px;
    background: red;
    border: 1px red solid;
}

.seta-gigante svg {
    width: 100%;
    height: 100%;
}

/* Animação de flutuação */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(15px);
    }
    60% {
        transform: translateY(8px);
    }
}

.setores{
    display: flex;
    flex-direction: column;
    width:100%;
    height:auto;
    gap: 100px;
    position:relative;
}

.Residencial,.Industrial,.Hospitalar,.ServicosGeral{
    width:100%;
    display: flex;
    height:auto;
    position:relative;
}

.imgResidencial, .imgIndustrial, .imgHospitalar, .imgServicosGeral {
    width: 50%;
    height: auto;
    position: relative;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.imgResidencial img, .imgIndustrial img, .imgHospitalar img, .imgServicosGeral img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.descricaoResidencial, .descricaoIndustrial, .descricaoHospitalar, .descricaoServicosGeral {
    width: 49%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px; /* Importante para o texto não colar nas bordas da sombra interna */
    border-radius: 8px;
    box-shadow: inset 0 50px 50px rgba(0, 0, 0, 0.493); 
}

.descricaoResidencial h1,.descricaoIndustrial h1,.descricaoHospitalar h1,.descricaoServicosGeral h1{
    width: 90%;
    font-size: 24px;
    color: white;
}

.descricaoResidencial p,.descricaoIndustrial p,.descricaoHospitalar p,.descricaoServicosGeral p{
    width: 90%;
    height: auto;
    font-size: 14px;
    color: rgb(202, 202, 202);
}

.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 h2 {
        font-size: clamp(18px, 5vh, 28px);
    }

    .hero-content p {
        font-size: clamp(16px, 2.5vh, 20px);
    }

    .seta-gigante {
        width: clamp(50px, 8vw, 80px);
        height: clamp(50px, 8vw, 80px);
    }

    .setores{
        gap: 10px;
    }

    .Residencial,.Industrial,.Hospitalar,.ServicosGeral{
        display: flex;
        flex-direction: column;
    }

    .imgResidencial, .imgIndustrial, .imgHospitalar, .imgServicosGeral {
        width: 100%;
    }

    .imgResidencial img, .imgIndustrial img, .imgHospitalar img, .imgServicosGeral img {
        width: 90%;
    }

    .descricaoResidencial, .descricaoIndustrial, .descricaoHospitalar, .descricaoServicosGeral {
        width: 95%;
    }

    .descricaoResidencial h1,.descricaoIndustrial h1,.descricaoHospitalar h1,.descricaoServicosGeral h1{
        font-size: 24px;
    }

    .descricaoResidencial p,.descricaoIndustrial p,.descricaoHospitalar p,.descricaoServicosGeral p{
        font-size: 14px;
    }

    .btn-orcamento{
        width: 30%;
        height: 50px;
    }

    .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 p{
        font: size 1rem;
    }

    .descricaoResidencial h1,.descricaoIndustrial h1,.descricaoHospitalar h1,.descricaoServicosGeral h1{
        font-size: 20px;
    }

    .descricaoResidencial p,.descricaoIndustrial p,.descricaoHospitalar p,.descricaoServicosGeral p{
        font-size: 14px;
    }

    .btn-orcamento{
        width: 40%;
        height: 50px;
    }
}

@media screen and (max-width: 360px) {

    .hero-content h1{
        font-size:16px;
    }

    .hero-content p{
        font-size:14px;
    }

    .hero-content h2{
        font-size:20px;
    }

    .seta-gigante {
        width: 50px;
        height: 50px;
    }

    .btn-orcamento{
        width: 50%;
        height: 50px;
    }
}