body{
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    min-height: auto;
    background:#051c44;
    position: relative;
    overflow-x: hidden;
}

.hero{
    width: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;
}

.hero-content h1{
    font-size:58px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:2px;
    text-shadow:0 5px 20px rgba(0,0,0,.5);
}


.hero-content h2{
    margin-top:20px;
    font-size:28px;
    font-weight:700;
    letter-spacing:1px;
}

.hero-content p{
    font-size:25px;
    font-weight:500;
    margin-top:10px;
}

.hero-content span{
    margin-top:10px;
    font-size:18px;
    font-weight:400;
}

.btn-orcamento,.btn-nossaHistoria{
    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;
}

.btnfundoPortifolio{
    display: flex;
    align-items: center;
    justify-content: center;
    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: 20%;
    height: 50px;
}

.btn-nossaHistoria{
    width: 30%;
    height: 50px;
}

.btn-orcamento:hover,.btn-nossaHistoria:hover{
    background:#ff0033;
    transform:scale(1.05);
}

/*Section institucional*/

.institucional{
    width:100%;
    height:auto;
    position:relative;
}

.cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 100%;
    min-height: auto; /* Mudado para min-height para evitar quebras em telas menores */
    margin-bottom: 2%;
}

/* Unificamos os estilos repetidos usando a classe genérica '.card' */
.card {
    display: flex;
    flex-direction: column;   /* Garante que imagem fica em cima e texto embaixo */
    align-items: center;      /* Centraliza horizontalmente a imagem e o texto */
    justify-content: center;
    min-width: 200px;
    max-width: 250px;
    height: 250px;
    background-color: rgba(253, 253, 253, 0.719);
    border-radius: 12px;
    border: 1px solid rgb(0, 0, 0);
}

.card-img {
    width: 100%;              /* Defina um tamanho fixo ideal para os seus ícones novos */
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Garante que a imagem se ajuste perfeitamente dentro do container */
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;     /* Não deixa a imagem distorcer */
}

/* Alinhamento dos textos */
.card-text {
    text-align: center;       /* Centraliza o texto */
    width: 100%;
}

.card-text h1 {
    font-size: 1.5rem;
    margin: 10px 0 5px 0;     /* Margens controladas */
}

.card-text h2 {
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
}

.Apresentacao{
    display: flex;
    width: 100%;
    min-height: auto; /* Mudado para min-height para evitar quebras em telas menores */
    flex-wrap: wrap;
    padding-left: 5%;
    padding-right: 5%;
    justify-content: baseline;
}

.sobre{
    width: 45%;
    height:auto;
    display:flex;
    flex-direction:column;
    justify-content:center;
    color:white;
}

.card-imgA {
    width: 45%;
    height: auto;
}

.card-imgA img{
    width: 100%;
    height: 100%;
}

.ConteudoPortifolio {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Alinha o conteúdo verticalmente na base */
    width: 100%;
    margin-top: 5%;
    height: 100vh;          /* Aumentamos um pouco para dar mais espaço */
    padding-right: 1%;
    padding-left: 1%;  /* Espaço para não colar no rodapé da tela */
    box-sizing: border-box;
}

/* Cria uma película escura sobre a imagem para dar contraste aos textos */
.ConteudoPortifolio::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente que começa bem escuro na esquerda (onde ficam os textos principais) e suaviza na direita */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.699) 30%, rgba(56, 56, 56, 0) 100%);
    z-index: 1; /* Fica acima da tag <img>, mas abaixo das divs de conteúdo */
    pointer-events: none; /* Garante que cliques passem por ela sem bloquear os botões */
}

#imgFundoPortifolio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0; /* Fica no fundo */
    pointer-events: none; /* Garante que ela não bloqueie cliques nos botões */
}

/* Lado Esquerdo - Informações */
.FundoPortifolio {
    width: 49%;
    height: 60%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px; /* Sobe um pouco o texto para não ficar totalmente no chão */
    z-index: 2;
}

.tituloFundoPortifolio {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.descricaoFundoPortifolio {
    font-size: 1rem;
    color: #ddd;
    line-height: 1.6;
}

.divbntPortifolio {
    height: 12%;
    display: flex;
    margin-bottom: 2%;
}

.btnfundoPortifolio{
    width: 30%;
    height: 50px;
}

.btnfundoPortifolio:hover{
    background:#ff0033;
    transform:scale(1.05);
}

/* Container que segura o carrossel e os botões */
.CarrosselPortifólio {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 20px;             
    width: 49%;
    height: auto;
    padding-right: 20px;    /* Cria a folga pequena que você quer em relação ao final */
    box-sizing: border-box;
}

/* NOVO: Este container vai ditar o tamanho visível (espaço para exatamente 3 cards) */
.Carrossel {
    display: flex;
    gap: 15px;
    justify-content: flex-start; /* Mudado para largar da esquerda e permitir o deslize */
    align-items: center;
    width: 90%;   
    height: 80%;   /* Tamanho exato: (140px do card * 3) + (15px de gap * 2) = 450px */
    overflow-x: auto;   /* Permite o scroll/arrastar */
    scroll-behavior: smooth; /* Deixa o movimento pelo botão suave */
    scrollbar-width: none;   /* Esconde a barra de rolagem no Firefox */
    cursor: grab;            /* Muda o mouse para uma "mãozinha" de arrastar */
    padding-left: 1%;
}

/* Esconde a barra de rolagem no Chrome, Safari e Edge */
.Carrossel::-webkit-scrollbar {
    display: none;
}

/* Evita que o navegador trave o arrastar em dispositivos touch */
.cardCarrossel {
    flex-shrink: 0; /* IMPRESCINDÍVEL: impede que os cards espremam para caber na tela */
    width: 32%;
    height: auto;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    margin-top: 3%;
    transition: transform 0.4s ease, border 0.3s;
    border: 2px solid transparent;
    overflow: hidden;
    user-select: none; /* Impede que o usuário selecione a imagem sem querer ao arrastar */
}

/* Quando estiver arrastando, muda o cursor para uma mão fechada */
.Carrossel:active {
    cursor: grabbing;
}

.cardCarrossel:hover {
    transform: translateY(-8px);
}

/* Card Selecionado (Ativo) */
.cardCarrossel.ativo {
    border: 2px solid #fff;
    transform: translateY(-8px) scale(1.02);
}

.cardCarrossel img{
    width: 100%;
    height: 100%;
}

/* Informações internas do Card */
.cardInfoA1,.cardInfoB1,.cardInfoC1,.cardInfoD1,.cardInfoE1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.cardInfoA1,.cardInfoB1,.cardInfoC1,.cardInfoD1,.cardInfoE1 span {
    font-size: 0.7rem;
    font-weight: bold;
    color: black;
}

.cardInfoA1 h3,.cardInfoB1 h3,.cardInfoC1 h3,.cardInfoD1 h3,.cardInfoE1 h3 {
    font-size: 0.9rem;
    margin: 5px 0 0 0;
    color: white;
}

/* Navegação e Paginação Inferior */
.navegacaoCarrossel {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Mantém o alinhamento na direita */
    gap: 20px;
    width: auto;
    z-index: 2;
    /* SOLUÇÃO: Adiciona uma margem na direita e avisa o navegador para descontar do tamanho */
    margin-right: 50px; /* Deixe o mesmo valor de padding-right que usamos nos cards (ex: 20px) */
    margin-bottom: 1%;
}

.navegacaoCarrossel button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 1.1rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    cursor: pointer !important; /* Força a mãozinha em cima de qualquer circunstância */
    user-select: none;
    -webkit-user-select: none; /* Bloqueia no Chrome, Safari e Edge */
    -moz-user-select: none;    /* Bloqueia no Firefox */
    -ms-user-select: none;     /* Bloqueia no IE antigo */
}

.navegacaoCarrossel button:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
    
    /* Garante que no hover o cursor continue sendo a mãozinha */
    cursor: pointer; 
}

.barrasCarrossel {
    display: flex;
    gap: 8px;
    align-items: center;
}

.barra {
    width: 35px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s;
    user-select: none;
}

.barra.ativa {
    background-color: #fff;
    width: 55px; /* Barra ativa fica mais larga */
}

.infocontato {
    width: 100%;
    height: auto;
    margin-top: 5%;
}

.contatos{
    display: flex;
    width: 100%;
    height: 80%;
}

.titulo{
    width: 100%;
    height: 20%;
    margin-top: 2% ;
    text-align: center;
}

.titulo h1{
    color: white;
}

/* Container que alinha os botões (pode ser lado a lado ou um embaixo do outro) */
.canais {
    display: flex;
    width: 40%;
    gap: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.iconCanais {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}

.whats,.telefone,.email{
    display: flex;
    margin-left: 20px;
    width: 100%;
    gap: 10px;
    align-items: center;
}

/* O Botão tátil prateado (adaptado para o seu HTML) */
.canais a,.Rsocial a {
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Cria um botão quadrado perfeito */
    width: 70px;
    height: 70px;
    
    /* Cantos arredondados (16px deixa arredondado, se quiser um círculo perfeito use 50%) */
    border-radius: 16px; 
    
    /* Remove o sublinhado padrão */
    text-decoration: none; 
    cursor: pointer;
    
    /* Fundo escuro sutil */
    background: linear-gradient(135deg, rgba(3, 3, 3, 0.808), rgba(255, 255, 255, 0.01));
    
    /* BORDA PRATEADA: Borda com visual de metal */
    border: 2px solid rgba(161, 161, 161, 0.6);
    
    /* Sombreado duplo: Altura externa + profundidade interna */
    box-shadow: 
        0 8px 15px rgba(0, 0, 0, 0.5), /* Sombra projetada no fundo do site */
        inset 0 1px 2px rgba(255, 255, 255, 0.2); /* Brilho na aresta do metal */
        
    /* Posição e transição suave para o efeito de afundar */
    position: relative;
    top: 0; 
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Tamanho dos ícones dentro do botão */
/* Tamanho dos ícones dentro do botão */
.canais a i,.Rsocial a i {
    font-size: 36px; /* Tamanho do ícone centralizado */
    transition: all 0.2s ease;
    
    /* SOLUÇÃO DO PROBLEMA: */
    cursor: pointer; /* Garante que mostre a "mãozinha" de clique, nunca a barra de texto */
    user-select: none; /* Impede o navegador de tentar selecionar o ícone como se fosse texto */
}

/* --- CORES DOS ÍCONES (Identidade Visual) --- */
.canais a .bxl-whatsapp { color: #25D366; } /* Verde Whats */
.canais a .bx-phone { color: #00e5ff; }     /* Ciano Arcontech */
.canais a .bx-envelope { color: #ffffff; }  /* Branco */
.Rsocial a .bxl-facebook { color: #1877F2; }
.Rsocial a .bxl-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aec 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.Rsocial a .bxl-linkedin { color: #0077B5; }


/* --- EFEITO DE AFUNDAR (HOVER / MOUSE EM CIMA) --- */
/* --- EFEITO DE AFUNDAR (HOVER / MOUSE EM CIMA) --- */
.canais a:hover {
    /* As sombras mudam para criar a profundidade interna */
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.6), 
        inset 0 3px 6px rgba(0, 0, 0, 0.7); 
        
    background: rgba(255, 255, 255, 0.08); 
}

/* O TRUQUE: Alvo direto no ÍCONE quando o mouse passa no botão */
.canais a:hover i {
    transform: scale(0.88); /* Diminui o ícone em 12% dando a ilusão de que ele se afastou/afundou */
}


/* --- Efeito ao clicar (Clique físico total) --- */
.canais a:active {
    /* Removido o 'top: 6px' para não deslocar a borda */
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8), 
        inset 0 5px 10px rgba(0, 0, 0, 0.9); 
}

/* Alvo direto no ÍCONE quando o botão é clicado */
.canais a:active i {
    transform: scale(0.80); /* No clique, o ícone encolhe ainda mais, simulando o fundo máximo */
}

.forms{
    display: flex;
    width: 60%;
    justify-content: center;
    align-items: center;
}

.formulario-orcamento{
    display: flex;
    width: 70%;
    height: auto;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1%;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.295);
    box-shadow: 12px 12px 20px rgba(0, 0, 0, 0.274);
    border: 2px solid rgba(161, 161, 161, 0.6);
}

.formulario-orcamento h1{
    color: white;
}

.form-group1,.form-group2,.form-group3{
    display: flex;
    position: relative;
    width: 100%;
    height: 10%;
    gap: 10px;
    margin-bottom: 10px;
}

.form-group4{
    display: flex;
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
}

.form-group5{
    display: flex;
    width: 100%;
    height: 80px;
    justify-content: center;
}

.form-group1 input,.form-group2 input,.form-group3 select,.form-group4 textarea{
    display: flex;
    padding: 13px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(161, 161, 161, 0.4); /* Prateado sutil */
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.form-group1 input,.form-group3 select{
    width: 50%;
}

.form-group2 input{
    width: 80%;
}

.form-group4 textarea{
    width: 100%;
}

.formulario-orcamento button{
    width: 30%;
    height: 60px;
    margin-top:10px;
    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;
    border: none;
    cursor:pointer;
}

.formulario-orcamento button:hover{
    background:#ff0033;
    transform:scale(1.05);
}

/* Torna seus grupos atuais em referências de posição */
.form-group1, .form-group2, .form-group3 {
    position: relative;
}

/* Bordas nos inputs */
input.input-valid, select.input-valid {
    border-color: #28a745 !important;
}

input.input-invalid, select.input-invalid {
    border-color: #dc3545 !important;
}

/* BALÃO SUSPENSO (TOOLTIP) - Flutua sem alterar tamanho */
.tooltip-erro {
    display: none;
    position: absolute;
    z-index: 99;
    background-color: #dc3545;
    color: #ffffff;
    font-size: 0.72rem;
    padding: 5px 9px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* Setinha apontando para o input */
.tooltip-erro::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 12px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #dc3545 transparent;
}

/* Posição exata dos balões para não cobrir outros inputs */
#erro-nome { top: calc(100% + 2px); left: 0; }
#erro-whatsapp { top: calc(100% + 2px); right: 0; left: auto; }
#erro-email { top: calc(100% + 2px); left: 0; }
#erro-servico { top: calc(100% + 2px); left: 0; }
#erro-ambiente { top: calc(100% + 2px); right: 0; left: auto; }

/* Cor do placeholder para todos os navegadores */
.formulario-orcamento input::placeholder, 
.formulario-orcamento select,
.formulario-orcamento textarea::placeholder {
    color: rgba(255, 255, 255, 0.521) !important; /* Branco bem visível */
    opacity: 1; /* Garante que o Firefox não aplique transparência extra */
}

/* Bordas coloridas nos inputs/selects */
input.input-valid, select.input-valid {
    border-color: #28a745 !important; /* Verde */
}

input.input-invalid, select.input-invalid {
    border-color: #dc3545 !important; /* Vermelho */
}

/* Formatação simples da mensagem de erro */
[class^="error-msg-"] {
    color: #dc3545;
    font-size: 0.75rem;
    font-weight: 500;
    display: block;
    margin-top: 2px;
}

.social {
    display: flex;
    width: 100%;
    height: 20vh;
    margin-top: 5%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.699) 30%, rgba(56, 56, 56, 0) 100%);
}

.social img{
    width:200px;
}

.Rsocial{
    width: auto;
    height: auto;
    display: flex;
    gap: 10px;
}

.informações{
    display: flex;
    flex-direction: column;
    width: 100%;
    background: black;
}

.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; }
}

/* ==========================================
   ESTILO DO SLIDER CAPTCHA
   ========================================== */
/* ==========================================
   AJUSTES EXCLUSIVOS PARA O MODAL DO CAPTCHA
   ========================================== */

/* 1. Deixa a caixinha do captcha mais compacta e sem scroll */
.modal-conteudo.modal-captcha-box {
    max-width: 420px;     /* Mais estreito que o de termos (que tem 600px) */
    max-height: auto;     /* Altura se adapta só ao conteúdo dele */
    padding: 25px;
    text-align: center;   /* Centraliza tudo para o captcha ficar bonito */
}

/* 2. Ajusta a instrução do captcha */
.captcha-instrucao {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

/* 3. Estiliza a barra do Captcha em formato de Pílula */
.slider-captcha-container {
    position: relative;
    width: 100%;
    height: 52px;
    background-color: #050811;  /* Fundo um pouco mais escuro que a caixa */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;        /* Bordas arrendondadas (Estilo Paint) */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 20px 0;
    user-select: none;
    -webkit-user-select: none;
}

.slider-texto {
    color: #8b949e;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
    z-index: 1;
}

/* 4. A Bolinha que você arrasta */
.slider-handle {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 42px;
    height: 42px;
    background-color: #00e5ff;  /* Azul Ártico combinando com o H2 */
    color: #0b0f19;
    border-radius: 50%;         /* Transforma em bolinha perfeita */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: grab;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
    transition: left 0.3s ease, background-color 0.3s ease;
}

.slider-handle:active, 
.slider-handle.arrastando {
    cursor: grabbing;
    transition: none;
}

/* Estado de Sucesso */
.slider-captcha-container.sucesso {
    border-color: #00e676;
    background-color: rgba(0, 230, 118, 0.08);
}

.slider-handle.sucesso {
    background-color: #00e676;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
}

@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: 30%;
    }

    .cards{
        gap: 0;
        justify-content: space-around;
    }

    .card {
        min-width: 150px;
        max-width: 200px;
        height: 200px;
    }

    .Apresentacao{
        padding-left: 0%;
        padding-right: 0%;
        justify-content: space-around;
    }

    .btn-nossaHistoria{
        width: 40%;
    }

    .ConteudoPortifolio {
        height: 60vh;
        width: 100%;
    }

    .FundoPortifolio{
        gap: 5px;
    }

    .tituloFundoPortifolio {
        font-size: 2.5rem;
    }

    .descricaoFundoPortifolio {
        font-size: 1rem;
    }

    .cardCarrossel {
        flex: 0 0 160px; /* Impede encolhimento e fixa a largura em 160px */
        height: 200px;   /* Altura fixa proporcional */
        margin-top: 0;
        margin-top: 2%;
    }

    /* 3. Remove o scale no .ativo que causa o pulo/corte no scroll em telas menores */
    .cardCarrossel.ativo {
        transform: translateY(-4px); /* Apenas um leve levante sem alterar a escala x/y */
    }

    /* 4. Ajusta o alinhamento da navegação */
    .navegacaoCarrossel {
        margin-right: 0;
        justify-content: center;
        width: 100%;
    }

    .btnfundoPortifolio {
        width: 40%;
    }

    .titulo h1{
        font-size: 1.5rem;
    }

    .whats h3,.telefone h3,.email h3{
        font-size: 1rem;
    }

    .formulario-orcamento h1{
        font-size: 1.5rem;
    }

    .formulario-orcamento h3{
        font-size: 1rem;
    }

    .formulario-orcamento button{
        width: 40%;
        height: 60px;
    }
    
    /* Diminui a fonte dos placeholders (textos de dica dentro dos inputs e textarea) */
    .formulario-orcamento input::placeholder,
    .formulario-orcamento textarea::placeholder {
        font-size: 0.8rem; /* Ajuste o valor se quiser menor (ex: 0.8rem) ou maior */
    }

    /* Diminui a fonte do texto digitado e dos selects/options */
    .formulario-orcamento input,
    .formulario-orcamento select,
    .formulario-orcamento textarea {
        font-size: 0.8rem;
    }

    /* Garante que as opções de seleção também acompanhem o tamanho reduzido */
    .formulario-orcamento option {
        font-size: 0.8rem;
    }
}


@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 span {
        font-size: clamp(16px, 2.5vh, 20px);
    }

    .hero-content p {
        font-size: clamp(16px, 2.5vh, 20px);
    }

    .btn-orcamento,.btn-nossaHistoria{
        margin: 10px;
    }

    .cards{
        gap: 0;
        justify-content: space-around;
    }

    .cards{
        gap: 20px 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .Apresentacao{
        align-items: center;
        margin-top: 10%;
    }

    .sobre{
        gap: 0;
        padding: 0;
    }

    .sobre h1{
        margin: 0;
        font-size:16px;
    }

    .sobre p{
        margin: 0;
        font-size:12px;
    }

    .btn-nossaHistoria{
        width: 60%;
    }

    .card-text h1{
        font-size:14px;
    }

    .card-text h2{
        font-size:12px;
    }

    .ConteudoPortifolio {
        height: 50vh;
    }

    .FundoPortifolio{
        height: 70%;
    }

    .tituloFundoPortifolio {
        font-size: 1rem;
    }

    .descricaoFundoPortifolio {
        font-size: 1rem;
    }

    .btnfundoPortifolio{
        width: 60%;
    }

    .Carrossel {
        width: 100%;
        padding: 15px 10px;
        gap: 12px;
        box-sizing: border-box;
    }

    .cardCarrossel {
        flex: 0 0 100px; /* Mantém um tamanho confortável que não corta */
        height: 150px;
        margin-top: 0;
    }
    .cardCarrossel.ativo {
        transform: translateY(-3px);
    }

    .navegacaoCarrossel button {
        display: flex;             /* Transforma o botão em flexbox para alinhar os itens */
        align-items: center;       /* Centraliza a seta na vertical */
        justify-content: center;   /* Centraliza a seta na horizontal */
        font-size: 1.1rem;
        width: 25px;
        height: 25px;
        padding: 0;  
    }

    .barra {
        width: 15px;
        height: 4px;
    }

    .contatos{
        flex-direction: column;
    }

    .canais{
        width: 100%;
    }

    .iconCanais {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap; /* Permite que os itens quebrem para a linha de baixo */
        justify-content: center; /* Centraliza os itens na tela */
        gap: 15px; /* Espaçamento entre os ícones */
    }

    .titulo h1{
        font-size: 1.5rem;
    }

    .whats,.telefone,.email{
        margin: 0;
        width: auto;
    }

    .whats h3,.telefone h3,.email h3{
        font-size: 10pt;
    }

    .forms{
        margin-top: 5%;
        width: 100%;
    }

    .formulario-orcamento{
        width: 80%;
    }

    .formulario-orcamento h1{
        font-size: 1rem;
    }

    .formulario-orcamento h3{
        font-size: 1rem;
    }

    .formulario-orcamento button{
        width: 40%;
        height: 60px;
    }
    
    /* Diminui a fonte dos placeholders (textos de dica dentro dos inputs e textarea) */
    .formulario-orcamento input::placeholder,
    .formulario-orcamento textarea::placeholder {
        font-size: 0.8rem; /* Ajuste o valor se quiser menor (ex: 0.8rem) ou maior */
    }

    /* Diminui a fonte do texto digitado e dos selects/options */
    .formulario-orcamento input,
    .formulario-orcamento select,
    .formulario-orcamento textarea {
        font-size: 0.8rem;
    }

    /* Garante que as opções de seleção também acompanhem o tamanho reduzido */
    .formulario-orcamento option {
        font-size: 0.8rem;
    }

    .Rsocial{
        gap: 5px;
    }

    .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,.hero-content p,.hero-content span{
        font: size 1rem;
    }

    .btn-orcamento{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        width: 70%;
        height: 44px;
        padding: 0;
    }

    .cards{
        gap: 20px 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        min-width: 150px;
        max-width: 150px;
        height: 150px;
    }

    .Apresentacao{
        align-items: center;
        margin-top: 10%;
    }

    .sobre{
        gap: 0;
        padding: 0;
    }

    .sobre h1{
        margin: 0;
        font-size:16px;
    }

    .sobre p{
        margin: 0;
        font-size:12px;
    }

    .btn-nossaHistoria{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        width: 100%;
        height: 44px;
        padding: 0;
    }

    .card-text h1{
        font-size:14px;
    }

    .card-text h2{
        font-size:12px;
    }

    .ConteudoPortifolio {
        height: 60vh;
        padding: 0px;
        gap: 10px;
        justify-content: flex-end;
        flex-direction: column;
        align-items: center;
    }

    .FundoPortifolio{
        display: flex;
        justify-content: flex-end;
        width: 100%;
        height: 50%;
        gap: 0px;
        padding: 0px;
        margin-bottom: 0px;
    }

    .tituloFundoPortifolio {
        font-size: 1rem;
    }

    .descricaoFundoPortifolio {
        font-size: 0.8rem;
    }

    .divbntPortifolio{
        height: 50px;
    }

    .btnfundoPortifolio{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        width: 50%;
        height: 44px;
        padding: 0;
    }

    .CarrosselPortifólio {          
        width: 100%;
        height: 50%;
        padding:0;
        gap: 0px;
    }

    .Carrossel {
        width: 100%;
        padding: 0px;
        gap: 12px;
        box-sizing: border-box;
    }

    .cardCarrossel {
        width: 80px; /* Mantém um tamanho confortável que não corta */
        height: 100px;
        margin-top: 0;
    }
    .cardCarrossel.ativo {
        transform: translateY(-3px);
    }

    .navegacaoCarrossel{
        height: auto;
    }

    .navegacaoCarrossel button {
        display: flex;             /* Transforma o botão em flexbox para alinhar os itens */
        align-items: center;       /* Centraliza a seta na vertical */
        justify-content: center;   /* Centraliza a seta na horizontal */
        font-size: 1.1rem;
        width: 48px;
        height: 48px;
        padding: 0;  
    }

    .barra {
        width: 15px;
        height: 4px;
    }

    .contatos{
        flex-direction: column;
    }

    .canais{
        width: 100%;
    }

    .iconCanais {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px; /* Espaçamento entre os ícones */
    }

    .titulo h1{
        font-size: 1.5rem;
    }

    .whats,.telefone,.email{
        width: 100%;
        padding-left: 2%;
        margin: 0;
    }

    .whats h3,.telefone h3,.email h3{
        font-size: 12pt;
    }

    .forms{
        margin-top: 5%;
        width: 100%;
    }

    .formulario-orcamento{
        width: 90%;
    }

    .formulario-orcamento h1{
        font-size: 1rem;
    }

    .formulario-orcamento h3{
        font-size: 1rem;
    }

    .form-group1,.form-group2,.form-group3{
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    /* 1. Inputs, Selects e Textarea gerais (já garante o texto digitado) */
    .formulario-orcamento input,
    .formulario-orcamento select {
        font-size: 16px;
        height: 48px;
    }

    .formulario-orcamento textarea{
        font-size: 16px;
    }

    /* 2. Força o tamanho do texto dentro das opções do Select (em alguns navegadores o select herda, mas o option precisa ser forçado) */
    .formulario-orcamento select option {
        font-size: 14px;
    }

    /* 3. Força o Placeholder de todos os inputs e do textarea para 16px */
    .formulario-orcamento input::placeholder,
    .formulario-orcamento textarea::placeholder {
        font-size: 16px;
    }

    /* Para navegadores antigos (compatibilidade extra pro placeholder) */
    .formulario-orcamento input:-ms-input-placeholder,
    .formulario-orcamento textarea:-ms-input-placeholder {
        font-size: 16px;
    }
    .formulario-orcamento input::-ms-input-placeholder,
    .formulario-orcamento textarea::-ms-input-placeholder {
        font-size: 16px;
    }

    #nome,#email,#servico {
        width: 100%;
    }

    #whatsapp,#ambiente{
        width: 60%;
    }

    .formulario-orcamento button{
        width: 60%;
        height: 60px;
    }

    .social{
        flex-direction: column-reverse;
        height: auto;
    }

    .Rsocial{
        gap: 10px;
    }
}

@media screen and (max-width: 360px) {
    .Apresentacao{
        flex-direction: column-reverse;
    }

    .sobre{
        padding-left: 2%;
        width: 100%;
    }

    .card-imgA{
        width: 100%;
    }

    .btn-nossaHistoria{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        width: 50%;
        height: 44px;
        padding: 0;
        
    }

    .btn-orcamento{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        width: 50%;
        height: 44px;
        padding: 0;
    }

    .btnfundoPortifolio{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        width: 50%;
        height: 44px;
        padding: 0;
    }

    .ConteudoPortifolio {
        height: 80vh;
    }

    .whats a,.telefone a,.email a{
        width: 48px;
        height: 48px;
    }
}