/* ====================================================================== */
/* 0. RESET E VARIÁVEIS GLOBAIS (CRÍTICO para 100% de largura)            */
/* ====================================================================== */
:root {
    --primary-color: #007bff;
    --accent-color: #0097b2;    /* Azul Ciano: Cor de Destaque */
    --text-color: #333;
    --light-bg: #f8f9fa;        /* Fundo cinza claro */
}

section {
    padding: 80px 5%;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Evita a barra de rolagem horizontal */
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text-color);
    background-color: #fff;
}

/* Exceção para a largura 100% do banner */
.consultoria-page-section {
    padding: 0 !important; /* CRÍTICO: Remove o padding lateral do SECTION */
    background-color: #f9f9f9;
}

/* ... (Outras regras de h2, h3, etc.) ... */


/* ====================================================================== */
/* 1. NAV BAR (Prioridade na estabilidade)                                */
/* ====================================================================== */
/* Nav Bar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    background-color: #fff; padding: 10px 5%; color: white;
    position: sticky; top: 0; z-index: 100;
}

.logo img { height: 40px; width: auto; display: block; }
.menu-toggle { display: none; cursor: pointer; font-size: 24px; padding: 5px; background: none; border: none; color: #000; z-index: 20; }
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; }
.menu-item { position: relative; margin-left: 20px; }
.menu-item a { color: #0097b2; text-decoration: none; padding: 10px 15px; display: block; font-weight: bold; }
.menu-item a:hover { background-color: #e0e0e0; border-radius: 4px; }

.submenu {
    display: none; position: absolute; top: 100%; right: 0; left: auto;
    background-color: #fff; min-width: 200px; z-index: 10;
    list-style: none; padding: 0; margin: 0; border-radius: 0 0 4px 4px;
}
.submenu-item a { padding: 10px 15px; color: #0097b2; display: block; text-decoration: none; }
.submenu-item a:hover { background-color: #e0e0e0; }
.menu-item:hover .submenu { display: block; }

/* Estilos Responsivos da Nav */
@media screen and (max-width: 768px) {
    .menu-toggle { display: block; }
    .menu-list { 
        display: none; flex-direction: column; width: 100%;
        position: absolute; top: 60px; left: 0; background-color: #fff; 
    }
    .menu-item { margin-left: 0; border-top: 1px solid #fff; width: 100%; }
    .submenu { position: static; background-color: #555; border-radius: 0; min-width: 100%; }
    .menu-item:hover .submenu { display: block; }
    .menu-list.active { display: flex; }
}

/* ====================================================================== */
/* SEÇÃO DE PRODUTOS E CARDS (products-section)                           */
/* ====================================================================== */

.products-section {
    padding: 80px 5%; /* Padding padrão da seção */
    background-color: var(--light-bg); /* Fundo cinza claro para a seção */
    text-align: center;
}

.products-main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #0097b2;
    margin-bottom: 20px;
}

.products-intro-text {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- GRID DOS CARDS DE PRODUTOS --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 4 colunas responsivas */
    gap: 30px; /* Espaço entre os cards */
    max-width: 1200px; /* Limita a largura máxima do grid */
    margin: 0 auto; /* Centraliza o grid */
}

/* --- ESTILO DO CARD INDIVIDUAL --- */
.product-card {
    background-color: #fff; 
    border-radius: 15px; 
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); 
    text-align: center; 
    display: flex;
    flex-direction: column;
    justify-content: left;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


.product-card:hover {
    transform: translateY(-10px); /* Efeito de elevação no hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* --- ÍCONE E CATEGORIA --- */
.product-header {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza horizontalmente */
    margin-bottom: 20px;
    flex-wrap: wrap; /* Permite quebrar linha se o texto for grande no mobile */
    flex-direction: row-reverse;

}

.product-icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color); /* Azul do seu accent-color */
    border-radius: 50%; /* Transforma em círculo */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px; /* Espaço entre o círculo e o texto */
    flex-shrink: 0; /* Impede que o círculo diminua */
}

.product-icon-circle i {
    color: white;
    font-size: 1.8em; /* Tamanho do ícone de carrinho */
}

.product-category {
    font-size: 1.0em;
    color: #0097b2;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* --- TÍTULO DO PRODUTO (Negrito) --- */
.product-title {
    font-size: 1.5em;
    color: var(--text-color);
    font-weight: bold; /* Já é negrito por padrão, mas reforça */
    margin-top: 10px;
    margin-bottom: 15px;
}

/* --- DESCRIÇÃO DO PRODUTO (Pequeno) --- */
.product-description {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1; 
    text-align: left;
}


/* --- RESPONSIVIDADE --- */
@media screen and (max-width: 768px) {
    .products-main-title {
        font-size: 2em;
    }
    .products-intro-text {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .products-grid {
        grid-template-columns: 1fr; /* Uma coluna no mobile */
    }
    .product-card {
        padding: 25px;
    }
    .product-title {
        font-size: 1.3em;
    }
    .product-icon-circle {
        margin-right: 10px;
    }
    .product-category {
        font-size: 0.8em;
    }
}


/* ====================================================================== */
/* 2.1. BANNER 100% DE LARGURA (IMAGEM NO CSS)                            */
/* ====================================================================== */

/* 1. REGRA CRÍTICA: ANULA O PADDING GLOBAL DA SECTION */
.orcamento-banner-section {
    padding: 0 !important; 
    margin: 0;
}

/* 2. ONDE A IMAGEM SERÁ APLICADA COMO FUNDO */
.banner-wrapper {
    position: relative;
    
    /* 🚨 NOVO CÓDIGO FUNCIONAL BASEADO NO SEU .hero: */
    /* 1. Altere 'img1.webp' para o nome da sua nova imagem (por exemplo, 'orcamento.jpg') */
    background: url('../produtos/Produtos.jpg') no-repeat center center/cover; 
    
    /* 2. Use vh para altura robusta. 450px que tínhamos antes, é cerca de 50vh */
    height: 50vh; 
    width: 100%;
    /* REMOVA TODAS AS LINHAS ANTERIORES: background-image, background-size, background-position, etc. */
}

/* 3. Estilo do Conteúdo sobreposto e Overlay */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Cria um filtro de escurecimento para garantir a legibilidade do texto */
    background-color: rgba(0, 0, 0, 0.45); /* Cor preta com 45% de opacidade */
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 5%; /* Padding para o CONTEÚDO (texto) - NÃO para o wrapper */
    color: #fff;
}

/* Os estilos para h1, p e .btn-banner podem ser mantidos como antes: */
.banner-overlay h1 {
    font-size: 3.5em;
    margin: 0 0 15px 0;
    font-weight: 900;
    color: white; 
}
/* ... (o resto dos estilos de h1, p e botão) ... */

/* Responsividade do Banner (ajustado para o novo wrapper) */
@media screen and (max-width: 992px) {
    .banner-wrapper {
        height: 350px; 
    }
    /* ... (o resto dos estilos de mobile) ... */
}

/* ================================================= */
/* ESTILOS DA SEÇÃO DE CONSULTORIA                   */
/* ================================================= */

/* --- Wrapper do Conteúdo (Texto) --- */
.consultoria-content-wrapper {
    max-width: 900px; 
    margin: 0 auto; 
    padding: 0 20px;
    line-height: 1.7;
    font-size: 1.1em;
}

/* Título "CONSULTORIA" com a barra (AGORA COM PSEUDOCLASSE) */
.consultoria-content-wrapper .section-title-highlight {
    font-size: 2.2em;
    color: #333;
    
    /* ALINHAMENTO PRINCIPAL */
    text-align: left; 
    
    /* Usamos 'display: block' para que o H2 ocupe toda a largura do wrapper */
    display: block; 
    
    margin: 0 0 40px 0; /* Alinha o bloco H2 à esquerda, adiciona margem abaixo da barra */
    padding-bottom: 10px; /* Espaço entre o texto e a barra */
    position: relative;
    width: 100%; /* Ocupa 100% da largura do wrapper para que a barra vá junto */
}

/* 🚨 A REGRA QUE CRIA O RETÂNGULO DE DESTAQUE 🚨 */
.consultoria-content-wrapper .section-title-highlight::after {
    content: ""; /* Obrigatório */
    
    /* Posição da Barra: Fixo à esquerda */
    position: absolute; 
    bottom: 0; 
    left: 0; /* CRÍTICO: Alinha a barra à esquerda */
    
    /* Dimensões da Barra (Espessura aumentada para 6px) */
    width: 100px; 
    height: 6px; 
    background-color: #0097b2; 
    border-radius: 2px;
}


/* Estilo para os subtítulos (h3) */
.consultoria-content-wrapper h3 {
    color: #0097b2; 
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee; 
    padding-bottom: 5px;
    
    /* ALINHAMENTO PRINCIPAL */
    text-align: left;
}

/* Estilo para as listas (ul) - Garantindo que os textos sejam alinhados com o h3 */
.consultoria-content-wrapper ul {
    list-style: none; 
    padding: 0;
    margin-bottom: 25px;
    /* Alinha o bloco da lista à esquerda */
    text-align: left;
}

.consultoria-content-wrapper ul li {
    padding-left: 30px; 
    position: relative;
    margin-bottom: 10px;
    color: #555;
    /* Adicione text-align: left; se o texto de cada item estiver desalinhado */
}

.consultoria-content-wrapper ul li::before {
    content: "\f058"; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    position: absolute;
    left: 0;
    color: #28a745;
}

/* ================================================= */
/* RESPONSIVIDADE PARA A SEÇÃO DE CONSULTORIA        */
/* ================================================= */
@media screen and (max-width: 768px) {
    .consultoria-image-banner {
        height: 250px;
        margin-bottom: 30px;
    }

    .consultoria-image-banner .image-text {
        font-size: 1.8em;
    }

    .consultoria-content-wrapper {
        padding: 0 5%;
    }

    .consultoria-content-wrapper .section-title-highlight {
        font-size: 1.8em;
    }

    .consultoria-content-wrapper h3 {
        font-size: 1.4em;
    }

    .consultoria-content-wrapper p, 
    .consultoria-content-wrapper ul li {
        font-size: 1em;
    }
}

/* ================================================= */
/* 5. SEÇÃO DE ORÇAMENTO (Formulário)                */
/* ================================================= */
.quote-section {
    background-color: var(--light-bg);
    text-align: center;
    
}
.btn-rounded {
    background-color: #0097b2;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border: none;
    border-radius: 50px; 
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    
    /* ADICIONA O EFEITO DE PULSAÇÃO */
    animation: pulse 2s infinite; 
}
.quote-section h2{
    font-size: 40px;
    font-weight: bold;
}
.destaque-orcamento{
    color: #0097b2;
    font-size: 40px;
    font-weight: bold;
}

.quote-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 15px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.quote-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.quote-form input, .quote-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box; 
}

.quote-form textarea {
    resize: vertical;
}

.quote-form button {
    width: 100%;
    padding: 15px;
    border-radius: 50px; 
    font-size: 1.1em;
    margin-top: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px; 
}

.quote-form input, .quote-form textarea {
    margin-bottom: 0; 
}

.form-grid > div {
    margin-bottom: 20px; 
}


@media screen and (max-width: 600px) {
    .form-grid {

        grid-template-columns: 1fr;
    }
}

/* ================================================= */
/* 6. RODAPÉ (Footer)                                */
/* ================================================= */
.footer-bottom {
    width: 100%;
    text-align: left;
    padding-top: 10px; 
    margin-top: 0;  
    border-top: none;
    font-size: 0.75em; 
    opacity: 0.7;   
}

.footer {
    flex-direction: row;
    flex-wrap: wrap; 
    background-color: #e0e0e0;
    color: #000;
    padding: 40px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px; 
    margin-right: 20px;
}

.divider {
    height: 60px;
    width: 2px;
    background-color: black;
    margin-right: 20px;
}

.footer-info-area {
    flex: 2;
    min-width: 300px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    flex-direction: column;
}

.footer-column h4 {
    color: #000;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
    text-align: left;
}

.footer-column p {
    margin: 5px 0;
    font-size: 0.9em;
}

.footer-telemetria a {
    color: #000;
    text-decoration: none;
    cursor: not-allowed; 
    opacity: 0.7;
    display: block;
    margin-top: 10px;
}

/* ================================================= */
/* ESTILO DO BOTÃO FLUTUANTE WHATSAPP (FIXO E PULSANTE) */
/* ================================================= */

.whatsapp-float {
    position: fixed; 
    bottom: 20px; 
    right: 20px;  
    width: 60px;
    height: 60px;
    line-height: 60px; 
    background-color: #25d366; 
    color: white;
    text-align: center;
    border-radius: 50%; 
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
    z-index: 9999; 
    font-size: 28px;
    transition: background-color 0.3s ease;
    
    /* CHAVE PARA O EFEITO DE PISCAR */
    animation: pulse 2s infinite; 
}

.whatsapp-float:hover {
    background-color: #128c7e; 
    animation: none; /* Para o efeito de piscar quando o mouse está em cima */
}

/* ------------------------------------------------- */
/* KEYFRAMES PARA O EFEITO DE PISCAR/PULSAR (SUAVE)  */
/* ------------------------------------------------- */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        /* Cria um círculo que se expande */
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); 
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* ================================================= */
/* ESTILO DO BALÃO DE TEXTO ("Fale Conosco")         */
/* ================================================= */

.whatsapp-float .whatsapp-text {
    /* Posição em relação ao elemento pai (.whatsapp-float) */
    position: absolute;
    right: 70px; /* Distância do botão */
    top: 50%;
    transform: translateY(-50%); /* Centraliza verticalmente */
    
    /* Aparência */
    background-color: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 5px;
    white-space: nowrap; /* Mantém o texto em uma linha */
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    
    /* Esconde o balão por padrão */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

/* Triângulo (Seta) do Balão */
.whatsapp-float .whatsapp-text::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px; /* Posição para apontar para o botão */
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: white;
    box-shadow: 1px -1px 1px rgba(0, 0, 0, 0.1);
}

/* Mostra o balão ao passar o mouse */
.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 768px) {
    .footer { flex-direction: column; text-align: center; }
    .footer-logo-area { flex-direction: column; align-items: center; margin-bottom: 30px; }
    .divider { display: none; }
    .footer-logo img { margin-right: 0; margin-bottom: 15px; }
    .footer-info-area { justify-content: center; text-align: center; }
    .footer-column h4 { text-align: center; }
}
/* ====================================================================== */
/* 3. MEDIA QUERIES (Responsividade)                                      */
/* ====================================================================== */
@media screen and (max-width: 768px) {
    
    /* --- NAV RESPONSIVA --- */
    .menu-toggle { 
        display: block; 
    }
    .menu-list { 
        display: none; flex-direction: column; width: 100%;
        position: absolute; top: 60px; left: 0; background-color: #fff; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding-bottom: 10px;
    }
    .menu-list.active { display: flex; }
    .menu-item { margin-left: 0; border-top: 1px solid #e0e0e0; width: 100%; }
    
    /* Submenu Mobile */
    .menu-item-has-submenu { display: flex; justify-content: space-between; align-items: center; width: 100%; }
    .submenu-toggle { display: block; color: #000; }
    .submenu { position: static; background-color: #f0f0f0; width: 100%; } /* CRÍTICO: Flui no layout */
    .submenu.expanded { display: block !important; }
    .submenu-toggle.active i.fa-plus { transform: rotate(45deg); }
    
    /* --- OUTRAS SEÇÕES --- */
    .form-grid { grid-template-columns: 1fr; }
    .footer { flex-direction: column; }
    .consultoria-page-section { padding: 60px 0; } /* Restaura padding vertical para mobile */
}

/* ... (O restante dos seus estilos de Footer, WhatsApp, etc. devem estar anexados) ... */