/* ========================================= */
/* --- ROOT, RESET E CLASSES GLOBAIS --- */
/* ========================================= */
:root {
    --paultrab-orange: #F69F00;
    --navy-dark: #0a192f;
    --navy-light: #112240; 
    --navy-footer: #060d1a;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-ice: #f8fafc;
    --text-dark: #334155;
    --text-gray: #475569;
    --text-muted: #cbd5e1;
    --text-muted-blog: #64748b;
    --text-grey-footer: #94a3b8;
    --border-light: #e2e8f0;
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background-color: var(--white); overflow-x: hidden; color: var(--text-dark); }

/* Container Global */
.container { width: 100%; padding: 0 6%; margin: 0 auto; position: relative; max-width: 1400px; }
.text-center { text-align: center; }
img { max-width: 100%; height: auto; display: block; }


/* ========================================== */
/* HEADER GLOBAL PAULTRAB                     */
/* ========================================== */
.premium-header {
    position: absolute;
    top: 0; left: 0; width: 100%;
    padding: 35px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0) 100%);
}

.logo img { height: 50px; position: relative; z-index: 101; }

.nav-links { display: flex; gap: 35px; align-items: center;}

.nav-links a {
    color: var(--white);
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: 0.3s;
}

/* Sublinhado animado - APENAS para os links de texto */
.nav-links > a:not(.btn-outline)::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0%; height: 2px; background: var(--paultrab-orange); transition: 0.3s;
}
.nav-links > a:not(.btn-outline):hover { color: var(--paultrab-orange); }
.nav-links > a:not(.btn-outline):hover::after { width: 100%; }

/* --- DROPDOWN (SUBMENU) DESKTOP --- */
.dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.dropdown-toggle i { font-size: 0.75rem; transition: transform 0.3s; }

.dropdown-menu {
    position: absolute; top: 150%; left: -20px; background-color: var(--navy-dark);
    min-width: 280px; padding: 15px 0; border-radius: 8px; box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease; border-top: 3px solid var(--paultrab-orange);
}

/* Desce a caixinha do submenu para não encostar na linha laranja */
.dropdown:hover .dropdown-menu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
    top: calc(100% + 18px); 
}

/* Cria uma "ponte invisível" para o mouse não perder o menu ao atravessar o espaço */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}
.dropdown:hover .dropdown-toggle i { transform: rotate(180deg); color: var(--paultrab-orange);}

.dropdown-menu a { display: block; padding: 12px 25px; font-size: 0.85rem; color: var(--text-muted); text-transform: none; letter-spacing: normal; }
.dropdown-menu a:hover { background-color: rgba(255,255,255,0.05); color: var(--paultrab-orange); padding-left: 30px; }

/* BOTÃO FALE CONOSCO (Agora Sólido e Sem Grifo) */
.btn-outline { 
    background-color: var(--paultrab-orange); /* Fundo preenchido de laranja */
    color: var(--navy-dark) !important; /* Texto escuro para dar contraste e leitura */
    border: none; /* Remove a borda antiga */
    padding: 12px 28px; /* Dá um tamanho mais imponente ao botão */
    border-radius: 4px; 
    font-weight: 800; 
    display: inline-block; 
    text-decoration: none !important; /* FORÇA a remoção do sublinhado/grifado */
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Remove a linha animada que passa embaixo dos outros links */
.btn-outline::after { display: none !important; }

/* Efeito ao passar o mouse */
.btn-outline:hover { 
    background-color: #e09000; /* Fica um laranja um pouco mais escuro/intenso */
    color: var(--navy-dark) !important;
    transform: translateY(-2px); /* Dá uma leve "subidinha" */
}

.mobile-menu-btn { display: none; color: var(--white); font-size: 1.8rem; cursor: pointer; z-index: 10001; }

/* RESPONSIVIDADE HEADER */
@media (max-width: 1024px) {
   .header-cta { display: none; } 
    .mobile-menu-btn { display: block; }
    
   .nav-links {
        position: fixed !important; /* Força o menu a ficar preso na tela */
        top: 0 !important; right: -100%; width: 300px; max-width: 80vw;
        height: 100vh; background-color: var(--navy-dark); flex-direction: column;
        align-items: flex-start; padding: 100px 30px 30px; transition: right 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5); z-index: 10000 !important; overflow-y: auto;
    }

    .nav-links.active { right: 0; } 
    .nav-links > a, .dropdown-toggle { font-size: 1.1rem; padding: 15px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .nav-links > a::after { display: none !important; } 

    .dropdown { width: 100%; }
    .dropdown-toggle { justify-content: space-between; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; border: none; padding: 0; display: none; }
    .dropdown.active .dropdown-menu { display: block; margin-bottom: 15px;}
    .dropdown.active .dropdown-toggle i { transform: rotate(180deg); color: var(--paultrab-orange); }
    .dropdown-menu a { padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
}


/* ========================================= */
/* --- FOOTER GLOBAL --- */
/* ========================================= */
.paultrab-footer { 
    background-color: var(--navy-footer); 
    padding: 80px 0 40px; 
    font-family: var(--font-body); 
    color: var(--white); 
    border-top: 4px solid var(--paultrab-orange); 
    width: 100%;
}

/* AQUI ESTÁ A CORREÇÃO: Trava de largura e margem para segurar o rodapé alinhado com o menu! */
.paultrab-footer .container,
.paultrab-footer .footer-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; 
    gap: 40px; 
    margin-bottom: 60px; 
}

.footer-logo { max-width: 160px; margin-bottom: 20px; }
.footer-bio { color: var(--text-grey-footer); font-size: 0.9rem; line-height: 1.6; margin-bottom: 25px; }
.footer-title { font-family: var(--font-title); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; color: var(--white); font-weight: 800; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links li a { color: var(--text-grey-footer); text-decoration: none; font-size: 0.95rem; transition: 0.3s; }
.footer-links li a:hover { color: var(--paultrab-orange); padding-left: 5px; }

.social-links { display: flex; gap: 12px; }
.social-links a { width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); text-decoration: none; transition: 0.3s; }
.social-links a:hover { background: var(--paultrab-orange); color: var(--navy-footer); transform: translateY(-5px); }

.contact-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; color: var(--text-grey-footer); font-size: 0.95rem; }
.contact-item i { color: var(--paultrab-orange); width: 16px; text-align: center; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 0.85rem; color: var(--text-grey-footer); }
.footer-bottom a { color: var(--white); text-decoration: none; transition: 0.3s; }
.footer-bottom a:hover { color: var(--paultrab-orange); }

/* RESPONSIVIDADE FOOTER */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; margin-bottom: 40px;}
    .footer-logo { margin: 0 auto 20px; }
    .social-links, .contact-item { justify-content: center; }
    .footer-links li a:hover { padding-left: 0; }
}

/* ========================================= */
/* --- BOTÃO FLUTUANTE WHATSAPP --- */
/* ========================================= */
.floating-whatsapp {
    position: fixed; /* Fixa o botão na tela */
    bottom: 30px; /* Distância do fundo */
    right: 30px; /* Distância da direita */
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde oficial do WhatsApp */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999; /* Garante que fique acima de tudo no site */
    text-decoration: none !important;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Efeito ao passar o mouse */
.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20b858;
    color: #ffffff;
}

/* Efeito de 'Pulso' para chamar atenção */
.floating-whatsapp::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Ajuste de tamanho para o celular */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 32px;
    }
}

/* ========================================= */
/* FIXA O BOTÃO APENAS QUANDO O MENU ESTÁ ABERTO (X) */
/* ========================================= */
.mobile-menu-btn.active, 
.mobile-menu-btn:has(.fa-times), 
.mobile-menu-btn:has(.fa-xmark) {
    position: fixed !important;
    top: 35px !important;
    right: 6% !important;
    z-index: 10001 !important;
}