/* ========================================
   1. VARIÁVEIS E RESET (Elegante & Clean)
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --amarelo-go: #FFAA17;
    --preto-absoluto: #000000;
    --preto-tech: #0A0A0A; /* Cinza super escuro */
    --cinza-texto: #A1A1AA;
    --branco: #ffffff;
    --borda: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--cinza-texto);
    background-color: var(--preto-absoluto);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; /* Garante traços finos e nítidos */
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========================================
   2. BOTÕES PREMIUM (Mais Leves)
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 34px;
    font-weight: 600; /* Reduzido de 800 para 600 */
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--amarelo-go);
    color: var(--preto-absoluto);
    border: 1px solid var(--amarelo-go);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--amarelo-go);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--branco);
    border: 1px solid var(--borda);
}

.btn-outline:hover {
    border-color: var(--branco);
}

/* ========================================
   3. TOP BAR (Clean & Dark)
======================================== */
.top-bar {
    background-color: #111111; /* Cinza muito escuro e elegante, sem gritar */
    color: var(--cinza-texto);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 0;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contatos, .top-social {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-bar a {
    color: var(--cinza-texto);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--amarelo-go);
}

/* ========================================
   4. HEADER E MENU (Glass Effect Limpo)
======================================== */
#header {
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--borda);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    max-height: 45px;
}

.menu-e-cta {
    display: flex;
    align-items: center;
    gap: 40px;
}

#menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

#menu a {
    color: var(--branco);
    font-weight: 400; /* Fonte normal, mais elegante */
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    position: relative;
}

#menu a:hover {
    color: var(--amarelo-go);
}

/* Botão CTA no Header (Mais fino) */
.btn-header-cta {
    background-color: var(--amarelo-go);
    color: var(--preto-absoluto);
    padding: 12px 24px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 2px;
    border: 1px solid var(--amarelo-go);
    transition: all 0.3s ease;
}

.btn-header-cta:hover {
    background-color: transparent;
    color: var(--amarelo-go);
}

/* ========================================
   5. MENU DROPDOWN (Com padding corrigido)
======================================== */
.dropdown {
    position: relative;
}

.submenu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--preto-tech);
    min-width: 220px;
    border: 1px solid var(--borda);
    border-top: 2px solid var(--amarelo-go);
    flex-direction: column !important;
    gap: 0 !important;
    padding: 15px 0;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.dropdown:hover .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.submenu li {
    width: 100%;
}

.submenu a {
    padding: 12px 25px !important; /* Adicionado recuo de 25px na esquerda */
    display: block !important;
    font-size: 12px !important;
    color: var(--cinza-texto) !important;
}

.submenu a:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--amarelo-go) !important;
    padding-left: 30px !important; /* Leve movimento no hover */
}

/* ========================================
   6. FOOTER (RODAPÉ PREMIUM E COMPLETO)
======================================== */
#footer {
    background-color: var(--preto-tech);
    border-top: 1px solid var(--borda);
    padding: 100px 0 0;
    color: var(--cinza-texto);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    max-height: 45px;
    margin-bottom: 25px;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.8;
    font-weight: 300; /* Mais leve */
}

.footer-info .footer-cnpj {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.5;
}

#footer h3 {
    color: var(--branco);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a, .footer-contato a {
    color: var(--cinza-texto);
    font-size: 14px;
    font-weight: 300;
}

.footer-links a:hover, .footer-contato a:hover {
    color: var(--amarelo-go);
}

.footer-contato ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: transparent;
    color: var(--branco);
    border-radius: 50%;
    border: 1px solid var(--borda);
    transition: 0.3s ease;
}

.footer-social-icons a:hover {
    background-color: var(--amarelo-go);
    color: var(--preto-absoluto);
    border-color: var(--amarelo-go);
}

.footer-bottom {
    background-color: #050505;
    padding: 25px 0;
    border-top: 1px solid var(--borda);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 300;
}

.footer-bottom p {
    color: #666;
}

.footer-bottom a {
    color: var(--amarelo-go);
    text-decoration: underline;
}

/* ========================================
   BOTÃO FLUTUANTE WA E TOOLTIP (Global)
======================================== */
#wa-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1002; /* Acima do header/footer fixos */
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Tooltip alinhado à direita do botão */
    gap: 15px; /* Espaço entre tooltip e botão */
}

/* O botão em si (Círculo Verde) */
#wa-floating-btn .wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde Oficial WA */
    color: var(--branco);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#wa-floating-btn .wa-btn:hover {
    background-color: #20BA5A; /* Verde WA levemente escurecido */
    transform: scale(1.1); /* Efeito de pop-up no hover */
}

/* O Balão de Fala (Tooltip) */
#wa-tooltip {
    background-color: var(--preto-tech);
    color: var(--branco);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--borda);
    max-width: 280px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    position: relative; /* Para posicionar o triângulo do balão */
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

/* Estilo do parágrafo dentro do tooltip */
#wa-tooltip p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
    padding-right: 15px; /* Espaço para o botão fechar */
}

/* Triângulo do Balão (puxadinho para baixo) */
#wa-tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px; /* Alinhado com o fundo do balão */
    right: 25px; /* Alinhado com o centro do botão */
    border-width: 10px 10px 0 0; /* Formato triângulo puxando para baixo */
    border-style: solid;
    border-color: var(--preto-tech) transparent transparent transparent; /* Mesma cor do fundo */
    z-index: -1; /* Triângulo atrás do balão */
}

/* Botão Fechar no Tooltip */
.close-tooltip {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #555;
}

.close-tooltip:hover {
    color: var(--amarelo-go);
}

/* Estado Escondido (Hidden) */
#wa-tooltip.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px); /* Efeito de subir ao aparecer */
}