/* Definições Gerais e Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "News Cycle", sans-serif;
    font-weight: 400;
	font-style: normal;
	color: #333;
    line-height: 1.6;    
}

/* -------------------------------------- */
/* NOVO: ESTILOS DO PRELOADER */
/* -------------------------------------- */

#preloader {
    position: fixed; /* Fixa na tela */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #505050; /* Fundo branco ou a cor principal do seu site */
    z-index: 99999; /* Fica acima de TUDO */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease; /* Transição para sumir suavemente */
}

/* Classe para esconder a tela de loading via JavaScript */
.loaded {
    opacity: 0; /* Torna invisível */
    visibility: hidden; /* Remove o elemento do fluxo de navegação */
}

/* Estilo e Animação do "Loader" */
.loader {
    font-size: 30px;
    font-weight: 700;
    color: #333; /* Cor do seu logo */
    animation: pulse 1.5s infinite; /* Aplica a animação */
}

/* Definição da Animação (Pulso) */
@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

/* ... (O restante do seu CSS) ... */

/* 1. CABEÇALHO E MENU (Versão Desktop) */
.header {
    /* PROPRIEDADES NOVAS PARA FIXAR O CABEÇALHO */
    position: fixed; /* O elemento fica fixo na tela */
    top: 0;          /* Alinha ao topo da tela */
    left: 0;
    width: 100%;     /* Ocupa a largura total */
    background-color: #ffffff; /* Fundo branco para cobrir o conteúdo abaixo */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Sombra suave para destacar */
    z-index: 100;    /* Garante que fique acima de todos os outros elementos */
    
    /* PROPRIEDADES DE LAYOUT EXISTENTES */
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%; /* Ocupa a largura total da tela */
    padding: 20px 40px; /* Reduzimos um pouco o padding para dar espaço ao conteúdo */
}

.logo {
    width: 12%;
}

.logo img {
    width: 100%;
}

.logo span {
    font-weight: 700;
}

.nav a {
    text-decoration: none;
    color: #333;
    margin-left: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

/* ... (outros estilos de cabeçalho) ... */

/* Estilos do Botão Hambúrguer (padrão desktop: escondido) */
.hamburger {
    display: none; /* Esconde por padrão no desktop */
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    padding: 0;
}

/* 2. BANNER PRINCIPAL / CONTEÚDO DE DESTAQUE (Versão Desktop) */
.hero-section {
    display: flex;
    background-color: #D3D3D3;
    padding: 0;
    min-height: 400px;

    /* NOVO: Adiciona o espaçamento do topo para o header fixo */
    margin-top: 65px; 
}

.hero-content {
    flex: 1;
    padding: 80px 40px 80px 100px;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 65px;
    font-weight: 500;
    line-height: 1.3;
    color: #555;
}

.hero-content h1 strong {
    font-weight: 700;
}

.hero-images {
    flex: 1;
    background-color: #A9A9A9;
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

/* 3. LISTA DE SERVIÇOS (Versão Desktop) */
.services-section {
    /* REMOVIDO: max-width: 1000px; */
    /* REMOVIDO: margin: 80px auto; */
    
    /* PROPRIEDADES NOVAS/AJUSTADAS: */
    width: 100%; /* Garante que ocupe 100% da largura da tela */
    margin: 80px 0; /* Centraliza verticalmente (80px topo/baixo, 0 esquerda/direita) */
    padding: 0 80px; /* Adiciona um bom espaçamento horizontal interno */
    display: flex;
    justify-content: center; /* Centraliza as colunas de serviço na tela */
    gap: 120px; /* Aumentei o espaçamento entre as colunas para melhor visualização */
}

.services-column {
    flex: 1; 
    max-width: 100%; /* Limita a largura individual de cada coluna para que o texto não fique muito longo */
}

.service-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #D3D3D3;
    padding: 15px 0;
    font-size: 28px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
}

.service-item span {
    font-size: 38px;
    font-weight: 400;
}

/* NOVO: Estilos para o Accordion (Itens de Serviço) */

/* Estilo do conteúdo escondido */
.service-content {
    max-height: 0; /* Começa com altura zero */
    overflow: hidden; /* Garante que o conteúdo não seja visível */
    padding: 0 10px;
    margin-bottom: 0;
    transition: max-height 0.4s ease-out, margin-bottom 0.4s ease-out; /* Transição suave */
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

/* Estilo para quando o item está aberto (ativa a classe via JS) */
.service-content.open {
    max-height: 1000px; /* Altura máxima suficiente para o conteúdo */
    padding-bottom: 20px;
    margin-bottom: 20px;
}

 p {
    margin-bottom: 10px;
}

.service-content .saibamais {	
	text-align: center;
    margin-top: 35px;
}

.service-content .saibamais a {	
	text-decoration: none;
    color: #666;
	font-weight:bold;
    padding: 13px;
}

.service-content ul {
    margin-left: 20px;
    list-style-type: disc;
}

/* Estilo do ícone */
.service-item .icon {
    position: relative; /* Container para posicionar as barras */
    display: inline-block;
    width: 15px; /* Largura total do ícone */
    height: 15px; /* Altura total do ícone */
    line-height: 1;
    transition: transform 0.3s;
	margin:20px;    
}

/* Estilo Básico para Ambas as Barras */
.service-item .icon .bar-h,
.service-item .icon .bar-v {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #555; /* Cor escura do texto */
    transition: transform 0.3s, opacity 0.3s;
}

/* BARRA HORIZONTAL (Sinal de - ) */
.service-item .icon .bar-h {
    width: 100%; /* Ocupa a largura total */
    height: 2px; /* Espessura da barra */
    transform: translate(-50%, -50%); /* Centraliza */
}

/* BARRA VERTICAL (O que queremos esconder) */
.service-item .icon .bar-v {
    width: 2px; /* Espessura da barra */
    height: 100%; /* Ocupa a altura total */
    transform: translate(-50%, -50%); /* Centraliza */
}

/* ESTADO ATIVO: Esconde a barra vertical */
.service-item.active .icon .bar-v {
    /* MUDANÇA ESSENCIAL: Gira e/ou reduz a barra vertical para zero, escondendo-a */
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0); 
    opacity: 0;
}

/* Opcional: Gira o ícone inteiro no estado ativo para dar um toque visual */
.service-item.active .icon {
    transform: rotate(180deg);
}

.service-item.active {
	border:none;
}

/* NOVO: ESTILOS DO MODAL E FORMULÁRIO */
/* -------------------------------------- */

/* Estilo do Modal (Fundo Escuro) */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 1000; /* Acima de tudo, inclusive do header fixo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Permite scroll se o conteúdo for grande */
    background-color: rgba(0, 0, 0, 0.7); /* Fundo preto semi-transparente */
    padding-top: 15px; /* Espaço do topo */
}

/* Conteúdo Principal do Modal */
.modal-content {
    background-color: #fff;
    margin: 0 auto; /* Centraliza horizontalmente */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%; /* Padrão mobile */
    max-width: 600px; /* Largura máxima para desktop */
    position: relative;
}

/* Botão de Fechar (x) */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
    position: absolute;
    right: 20px;
    top: 20px;
}

.close-btn:hover,
.close-btn:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* Estilo do Header do Modal */
.modal-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.modal-header p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

/* Estilo do Formulário (Moderno e Agradável) */
.form-group {
    margin-bottom: 15px;
}

.modal-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.modal-form input[type="text"],
.modal-form input[type="email"],
.modal-form input[type="tel"],
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Garante que o padding não aumente a largura */
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    border-color: #555; /* Borda mais escura ao focar */
    outline: none;
}

.modal-form textarea {
    resize: vertical;
}

/* Botão de Envio */
.submit-btn {
    width: 100%;
    background-color: #555; /* Cor escura principal */
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #333;
}

.modal-footer-text {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    margin-top: 20px;
}

/* Ajuste no CTA para parecer clicável */
.cta-section span {
    cursor: pointer;
    display: inline-block;
}

/* 4. CHAMADA PARA AÇÃO (CTA) */
.cta-section {
    text-align: center;
    padding: 60px 0 100px;
    font-size: 22px;
    font-weight: 600;
    color: #555;
}


/* 2. Aplicação da Animação ao CTA */
.cta-section span {
    cursor: pointer;
    display: inline-block;
    
    /* Adiciona um preenchimento (padding) e borda sutil para que o efeito pulse funcione bem */
    padding: 15px 30px;         
    border-radius: 5px; /* Bordas arredondadas */
    
    /* Aplica a Animação: nome | duração | repetição | função de tempo */
    animation: cta-pulse 2s infinite; 
}


/* 5. RODAPÉ (Versão Desktop) */
.footer {
    background-color: #D3D3D3;
    padding: 25px 40px;
    position: relative;
}

.footer-content {
    max-width: 85%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    width: 17%;
}

.contact-info span {
    margin-left: 25px;
    font-size: 20px;
    color: #555;
}

.contact-info span  a{
    text-decoration:none;
	color:#555;
}



.scroll-top {
    position: fixed; /* Fixa o botão na tela */
    bottom: 20px; /* Distância da parte inferior */
    right: 40px; /* Distância da lateral direita */
    z-index: 99; /* Garante que fique acima de outros elementos */
    width: 40px; /* Aumentei um pouco para melhor toque */
    height: 40px; /* Aumentei um pouco para melhor toque */
    background-color: #555; /* Cor escura do botão */
    color: #fff;
    text-align: center;
    line-height: 58px;
    font-size: 50px;
    cursor: pointer;
    border-radius: 50%; /* Deixa o botão redondo */
    display: none; /* NOVO: Esconde por padrão, só aparece com JavaScript */
    transition: background-color 0.3s;
}

.scroll-top:hover {
    background-color: #333; /* Efeito hover */
}


/* -------------------------------------- */
/* MEDIA QUERIES (RESPONSIVIDADE) */
/* -------------------------------------- */

/* Estilos para telas com largura MÁXIMA de 768px (Tablets e Celulares) */
@media (max-width: 768px) {    	
	
    /* CABEÇALHO COM HAMBÚRGUER */
    .header {
        flex-direction: row; /* Volta a ser uma linha para logo e hambúrguer */
        justify-content: space-between;
        padding: 15px 20px;
        position: fixed; /* Necessário para posicionar o menu */
    }

    .hamburger {
        display: block; /* Mostra o ícone de hambúrguer no mobile */
    }
	
	
	.logo {
		width:50%;
	}

    .nav {
        /* Transforma o menu em um painel lateral/sobreposto */
        position: absolute;
        top: 100%; /* Posiciona abaixo do header */
        left: 0;
        width: 100%;
        background-color: #fff; /* Fundo branco para os links */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none; /* NOVO: Escondido por padrão no mobile */
        flex-direction: column;
        padding: 10px 0;
        z-index: 10;
    }

    .nav a {
        margin: 0;
        padding: 10px 20px;
        border-bottom: 1px solid #eee;
        text-align: left;
    }

    /* Adicione esta classe para mostrar o menu via JavaScript */
    .nav.active {
        display: flex; 
    }
		

    /* BANNER PRINCIPAL */
    .hero-section {
        flex-direction: column; /* Empilha o texto e as imagens */
        min-height: auto;
		margin-top: 90px;
    }

    .hero-content {
        padding: 50px 30px; /* Reduz o padding interno */
        text-align: center;
		display: block;
    }

    .hero-content h1 {        
		font-size: 36px;
        text-align: center;
    }

    .hero-images {
        min-height: 150px; /* Define uma altura menor para a área de imagens */
        flex-grow: 0; /* Remove o crescimento extra */
		align-items: center;
        margin-top: auto;
    }

    /* LISTA DE SERVIÇOS */
    .services-section {
        flex-direction: column; /* Empilha as duas colunas em uma só */
        gap: 0; /* Remove o espaçamento entre as colunas */
        max-width: 100%;
        padding: 0 30px;
        margin: 50px auto;
    }
    
    /* RODAPÉ NOVO (Mobile) */
    .footer-content {
        /* Remove a centralização geral */
        flex-direction: row; /* Volta a alinhar logo e contatos lado a lado (linha) */
        justify-content: space-between; /* Afasta logo (esquerda) dos contatos (direita) */
        align-items: flex-start; /* Alinha os itens pelo topo */
        max-width: 100%; /* Garante que ocupe a largura total */
    }

    .footer-logo {
        margin-bottom: 0; /* Remove a margem inferior que usamos quando estava empilhado */
        /* Novo: Adiciona um pouco de margem à direita para separar do bloco de contatos */
        margin-right: 20px;
		display:none;
    }

    .contact-info {
        display: flex;
        flex-direction: column; /* Continua empilhando as informações (Whatsapp, Email, Instagram) */
        text-align: left; /* Alinha o texto das informações à esquerda */
		width: 100%;
    }

    .contact-info span {
        margin: 0; /* Remove margens extras */
        margin-bottom: 40px;/* Adiciona um pequeno espaçamento entre as linhas de contato */
		font-size: 18px;
    }
	
	
	.contact-info span a {		
		display: block;
	}

     .scroll-top {
        right: 20px;
        bottom: 20px;
        line-height: 58px;
        font-size: 50px;
    }
}