
        /* ========================================
           CSS VARIABLES / DESIGN TOKENS
        ======================================== */
        :root {
            --primary: #1e40af;
            --primary-foreground: #ffffff;
            --secondary: #E21E25;
            --secondary-foreground: #ffffff;
            --accent: #f59e0b;
            --accent-foreground: #1f2937;
            --background: #f8fafc;
            --foreground: #1f2937;
            --muted: #f1f5f9;
            --muted-foreground: #64748b;
            --card: #ffffff;
            --card-foreground: #1f2937;
            --border: #e2e8f0;
            --radius: 0.75rem;
            --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
        }

        /* ========================================
           RESET & BASE STYLES
        ======================================== */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-sans);
            background-color: var(--background);
            color: var(--foreground);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button {
            font-family: inherit;
            cursor: pointer;
            border: none;
            background: none;
        }

        ul, ol {
            list-style: none;
        }
        /* ========================================
           UTILITY CLASSES
        ======================================== */
        .container {
            max-width: 1280px;
            margin: 1rem auto;
            padding: 0 1rem;
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--foreground);
            border-left: 4px solid var(--secondary);
            padding-left: 1rem;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .section-title svg {
            width: 24px;
            height: 24px;
            color: var(--primary);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.625rem 1.25rem;
            border-radius: var(--radius);
            font-weight: 500;
            transition: all 0.3s ease;
        }

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

        .btn-primary:hover {
            background-color: #1e3a8a;
        }

        .btn-secondary {
            background-color: var(--secondary);
            color: var(--secondary-foreground);
        }

        .btn-secondary:hover {
            background-color: #b91c1c;
        }

        .badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .badge-primary {
            background-color: var(--primary);
            color: white;
        }

        .badge-secondary {
            background-color: var(--secondary);
            color: white;
        }

        .badge-accent {
            background-color: var(--accent);
            color: var(--accent-foreground);
        }

        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .line-clamp-3 {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ========================================
           HEADER STYLES
        ======================================== */
        .header {
            position: fixed;
            top: -3px;
            left: 0;
            right: 0;
            z-index: 1000;
        }

        .top-bar {
            background-color: #1f2937;
            color: white;
            padding: 0.5rem 0;
            font-size: 0.875rem;
        }

        .top-bar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .top-bar-contact {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .top-bar-contact a {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            color: white;
            transition: color 0.3s;
        }

        .top-bar-contact a:hover {
            color: var(--accent);
        }

        .top-bar-contact svg {
            width: 14px;
            height: 14px;
        }

        .top-bar-social {
            display: flex;
            gap: 0.75rem;
        }

        .top-bar-social a {
            color: white;
            transition: color 0.3s;
        }

        .top-bar-social a:hover {
            color: var(--accent);
        }

        .top-bar-social svg {
            width: 18px;
            height: 18px;
        }

        .main-nav {
            background-color: white;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: box-shadow 0.3s;
        }

        .main-nav.scrolled {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        .nav-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 80px;
        }

        .logo img {
            height: 56px;
            width: auto;
            object-fit: contain;
        }
 
        .desktop-menu {
            display: none;
            align-items: center;
            gap: 0.25rem;
        }

        @media (min-width: 1024px) {
            .desktop-menu {
                display: flex;
            }
        }

        .menu-item {
            position: relative;
        }

        .menu-item > a,
        .menu-item > button {
            padding: 0.5rem 1rem;
            color: #374151;
            font-weight: 500;
            transition: color 0.3s;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .menu-item > a:hover,
        .menu-item > button:hover {
            color: var(--secondary);
        }

        .menu-item svg {
            width: 16px;
            height: 16px;
            transition: transform 0.3s;
        }

        .menu-item:hover svg {
            transform: rotate(180deg);
        }

        .submenu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            border-radius: var(--radius);
            padding: 0.5rem 0;
            min-width: 200px;
            border-top: 2px solid var(--secondary);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 0.2s ease;
        }

        .menu-item:hover .submenu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .submenu a {
            display: block;
            padding: 0.5rem 1rem;
            color: #374151;
            transition: all 0.3s;
        }

        .submenu a:hover {
            background-color: #f3f4f6;
            color: var(--secondary);
        }

        .mobile-menu-btn {
            display: block;
            padding: 0.5rem;
            color: #374151;
            transition: color 0.3s;
        }

        .mobile-menu-btn:hover {
            color: var(--secondary);
        }

        .mobile-menu-btn svg {
            width: 24px;
            height: 24px;
        }

        @media (min-width: 1024px) {
            .mobile-menu-btn {
                display: none;
            }
        }

        .mobile-menu {
            display: none;
            background-color: white;
            border-top: 1px solid var(--border);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .mobile-menu.open {
            display: block;
            max-height: 600px;
            padding-bottom: 1rem;
        }

        @media (min-width: 1024px) {
            .mobile-menu {
                display: none !important;
            }
        }

        .mobile-menu-item {
            border-bottom: 1px solid #f3f4f6;
        }

        .mobile-menu-item > a {
            display: block;
            padding: 0.75rem 1rem;
            color: #374151;
            transition: all 0.3s;
        }

        .mobile-menu-item > a:hover {
            background-color: #f9fafb;
            color: var(--secondary);
        }

        .mobile-submenu-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 0.75rem 1rem;
            color: #374151;
            transition: all 0.3s;
        }

        .mobile-submenu-toggle:hover {
            background-color: #f9fafb;
            color: var(--secondary);
        }

        .mobile-submenu-toggle svg {
            width: 16px;
            height: 16px;
            transition: transform 0.3s;
        }

        .mobile-submenu-toggle.active svg {
            transform: rotate(180deg);
        }

        .mobile-submenu {
            display: none;
            background-color: #f9fafb;
            padding: 0.5rem 0;
        }

        .mobile-submenu.open {
            display: block;
        }

        .mobile-submenu a {
            display: block;
            padding: 0.5rem 2rem;
            color: #4b5563;
            transition: color 0.3s;
        }

        .mobile-submenu a:hover {
            color: var(--secondary);
        }

        /* ========================================
           URGENT NEWS BAR
        ======================================== */
        .urgent-news {
            background: linear-gradient(135deg, var(--secondary) 0%, #E21E25 100%);
            color: white;
            padding: 0.875rem 0;
            margin-top: 5.8rem;
        }

        .urgent-news-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            text-align: center;
        }

        .urgent-badge {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background-color: rgba(255, 255, 255, 0.2);
            padding: 0.375rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .urgent-badge svg {
            width: 16px;
            height: 16px;
        }

        .urgent-news h2 {
            font-size: 1.125rem;
            font-weight: 700;
        }

        @media (min-width: 768px) {
            .urgent-news h2 {
                font-size: 1.5rem;
            }
        }

        .urgent-news .btn {
            background-color: white;
            color: var(--secondary);
            padding: 0.5rem 1rem;
            font-weight: 600;
            transition: all 0.3s;
        }

        .urgent-news .btn:hover {
            background-color: var(--accent);
            color: var(--accent-foreground);
        }

        /* ========================================
   NEWS SLIDER
======================================== */
.news-slider-section {
    padding: 2rem 0;
}

.slider-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .slider-wrapper {
        grid-template-columns: 2fr 1fr;
    }
}

.slider-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.slider-track {
    position: relative;
    height: 300px;
}

@media (min-width: 768px) {
    .slider-track {
        height: 400px;
    }
}

/* Slide Link - O link inteiro é clicável */
.slide-link {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
    text-decoration: none;
    z-index: 1;
}

.slide-link.active {
    opacity: 1;
    z-index: 2;
}

.slide-link:hover {
    z-index: 3;
}

/* O slide interno ocupa 100% */
.slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide-link:hover .slide img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3) 50%, transparent);
    pointer-events: none; /* Importante: permite clicar através do overlay */
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    pointer-events: none; /* Importante: permite clicar através do conteúdo */
}

.slide-content .badge {
    margin-bottom: 0.75rem;
    pointer-events: none;
}

.slide-content h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    pointer-events: none;
}

@media (min-width: 768px) {
    .slide-content h3 {
        font-size: 1.5rem;
    }
}

.slide-content span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    pointer-events: none;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    padding: 0.5rem;
    border-radius: 9999px;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10;
    border: none;
    cursor: pointer;
}

.slider-container:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.slider-nav.prev {
    left: 1rem;
}

.slider-nav.next {
    right: 1rem;
}

.slider-nav svg {
    width: 24px;
    height: 24px;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    padding: 0;
}

.slider-dot.active {
    background-color: white;
    width: 24px;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Side News */
.side-news {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.side-news-item {
    display: flex;
    gap: 1rem;
    background-color: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.side-news-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.side-news-item img {
    width: 120px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.side-news-content {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.side-news-content span {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.side-news-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 0.25rem;
    transition: color 0.3s;
}

.side-news-item:hover .side-news-content h4 {
    color: var(--primary);
}

        /* ========================================
           NEWS GRID BLOCK
        ======================================== */
        .news-grid-section {
            padding: 3rem 0;
            background-color: var(--muted);
        }

        .news-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        @media (min-width: 640px) {
            .news-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .news-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .news-card {
            background-color: var(--card);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: all 0.3s;
        }

        .news-card:hover {
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            transform: translateY(-4px);
        }

        .news-card-image {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .news-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .news-card:hover .news-card-image img {
            transform: scale(1.1);
        }

        .news-card-image .badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
        }

        .news-card-content {
            padding: 1.25rem;
        }

        .news-card-content span {
            font-size: 0.75rem;
            color: var(--muted-foreground);
        }

        .news-card-content h3 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--foreground);
            margin-top: 0.5rem;
            transition: color 0.3s;
        }

        .news-card:hover .news-card-content h3 {
            color: var(--primary);
        }

        /* ========================================
           PHOTO GALLERY
        ======================================== */
        .gallery-section {
            padding: 3rem 0;
            background-color: var(--background);
        }

        .gallery-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .gallery-header a {
            color: var(--primary);
            font-weight: 500;
            transition: text-decoration 0.3s;
        }

        .gallery-header a:hover {
            text-decoration: underline;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        @media (min-width: 640px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .gallery-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .gallery-item {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            aspect-ratio: 4 / 3;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-item-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3) 50%, transparent);
        }

        .gallery-item-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1rem;
            text-align: left;
        }

        .gallery-item-content h3 {
            color: white;
            font-weight: 700;
            font-size: 1.125rem;
            margin-bottom: 0.25rem;
        }

        .gallery-item-content span {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.875rem;
        }

        .gallery-item-icon {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background-color: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(4px);
            padding: 0.5rem;
            border-radius: 9999px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .gallery-item:hover .gallery-item-icon {
            opacity: 1;
        }

        .gallery-item-icon svg {
            width: 20px;
            height: 20px;
            color: white;
        }

        /* Gallery Modal */
        .gallery-modal {
            display: none;
            position: fixed;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .gallery-modal.open {
            display: flex;
        }

        .gallery-modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            color: white;
            padding: 0.5rem;
            border-radius: 9999px;
            transition: background-color 0.3s;
        }

        .gallery-modal-close:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .gallery-modal-close svg {
            width: 32px;
            height: 32px;
        }

        .gallery-modal-content {
            text-align: center;
            color: white;
        }

        .gallery-modal-content p {
            font-size: 1.25rem;
            margin-bottom: 1rem;
        }

        .gallery-modal-content span {
            color: rgba(255, 255, 255, 0.6);
        }

        
    /* ========================================
       BANK NEWS SECTION
    ======================================== */
    .bank-news-section {
        padding: 3rem 0;
        background-color: var(--muted, #f3f4f6);
    }

    .bank-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .bank-tab {
        padding: 0.5rem 1.25rem;
        border: none;
        border-radius: 9999px;
        font-weight: 500;
        font-size: 0.875rem;
        transition: all 0.3s ease;
        background-color: white;
        color: var(--foreground, #1f2937);
        cursor: pointer;
    }

    .bank-tab:hover {
        background-color: #f3f4f6;
        transform: translateY(-2px);
    }

    .bank-tab.active {
        color: #dc2626;
        box-shadow: 0 10px 15px -3px rgba(204, 15, 15, 0.1);
        transform: scale(1.05);
    }

    /* Cores específicas por banco */
    .bank-tab[data-bank="banco-do-brasil"].active { 
        background-color: #eab308; 
        color: #1f2937;
    }
    .bank-tab[data-bank="cef"].active { 
        background-color: #2563eb; 
        color: white;
    }
    .bank-tab[data-bank="bradesco"].active { 
        background-color: #dc2626; 
        color: white;
    }
    .bank-tab[data-bank="itau"].active { 
        background-color: #f97316; 
        color: white;
    }
    .bank-tab[data-bank="santander"].active { 
        background-color: #b91c1c; 
        color: white;
    }
    .bank-tab[data-bank="bnb"].active { 
        background-color: #5e116d; 
        color: white;
    }
    .bank-tab[data-bank="demais"].active { 
        background-color: #4b5563; 
        color: white;
    }
    .bank-tab[data-bank="financeiras"].active { 
        background-color: #9333ea; 
        color: white;
    }

    .bank-news-grid {
        display: none;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bank-news-grid.active {
        display: grid;
        animation: fadeIn 0.5s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (min-width: 640px) {
        .bank-news-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 1024px) {
        .bank-news-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .bank-news-card {
        background-color: var(--card, white);
        border-radius: var(--radius, 0.5rem);
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        text-decoration: none;
        display: flex;
        flex-direction: column;
    }

    .bank-news-card:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        transform: translateY(-4px);
    }

    .bank-news-card-image {
        position: relative;
        height: 160px;
        overflow: hidden;
        flex-shrink: 0;
        background: #f1f5f9;
    }

    .bank-news-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .bank-news-card:hover .bank-news-card-image img {
        transform: scale(1.1);
    }

    .bank-news-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .bank-news-placeholder svg {
        width: 48px;
        height: 48px;
        opacity: 0.3;
    }

    .bank-news-category {
        position: absolute;
        top: 12px;
        left: 12px;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .bank-news-destaque {
        position: absolute;
        top: 12px;
        right: 12px;
        background: linear-gradient(135deg, #f59e0b, #f97316);
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    }

    .bank-news-card-content {
        padding: 1rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .bank-news-card-content span {
        font-size: 0.75rem;
        color: var(--muted-foreground, #6b7280);
    }

    .bank-news-card-content h3 {
        font-weight: 600;
        font-size: 1rem;
        color: var(--foreground, #1f2937);
        margin: 0.5rem 0;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color 0.3s ease;
    }

    .bank-news-card:hover .bank-news-card-content h3 {
        color: var(--primary, #dc2626);
    }

    .bank-news-subtitulo {
        font-size: 0.875rem;
        color: #475569;
        margin: 0 0 0.5rem 0;
        font-weight: 500;
    }

    .bank-news-resumo {
        font-size: 0.875rem;
        color: var(--muted-foreground, #6b7280);
        line-height: 1.6;
        margin: 0 0 0.75rem 0;
        flex: 1;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .bank-news-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
        font-size: 0.75rem;
        color: #94a3b8;
    }

    .bank-news-date,
    .bank-news-visitas {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .bank-news-date svg,
    .bank-news-visitas svg {
        width: 14px;
        height: 14px;
    }

    .bank-news-footer-card {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: auto;
        padding-top: 0.75rem;
        border-top: 1px solid #f1f5f9;
    }

    .bank-news-fonte {
        font-size: 0.75rem;
        color: #94a3b8;
    }

    .bank-news-read-more {
        font-size: 0.813rem;
        font-weight: 600;
        color: var(--primary, #dc2626);
        transition: all 0.3s ease;
    }

    .bank-news-card:hover .bank-news-read-more {
        transform: translateX(4px);
        color: #b91c1c;
    }

    .bank-news-empty {
        grid-column: 1 / -1;
        text-align: center;
        padding: 3rem 1rem;
        background: white;
        border-radius: var(--radius, 0.5rem);
    }

    .bank-news-empty svg {
        width: 64px;
        height: 64px;
        color: #d1d5db;
        margin: 0 auto 1rem;
        display: block;
    }

    .bank-news-empty p {
        color: #6b7280;
    }

    .bank-news-view-all {
        display: inline-block;
        padding: 0.5rem 1.25rem;
        background: linear-gradient(135deg, #dc2626, #b91c1c);
        color: white;
        border-radius: 9999px;
        font-weight: 600;
        font-size: 0.875rem;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    }

    .bank-news-view-all:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
        color: white;
    }

    /* Responsividade */
    @media (max-width: 640px) {
        .bank-tabs {
            gap: 0.35rem;
            overflow-x: auto;
            flex-wrap: nowrap;
            padding-bottom: 0.5rem;
            -webkit-overflow-scrolling: touch;
        }

        .bank-tab {
            padding: 0.375rem 0.875rem;
            font-size: 1.5rem;
            white-space: nowrap;
        }

        .bank-news-card-image {
            height: 140px;
        }

        .bank-news-section {
            padding: 2rem 0;
        }

        .bank-news-view-all {
            font-size: 0.75rem;
            padding: 0.375rem 1rem;
        }
    }

    @media (min-width: 641px) and (max-width: 1023px) {
        .bank-news-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
        

        /* ========================================
        THEMATIC NEWS SECTIONS
        ======================================== */
        .thematic-section {
            padding: 3rem 0;
        }

        .thematic-section.colony {
            background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
        }

        .thematic-section.sports {
            background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
        }

        .thematic-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .thematic-header .icon-box {
            padding: 0.5rem;
            border-radius: var(--radius, 0.5rem);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .thematic-header .icon-box.blue { 
            background-color: var(--primary, #3b82f6); 
        }
        .thematic-header .icon-box.green { 
            background-color: #16a34a; 
        }

        .thematic-header .icon-box svg {
            width: 24px;
            height: 24px;
        }

        .thematic-header h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--foreground, #1f2937);
        }

        .thematic-header a {
            margin-left: auto;
            font-size: 1.2rem;
            font-weight: 500;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .thematic-header a.blue { 
            color: var(--primary, #3b82f6); 
        }
        .thematic-header a.green { 
            color: #16a34a; 
        }

        .thematic-header a:hover {
            text-decoration: underline;
        }

        .thematic-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        @media (min-width: 768px) {
            .thematic-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .thematic-card {
            background-color: white;
            border-radius: var(--radius, 0.5rem);
            overflow: hidden;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            text-decoration: none;
            display: flex;
            flex-direction: column;
        }

        .thematic-card:hover {
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
            transform: translateY(-4px);
        }

        .thematic-card-image {
            position: relative;
            height: 180px;
            overflow: hidden;
            flex-shrink: 0;
            background: #f1f5f9;
        }

        .thematic-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .thematic-card:hover .thematic-card-image img {
            transform: scale(1.1);
        }

        .thematic-card-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .thematic-card-image .badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .badge-primary {
            background: rgba(59, 130, 246, 0.9);
            color: white;
        }

        .badge-destaque {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: linear-gradient(135deg, #f59e0b, #f97316);
            color: white;
            box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
        }

        .thematic-card-content {
            padding: 1.25rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .thematic-card-content span {
            font-size: 0.75rem;
            color: var(--muted-foreground, #6b7280);
        }

        .thematic-card-content h3 {
            font-weight: 600;
            font-size: 1rem;
            color: var(--foreground, #1f2937);
            margin-top: 0.5rem;
            line-height: 1.4;
            transition: color 0.3s ease;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .thematic-card:hover .thematic-card-content h3 {
            color: var(--primary, #3b82f6);
        }

        .thematic-card-resumo {
            font-size: 0.875rem;
            color: var(--muted-foreground, #6b7280);
            line-height: 1.6;
            margin-top: 0.5rem;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .thematic-card-fonte {
            font-size: 0.75rem;
            color: #94a3b8;
            margin-top: 0.5rem;
            display: block;
        }

        .thematic-empty {
            grid-column: 1 / -1;
            text-align: center;
            padding: 3rem 1rem;
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(10px);
            border-radius: var(--radius, 0.5rem);
        }

        .thematic-empty p {
            color: #6b7280;
        }

        /* Responsividade */
        @media (max-width: 640px) {
            .thematic-header {
                gap: 0.5rem;
            }

            .thematic-header h2 {
                font-size: 1.25rem;
            }

            .thematic-header a {
                font-size: 0.75rem;
            }

            .thematic-card-image {
                height: 150px;
            }

            .thematic-section {
                padding: 2rem 0;
            }
        }
      /* ========================================
       PARTNERS CAROUSEL
    ======================================== */
    .partners-section {
        padding: 2.5rem 0;
        background-color: rgba(241, 245, 249, 0.3);
    }

    .partners-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }

    .partners-header .icon-box {
        padding: 0.5rem;
        background-color: var(--accent, #d97706);
        border-radius: var(--radius, 0.5rem);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .partners-header .icon-box svg {
        width: 24px;
        height: 24px;
        color: white;
    }

    .partners-header h2 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--foreground, #1f2937);
    }

    .partners-header a {
        margin-left: auto;
        font-size: 1.2rem;
        color: #d97706;
        font-weight: 500;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .partners-header a:hover {
        color: #b45309;
        text-decoration: underline;
    }

    .partners-carousel-container {
        position: relative;
        background-color: var(--card, white);
        border-radius: var(--radius, 0.5rem);
        padding: 1.5rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--border, #e5e7eb);
    }

    .partners-carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        padding: 0.5rem;
        background-color: var(--background, white);
        border-radius: 9999px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--border, #e5e7eb);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .partners-carousel-nav:hover {
        background-color: var(--muted, #f3f4f6);
        transform: translateY(-50%) scale(1.05);
    }

    .partners-carousel-nav.prev {
        left: 0.5rem;
    }

    .partners-carousel-nav.next {
        right: 0.5rem;
    }

    .partners-carousel-nav svg {
        width: 20px;
        height: 20px;
        color: var(--foreground, #1f2937);
    }

    .partners-carousel-track-wrapper {
        overflow: hidden;
        margin: 0 2.5rem;
    }

    .partners-carousel-track {
        display: flex;
        transition: transform 0.5s ease;
        will-change: transform;
    }

    .partner-item {
        flex-shrink: 0;
        padding: 0 0.75rem;
        width: 20%;
    }

    @media (max-width: 1023px) {
        .partner-item { width: 25%; }
    }

    @media (max-width: 767px) {
        .partner-item { width: 33.333%; }
    }

    @media (max-width: 639px) {
        .partner-item { width: 50%; }
    }

    .partner-item-inner {
        background-color: var(--background, white);
        border-radius: var(--radius, 0.5rem);
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 96px;
        border: 2px solid var(--border, #e5e7eb);
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        position: relative;
    }

    .partner-item-inner:hover {
        border-color: #fcd34d;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

    .partner-item-inner img {
        max-height: 56px;
        max-width: 120px;
        object-fit: contain;
        filter: grayscale(100%);
        transition: filter 0.3s ease;
    }

    .partner-item-inner:hover img {
        filter: grayscale(0%);
    }

    .partner-placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        width: 100%;
        height: 100%;
    }

    .partner-placeholder-text {
        font-size: 0.75rem;
        color: #94a3b8;
        text-align: center;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .partner-badge-destaque {
        position: absolute;
        top: -6px;
        right: -6px;
        background: linear-gradient(135deg, #f59e0b, #f97316);
        color: white;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    }

    .partner-badge-desconto {
        position: absolute;
        bottom: -6px;
        right: -6px;
        background: linear-gradient(135deg, #ef4444, #dc2626);
        color: white;
        padding: 2px 8px;
        border-radius: 9999px;
        font-size: 10px;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    }

    .partners-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .partners-dot {
        width: 8px;
        height: 8px;
        border-radius: 9999px;
        background-color: rgba(100, 116, 139, 0.3);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .partners-dot.active {
        background-color: var(--accent, #d97706);
        width: 24px;
    }

    .partners-dot:hover {
        background-color: var(--accent, #d97706);
        opacity: 0.7;
    }

    .partners-empty {
        text-align: center;
        padding: 3rem 1rem;
        background: white;
        border-radius: var(--radius, 0.5rem);
        border: 1px solid var(--border, #e5e7eb);
    }

    .partners-empty p {
        color: #6b7280;
    }

    /* Responsividade */
    @media (max-width: 640px) {
        .partners-carousel-container {
            padding: 1rem;
        }

        .partners-carousel-nav {
            padding: 0.375rem;
        }

        .partners-carousel-nav svg {
            width: 16px;
            height: 16px;
        }

        .partners-carousel-track-wrapper {
            margin: 0 1.5rem;
        }

        .partner-item-inner {
            height: 76px;
            padding: 0.75rem;
        }

        .partner-item-inner img {
            max-height: 40px;
            max-width: 80px;
        }

        .partners-header h2 {
            font-size: 1.25rem;
        }

        .partners-header a {
            font-size: 0.75rem;
        }

        .partner-badge-desconto {
            font-size: 8px;
            padding: 1px 6px;
        }

        .partner-badge-destaque {
            width: 20px;
            height: 20px;
            font-size: 10px;
        }
    }

        /* ========================================
           FOOTER
        ======================================== */
        .footer {
            background-color: var(--card-foreground);
            color: white;
        }

        .footer-main {
            padding: 3rem 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .footer-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .footer-about .logo-box {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .footer-about .logo-icon {
            width: 48px;
            height: 48px;
            background-color: white;
            border-radius: 9999px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .footer-about .logo-icon span {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.125rem;
        }

        .footer-about .logo-text span:first-child {
            font-weight: 700;
            font-size: 1.125rem;
            display: block;
        }

        .footer-about .logo-text span:last-child {
            color: var(--accent);
            font-size: 0.75rem;
        }

        .footer-about p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.875rem;
            line-height: 1.6;
        }

        .footer-social {
            display: flex;
            gap: 0.75rem;
            margin-top: 1rem;
        }

        .footer-social a {
            background-color: rgba(255, 255, 255, 0.1);
            padding: 0.5rem;
            border-radius: 9999px;
            transition: background-color 0.3s;
        }

        .footer-social a:hover {
            background-color: var(--primary);
        }

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

        .footer h3 {
            font-weight: 700;
            font-size: 1.125rem;
            margin-bottom: 1rem;
            color: var(--accent);
        }

        .footer-links ul {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.875rem;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--secondary-foreground);
        }

        .footer-contact ul {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .footer-contact li {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            font-size: 0.875rem;
        }

        .footer-contact svg {
            width: 20px;
            height: 20px;
            color: var(--accent);
            flex-shrink: 0;
            margin-top: 0.125rem;
        }

        .footer-contact span {
            color: rgba(255, 255, 255, 0.7);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1rem 0;
        }

        .footer-bottom-content {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            align-items: center;
            justify-content: space-between;
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.5);
        }

        @media (min-width: 768px) {
            .footer-bottom-content {
                flex-direction: row;
            }
        }

        .footer-bottom-links {
            display: flex;
            gap: 1rem;
        }

        .footer-bottom-links a {
            color: rgba(255, 255, 255, 0.5);
            transition: color 0.3s;
        }

        .footer-bottom-links a:hover {
            color: var(--accent);
        }

        /* ========================================
           NEWS ARTICLE PAGE
        ======================================== */
        .article-page {
            margin-top: 120px;
            padding: 0rem 0;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            margin-bottom: 1.5rem;
        }

        .breadcrumb a {
            color: var(--primary);
            transition: text-decoration 0.3s;
        }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

        .breadcrumb span {
            color: var(--muted-foreground);
        }

        .article-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        @media (min-width: 1024px) {
            .article-layout {
                grid-template-columns: 2fr 1fr;
            }
        }

        .article-main {
            background-color: var(--card);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        .article-header {
            padding: 2rem;
            border-bottom: 1px solid var(--border);
        }

        .article-header .badge {
            margin-bottom: 1rem;
        }

        .article-header h1 {
            font-size: 1.75rem;
            font-weight: 800;
            line-height: 1.3;
            color: var(--foreground);
            margin-bottom: 1rem;
        }

        @media (min-width: 768px) {
            .article-header h1 {
                font-size: 2.25rem;
            }
        }

        .article-header .subtitle {
            font-size: 1.25rem;
            color: var(--muted-foreground);
            line-height: 1.5;
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1rem;
            padding: 1rem 2rem;
            border-bottom: 1px solid var(--border);
            background-color: var(--muted);
        }

        .article-author {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .article-author img {
            width: 48px;
            height: 48px;
            border-radius: 9999px;
            object-fit: cover;
        }

        .article-author-info strong {
            display: block;
            color: var(--foreground);
        }

        .article-author-info span {
            font-size: 0.875rem;
            color: var(--muted-foreground);
        }

        .article-date {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--muted-foreground);
            font-size: 0.875rem;
        }

        .article-date svg {
            width: 16px;
            height: 16px;
        }

        .article-share {
            display: flex;
            gap: 0.5rem;
            margin-left: auto;
        }

        .article-share button {
            padding: 0.5rem;
            border-radius: 9999px;
            transition: background-color 0.3s;
        }

        .article-share button:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }

        .article-share svg {
            width: 20px;
            height: 20px;
        }

        .article-image {
            position: relative;
        }

        .article-image img {
            width: 100%;
            height: auto;
        }

        .article-image figcaption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: white;
            font-size: 0.875rem;
        }

        .article-content {
            padding: 2rem;
        }

        .article-content p {
            font-size: 1.125rem;
            line-height: 1.8;
            color: var(--foreground);
            margin-bottom: 1.5rem;
        }

        .article-content h2 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-top: 2rem;
            margin-bottom: 1rem;
            color: var(--foreground);
        }

        .article-content blockquote {
            border-left: 4px solid var(--primary);
            /* background-color: var(--muted); */
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 var(--radius) var(--radius) 0;
        }

        .article-content blockquote p {
            font-size: 1.25rem;
            font-style: italic;
            color: var(--foreground);
            margin-bottom: 0.5rem;
        }

        .article-content blockquote cite {
            display: block;
            font-size: 0.875rem;
            color: var(--muted-foreground);
            font-style: normal;
        }

        .article-content ul {
            margin: 1.5rem 0;
            padding-left: 1.5rem;
        }

        .article-content ul li {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.75rem;
            font-size: 1.125rem;
            line-height: 1.6;
        }

        .article-content ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.5rem;
            width: 8px;
            height: 8px;
            background-color: var(--primary);
            border-radius: 9999px;
        }

        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            padding: 1.5rem 2rem;
            border-top: 1px solid var(--border);
        }

        .article-tags a {
            background-color: var(--muted);
            padding: 0.375rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            color: var(--muted-foreground);
            transition: all 0.3s;
        }

        .article-tags a:hover {
            background-color: var(--primary);
            color: white;
        }

        /* Article Sidebar */
        .article-sidebar {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .sidebar-widget {
            background-color: var(--card);
            border-radius: var(--radius);
            padding: 1.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        .sidebar-widget h3 {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--secondary);
            color: var(--foreground);
        }

        .related-news-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .related-news-item {
            display: flex;
            gap: 0.75rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .related-news-item:last-child {
            padding-bottom: 0;
            border-bottom: none;
        }

        .related-news-item img {
            width: 80px;
            height: 60px;
            border-radius: calc(var(--radius) / 2);
            object-fit: cover;
            flex-shrink: 0;
        }

        .related-news-item h4 {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--foreground);
            transition: color 0.3s;
        }

        .related-news-item:hover h4 {
            color: var(--primary);
        }

        .related-news-item span {
            font-size: 0.75rem;
            color: var(--muted-foreground);
            display: block;
            margin-top: 0.25rem;
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .newsletter-form input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            font-size: 0.875rem;
            outline: none;
            transition: border-color 0.3s;
        }

        .newsletter-form input:focus {
            border-color: var(--primary);
        }

        .newsletter-form button {
            width: 100%;
            padding: 0.75rem;
            background-color: var(--primary);
            color: white;
            border-radius: var(--radius);
            font-weight: 600;
            transition: background-color 0.3s;
        }

        .newsletter-form button:hover {
            background-color: #1e3a8a;
        }

        /* More News Section */
        .more-news-section {
            padding: 3rem 0;
            background-color: var(--muted);
        }

        /* Hide on mobile */
        @media (max-width: 639px) {
            .top-bar-contact span {
                display: none;
            }
        }
 
        /* ========================================
   ACESSIBILIDADE - FONTE E CONTRASTE
======================================== */

/* 1. FORÇAR HERANÇA DE FONTE NO CONTEÚDO DA NOTÍCIA */
#noticiaConteudo,
#noticiaConteudo * {
    /* font-size: inherit !important; */
    line-height: inherit !important;
}

/* 2. MANTER ESTILOS DE TAGS ESPECÍFICAS */
#noticiaConteudo strong,
#noticiaConteudo b {
    font-weight: 700 !important;
    color: inherit !important;
}

#noticiaConteudo em,
#noticiaConteudo i {
    font-style: italic !important;
    color: inherit !important;
}

#noticiaConteudo u {
    text-decoration: underline !important;
    color: inherit !important;
}

#noticiaConteudo h1,
#noticiaConteudo h2,
#noticiaConteudo h3,
#noticiaConteudo h4,
#noticiaConteudo h5,
#noticiaConteudo h6 {
    font-weight: 700 !important;
    color: inherit !important;
    margin-top: 1.5em !important;
    margin-bottom: 0.75em !important;
}

#noticiaConteudo a {
    color: var(--primary) !important;
    text-decoration: underline !important;
}

#noticiaConteudo a:hover {
    color: #1d4ed8 !important;
}

#noticiaConteudo ul,
#noticiaConteudo ol {
    padding-left: 1.5rem !important;
    margin: 1rem 0 !important;
}

#noticiaConteudo ul li {
    list-style-type: disc !important;
    margin-bottom: 0.5rem !important;
}

#noticiaConteudo ol li {
    list-style-type: decimal !important;
    margin-bottom: 0.5rem !important;
}

#noticiaConteudo blockquote {
    border-left: 4px solid var(--primary) !important;
    padding: 1rem 1.5rem !important;
    margin: 1.5rem 0 !important;
    background-color: var(--muted) !important;
    border-radius: 0 var(--radius) var(--radius) 0 !important;
}

#noticiaConteudo blockquote p {
    font-style: italic !important;
    margin-bottom: 0.5rem !important;
}

/* 3. TAMANHOS DE FONTE PARA DIFERENTES ELEMENTOS */
.article-content .content-wrapper {
    font-size: 16px;
    line-height: 1.8;
    transition: font-size 0.3s ease, line-height 0.3s ease;
}

/* 4. CONTROLE DE TAMANHO DA FONTE */
body.font-small .article-content .content-wrapper {
    font-size: 14px !important;
}

body.font-medium .article-content .content-wrapper {
    font-size: 16px !important;
}

body.font-large .article-content .content-wrapper {
    font-size: 18px !important;
}

body.font-xlarge .article-content .content-wrapper {
    font-size: 20px !important;
}

body.font-xxlarge .article-content .content-wrapper {
    font-size: 22px !important;
}

body.font-xxxlarge .article-content .content-wrapper {
    font-size: 24px !important;
}

/* ========================================
   ALTO CONTRASTE (HIGH CONTRAST)
======================================== */
body.high-contrast,
body.high-contrast * {
    background: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

body.high-contrast a,
body.high-contrast .prose a {
    color: #4da6ff !important;
}

body.high-contrast a:hover,
body.high-contrast .prose a:hover {
    color: #80bfff !important;
}

body.high-contrast .bg-white,
body.high-contrast .bg-gray-50,
body.high-contrast .bg-gray-100,
body.high-contrast .bg-blue-50,
body.high-contrast .bg-indigo-50,
body.high-contrast .bg-gray-200 {
    background: #1a1a1a !important;
}

body.high-contrast .text-gray-500,
body.high-contrast .text-gray-600,
body.high-contrast .text-gray-700,
body.high-contrast .text-gray-800,
body.high-contrast .text-gray-900 {
    color: #ccc !important;
}

body.high-contrast .border-gray-200,
body.high-contrast .border-gray-300 {
    border-color: #666 !important;
}

body.high-contrast .shadow-sm,
body.high-contrast .shadow-lg {
    box-shadow: 0 0 0 1px #fff !important;
}

body.high-contrast .btn-primary {
    background: #fff !important;
    color: #000 !important;
}

body.high-contrast .btn-secondary {
    background: #fff !important;
    color: #000 !important;
}

body.high-contrast .badge {
    background: #fff !important;
    color: #000 !important;
}

body.high-contrast .badge-primary {
    background: #fff !important;
    color: #000 !important;
}

body.high-contrast .badge-secondary {
    background: #fff !important;
    color: #000 !important;
}

body.high-contrast .badge-accent {
    background: #fff !important;
    color: #000 !important;
}

body.high-contrast #noticiaConteudo blockquote {
    background: #1a1a1a !important;
    border-color: #fff !important;
}

body.high-contrast #noticiaConteudo ul li::before {
    background: #fff !important;
}

/* ========================================
   FONTE ACESSÍVEL (DISLEXIA)
======================================== */
body.accessible-font,
body.accessible-font * {
    font-family: 'OpenDyslexic', 'Comic Sans MS', 'Arial', sans-serif !important;
}

/* ========================================
   RESPONSIVIDADE PARA ACESSIBILIDADE
======================================== */
@media (max-width: 768px) {
    .article-content p {
        font-size: 1rem !important;
    }
    
    .article-content h2 {
        font-size: 1.25rem !important;
    }
    
    #noticiaConteudo {
        font-size: 16px !important;
    }
}

/* ========================================
   TOAST NOTIFICATIONS
======================================== */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    animation: slideIn 0.3s ease;
    max-width: 90%;
}

.toast-success {
    background: #10b981;
    color: white;
}

.toast-error {
    background: #ef4444;
    color: white;
}

.toast-info {
    background: #3b82f6;
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========================================
   BOTÕES DE ACESSIBILIDADE
======================================== */
.accessibility-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--muted);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.access-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--foreground);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.access-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.access-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.access-btn svg {
    width: 16px;
    height: 16px;
}

/* Botões ativos */
.access-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

 /* ========================================
       CONVENIOS PAGE
    ======================================== */
    .convenios-page {
        padding: 3rem 0;
        background: #f8fafc;
        min-height: calc(100vh - 200px);
    }

    /* Header */
    .convenios-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .convenios-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #1e293b;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .convenios-title i {
        color: #d97706;
    }

    .convenios-subtitle {
        font-size: 1.125rem;
        color: #64748b;
    }

    /* Filtros */
    .convenios-filters {
        background: white;
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        margin-bottom: 2rem;
    }

    .convenios-filters-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr auto;
        gap: 1rem;
        align-items: end;
    }

    .filter-search,
    .filter-select {
        position: relative;
        display: flex;
        align-items: center;
    }

    .filter-search i,
    .filter-select i {
        position: absolute;
        left: 12px;
        width: 18px;
        height: 18px;
        color: #94a3b8;
        pointer-events: none;
    }

    .filter-input {
        width: 100%;
        padding: 0.625rem 0.875rem 0.625rem 2.5rem;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        font-size: 0.875rem;
        transition: all 0.3s ease;
        background: #f8fafc;
        color: #1e293b;
    }

    .filter-input:focus {
        outline: none;
        border-color: #d97706;
        box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
        background: white;
    }

    .filter-input::placeholder {
        color: #94a3b8;
    }

    .filter-clear {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.625rem 1.25rem;
        background: #f1f5f9;
        border: none;
        border-radius: 8px;
        font-weight: 500;
        font-size: 0.875rem;
        color: #64748b;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        height: 42px;
    }

    .filter-clear:hover {
        background: #e2e8f0;
        color: #1e293b;
    }

    .filter-clear i {
        width: 16px;
        height: 16px;
    }

    /* Grid de Convênios */
    .convenios-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .convenio-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }

    .convenio-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    }

    .convenio-card-link {
        text-decoration: none;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .convenio-card-image {
        position: relative;
        height: 180px;
        overflow: hidden;
        background: #f1f5f9;
        flex-shrink: 0;
    }

    .convenio-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .convenio-card:hover .convenio-card-image img {
        transform: scale(1.05);
    }

    .convenio-card-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .convenio-badge-destaque {
        position: absolute;
        top: 12px;
        left: 12px;
        background: linear-gradient(135deg, #f59e0b, #f97316);
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .convenio-badge-desconto {
        position: absolute;
        bottom: 12px;
        right: 12px;
        background: linear-gradient(135deg, #ef4444, #dc2626);
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    }

    .convenio-card-content {
        padding: 1.25rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .convenio-card-title {
        font-size: 1.125rem;
        font-weight: 600;
        color: #1e293b;
        margin: 0 0 0.25rem 0;
        line-height: 1.4;
        transition: color 0.3s ease;
    }

    .convenio-card:hover .convenio-card-title {
        color: #d97706;
    }

    .convenio-card-tipo {
        display: inline-block;
        font-size: 0.75rem;
        font-weight: 600;
        color: #d97706;
        background: #fef3c7;
        padding: 2px 10px;
        border-radius: 20px;
        margin-bottom: 0.5rem;
        align-self: flex-start;
    }

    .convenio-card-description {
        font-size: 0.875rem;
        color: #64748b;
        line-height: 1.6;
        margin: 0 0 1rem 0;
        flex: 1;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .convenio-card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.75rem;
        border-top: 1px solid #f1f5f9;
        margin-top: auto;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .convenio-card-cidade,
    .convenio-card-validade {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 0.75rem;
        color: #94a3b8;
    }

    .convenio-card-cidade i,
    .convenio-card-validade i {
        width: 14px;
        height: 14px;
    }

    /* Paginação */
    .convenios-pagination {
        margin-top: 2rem;
        display: flex;
        justify-content: center;
    }

    .convenios-pagination .pagination {
        display: flex;
        gap: 0.5rem;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .convenios-pagination .pagination li {
        display: inline-block;
    }

    .convenios-pagination .pagination a,
    .convenios-pagination .pagination span {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        background: white;
        color: #1e293b;
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 500;
        transition: all 0.3s ease;
        border: 1px solid #e2e8f0;
        min-width: 40px;
        height: 40px;
    }

    .convenios-pagination .pagination a:hover {
        background: #f8fafc;
        border-color: #d97706;
        color: #d97706;
    }

    .convenios-pagination .pagination .active span {
        background: #d97706;
        border-color: #d97706;
        color: white;
    }

    /* Estado vazio */
    .convenios-empty {
        text-align: center;
        padding: 4rem 2rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .convenios-empty h3 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 0.5rem;
    }

    .convenios-empty p {
        color: #94a3b8;
        margin-bottom: 1.5rem;
    }

    .convenios-empty-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.625rem 1.5rem;
        background: #d97706;
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .convenios-empty-btn:hover {
        background: #b45309;
        transform: translateY(-2px);
    }

    .convenios-empty-btn i {
        width: 18px;
        height: 18px;
    }

    /* Responsividade */
    @media (max-width: 1024px) {
        .convenios-filters-grid {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (max-width: 768px) {
        .convenios-page {
            padding: 1.5rem 0;
        }

        .convenios-title {
            font-size: 1.75rem;
        }

        .convenios-subtitle {
            font-size: 1rem;
        }

        .convenios-filters-grid {
            grid-template-columns: 1fr;
            gap: 0.75rem;
        }

        .convenios-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .convenio-card-image {
            height: 150px;
        }

        .convenios-pagination .pagination a,
        .convenios-pagination .pagination span {
            padding: 0.375rem 0.75rem;
            font-size: 0.75rem;
            min-width: 36px;
            height: 36px;
        }

        .filter-clear {
            justify-content: center;
        }
    }
   

/* ========================================
       MENU E SUBMENUS
    ======================================== */
  /* ========================================
       TOP BAR
    ======================================== */
  .top-bar {
        /* background:var(--secondary); */
        /* background:var(--card-foreground); */
        background:#ffffff;
        color: #ffffff;
        padding: 0.5rem 0;
        font-size: 0.75rem;
        border-bottom: 1px solid #b91c1c;
        position: relative;
        z-index: 60;
        max-height: 60px;
    transition: max-height .35s ease,
                padding .35s ease,
                opacity .35s ease,
                transform .35s ease;
    overflow: hidden;
    }
  /* ---------- TOP BAR: esconde ao rolar ---------- */

.top-bar.hidden-scroll {
    max-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0;
    transform: translateY(-100%);
}
    .top-bar-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .top-bar-contact {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .top-bar-contact a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #fdfdfd;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 0.75rem;
    }

    .top-bar-contact a:hover {
        color: #f8fafc;
        transform: translateY(-1px);
    }

    .top-bar-contact a i {
        width: 14px;
        height: 14px;
        color: #3b82f6;
    }

    .top-bar-social {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .top-bar-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #050505;
        transition: all 0.3s ease;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgb(255, 253, 253);
    }

    .top-bar-social a:hover {
        color: #f8fafc;
        background: rgba(242, 243, 245, 0.15);
        transform: translateY(-2px);
    }

    .top-bar-social a i {
        width: 16px;
        height: 16px;
    }

    /* ========================================
       MAIN NAV
    ======================================== */
    .main-nav {
        /* background: #ffffff; */
        background: #c4170c;
        border-bottom: 1px solid #e2e8f0;
        position: sticky;
        top: 0;
        z-index: 50;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }

    .nav-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        min-height: 80px;
    }

    .logo {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        transition: transform 0.3s ease;
    }

    .logo:hover {
        transform: scale(1.02);
    }

    .logo img {
        height: 70px;
        width: auto;
        object-fit: contain;
    }

    /* ========================================
       DESKTOP MENU
    ======================================== */
    .desktop-menu {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        margin-left: 0rem;
        flex: 1;
    }

    .menu-item {
        position: relative;
    }

    .menu-trigger {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        padding: 0.5rem 0.875rem;
        background: transparent;
        border: none;
        font-size: 1.2rem;
        font-weight: 500;
        color: #1e293b;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: 0.5rem;
        position: relative;
        white-space: nowrap;
    }

    .menu-trigger::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #3b82f6, #2563eb);
        transition: all 0.3s ease;
        transform: translateX(-50%);
        border-radius: 1px;
    }

    .menu-trigger:hover {
        color: #2563eb;
        background: #f1f5f9;
    }

    .menu-trigger:hover::after {
        width: 60%;
    }

    .menu-trigger i {
        width: 16px;
        height: 16px;
        transition: transform 0.3s ease;
    }

    .menu-item:hover .menu-trigger i {
        transform: rotate(180deg);
    }

    .menu-link {
        display: flex;
        align-items: center;
        padding: 0.5rem 0.875rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: #1e293b;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 0.5rem;
        position: relative;
    }

    .menu-link::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #3b82f6, #2563eb);
        transition: all 0.3s ease;
        transform: translateX(-50%);
        border-radius: 1px;
    }

    .menu-link:hover {
        color: #2563eb;
        background: #f1f5f9;
    }

    .menu-link:hover::after {
        width: 60%;
    }

    /* ========================================
       SUBMENU
    ======================================== */
    /* .submenu {
        position: absolute;
        top: calc(100% + 4px);
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        min-width: 240px;
        background: #ffffff;
        border-radius: 0.75rem;
        box-shadow: 0 20px 40px -8px rgba(0,0,0,0.15), 0 8px 16px -4px rgba(0,0,0,0.05);
        padding: 0.5rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
        border: 1px solid #f1f5f9;
        pointer-events: none;
    } */
.submenu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-8px) !important;
    min-width: 240px !important;
    background: #ffffff !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.15) !important;
    padding: 0.5rem !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 100 !important;
    border: 1px solid #e2e8f0 !important;
    pointer-events: none !important;
    /* Centraliza em relação ao menu pai */
    text-align: left;
}

.menu-item:hover .submenu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
}
    /* .menu-item:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    } */
.submenu-inner {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 100%;
}
    /* .submenu-inner {
        display: flex;
        flex-direction: column;
        gap: 0.125rem;
    } */

    .submenu-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
        color: #334155;
        text-decoration: none;
        transition: all 0.2s ease;
        border-radius: 0.5rem;
        position: relative;
    }

    .submenu-link:hover {
        background: #f1f5f9;
        color: #2563eb;
        padding-left: 1.25rem;
    }
 
    .submenu-link .submenu-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        color: #94a3b8;
        transition: all 0.3s ease;
    }

    .submenu-link:hover .submenu-icon {
        color: #2563eb;
        transform: translateX(2px);
    }

    .submenu-link .submenu-icon i {
        width: 14px;
        height: 14px;
    }

    .submenu-link .submenu-text {
        flex: 1;
        font-weight: 500;
    }

    .submenu-link .submenu-desc {
        display: block;
        font-size: 0.7rem;
        color: #94a3b8;
        font-weight: 400;
        margin-left: 0.5rem;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .submenu-link:hover .submenu-desc {
        opacity: 1;
    }

    /* ========================================
       DESKTOP ACTIONS
    ======================================== */
     .desktop-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* Search */
    .search-container {
        position: relative;
    }

    .search-icon-btn {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        transition: all 0.3s ease;
        border-radius: 0.5rem;
        width: 40px;
        height: 40px;
    }

    .search-icon-btn:hover {
        color: #2563eb;
        background: #f1f5f9;
        transform: scale(1.05);
    }

    .search-icon-btn i {
        width: 20px;
        height: 20px;
    }

    .search-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        margin-top: 0.5rem;
        background: #ffffff;
        border-radius: 0.75rem;
        box-shadow: 0 20px 40px -8px rgba(0,0,0,0.15);
        width: 360px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.95);
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid #f1f5f9;
        padding: 0.5rem;
        transform-origin: top right;
    }
    
    .search-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .search-form {
        width: 100%;
    }

    .search-input-wrapper {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: #f8fafc;
        border-radius: 0.5rem;
        padding: 0.25rem;
        border: 1px solid #e2e8f0;
        transition: all 0.3s ease;
    }

    .search-input-wrapper:focus-within {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        background: #ffffff;
    }

    .search-input-icon {
        width: 18px;
        height: 18px;
        color: #94a3b8;
        margin-left: 0.5rem;
        flex-shrink: 0;
    }

    .search-input {
        flex: 1;
        padding: 0.5rem 0.25rem;
        font-size: 0.875rem;
        border: none;
        background: transparent;
        outline: none;
        color: #1e293b;
        min-width: 0;
    }

    .search-input::placeholder {
        color: #94a3b8;
    }

    .search-submit-btn {
        padding: 0.5rem 1.25rem;
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        color: white;
        border: none;
        border-radius: 0.375rem;
        cursor: pointer;
        font-size: 0.75rem;
        font-weight: 600;
        transition: all 0.3s ease;
        white-space: nowrap;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .search-submit-btn:hover {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }

    /* Member Area Button*/ 
    .member-area-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.25rem;
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        color: white;
        border-radius: 0.5rem;
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 500;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
        position: relative;
        overflow: hidden;
    }

    .member-area-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
        transition: left 0.5s ease;
    }

    .member-area-btn:hover::before {
        left: 100%;
    }

    .member-area-btn:hover {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
        color: white;
    }

    .member-area-btn i {
        width: 18px;
        height: 18px;
    }

    .member-arrow {
        transition: transform 0.3s ease;
    }

    .member-area-btn:hover .member-arrow {
        transform: translateX(4px);
    }

    /* ========================================
       MOBILE MENU
    ======================================== */
    .mobile-menu-btn {
        display: none;
        padding: 0.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
        color: #1e293b;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn:hover {
        background: #f1f5f9;
    }

    .mobile-menu-btn i {
        width: 24px;
        height: 24px;
        transition: transform 0.3s ease;
    }

    .mobile-menu {
        display: none;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 100;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    .mobile-menu.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-menu-inner {
        padding: 0.5rem 1rem 1.5rem;
    }

    .mobile-search {
        padding-bottom: 1rem;
        border-bottom: 1px solid #f1f5f9;
        margin-bottom: 0.75rem;
    }

    .mobile-search-form {
        display: flex;
        align-items: center;
        background: #f8fafc;
        border-radius: 0.5rem;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        transition: all 0.3s ease;
    }

    .mobile-search-form:focus-within {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    .mobile-search-icon {
        width: 18px;
        height: 18px;
        color: #94a3b8;
        margin: 0 0.75rem;
        flex-shrink: 0;
    }

    .mobile-search-input {
        flex: 1;
        padding: 0.75rem 0;
        font-size: 0.875rem;
        border: none;
        background: transparent;
        outline: none;
        color: #1e293b;
        min-width: 0;
    }

    .mobile-search-input::placeholder {
        color: #94a3b8;
    }

    .mobile-search-btn {
        padding: 0.75rem 1rem;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #2563eb;
        transition: all 0.3s ease;
    }

    .mobile-search-btn:hover {
        background: #f1f5f9;
    }

    .mobile-search-btn i {
        width: 20px;
        height: 20px;
    }

    .mobile-member-area {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        color: white;
        text-decoration: none;
        font-weight: 500;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
        margin-bottom: 0.75rem;
    }

    .mobile-member-area:hover {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
        color: white;
    }

    .mobile-member-area i {
        width: 18px;
        height: 18px;
    }

    .mobile-member-area .ml-auto {
        margin-left: auto;
    }

    .mobile-menu-items {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .mobile-menu-item {
        border-bottom: 1px solid #f8fafc;
    }

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

    .mobile-submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.75rem 0.5rem;
        background: transparent;
        border: none;
        font-size: 0.875rem;
        font-weight: 500;
        color: #1e293b;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: 0.5rem;
    }

    .mobile-submenu-toggle:hover {
        background: #f8fafc;
        color: #2563eb;
    }

    .mobile-submenu-toggle .mobile-item-text {
        flex: 1;
        text-align: left;
    }

    .mobile-submenu-toggle i {
        width: 18px;
        height: 18px;
        transition: transform 0.3s ease;
        color: #94a3b8;
    }

    .mobile-submenu-toggle.active i {
        transform: rotate(180deg);
        color: #2563eb;
    }

    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #f8fafc;
        border-radius: 0.5rem;
        margin: 0 0.5rem;
    }

    .mobile-submenu.active {
        max-height: 600px;
    }

    .mobile-submenu-inner {
        padding: 0.25rem 0;
    }

    .mobile-submenu-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        color: #475569;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 0.375rem;
        margin: 0 0.25rem;
    }

    .mobile-submenu-link:hover {
        background: #ffffff;
        color: #2563eb;
        padding-left: 1.25rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .mobile-submenu-dot {
        width: 6px;
        height: 6px;
        color: #94a3b8;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .mobile-submenu-link:hover .mobile-submenu-dot {
        color: #2563eb;
    }

    .mobile-menu-link {
        display: block;
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: #1e293b;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 0.5rem;
    }

    .mobile-menu-link:hover {
        background: #f8fafc;
        color: #2563eb;
    }

    /* ========================================
       RESPONSIVE
    ======================================== */
    @media (max-width: 1024px) {
        .desktop-menu {
            display: none;
        }

        .desktop-actions {
            display: none;
        }

        .mobile-menu-btn {
            display: flex;
        }

        .logo img {
            height: 55px;
        }

        .nav-content {
            min-height: 65px;
        }
    }

    @media (max-width: 640px) {
        .top-bar-contact {
            gap: 0.75rem;
        }
        
        .top-bar-contact a span {
            display: none;
        }

        .top-bar-contact a i {
            width: 16px;
            height: 16px;
        }
        
        .top-bar-content {
            justify-content: space-between;
        }

        .logo img {
            height: 60px;
        }

        .nav-content {
            min-height: 60px;
            gap: 0.5rem;
        }

        .search-dropdown {
            width: 280px;
            right: -20px;
        }

        .search-input-wrapper {
            flex-wrap: wrap;
            padding: 0.25rem;
        }

        .search-input {
            width: 100%;
            padding: 0.5rem 0.75rem;
            order: 1;
        }

        .search-input-icon {
            display: none;
        }

        .search-submit-btn {
            width: 100%;
            justify-content: center;
            padding: 0.625rem;
            order: 2;
        }

        .mobile-menu-inner {
            padding: 0.5rem;
        }
    }

    @media (min-width: 1025px) {
        .mobile-search,
        .mobile-member-area,
        .mobile-menu-items {
            display: none;
        }
    }

    /* ========================================
       SCROLLBAR
    ======================================== */
    .mobile-menu::-webkit-scrollbar {
        width: 4px;
    }

    .mobile-menu::-webkit-scrollbar-track {
        background: #f1f5f9;
    }

    .mobile-menu::-webkit-scrollbar-thumb {
        background: #94a3b8;
        border-radius: 2px;
    }

    .mobile-menu::-webkit-scrollbar-thumb:hover {
        background: #64748b;
    } 



/* Scroll effect para o header */
.main-nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
}

/* Melhorias para mobile */
.mobile-menu.open {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-submenu.open {
    max-height: 600px;
}

/* Acessibilidade - foco visível */
.menu-trigger:focus-visible,
.menu-link:focus-visible,
.submenu-link:focus-visible,
.search-input:focus-visible,
.mobile-submenu-toggle:focus-visible,
.mobile-menu-link:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Transições suaves */
.menu-trigger,
.menu-link,
.submenu-link,
.member-area-btn,
.search-icon-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ícones em hover */
.menu-item:hover .menu-trigger i {
    transform: rotate(180deg);
}

.mobile-submenu-toggle.active i {
    transform: rotate(180deg);
}

/* Responsividade extra */
@media (max-width: 480px) {
    .top-bar-contact a span {
        display: none;
    }
    
    .top-bar-contact {
        gap: 0.5rem;
    }
    
    .top-bar-contact a i {
        margin-right: 0;
    }
    
    .search-dropdown {
        width: 240px;
        right: -10px;
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.35);

    opacity: 0;              /* ← DESCOMENTAR */
    visibility: hidden;      /* ← DESCOMENTAR */
    transform: translateY(20px) scale(0.8);

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.5);
}

.scroll-to-top:active {
    transform: translateY(0) scale(0.95);
}

.scroll-to-top i,
.scroll-to-top svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i,
.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
}

/* Tooltip/Texto ao passar o mouse */
.scroll-to-top::before {
    content: 'Voltar ao topo';
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.scroll-to-top:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-4px);
}

/* Seta indicadora de progresso */
.scroll-to-top .progress-ring {
    position: absolute;
    top: -3px;
    left: -3px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    border-radius: 50%;
}

.scroll-to-top .progress-ring circle {
    fill: none;
    stroke: rgba(59, 130, 246, 0.3);
    stroke-width: 2;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
}

.scroll-to-top .progress-ring .progress-circle {
    stroke: #60a5fa;
    stroke-dasharray: 0 100;
    transition: stroke-dasharray 0.3s ease;
}

/* Variação com pulsação quando visível */
.scroll-to-top.visible::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }

    .scroll-to-top i {
        width: 22px;
        height: 22px;
    }

    .scroll-to-top::before {
        display: none;
    }

    .scroll-to-top.visible::after {
        inset: -6px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    .scroll-to-top i,
    .scroll-to-top svg {
        width: 20px;   /* ← antes era 28px */
        height: 20px;
    }

}

/* ========================================
   WHATSAPP FLOATING BUTTON
   (empilhado acima do voltar-ao-topo)
   ======================================== */
.whatsapp-button {
    position: fixed;
    bottom: 100px;      /* ← 30px do scroll + 56px dele + 14px de gap */
    right: 28px;        /* ← 28px alinha o centro com o do scroll (56 vs 60) */
    z-index: 9998;      /* um abaixo do scroll-to-top (9999) */

    width: 60px;
    height: 60px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    text-decoration: none;

    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    animation: whatsapp-pulse 2.4s infinite;
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
    animation: none;
}

.whatsapp-button:hover svg {
    transform: rotate(10deg) scale(1.1);
}

.whatsapp-button:active {
    transform: translateY(0) scale(0.95);
}

/* Badge "online" (bolinha verde) */
.whatsapp-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: whatsapp-badge-ring 2s infinite;
}

/* Tooltip/Balão "Fale conosco" — agora à ESQUERDA do botão */
.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 14px);   /* ← muda de left para right */
    top: 50%;
    transform: translateY(-50%) translateX(8px);  /* ← desliza da esquerda */

    background: rgba(15, 23, 42, 0.95);
    color: #fff;
    padding: 0.625rem 1rem;
    border-radius: 0.625rem;

    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Setinha apontando para o botão (agora do lado direito do tooltip) */
.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    left: 100%;                       /* ← seta no lado direito do tooltip */
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(15, 23, 42, 0.95);  /* ← aponta para a direita */
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Animações */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4),
                    0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4),
                    0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4),
                    0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes whatsapp-badge-ring {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ========================================
   RESPONSIVO — mantém alinhado ao scroll-to-top
   ======================================== */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 84px;      /* 20px + 48px (scroll) + 16px gap */
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;     /* no mobile, sem tooltip */
    }
}

@media (max-width: 480px) {
    .whatsapp-button {
        bottom: 74px;      /* 16px + 44px (scroll) + 14px gap */
        right: 16px;
        width: 48px;
        height: 48px;
    }

    .whatsapp-button svg {
        width: 26px;
        height: 26px;
    }

    .whatsapp-badge {
        width: 12px;
        height: 12px;
    }
}

/* Acessibilidade: reduzir animação se usuário preferir */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-button,
    .whatsapp-badge {
        animation: none;
    }
}