/* ============================================================
   VARIÁVEIS DE CORES E IDENTIDADE VISUAL
   ============================================================ */
:root {
    --preto: #0a0a0a;
    --card: #161616;
    --terra: #ff5500;    /* Laranja da Logo */
    --wpp: #25d366;      /* Verde WhatsApp */
    --wpp-d: #128c7e;    /* Verde Escuro Hover */
    --br: #fff;
    --cinza: #b0b0b0;
}

/* ============================================================
   RESET GLOBAL - REMOVE TRAÇOS AZUIS E MANCHAS
   ============================================================ */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    text-decoration: none !important; 
    outline: none !important; 
}

html { scroll-behavior: smooth; }

body { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    background-color: var(--preto); 
    color: var(--br); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

/* ============================================================
   HEADER E NAVEGAÇÃO
   ============================================================ */
header {
    background: rgba(0,0,0,.98);
    padding: 10px 5%;
    border-bottom: 3px solid var(--terra);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left, .header-right { display: flex; align-items: center; gap: 12px; }

.logo { 
    font-weight: 800; 
    font-size: 1.4rem; 
    text-transform: uppercase; 
    color: #fff; 
}

.logo span { color: var(--terra); }

.img-logo { height: 45px; width: auto; object-fit: contain; display: block; }

/* Menu Desktop */
.nav-desktop { display: flex; gap: 10px; }

.nav-desktop a {
    color: var(--br);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: .3s;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.nav-desktop a:hover { border-color: var(--terra); color: var(--terra); }

/* ============================================================
   MENU MOBILE (SIDEBAR)
   ============================================================ */
.menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    color: #fff; 
    font-size: 1.8rem; 
    cursor: pointer; 
}

.sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--card);
    z-index: 2000;
    padding: 40px 20px;
    transition: .4s;
    border-left: 2px solid var(--terra);
}

.sidebar.active { right: 0; }

.sidebar a {
    display: flex;
    align-items: center;
    color: #fff;
    padding: 15px 0;
    font-weight: 700;
    border-bottom: 1px solid #222;
}

.close-menu { 
    color: var(--terra); 
    font-size: 2rem; 
    display: block; 
    text-align: right; 
    cursor: pointer; 
    margin-bottom: 20px; 
}

/* Botões Especiais na Sidebar */
.btn-sidebar {
    background: var(--wpp);
    color: white !important;
    justify-content: center;
    border-radius: 8px;
    margin-top: 15px;
    padding: 15px !important;
    border-bottom: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.btn-sidebar:hover { background: var(--wpp-d); }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
    display: none;
    z-index: 1500;
}

.overlay.active { display: block; }

/* ============================================================
   COMPONENTES (BOTÕES E BANNER)
   ============================================================ */
.btn-verde {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--wpp);
    color: #fff !important;
    padding: 18px 30px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

.btn-verde:hover { 
    background-color: var(--wpp-d); 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.banner-container { 
    width: 100%; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 60px 40px; 
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    gap: 40px; 
}

.banner-content { flex: 1; }
.banner-title { font-size: 3rem; margin-bottom: 20px; text-transform: uppercase; font-weight: 800; }
.banner-title span { color: var(--terra); }
.banner-text { font-size: 1.2rem; color: var(--cinza); margin-bottom: 30px; }

.banner-image-wrapper { flex: 1; display: flex; justify-content: center; align-items: center; }
.banner-img { 
    width: 100%; 
    max-width: 600px; 
    height: auto; 
    border-radius: 15px; 
    display: block; 
    border: 1px solid #333; 
}

/* ============================================================
   BOTÃO WHATSAPP FLUTUANTE
   ============================================================ */
.wp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--wpp);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: 0.3s;
}

.wp-float:hover { transform: scale(1.1); background-color: var(--wpp-d); }
.wp-float i { color: white !important; font-size: 35px; line-height: 0; }

/* ============================================================
   FORMULÁRIO E FOOTER
   ============================================================ */
.secao-orcamento { padding: 60px 5%; background: #050505; }
.lead-container { 
    max-width: 600px; 
    margin: 0 auto; 
    background: var(--card); 
    padding: 35px; 
    border-radius: 20px; 
    border: 1px solid var(--terra); 
}

select, input, textarea { 
    width: 100%; 
    padding: 15px; 
    margin-bottom: 15px; 
    background: #000; 
    border: 1px solid #333; 
    color: #fff; 
    border-radius: 8px; 
    font-size: 1rem; 
}

.hidden-fields { display: none; animation: fadeIn .5s forwards; }

footer {
    padding: 60px 5% 40px;
    text-align: center;
    border-top: 1px solid #222;
    font-size: .95rem;
    color: var(--cinza);
    background: #080808;
}

/* ============================================================
   RESPONSIVIDADE (MOBILE)
   ============================================================ */
@media (max-width: 1024px) { 
    .nav-desktop { display: none; }
    .menu-toggle { display: block; }
}

@media (max-width: 767px) {
    .banner-container { flex-direction: column-reverse; padding: 40px 20px; text-align: center; }
    .banner-title { font-size: 2.2rem; }
    .img-logo { height: 35px; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }