/* ================================================= */
/* ESTILOS GERAIS E LAYOUT DA NAV                  */
/* ================================================= */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
}

/* Cores e Variáveis */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d; 
    --text-color: #333;
    --light-bg: #f8f9fa; 
}

section {
    padding: 80px 5%;
}

h2, h3 {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 40px;
}

/* 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; }
}


/* ================================================= */
/* 5. SEÇÃO DE ORÇAMENTO (Contêiner Lado a Lado)     */
/* ================================================= */
.quote-section {
    background-color: var(--light-bg);
    text-align: center;
}

/* Novo Wrapper Grid para alinhar formulário e ícones */
.form-container-wrapper {
    display: grid;
    /* Colunas: 2/3 para o Form, 1/3 para os Ícones */
    grid-template-columns: 2fr 1fr; 
    gap: 40px;
    max-width: 1100px; /* Largura máxima do contêiner inteiro */
    margin: 0 auto; /* Centraliza o wrapper */
    text-align: left; /* Garante que o texto interno seja alinhado */
}

.quote-form {
    /* REMOVE a largura máxima e a centralização antigas */
    max-width: none; 
    margin: 0; 
    padding: 30px;
    background-color: white;
    border-radius: 15px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ================================================= */
/* ESTILOS PARA ÍCONES DE CONTATO RÁPIDO (Coluna)    */
/* ================================================= */
.quick-contact-icons {
    display: flex;
    flex-direction: column; /* CRÍTICO: Alinha os itens na vertical */
    gap: 25px; /* Espaço entre cada link/item de contato */
    padding-top: 50px; /* Alinha verticalmente com o formulário */
    text-align: left;
}

.quick-contact-icons h3 {
    text-align: left;
    color: var(--text-color);
    margin-bottom: 10px;
}

.quick-contact-icons .contact-icon-item {
    display: flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
}

.quick-contact-icons .contact-icon-item i {
    font-size: 1.8em; /* Ícones maiores para destaque */
    margin-right: 15px;
    min-width: 30px; /* Garante que os ícones tenham espaço uniforme */
}

.quick-contact-icons .contact-icon-item span {
    font-weight: normal;
    color: var(--text-color);
}
.quick-contact-icons .contact-icon-item:hover span {
    color: var(--accent-color); /* Realça o texto no hover */
}


/* ================================================= */
/* RESPONSIVIDADE (Quebra para Coluna Única)         */
/* ================================================= */
@media screen and (max-width: 900px) {
    .form-container-wrapper {
        /* Abaixo de 900px, volta a ser uma única coluna (Form em cima, Ícones em baixo) */
        grid-template-columns: 1fr;
    }
    
    .quick-contact-icons {
        flex-direction: row; /* Volta a alinhar os ícones horizontalmente em mobile */
        justify-content: center;
        padding-top: 30px;
        border-top: 1px solid #ddd;
        margin-top: 20px;
    }
    
    .quick-contact-icons h3 {
        text-align: center;
        width: 100%; /* Força o subtítulo a quebrar */
    }
}

/* ================================================= */
/* 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: 900px) {
    
    /* 🚨 1. QUEBRA O LAYOUT FORMULÁRIO + ÍCONES */
    .form-container-wrapper {
        grid-template-columns: 1fr; /* Volta para uma única coluna */
        gap: 30px; /* Adiciona espaço entre o formulário e o bloco de ícones */
    }
    
    /* 2. Formata os ícones de contato para layout horizontal no mobile */
    .quick-contact-icons {
        flex-direction: row; /* Alinha os ícones na horizontal */
        justify-content: space-around; /* Espaça os ícones */
        padding-top: 20px;
        border-top: 1px solid #ddd;
    }
    
    .quick-contact-icons .contact-icon-item {
        /* Permite que os ícones ocupem espaço conforme necessário */
        flex-direction: column; 
        text-align: center;
        margin: 0 10px; 
    }
    
    .quick-contact-icons .contact-icon-item i {
        margin-right: 0;
        margin-bottom: 5px; /* Espaço entre ícone e texto */
    }
    
    /* Esconde o número/email para ícones menores não quebrarem a linha */
    .quick-contact-icons .contact-icon-item span {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 600px) {
    
    /* 🚨 QUEBRA O GRID INTERNO (CAMPOS) */
    .form-grid {
        grid-template-columns: 1fr; /* Uma coluna para todos os campos */
    }
    
    /* Oculta o título principal do CNPJ/WhatsApp para simplificar o visual mobile */
    .quick-contact-icons h3 {
        display: none;
    }
}

/* ================================================= */
/* 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; }
}