/* ========================================
   IMPORT COMPONENTS
   ======================================== */
@import url('components/buttons.css');
@import url('components/hero-landing.css');
@import url('menu.css');

/* ========================================
   LOCAL FONTS - REVBRIDGE THEME
   ======================================== */

/* System Font Stack - Fast and reliable */
@font-face {
    font-family: 'SystemFont';
    src: local('SF Pro Display'), 
         local('Segoe UI'), 
         local('Roboto'), 
         local('Helvetica Neue'), 
         local('Arial');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SystemFont';
    src: local('SF Pro Display Medium'), 
         local('Segoe UI Semibold'), 
         local('Roboto Medium'), 
         local('Helvetica Neue Medium'), 
         local('Arial');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SystemFont';
    src: local('SF Pro Display Semibold'), 
         local('Segoe UI Bold'), 
         local('Roboto Bold'), 
         local('Helvetica Neue Bold'), 
         local('Arial Bold');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SystemFont';
    src: local('SF Pro Display Bold'), 
         local('Segoe UI Black'), 
         local('Roboto Black'), 
         local('Helvetica Neue Black'), 
         local('Arial Black');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Apply system font to body */
body {
    font-family: 'SystemFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ========================================
   GLOBAL STYLES - REVBRIDGE THEME
   ======================================== */

/* CSS Custom Properties (Variables) */
:root {
    /* ========================================
       REVBRIDGE CONNECT - BRANDING COLORS
       ======================================== */
    /* Primary Colors - RevBridge Red */
    --primary-color: #643733;
    --secondary-color: #8a5151;
    --primary-color-dark: #7e4f47;
    --red-primary: #523131;
    --red-dark: #cc2d14;
    --red-light: hsl(0, 86%, 49%);
    
    /* ========================================
       HEADER CUSTOMIZATION VARIABLES
       Pages can override these without !important
       ======================================== */
    --header-bg: #ffffff;
    --header-text-color: #111827;
    --header-link-color: #111827;
    --header-link-hover: #e81111;
    --header-logo-height-desktop: 50px;
    --header-logo-height-mobile: 40px;
    --header-padding: 1rem 0;
    --header-gap: 2rem;
    --header-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --header-sticky-top: 0;
    --header-z-index: 1000;

    /* ========================================
       FOOTER CUSTOMIZATION VARIABLES
       Pages can override these without !important
       ======================================== */
    --footer-bg-color: #ffffff;
    --footer-bg-color-2: #ffffff;
    --footer-text-color: #1f2937;
    --footer-link-color: #1f2937;
    --footer-link-hover: #e81111;
    --footer-accent-color: #e81111;
    --footer-padding: 3rem 0;
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Status Colors */
    --success-color: #10b981;
    --success-color-dark: #059669;  /* Darker green for gradients */
    --success-bg: #d1fae5;          /* Success background (light green) */
    --success-border: #6ee7b7;      /* Success border */
    --success-text: #065f46;        /* Success text (dark green) */
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --error-bg: #fee2e2;            /* Error background (light red) */
    --error-border: #fca5a5;        /* Error border */
    --error-text: #991b1b;          /* Error text (dark red) */
    --info-color: #3b82f6;

    /* Accent Colors - Additional brand colors */
    --red-accent: #ff4444;        /* Lighter red for gradients */
    --pink-accent: #ec4899;       /* Pink accent for AI/special features */

    /* Code Syntax Highlighting Colors */
    --code-green: #22c55e;        /* Green for commands/success */
    --code-green-dark: #16a34a;   /* Darker green for icons */
    --code-blue: #60a5fa;         /* Blue for flags/links */
    --code-blue-dark: #2563eb;    /* Darker blue for icons */
    --code-yellow: #fbbf24;       /* Yellow for strings */
    --code-purple: #9333ea;       /* Purple for keywords */

    /* Typography */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    --text-5xl: 3rem;       /* 48px */
    
    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Spacing */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    
    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius-base: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: var(--leading-normal);
    color: var(--gray-800);
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

/* Blog & Archive Pages - Fix text colors */
.blog .site-main,
.archive .site-main,
.single-post .site-main,
.category .site-main,
.tag .site-main,
.search .site-main {
    color: #2c3e50 !important;
}

.blog article,
.archive article,
.single-post article,
.category article,
.tag article,
.search article {
    color: #2c3e50 !important;
}

.blog h1, .blog h2, .blog h3, .blog h4, .blog h5, .blog h6,
.archive h1, .archive h2, .archive h3, .archive h4, .archive h5, .archive h6,
.single-post h1, .single-post h2, .single-post h3, .single-post h4, .single-post h5, .single-post h6,
.category h1, .category h2, .category h3, .category h4, .category h5, .category h6 {
    color: #1a202c !important;
}

.blog p, .blog a:not(.btn),
.archive p, .archive a:not(.btn),
.single-post p, .single-post a:not(.btn),
.category p, .category a:not(.btn) {
    color: #2c3e50 !important;
}

.blog .entry-content,
.archive .entry-content,
.single-post .entry-content,
.category .entry-content {
    color: #2c3e50 !important;
}

.blog .entry-title,
.archive .entry-title,
.category .entry-title {
    color: #1a202c !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    color: var(--gray-900);
    margin: 0 0 var(--space-4) 0;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin: 0 0 var(--space-4) 0;
    line-height: var(--leading-relaxed);
}
/* ====== ADMIN BAR STYLES ====== */
/* Force WordPress default admin bar colors for administrators */
#wpadminbar,
#wpadminbar *,
#wpadminbar a,
#wpadminbar a:hover,
#wpadminbar a:focus,
#wpadminbar a:active,
#wpadminbar .ab-item,
#wpadminbar .ab-item:hover,
#wpadminbar .ab-item:focus,
#wpadminbar .ab-item:active,
#wpadminbar .ab-top-menu > li > a,
#wpadminbar .ab-top-menu > li > a:hover,
#wpadminbar .ab-top-secondary,
#wpadminbar .ab-top-secondary a,
#wpadminbar .ab-top-secondary a:hover,
#wpadminbar .quicklinks,
#wpadminbar .quicklinks a,
#wpadminbar .quicklinks a:hover,
#wpadminbar .ab-label,
#wpadminbar .ab-icon {
    color: #fff !important;
    background: transparent !important;
}

#wpadminbar {
    background: #23282d !important;
}

/* Admin bar dropdowns */
#wpadminbar .ab-sub-wrapper,
#wpadminbar .ab-submenu,
#wpadminbar .quicklinks .ab-sub-wrapper,
#wpadminbar .quicklinks .ab-submenu,
#wpadminbar .ab-top-secondary .ab-sub-wrapper,
#wpadminbar .ab-top-secondary .ab-submenu {
    background: #23282d !important;
    border: 1px solid #444 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}

#wpadminbar .ab-sub-wrapper li,
#wpadminbar .ab-submenu li,
#wpadminbar .quicklinks .ab-sub-wrapper li,
#wpadminbar .quicklinks .ab-submenu li {
    background: #23282d !important;
}

#wpadminbar .ab-sub-wrapper a,
#wpadminbar .ab-submenu a,
#wpadminbar .quicklinks .ab-sub-wrapper a,
#wpadminbar .quicklinks .ab-submenu a {
    color: #fff !important;
    background: #23282d !important;
}

#wpadminbar .ab-sub-wrapper a:hover,
#wpadminbar .ab-submenu a:hover,
#wpadminbar .quicklinks .ab-sub-wrapper a:hover,
#wpadminbar .quicklinks .ab-submenu a:hover {
    background: #32373c !important;
    color: #fff !important;
}

/* Layout */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Utility Classes */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    position: absolute;
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background-color: var(--white);
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-lg);
    color: var(--gray-900);
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    height: auto;
    left: 5px;
    line-height: normal;
    padding: var(--space-3) var(--space-4);
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Button Styles */
/* ========================================
   BUTTONS - RevBridge Theme
   ======================================== */
/* Base button styles moved to css/components/buttons.css */
/* This section now only contains page-specific overrides */

/* Card Styles */
.card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-base);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* Grid Layout */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 var(--space-4);
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    h3 { font-size: var(--text-xl); }
    h4 { font-size: var(--text-lg); }
    h5 { font-size: var(--text-base); }
    h6 { font-size: var(--text-sm); }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .mobile-navigation {
        display: none;
    }
    
    .site-content {
        margin: 0;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    p {
        orphans: 3;
        widows: 3;
    }
    
    .btn {
        border: 1px solid #000;
        background: transparent;
        color: #000;
    }
}

/* ========================================
   CUSTOMIZER VARIABLES - REVBRIDGE THEME
   Generated automatically
   ======================================== */

/* ========================================
   HOME PAGE SPECIFIC BUTTON OVERRIDES
   ======================================== */
/* These styles override the base button styles for home page only */

.home .btn-primary:not(.btn-mobile):not(.mobile-cta .btn-primary) {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.home .btn-primary:not(.btn-mobile):not(.mobile-cta .btn-primary):hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Force mobile CTA to always have white text, even on home page */
.home .mobile-cta .btn-primary,
.home .btn-mobile {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.home .mobile-cta .btn-primary:hover,
.home .btn-mobile:hover {
    background: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
}

.home .btn-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.home .btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.home .btn-cta {
    background: var(--primary-color);
}

.home .btn-cta:hover {
    background: var(--secondary-color);
}

.home .btn-product {
    background: var(--primary-color);
    color: var(--white);
}

.home .btn-product:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.home .btn-outline {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.home .btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.home .product-label {
    background: var(--secondary-color) !important;
}

.home .section-label {
    background: var(--secondary-color) !important;
}

.home .tab-btn.active,
.home .tab-btn:hover {
    border-color: var(--secondary-color) !important;
    color: var(--secondary-color) !important;
}

.home .slider-prev,
.home .slider-next {
    border-color: var(--secondary-color) !important;
    color: var(--secondary-color) !important;
}

.home .slider-prev:hover,
.home .slider-next:hover {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
}

.home .meutudo-bar {
    background: var(--secondary-color) !important;
}

.home .testimonial-role {
    color: var(--secondary-color) !important;
}

.home .read-more {
    color: var(--secondary-color) !important;
}

.home .read-more:hover {
    color: var(--primary-color) !important;
}

.home .product-features li:before {
    color: var(--secondary-color) !important;
}

.home h1 span {
    color: var(--secondary-color) !important;
}

/* Force footer colors to apply */
.site-footer {
    background: linear-gradient(135deg, var(--footer-bg-color) 0%, var(--footer-bg-color-2) 50%, var(--footer-bg-color) 100%);
    color: var(--footer-text-color);
    padding: var(--footer-padding);
}

.site-footer .footer-logo {
    color: var(--footer-text-color);
}

.site-footer .footer-description {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer .footer-menu a {
    color: var(--footer-text-color);
}

.site-footer .footer-menu a:hover {
    color: var(--footer-accent-color);
}

.site-footer .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--footer-text-color);
}

.site-footer .social-link:hover {
    background: var(--footer-accent-color);
    color: white;
}

/* ========================================
   HEADER STYLES - REVBRIDGE THEME
   ======================================== */

/* Main Header - Brex Style - Global */
.site-header {
    background: transparent !important;
    box-shadow: none !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    color: #1a1a1a;
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Efeito fosco ao descer a página */
.site-header.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
}

.site-header.scrolled .header-wrapper {
    background: transparent !important;
}

.site-header.scrolled .header-content {
    background: transparent !important;
}

.site-header .header-wrapper {
    max-width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.25rem var(--space-4) !important;
    min-height: 40px !important;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Garantir alinhamento vertical perfeito entre logo e menu */
.header-content > * {
    display: flex;
    align-items: center;
}

/* Alinhar logo e menu na mesma linha de base */
.site-branding,
.main-navigation {
    align-items: center;
    vertical-align: middle;
}

/* Garantir que o logo e o texto estejam na mesma linha de base dos itens do menu */
.site-logo-link {
    align-items: center;
}

/* Ajustar posicionamento do logo para alinhar com o texto do menu */
.site-logo {
    margin-top: 0;
    margin-bottom: 0;
}

.site-title h1 {
    margin-top: 0;
    margin-bottom: 0;
}

/* Garantir que todos os elementos do header fiquem transparentes quando não está scrolled */
.site-header:not(.scrolled) .header-wrapper,
.site-header:not(.scrolled) .header-content {
    background: transparent !important;
}

/* Header sobre fundo escuro - Inverter cores do menu para branco */
.site-header.dark-background:not(.scrolled) {
    color: #ffffff !important;
}

.site-header.dark-background:not(.scrolled) .nav-menu > .menu-item > a,
.site-header.dark-background:not(.scrolled) .nav-menu a {
    color: #ffffff !important;
}

.site-header.dark-background:not(.scrolled) .sign-in-link {
    color: #ffffff !important;
}

.site-header.dark-background:not(.scrolled) .header-logo-link,
.site-header.dark-background:not(.scrolled) .site-branding {
    color: #ffffff !important;
}

.site-header.dark-background:not(.scrolled) .header-logo-img,
.site-header.dark-background:not(.scrolled) .site-branding img,
.site-header.dark-background:not(.scrolled) .custom-logo-link img {
    filter: brightness(0) invert(1);
}

.site-header.dark-background:not(.scrolled) .site-title h1 {
    color: #ffffff !important;
}

/* Quando scrolled, volta ao normal */
.site-header.dark-background.scrolled {
    color: #1a1a1a !important;
}

.site-header.dark-background.scrolled .nav-menu > .menu-item > a,
.site-header.dark-background.scrolled .nav-menu a {
    color: #1a1a1a !important;
}

.site-header.dark-background.scrolled .sign-in-link {
    color: #1a1a1a !important;
}

/* Desktop: Reduced spacing and menu positioning - GLOBAL */
@media (min-width: 992px) {
    .header-content {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
        min-height: 40px !important;
        gap: 0;
    }
    
    /* Global menu spacing - applies to all pages */
    .main-navigation {
        margin-left: 0.5rem;
        position: relative;
    }
    
    /* Ensure consistent spacing across all page types */
    .site-header .main-navigation {
        margin-left: 0.5rem !important;
        position: relative;
    }
    
    /* Remove any extra spacing from header-left */
    .header-left {
        margin-right: 0 !important;
    }
    
    /* Remove any extra spacing from site-branding */
    .site-branding {
        margin-right: 0 !important;
        padding-right: 0 !important;
    }
}

/* Mobile: Reduce vertical padding */
@media (max-width: 991px) {
    .header-content {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
        min-height: 40px !important;
    }
}

/* Header Left Section - Hamburger + Logo */
.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    position: relative;
    margin-right: 0;
}

/* Desktop: Reduce gap between logo and navigation */
@media (min-width: 992px) {
    .header-left {
        margin-right: 0;
    }
    
    .site-branding {
        margin-right: 0;
    }
}

/* Ensure hamburger is hidden on desktop */
.header-left .mobile-menu-toggle {
    display: none;
}

/* Mobile: Force hamburger to LEFT */
@media (max-width: 991px) {
    /* Remove all conflicting rules first */
    .header-content > .mobile-menu-toggle {
        display: none !important;
    }
    
    /* Header Left MUST be first */
    .header-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        order: -9999 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }
    
    /* Hamburger MUST be visible and first in header-left */
    .header-left .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        order: -999 !important;
        margin: 0 0.5rem 0 0 !important;
        padding: 8px !important;
        position: relative !important;
        z-index: 100 !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Logo after hamburger */
    .header-left .site-branding {
        order: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header-content {
        padding-left: 1.5rem;
        padding-right: 2.5rem;
        max-width: 1200px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .header-content {
        max-width: 1320px;
        padding-left: 2rem;
        padding-right: 2.75rem;
    }
}

@media (min-width: 1400px) {
    .header-content {
        padding-left: 2rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1600px) {
    .header-content {
        max-width: 1440px;
        padding-left: 2rem;
        padding-right: 5rem;
    }
}

/* Mobile Menu Toggle - Left (Mobile only) */
.mobile-menu-toggle {
    display: none; /* Hidden by default (desktop) */
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 3px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    position: relative;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Site Branding */
.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 100%;
    margin-top: 6px;
}

.site-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    line-height: 1;
    height: 100%;
}

/* Header Logo Image Styles - AUMENTADO */
.header-logo-img {
    max-width: 150px !important;
    max-height: 50px !important;
    height: auto;
    width: auto !important;
    display: block;
    transition: opacity 0.3s ease;
}

.site-header .header-logo-img,
.site-header .site-branding img,
.site-header .custom-logo-link img {
    max-width: 150px !important;
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
}

.header-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-logo-link:hover {
    opacity: 0.8;
}

.header-logo-link:hover .header-logo-img {
    opacity: 0.8;
}

.site-logo {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 8px;
    flex-shrink: 0;
    align-self: center;
}

.site-logo svg {
    width: 20px;
    height: 20px;
}

.site-title {
    display: flex;
    align-items: center;
    line-height: 1;
    height: 100%;
}

.site-title h1 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: var(--primary-color);
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: var(--header-logo-height-desktop, 35px);
    width: auto;
    transition: transform 0.3s ease;
}

.custom-logo:hover {
    transform: scale(1.05);
}

/* Mobile logo height */
@media (max-width: 768px) {
    .custom-logo {
        max-height: var(--header-logo-height-mobile, 30px);
    }
}

/* Main Navigation - Brex Style */
.main-navigation {
    display: flex;
    align-items: center;
    flex-grow: 0;
    justify-content: flex-start;
    margin-right: 0;
    margin-left: 0;
    height: 100%;
}


.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.1rem;
    align-items: center;
}

/* Desktop: Reduce gap between logo and menu */
@media (min-width: 992px) {
    .nav-menu {
        gap: 2rem;
        margin-left: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .nav-menu {
        gap: 2rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .nav-menu {
        gap: 2.25rem;
    }
}

@media (min-width: 1400px) {
    .nav-menu {
        gap: 2.5rem;
    }
}

@media (min-width: 1600px) {
    .nav-menu {
        gap: 3rem;
    }
}

.nav-menu li {
    position: relative;
}

.nav-menu > .menu-item > a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    padding: 0.75rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.nav-menu a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

/* Menu chevron styles moved to menu.css for global application */

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--red-primary);
}

/* Header Actions - Brex Style */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 0;
}

@media (min-width: 1200px) {
    .header-actions {
        gap: 1.5rem;
    }
}

@media (min-width: 1400px) {
    .header-actions {
        gap: 1.5rem;
    }
}

/* Sign In Link - Brex Style */
.sign-in-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
}

.sign-in-link:hover {
    color: var(--red-primary);
}

/* ========================================
   HEADER SPECIFIC BUTTON OVERRIDES
   ======================================== */
/* Header buttons have specific sizing requirements */

.header-actions .btn-primary,
.header-actions .header-cta {
    background: var(--red-primary);
    color: #ffffff;
    border: none;
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none !important;
}

.header-actions .btn-primary:hover,
.header-actions .header-cta:hover {
    background: var(--red-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: none !important;
}

.header-actions .btn-primary:active,
.header-actions .header-cta:active {
    transform: translateY(0);
}

.search-toggle {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
    border-radius: 4px;
    position: relative;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.search-toggle:hover {
    color: var(--primary-color);
}

/* .btn-outline styles moved to css/components/buttons.css */

/* Mobile Menu Toggle - This is now handled above at the top */

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--primary-color, #e81111);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
/* ============================================
   MOBILE NAVIGATION - BREX STYLE
   Clean, organized mobile menu
   ============================================ */

.mobile-navigation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-navigation.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Overlay - Blurred background showing page peek-through */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-navigation.active .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Menu Content - White panel (70-80% width, leaving right space visible) */
.mobile-nav-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background: #ffffff;
    border-left: 1px solid #8B4513;
    z-index: 99999;
    padding: 0;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.12);
    pointer-events: auto !important;
}

.mobile-navigation.active .mobile-nav-content {
    transform: translateX(0);
}

@media (max-width: 480px) {
    .mobile-nav-content {
        width: 85%;
        max-width: 340px;
    }
}

/* Close Button - Top Left (Above menu items) */
.mobile-menu-close {
    position: relative;
    background: none;
    border: none;
    color: var(--red-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 1.5rem 1.5rem 0 1.5rem;
    z-index: 100000;
    transition: opacity 0.2s ease;
    margin: 0;
    width: 100%;
    text-align: left;
    align-self: flex-start;
}

.mobile-menu-close:hover {
    opacity: 0.7;
}

/* Mobile Menu Items Container - Starts below Close button */
.mobile-menu-items {
    flex: 1;
    padding: 0;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    margin-top: 0;
    position: relative;
    display: flex !important;
    flex-direction: column;
    visibility: visible !important;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.mobile-menu-level[data-level="main"] {
    display: block !important;
    visibility: visible !important;
    padding: 1rem 0 2rem 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block !important;
    visibility: visible !important;
}

/* Menu Item - Each item with subtle horizontal divider */
.mobile-nav-menu .menu-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin: 0;
    position: relative;
    display: block !important;
    visibility: visible !important;
}

.mobile-nav-menu .menu-item:first-child {
    border-top: none;
}

.mobile-nav-menu .menu-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Menu Link */
.mobile-nav-menu .menu-item > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.75rem;
    color: #111827;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    transition: color 0.2s ease;
    width: 100%;
    visibility: visible !important;
}

/* Remove any ::after arrows from mobile menu - only use HTML arrow */
.mobile-nav-menu .menu-item > a::after {
    display: none !important;
    content: none !important;
}

/* Ensure arrow is visible and properly aligned */
.mobile-menu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    pointer-events: auto !important;
    z-index: 10;
}

.mobile-nav-menu .menu-item {
    pointer-events: auto !important;
    cursor: pointer;
}

.mobile-nav-menu .menu-item > a:hover {
    color: var(--red-primary);
}

/* Arrow for dropdown items (Orange/Red) - Chevron style */
.mobile-menu-arrow {
    width: 8px;
    height: 12px;
    margin-left: 0.75rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.mobile-menu-arrow::before {
    content: '';
    position: absolute;
    left: 1px;
    top: 1px;
    width: 8px;
    height: 2.5px;
    background-color: var(--red-primary);
    transform: rotate(45deg);
    transform-origin: left center;
    border-radius: 1px;
}

.mobile-menu-arrow::after {
    content: '';
    position: absolute;
    left: 1px;
    bottom: 1px;
    width: 8px;
    height: 2.5px;
    background-color: var(--red-primary);
    transform: rotate(-45deg);
    transform-origin: left center;
    border-radius: 1px;
}

.mobile-nav-menu .menu-item-has-children.active .mobile-menu-arrow {
    transform: rotate(90deg);
}

/* Mobile Menu Level Navigation */
.mobile-menu-level {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.mobile-menu-level[data-level="main"].hidden {
    display: none;
}

.mobile-menu-level[data-level="sub"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transform: translateX(100%);
    opacity: 0;
    display: none;
    visibility: hidden;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 100;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    will-change: transform, opacity;
}

.mobile-menu-level[data-level="sub"].active,
.mobile-menu-level[data-level="sub"][data-mobile-submenu-open="true"] {
    transform: translateX(0) !important;
    opacity: 1 !important;
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Ensure submenu stays open when active - similar to desktop logic */
body.mobile-submenu-open .mobile-menu-level[data-level="sub"].active,
body.mobile-submenu-open [data-mobile-submenu-open="true"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
    z-index: 100 !important;
}

/* Garantir que o conteúdo dentro do submenu seja visível */
.mobile-menu-level[data-level="sub"].active * {
    visibility: visible !important;
}

.mobile-menu-level[data-level="sub"].active .mobile-submenu-list,
.mobile-menu-level[data-level="sub"].active .mobile-submenu-item,
.mobile-menu-level[data-level="sub"].active .mobile-submenu-link {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Garantir que os itens do submenu sejam sempre visíveis quando o submenu está ativo */
.mobile-menu-level[data-level="sub"].active ul.mobile-submenu-list,
.mobile-menu-level[data-level="sub"].active ul.mobile-submenu-list li,
.mobile-menu-level[data-level="sub"].active ul.mobile-submenu-list li a {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Submenu Header */
.mobile-submenu-header {
    padding: 2rem 2.5rem 1rem 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu-back {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    margin: 0 0 1rem 0;
    color: var(--red-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.mobile-menu-back:hover {
    opacity: 0.7;
}

.mobile-back-arrow {
    width: 6px;
    height: 10px;
    margin-right: 0.5rem;
    position: relative;
    display: inline-block;
}

.mobile-back-arrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 2px;
    background-color: var(--red-primary);
    transform: rotate(-45deg);
    transform-origin: left center;
    border-radius: 1px;
}

.mobile-back-arrow::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 6px;
    height: 2px;
    background-color: var(--red-primary);
    transform: rotate(45deg);
    transform-origin: left center;
    border-radius: 1px;
}

.mobile-back-text {
    color: var(--red-primary);
}

.mobile-submenu-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

/* Submenu List */
.mobile-submenu-list {
    padding: 0;
    margin: 0;
    list-style: none;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    min-height: 200px;
}

/* Forçar visibilidade dos itens */
.mobile-submenu-list li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
}

.mobile-submenu-category {
    padding: 0;
    margin: 0;
    border-bottom: none;
    list-style: none;
}

.mobile-submenu-category-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 1.5rem 2.5rem 0.75rem 2.5rem;
}

.mobile-submenu-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-submenu-link {
    display: flex;
    align-items: flex-start;
    padding: 1rem 2.5rem;
    color: #111827;
    text-decoration: none;
    transition: background-color 0.2s ease;
    width: 100%;
    gap: 1rem;
}

.mobile-submenu-link:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.mobile-menu-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-right: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--red-primary);
    background: rgba(232, 17, 17, 0.1);
    border-radius: 8px;
}

.mobile-submenu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.mobile-submenu-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    display: block;
    line-height: 1.4;
}

.mobile-submenu-description {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.5;
    display: block;
    margin: 0;
}

/* Mobile Actions - Bottom Section */
.mobile-actions {
    padding: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    flex-shrink: 0;
    order: 3;
}

.mobile-menu-items {
    order: 2;
}

.mobile-menu-close {
    order: 1;
}

.mobile-actions-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mobile-actions-row:has(.btn-mobile-secondary:only-child) {
    margin-bottom: 1rem;
}

.mobile-actions-row:has(.btn-mobile-secondary:only-child) .btn-mobile-secondary {
    width: 100%;
}

/* Secondary Button (Sign in) */
.btn-mobile-secondary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    background: #ffffff;
    color: #15191E;
    border: 1px solid rgba(66, 87, 138, 0.15);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    min-height: 40px;
}

.btn-mobile-secondary:hover {
    background: #fbfbfb;
    border-color: rgba(97, 106, 136, 0.30);
}

.btn-mobile-secondary:active {
    background: #F9F9FB;
}

/* Primary Button (Start for FREE) */
.btn-mobile-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.625rem 1rem;
    background: var(--red-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    min-height: 40px;
}

.btn-mobile-primary:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.btn-mobile-primary:active {
    transform: translateY(0);
}

/* Old duplicate mobile menu styles removed - using Brex style above */

/* Search Form Styles */
.header-actions {
    position: relative;
}

.search-form-container {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    min-width: 300px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block !important;
}

.search-form-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form {
    margin: 0;
    padding: 0;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 16px;
}

.search-field {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #2c3e50;
    background: transparent;
    padding: 0;
    margin: 0;
}

.search-field::placeholder {
    color: #999;
}

.search-submit,
.search-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.search-submit:hover,
.search-close:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.05);
}

.search-submit svg,
.search-close svg {
    width: 18px;
    height: 18px;
}

.search-close {
    margin-left: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 30px;
    }
    
    .header-actions {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        padding: 0;
        min-height: 55px;
    }
    
    .main-navigation {
        display: none;
    }
    
    .site-branding {
        grid-column: unset;
        justify-self: unset;
    }

    .header-actions {
        display: flex;
        gap: 12px;
        align-items: center;
        order: 2;
        grid-column: unset;
        justify-self: end;
        margin-left: auto;
        flex-shrink: 0;
    }

    .sign-in-link {
        display: none !important;
    }

    /* Mobile CTA - Compact and Visible */
    .header-actions .btn-primary {
        display: inline-flex !important;
        padding: 8px 16px !important;
        font-size: 0.8125rem !important;
        white-space: nowrap !important;
    }

    /* Hamburger already handled above in @media (max-width: 991px) */

    .search-toggle {
        order: 1;
    }
    
    .site-title h1 {
        font-size: 1.1rem;
    }
    
    .site-logo {
        width: 25px;
        height: 25px;
    }
    
    .site-logo svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0;
        min-height: 50px;
    }
    
    .site-title h1 {
        font-size: 0.95rem;
    }
    
    .mobile-nav-content {
        width: 100%;
    }
}

/* Mobile search adjustments */
@media (max-width: 768px) {
    .search-form-container {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        min-width: auto;
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-top: 0;
        z-index: 1000;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .search-input-wrapper {
        padding: 12px 16px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .search-field {
        font-size: 16px;
        flex: 1;
    }
    
    .search-submit {
        order: -1;
        margin-right: 8px;
    }
    
    .search-close {
        margin-left: 8px;
    }
}

/* Clean button styles - no effects (moved to buttons.css) */

/* ========================================
   FOOTER STYLES - REVBRIDGE THEME
   ======================================== */

/* Footer Container */
.site-footer {
    background: #f8f9fa !important;
    color: #2d3748 !important;
    padding: 50px 0 30px 0;
    margin-top: 80px;
    border-top: 1px solid #e2e8f0;
}

/* Footer Top - Logo + CTA + Social */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.footer-top-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
}

.social-links-inline {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-link-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    border-radius: 6px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link-minimal:hover {
    background: #cbd5e1;
    color: #1e293b;
    transform: translateY(-1px);
}

.social-link-minimal svg {
    width: 18px;
    height: 18px;
}

.footer-logo-img {
    max-width: 120px;
    max-height: 40px;
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.footer-cta-button {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary-color, #3b82f6);
    border-radius: 9999px !important;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-cta-button:hover {
    background: var(--primary-color-dark, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Footer Email Form - Identical to Hero */
.footer-email-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-email-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.footer-email-description {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin: 0;
    max-width: 28rem;
}

.footer-email-form {
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 32rem;
    width: 100%;
    background: transparent !important;
    border: none !important;
    border-radius: 1.5rem !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0;
}

@media (min-width: 640px) {
    .footer-email-form {
        flex-direction: row;
        gap: 0;
        max-width: 36rem;
        background: var(--white) !important;
        border: 1px solid var(--gray-200) !important;
        border-radius: 9999px !important;
        box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1) !important;
        padding: 0.25rem !important;
    }
}

.footer-email-input {
    flex: 1;
    padding: 0.75rem 1rem !important;
    font-size: 0.9375rem !important;
    border: 1px solid var(--gray-200) !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08) !important;
    border-radius: 9999px !important;
    outline: none !important;
    transition: all 0.2s ease;
    background: var(--white) !important;
    color: var(--gray-900) !important;
}

@media (min-width: 640px) {
    .footer-email-input {
        border: none !important;
        box-shadow: none !important;
        border-radius: 9999px 0 0 9999px !important;
    }
}

.footer-email-input:focus {
    outline: none;
}

.footer-email-input::placeholder {
    color: var(--gray-500);
}

.footer-email-button {
    white-space: nowrap;
    border-radius: 9999px !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    background: var(--red-primary) !important;
    color: var(--white) !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

@media (min-width: 640px) {
    .footer-email-button {
        width: auto !important;
        border-radius: 0 9999px 9999px 0 !important;
    }
}

.footer-email-button:hover {
    background: var(--red-dark) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: none !important;
}

/* Footer Menus Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

/* Brand Section */
.brand-section {
    max-width: 300px;
    text-align: left;
}

.footer-section {
    text-align: left;
}

.footer-section h4 {
    text-align: left;
}

.footer-menu {
    text-align: left;
    list-style: none;
    padding: 0;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--footer-text-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Footer Logo Image Styles */
.footer-logo-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 16px;
    transition: opacity 0.3s ease;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo-link:hover .footer-logo-img {
    opacity: 0.8;
}

.footer-description {
    color: #bdc3c7;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer Sections */
.footer-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: block;
    padding: 2px 0;
}

.footer-menu a:hover {
    color: var(--primary-color, #3b82f6);
    text-decoration: none;
}

.footer-menu em {
    color: #94a3b8;
    font-style: italic;
    font-size: 0.85rem;
}

/* Contact Items */
.contact-item {
    margin-bottom: 20px;
}

.contact-item span {
    display: block;
    font-size: 0.85rem;
    color: #95a5a6;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Opening Hours */
.opening-hours {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.opening-hours h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.opening-hours p {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Company Info */
.footer-company-info {
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-company-info p {
    color: #d5dbdb;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-company-info p:last-child {
    margin-bottom: 0;
}

.footer-company-info .legal-text {
    color: #bdc3c7;
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.footer-company-info .company-info {
    color: #d5dbdb;
    font-size: 0.8rem;
    line-height: 1.4;
}

.footer-company-info strong {
    color: #ecf0f1;
    font-weight: 500;
}

.footer-company-info a {
    color: #d5dbdb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-company-info a:hover {
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-badges {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    margin: 0;
}

.footer-badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-badge-logo {
    height: auto;
    max-height: 48px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.footer-badge-logo:hover {
    opacity: 0.85;
}

/* Stripe Badge in Footer */
.footer-badge-item.stripe-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white, #ffffff);
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 8px;
}

.stripe-logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: #635BFF;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.stripe-badge-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700, #374151);
    white-space: nowrap;
}

/* GDPR Badge in Footer */
.footer-badge-item.gdpr-badge,
.footer-badge-item.lgpd-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--white, #ffffff);
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 8px;
}

.gdpr-badge-icon {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gdpr-badge-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gray-700, #374151);
}

.gdpr-badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.gdpr-badge-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800, #1f2937);
    line-height: 1.2;
}

.gdpr-badge-subtitle {
    font-size: 0.75rem;
    color: var(--gray-600, #4b5563);
    line-height: 1.2;
}

@media (max-width: 767px) {
    .footer-badges {
        padding: 0.75rem 0;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-badge-logo {
        max-height: 40px;
        max-width: 200px;
    }
    
    .footer-badge-item.stripe-badge {
        padding: 0.5rem 0.75rem;
    }
    
    .stripe-logo-text {
        font-size: 0.875rem;
    }
    
    .stripe-badge-text {
        font-size: 0.75rem;
    }
    
    .footer-badge-item.gdpr-badge,
    .footer-badge-item.lgpd-badge {
        padding: 0.5rem 0.75rem;
    }
    
    .gdpr-badge-icon {
        width: 32px;
        height: 32px;
    }
    
    .gdpr-badge-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .gdpr-badge-title {
        font-size: 0.8125rem;
    }
    
    .gdpr-badge-subtitle {
        font-size: 0.6875rem;
    }
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
    margin-top: 0;
}

.footer-bottom .copyright {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .brand-section {
        grid-column: 1 / -1;
        max-width: none;
        text-align: center;
    }
    
    .footer-logo-img {
        margin: 0 auto 16px auto;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px 0;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .brand-section {
        text-align: center;
    }
    
    .footer-logo {
        text-align: center !important;
    }
    
    .footer-logo-link {
        text-align: center !important;
        display: block !important;
    }
    
    .site-footer .site-branding {
        justify-content: center !important;
        text-align: center !important;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-legal-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-company-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 15px 0;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-menu li {
        margin-bottom: 8px;
    }
    
    .footer-company-info {
        padding: 15px;
    }
    
    .footer-company-info p {
        font-size: 0.85rem;
    }
    
    .footer-logo-img {
        max-width: 180px;
        margin: 0 auto 16px auto;
    }
    
    .footer-logo {
        text-align: center !important;
    }
    
    .footer-logo-link {
        text-align: center !important;
        display: block !important;
    }
    
    .site-footer .site-branding {
        justify-content: center !important;
        text-align: center !important;
    }
}

/* ========================================
   PAGE TEMPLATE STYLES
   ======================================== */

.page-container {
    padding: var(--space-16) 0;
    background-color: var(--gray-50);
}

.page-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-base);
    padding: var(--space-8);
    max-width: 900px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 2px solid var(--gray-200);
}

.page-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    color: var(--gray-900);
    margin: 0 0 var(--space-4) 0;
    line-height: var(--leading-tight);
}

.page-excerpt {
    font-size: var(--text-lg);
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    margin: var(--space-4) 0 0;
}

/* Page Content */
.page-content-inner {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--gray-700);
}

.page-content-inner h2 {
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--gray-900);
}

.page-content-inner h3 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-800);
}

.page-content-inner p {
    margin-bottom: var(--space-6);
}

.page-content-inner ul,
.page-content-inner ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-8);
}

.page-content-inner li {
    margin-bottom: var(--space-2);
}

.page-content-inner blockquote {
    border-left: 4px solid var(--primary-color);
    padding: var(--space-4) var(--space-6);
    margin: var(--space-6) 0;
    background-color: var(--gray-50);
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--gray-700);
}

.page-content-inner img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-6) 0;
}

.page-content-inner a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.page-content-inner a:hover {
    color: var(--secondary-color);
}

.page-content-inner table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
}

.page-content-inner th,
.page-content-inner td {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--gray-300);
    text-align: left;
}

.page-content-inner th {
    background-color: var(--gray-100);
    font-weight: var(--font-semibold);
}

/* Page Links (pagination) */
.page-links {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.page-links a,
.page-links > span {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-base);
    border: 1px solid var(--gray-300);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.page-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.page-links > span {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Page Footer */
.page-footer {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 2px solid var(--gray-200);
}

.page-comments {
    margin-top: var(--space-6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-container {
        padding: var(--space-8) 0;
    }

    .page-content {
        padding: var(--space-6);
        border-radius: 0;
    }

    .page-title {
        font-size: var(--text-3xl);
    }

    .page-excerpt {
        font-size: var(--text-base);
    }

    .page-content-inner h2 {
        font-size: var(--text-xl);
    }

    .page-content-inner h3 {
        font-size: var(--text-lg);
    }
}

/* ========================================
   MOBILE HEADER - Clean Layout (GLOBAL)
   Aplica para TODAS as páginas
   ======================================== */
@media only screen and (max-width: 768px) {
    .site-header .header-content {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .site-header .site-branding {
        order: 1 !important;
        flex: 0 0 auto !important;
    }

    .site-header .header-actions {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        justify-self: end !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }

    /* CTA Button - Tamanho Consistente */
    .site-header .header-actions .btn-primary {
        padding: 8px 16px !important;
        font-size: 0.8125rem !important;
        white-space: nowrap !important;
        display: inline-flex !important;
    }

    .site-header .mobile-menu-toggle {
        display: flex !important;
        order: 3 !important;
        margin-left: 0 !important;
        flex-shrink: 0 !important;
    }
    
    /* Logo no mobile - aumentado */
    .header-logo-img,
    .site-header .header-logo-img,
    .site-header .site-branding img,
    .site-header .custom-logo-link img {
        max-width: 120px !important;
        max-height: 40px !important;
    }
    
    .site-logo {
        width: 24px !important;
        height: 24px !important;
    }
    
    .site-title h1 {
        font-size: 0.9rem !important;
    }
}

/* ========================================
   MENU PRINCIPAL - Design Moderno e Fluido
   ======================================== */

.main-navigation {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.1rem;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.625rem 0;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
}

.nav-menu > li > a:hover {
    color: var(--red-primary);
}

/* Seta suave para itens com submenu */
/* Removed duplicate arrow - using CSS triangle from line 1051 instead */

.nav-menu > li.menu-item-has-children.mega-menu-open > a {
    color: var(--red-primary);
}

/* Cursor pointer para itens com submenu */
.nav-menu > li.menu-item-has-children > a,
.nav-menu > li:has(.sub-menu) > a {
    cursor: pointer;
}

.nav-menu > li.menu-item-has-children,
.nav-menu > li:has(.sub-menu) {
    cursor: pointer;
}

/* ========================================
   MEGA MENU STYLES
   ======================================== */
/* Menu styles are now in menu.css */

/* ========================================
   MOBILE - Dropdown simples
   ======================================== */

@media (max-width: 991px) {
    .header-content {
        padding: 0.5rem 1rem !important; /* Reduced vertical padding */
        max-width: none !important;
        margin: 0 !important;
        display: flex !important;
        grid-template-columns: none !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center;
        gap: 0.5rem !important; /* Reduced gap */
        flex-wrap: nowrap;
        min-height: auto !important; /* Remove min-height */
    }

    /* Header Left - Hamburger + Logo - COMPACT LEFT POSITION */
    .header-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important; /* Reduced gap between hamburger and logo */
        flex-shrink: 0 !important;
        order: -999 !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative;
    }

    /* Mobile Menu Toggle - Closer to left margin, COMPACT */
    .header-left .mobile-menu-toggle,
    .header-content .mobile-menu-toggle,
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0 !important;
        order: -999 !important;
        margin: 0 !important; /* No margin, closer to edge */
        padding: 6px !important; /* Smaller padding */
        position: relative !important;
        z-index: 100 !important;
    }

    /* Logo next to hamburger - CLOSER */
    .header-left .site-branding,
    .header-left .site-branding {
        flex-shrink: 0 !important;
        order: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Navigation hidden on mobile */
    .main-navigation {
        display: none !important;
    }

    /* Header actions on right (Brex style) */
    .header-actions {
        margin-left: auto !important;
        margin-right: 0 !important;
        display: flex !important;
        align-items: center;
        gap: 1rem;
        flex-shrink: 0;
        order: 999 !important;
    }

    /* Hide sign-in link on mobile to save space (Brex style) */
    .header-actions .sign-in-link {
        display: none !important;
    }

    /* Make CTA button LARGER on mobile */
    .header-actions .header-cta {
        padding: 0.625rem 1.25rem !important; /* Larger padding */
        font-size: 0.9375rem !important; /* Larger font */
        font-weight: 500 !important;
        min-height: 40px !important; /* Minimum height */
    }

    .mega-menu-wrapper {
        display: none !important;
    }
    
    /* ULTIMATE OVERRIDE: Force hamburger to extreme left - COMPACT */
    .site-header .header-wrapper .header-content {
        flex-direction: row !important;
    }
    
    .site-header .header-wrapper .header-content .header-left {
        order: -99999 !important;
        margin-right: auto !important;
        flex: 0 0 auto !important;
        gap: 0.5rem !important; /* Compact gap */
    }
    
    .site-header .header-wrapper .header-content .header-left .mobile-menu-toggle {
        display: flex !important;
        order: -9999 !important;
        margin-left: 0 !important;
        margin-right: 0.5rem !important; /* Reduced margin */
        padding: 6px !important; /* Compact padding */
    }
}

/* ========================================
   ANIMAÇÕES
   ======================================== */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-menu > li.menu-item-has-children:hover .mega-menu {
    animation: slideDown 0.18s ease forwards;
}

/* ========================================
   HEADER CTA - TAMANHO REDUZIDO
   ======================================== */

/* CTA no header - tamanho compacto */
.site-header .header-actions .btn-primary,
#masthead .header-actions .btn-primary,
.header-actions .btn.btn-primary,
.header-actions a.btn-primary {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    white-space: nowrap !important;
}

/* Ajuste para desktop */
@media (min-width: 769px) {
    .site-header .header-actions .btn-primary,
    #masthead .header-actions .btn-primary {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.9375rem !important;
    }
}

/* ========================================
   HEADER TOP BAR - Brand Links
   ======================================== */

.header-top-bar {
    display: none; /* Removido para estilo Brex */
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.5rem 0;
    position: relative;
    z-index: 1000;
}

.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* ========================================
   BRAND LINKS - RevBridge Connect/AI
   ======================================== */

.brand-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand-link {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
}

.brand-link:hover {
    color: var(--gray-600);
}

.brand-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.2s ease;
}

.brand-link:hover:after {
    width: 100%;
}

/* ========================================
   MOBILE MENU - Layout Organizado
   ======================================== */

.mobile-menu-items {
    padding: 0 1rem;
    margin-bottom: 1rem;
}


/* ========================================
   MOBILE NAVIGATION MENU - Com Cascatas
   ======================================== */

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin: 0;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--gray-500);
    transition: color 0.2s ease;
    border-radius: 4px;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
    background: rgba(232, 17, 17, 0.1);
}

.mobile-menu-toggle svg {
    transition: transform 0.2s ease;
}

.mobile-menu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* ========================================
   MOBILE SUBMENU - Cascatas
   ======================================== */

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--gray-50);
    border-radius: 8px;
    margin-top: 0.5rem;
    overflow: hidden;
    display: none;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.mobile-submenu li {
    border-bottom: 1px solid var(--gray-200);
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu .mobile-menu-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    background: transparent;
}

.mobile-submenu .mobile-menu-link:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ========================================
   MOBILE CTA - Reorganizado
   ======================================== */

.mobile-cta {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    margin-top: auto;
}

.mobile-cta .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .header-top-bar {
        padding: 0.375rem 0;
    }
    
    .brand-links {
        gap: 1.5rem;
    }
    
    .brand-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-top-bar {
        padding: 0.25rem 0;
    }
    
    .brand-links {
        gap: 1rem;
    }
    
    .brand-link {
        font-size: 0.75rem;
    }
}

/* ========================================
   LANGUAGE SELECTOR - Sistema Multilíngue
   ======================================== */

.revbridge-lang-selector {
    position: relative;
    display: inline-block;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    color: #374151;
}

.lang-toggle:hover {
    border-color: var(--red-primary);
    background: rgba(239, 68, 68, 0.05);
}

.lang-toggle .current-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.lang-toggle svg {
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.lang-dropdown.active + .lang-toggle svg,
.lang-toggle:hover svg {
    opacity: 1;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    position: relative;
}

.lang-option:hover {
    background: rgba(239, 68, 68, 0.05);
    color: var(--red-primary);
}

.lang-option.active {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red-primary);
    font-weight: 600;
}

.lang-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.lang-name {
    flex: 1;
}

.check-icon {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lang-option.active .check-icon {
    opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .revbridge-lang-selector {
        order: -1; /* Coloca antes do CTA no mobile */
        margin-right: 0.5rem;
    }
    
    .lang-toggle {
        padding: 0.5rem 0.75rem;
    }
    
    .lang-dropdown {
        right: auto;
        left: 0;
    }
}

/* ========================================
   FOOTER RESPONSIVE STYLES
   ======================================== */

/* Tablets */
@media (max-width: 1024px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-top-left,
    .footer-top-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 25px 0;
        margin-top: 60px;
    }
    
    .footer-top {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    
    .footer-top-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .footer-top-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .social-links-inline {
        gap: 6px;
    }
    
    .social-link-minimal {
        width: 32px;
        height: 32px;
    }
    
    .social-link-minimal svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-logo-img {
        max-width: 100px;
        max-height: 32px;
    }
    
    .footer-cta-button {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .footer-menu a {
        font-size: 0.85rem;
    }
    
    .footer-menu li {
        margin-bottom: 8px;
    }
}

/* ========================================
   MEGA MENU STYLES
   ======================================== */

/* Menu Item with Children */
.menu-item-has-children {
    position: relative;
}

/* Simple Dropdown (sub-menu) - Desktop Only */
@media (min-width: 769px) {
    .nav-menu > .menu-item-has-children:not(.mega-menu-item) > .sub-menu {
        position: absolute !important;
        top: 100%;
        left: 0;
        min-width: 240px;
        background: white;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 12px 0;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0s 0.2s, margin-top 0.2s ease;
        margin-top: 10px;
        list-style: none;
        display: block !important;
        pointer-events: none;
    }

    /* Abre quando hover no item de menu OU no próprio submenu */
    .nav-menu > .menu-item-has-children:not(.mega-menu-item):hover > .sub-menu,
    .nav-menu > .menu-item-has-children:not(.mega-menu-item) > .sub-menu:hover {
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 0;
        transition: opacity 0.2s ease 0.1s, visibility 0s 0s, margin-top 0.2s ease 0.1s;
        pointer-events: auto;
    }
    
    /* Mantém aberto enquanto mouse está no submenu */
    .nav-menu > .menu-item-has-children:not(.mega-menu-item):hover > .sub-menu {
        pointer-events: auto;
    }
}

    .nav-menu > .menu-item-has-children:not(.mega-menu-item) .sub-menu .menu-item {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-menu > .menu-item-has-children:not(.mega-menu-item) .sub-menu a {
        display: block;
        padding: 10px 20px;
        color: #475569;
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .nav-menu > .menu-item-has-children:not(.mega-menu-item) .sub-menu a:hover {
        background: #f8fafc;
        color: var(--primary-color, #3b82f6);
        padding-left: 24px;
    }

/* Menu styles are now in menu.css */

.mega-menu-featured .featured-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    width: 100%;
}

.mega-menu-featured .featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--primary-color, #3b82f6);
}

.mega-menu-featured .featured-image {
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    position: relative;
    background: white;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    display: block !important;
}

.mega-menu-featured .featured-image img,
.mega-menu-featured .featured-image .wp-post-image {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s ease;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    vertical-align: top !important;
}

.mega-menu-featured .featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.mega-menu-featured .featured-content {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex: 1;
    background: white;
    margin: 0 !important;
}

.mega-menu-featured .featured-content h5 {
    margin: 0 !important;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.mega-menu-featured .featured-content p {
    margin: 0 !important;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mega-menu-featured .featured-content .read-more {
    color: var(--primary-color, #3b82f6);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mega-menu-featured .featured-card:hover .read-more {
    gap: 8px;
}

/* Mega Menu Footer */
.mega-menu-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.mega-menu-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.mega-menu-footer-links li {
    margin: 0;
}

.mega-menu-footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mega-menu-footer-links a:hover {
    color: var(--primary-color, #3b82f6);
}

/* Tablet/Medium Screens - Mega Menu Adjustments */
@media (max-width: 1200px) {
    .mega-menu-item .mega-menu-wrapper {
        padding: 35px 0;
    }
    
    .mega-menu-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .mega-menu-main {
        gap: 25px;
    }
    
    .mega-menu-columns {
        gap: 25px;
    }
    
    .mega-menu-column {
        min-width: 160px;
        flex: 1 1 auto;
    }
    
    .mega-menu-featured {
        width: 280px;
        min-width: 260px;
        max-width: 280px;
        margin-left: 20px;
    }
}

/* Mobile Mega Menu */
@media (max-width: 768px) {
    /* Adapt mega menu for mobile */
    .mega-menu-item .mega-menu-wrapper {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        min-width: 0 !important;
        max-width: 100% !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        transition: none !important;
        max-height: 0;
        overflow: hidden;
        pointer-events: auto !important;
    }

    /* Show when parent is active */
    .mobile-nav-menu .mega-menu-item.active .mega-menu-wrapper {
        max-height: 2000px;
        padding: 0.5rem 0 !important;
    }

    .mega-menu-content {
        padding: 0 !important;
        gap: 0 !important;
    }

    .mega-menu-main {
        flex-direction: column;
        gap: 0 !important;
    }

    .mega-menu-columns {
        flex-direction: column;
        gap: 0 !important;
    }

    .mega-menu-column {
        padding: 0 0 0 1rem;
        min-width: 0 !important;
    }

    .mega-menu-column-title {
        font-size: 0.875rem;
        font-weight: 700;
        color: #1f2937;
        padding: 0.75rem 1rem;
        border-left: 3px solid var(--primary-color, #e81111);
        margin: 0.25rem 0 0.5rem 0;
        background: rgba(239, 68, 68, 0.05);
        border-radius: 0 8px 8px 0;
    }

    .mega-menu-list {
        padding-left: 0.5rem;
    }

    .mega-menu-list li {
        margin-bottom: 0;
    }

    .mega-menu-list a {
        padding: 0.625rem 1rem;
        font-size: 0.9375rem;
        display: block;
        color: #475569;
        border-left: 2px solid transparent;
        transition: all 0.2s ease;
    }

    .mega-menu-list a:hover,
    .mega-menu-list a:active {
        border-left-color: var(--primary-color, #e81111);
        background: rgba(239, 68, 68, 0.05);
        color: var(--primary-color, #e81111);
    }

    /* Hide featured and footer on mobile */
    .mega-menu-featured,
    .mega-menu-footer {
        display: none !important;
    }

    /* Show main navigation as mobile menu */
    .main-navigation {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: white;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 9998;
        padding: 20px;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu > .menu-item {
        border-bottom: 1px solid #e2e8f0;
    }
    
    .nav-menu > .menu-item > a {
        padding: 15px 10px;
        display: block;
        font-size: 1.1rem;
    }
    
    /* Mobile dropdown styles */
    .menu-item-has-children > a:after {
        content: "▼";
        float: right;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }
    
    .menu-item-has-children.active > a:after {
        transform: rotate(180deg);
    }
    
    .sub-menu {
        display: none;
        padding-left: 20px;
        margin-top: 10px;
    }
    
    .menu-item-has-children.active > .sub-menu {
        display: block;
    }
    
    .sub-menu .menu-item {
        padding: 8px 0;
    }
    
    .sub-menu a {
        color: #64748b;
        font-size: 0.95rem;
    }
    
    /* Mobile menu toggle button */
    .mobile-menu-toggle {
        display: flex !important;
    }
}
