        :root {
            --midnight-blue: #020c1b;
            --navy-blue: #0a192f;
            --light-navy: #112240;
            --bright-gold: #ffd701; 
            --light-slate: #ccd6f6;
            --slate: #8892b0;
            --white: #ffffff;
            --font-sans: 'Poppins', sans-serif;
            --transition-smooth: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
        }

        ::selection {
            background-color: var(--bright-gold);
            color: var(--midnight-blue);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            background-color: var(--midnight-blue);
            color: var(--slate);
            font-family: var(--font-sans);
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 25px;
        }

        h1, h2, h3, h4 {
            color: var(--light-slate);
            font-weight: 600;
        }

        .reveal-on-scroll, .stagger-reveal > * {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.7s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
        }
        .reveal-on-scroll.is-visible, .stagger-reveal.is-visible > * {
            opacity: 1;
            transform: translateY(0);
        }
        .stagger-reveal.is-visible > *:nth-child(1) { transition-delay: 150ms; }
        .stagger-reveal.is-visible > *:nth-child(2) { transition-delay: 250ms; }
        .stagger-reveal.is-visible > *:nth-child(3) { transition-delay: 350ms; }
        .stagger-reveal.is-visible > *:nth-child(4) { transition-delay: 450ms; }
        .stagger-reveal.is-visible > *:nth-child(5) { transition-delay: 550ms; }

        @media (max-width: 1024px) {
            .reveal-on-scroll, .stagger-reveal > *, .portfolio-card {
                opacity: 1;
                transform: none;
                transition: none;
            }
        }

        .header {
            padding: 20px 0;
            position: fixed;
            width: 100%;
            background-color: transparent;
            z-index: 100;
            transition: var(--transition-smooth);
        }
        .header.scrolled {
            background-color: rgba(2, 12, 27, 0.85);
            backdrop-filter: blur(10px);
            padding: 15px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        }
        .header nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo img {
            height: 50px;
            transition: var(--transition-smooth);
        }
        .nav-links {
            list-style: none;
            display: flex;
            gap: 40px;
        }
        .nav-links a {
            color: var(--light-slate);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition-smooth);
            position: relative;
            padding-bottom: 5px;
        }
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0%;
            height: 2px;
            background-color: var(--bright-gold);
            transition: var(--transition-smooth);
        }

        @media (hover: hover) and (pointer: fine) {
            .logo:hover img {
                transform: scale(1.05) rotate(-5deg);
            }
            .nav-links a:hover::after, .nav-links a.active::after {
                width: 100%;
            }
            .nav-links a:hover, .nav-links a.active {
                color: var(--bright-gold);
            }
            .btn:hover::before {
                width: 100%;
            }
            .btn-primary:hover {
                border-color: var(--bright-gold);
                color: var(--midnight-blue)
            }
            .btn-secondary:hover {
                color: var(--midnight-blue); 
            }
            .btn-tertiary:hover {
                border-color: var(--bright-gold);
                color: var(--midnight-blue);
            }
            .pillar-card:hover {
                transform: translateY(-10px);
                border-color: var(--bright-gold);
            }
            .pillar-card:hover .pillar-icon {
                border-color: var(--bright-gold);
                transform: scale(1.1) rotate(10deg);
            }
            .pillar-card:hover .pillar-icon i {
                transform: scale(1.1);
            }
            .phase-item:hover {
                border-color: var(--bright-gold);
                transform: translateY(-8px);
                box-shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
            }
            .esg-pillar:hover {
                transform: translateY(-10px);
                border-color: var(--bright-gold);
            }
            .filter-btn:hover {
                color: var(--bright-gold);
                background-color: #1d335a;
            }
            .portfolio-card:hover {
                transform: translateY(-10px) scale(1.02);
                border-color: var(--bright-gold);
                box-shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
            }
            .portfolio-card:hover .card-link {
                color: var(--bright-gold);
                transform: translateX(5px);
            }
            .footer-links a:hover {
                color: var(--bright-gold);
            }
        }

        @media (hover: none) and (pointer: coarse) {
            .pillar-card:active, .phase-item:active, .esg-pillar:active, .portfolio-card:active {
                transform: scale(0.98);
                transition: transform 0.1s;
            }
            .filter-btn:active {
                transform: scale(0.95);
                transition: transform 0.1s;
            }
            .btn:active {
                transform: scale(0.95);
                transition: transform 0.1s;
            }
        }

        .btn {
            display: inline-block;
            padding: 12px 28px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition-smooth);
            border: 2px solid;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background-color: var(--bright-gold);
            transition: var(--transition-smooth);
            z-index: -1;
        }
        .btn-primary {
            border-color: var(--slate);
            color: var(--slate);
        }
        .btn-secondary {
            border-color: var(--bright-gold);
            background-color: transparent;
            color: var(--bright-gold);
        }
        .btn-tertiary {
            border-color: var(--slate);
            color: var(--slate);
        }

        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 100px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 1;
        }
        .hero .container {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .hero h1 {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            margin-bottom: 20px;
            line-height: 1.25;
            font-weight: 700;
            max-width: 1000px;
        }
        .hero p {
            font-size: clamp(1rem, 2.5vw, 1.15rem);
            max-width: 700px;
            margin-bottom: 40px;
            color: var(--light-slate);
        }
        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .philosophy { padding: 120px 0; }
        .philosophy .container {
            display: grid;
            grid-template-columns: 1fr 0.7fr;
            gap: 80px;
            align-items: center;
        }
        .section-tag {
            color: var(--bright-gold);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 15px;
            display: block;
        }
        .philosophy-text h2 {
            font-size: clamp(2.2rem, 5vw, 3rem);
            margin-bottom: 25px;
        }
        .philosophy-text p {
            margin-bottom: 20px;
            font-size: 1.1rem;
        }
        .philosophy-icon-container {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .midas-hand-icon {
            width: 100%;
            max-width: 300px;
            height: auto;
            filter: drop-shadow(0 0 30px rgba(255, 215, 1, 0.2));
        }

        .advantages {
            background-color: var(--navy-blue);
            padding: 120px 0;
        }
        .advantages h2 { 
            font-size: clamp(2.2rem, 5vw, 3rem); 
            margin-bottom: 60px; 
            text-align: center; 
        }
        .pillars-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 30px;
        }
        .pillar-card {
            background-color: var(--light-navy);
            padding: 35px 30px;
            border-radius: 8px;
            border: 1px solid transparent;
            transition: var(--transition-smooth);
            text-align: center;
            border-bottom: 4px solid #1d335a;
        }
        .pillar-icon {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: var(--midnight-blue);
            margin-bottom: 20px;
            border: 2px solid #1d335a;
            transition: var(--transition-smooth);
        }
        .pillar-icon i {
            width: 28px;
            height: 28px;
            color: var(--bright-gold);
            transition: var(--transition-smooth);
        }
        .pillar-card h3 {
            color: var(--light-slate);
            font-size: 1.4rem;
            margin-bottom: 15px;
        }

        .phases { padding: 120px 0; text-align: center; }
        .phases h2 { 
            font-size: clamp(2.2rem, 5vw, 3rem); 
            margin-bottom: 15px; 
        }
        .section-subtitle { max-width: 650px; margin: 0 auto 60px; font-size: 1.1rem; }
        .phases-wrapper {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            text-align: left;
        }
        .phase-item {
            background-color: var(--light-navy);
            border-radius: 8px;
            padding: 35px 30px;
            border-top: 4px solid #1d335a;
            transition: var(--transition-smooth);
        }
        .phase-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        .phase-number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--bright-gold);
        }
        .phase-header h3 { font-size: 1.6rem; color: var(--light-slate); }

        .esg-section {
            padding: 120px 0;
            text-align: center;
            background-color: var(--midnight-blue);
        }
        .esg-section .section-subtitle {
            max-width: 700px;
        }
        .esg-pillars {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 60px;
            text-align: center;
        }
        .esg-pillar {
            background-color: var(--navy-blue);
            padding: 40px 35px;
            border-radius: 8px;
            border-bottom: 4px solid #1d335a;
            transition: var(--transition-smooth);
        }
        .esg-icon {
            margin-bottom: 20px;
        }
        .esg-icon i {
            width: 38px;
            height: 38px;
            color: var(--bright-gold);
        }
        .esg-pillar h3 {
            font-size: 1.4rem;
            margin-bottom: 10px;
            color: var(--light-slate);
        }

        .platform-section {
            padding: 120px 0;
            background-color: var(--navy-blue);
        }
        .platform-section .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 80px;
        }
        .platform-text ul {
            list-style: none;
            margin-top: 25px;
        }
        .platform-text li {
            display: flex;
            align-items: center;
            gap: 12px; 
            margin-bottom: 12px;
            font-size: 1.05rem;
        }
        .platform-text li i {
            color: var(--bright-gold);
            width: 22px;
            height: 22px;
            flex-shrink: 0;
        }
        .platform-image img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.4);
        }

        .portfolio { 
            text-align: center; 
            padding: 120px 0; 
            background-color: var(--midnight-blue);
        }
        .portfolio h2 { 
            font-size: clamp(2.2rem, 5vw, 3rem); 
            margin-bottom: 50px; 
        }
        .portfolio-filters {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin-bottom: 60px;
        }
        .filter-group {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            background-color: var(--light-navy);
            padding: 8px;
            border-radius: 8px;
            border: 1px solid #1d335a;
        }
        .filter-btn {
            background: transparent;
            border: none;
            color: var(--slate);
            padding: 10px 20px;
            border-radius: 6px;
            font-weight: 500;
            transition: var(--transition-smooth);
            cursor: pointer;
        }
        .filter-btn.active {
            background-color: var(--bright-gold);
            color: var(--midnight-blue);
            font-weight: 600;
            box-shadow: 0 0 15px rgba(255, 215, 1, 0.3);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
        }
        .portfolio-card {
            background-color: var(--light-navy);
            border: 1px solid #1d335a;
            border-radius: 8px;
            text-align: left;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 30px;
            transition: var(--transition-smooth);
            text-decoration: none;
            color: var(--slate);
        }
        .portfolio-card h4 {
            font-size: 1.4rem;
            margin-bottom: 10px;
            color: var(--light-slate);
        }
        .card-content p {
            font-size: 1rem;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #1d335a;
            padding-top: 20px;
            margin-top: auto;
        }
        .card-tag {
            background-color: rgba(255, 215, 0, 0.1);
            color: var(--bright-gold);
            padding: 5px 12px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 500;
        }
        .card-link {
            font-weight: 500;
            transition: var(--transition-smooth);
            display: inline-block;
        }

        .final-cta {
            padding: 120px 0;
            text-align: center;
            background: var(--navy-blue);
        }
        .final-cta h2 { 
            font-size: clamp(2.2rem, 5vw, 2.8rem); 
            margin-bottom: 20px; max-width: 750px; 
            margin-left: auto; margin-right: auto; 
        }
        .final-cta p { max-width: 600px; margin: 0 auto 40px; font-size: 1.1rem; }
        .final-cta .cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

        .footer {
            background-color: #010814;
            padding: 40px 0;
            border-top: 1px solid rgba(255, 215, 0, 0.1);
            font-size: 0.95rem;
            color: var(--slate);
        }
        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }
        .footer-links {
            display: flex;
            gap: 25px;
        }
        .footer-links a {
            color: var(--slate);
            text-decoration: none;
            transition: color 0.3s;
        }
        .footer-cnpj {
            font-family: monospace;
        }

        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            z-index: 1001;
            cursor: pointer;
            padding: 10px;
        }
        .mobile-menu-toggle div {
            width: 25px;
            height: 3px;
            background-color: var(--light-slate);
            transition: all 0.3s ease-in-out;
            border-radius: 2px;
        }

        @media (max-width: 1024px) {
            .philosophy .container,
            .platform-section .container {
                gap: 40px;
            }
            .phases-wrapper {
                grid-template-columns: 1fr;
            }
            .portfolio-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
        }

        @media (max-width: 900px) {
            .philosophy .container {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .philosophy-icon-container { order: -1; margin-bottom: 30px; }

            .platform-section .container {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .platform-image { order: -1; margin-bottom: 40px; }
            
            .platform-text ul {
                display: inline-block; 
                text-align: left;   
                width: auto;         
                max-width: 100%;
            }
        }

        @media (max-width: 768px) {
            .container { padding: 0 20px; }
            
            .header-cta { display: none; }
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                height: 100vh;
                width: min(75vw, 320px);
                background-color: var(--light-navy);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 50px;
                transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
                box-shadow: -5px 0 15px rgba(0,0,0,0.5);
            }
            .nav-links.active {
                right: 0;
            }
            .nav-links a { font-size: 1.2rem; }

            .mobile-menu-toggle {
                display: flex;
            }
            .mobile-menu-toggle.active .line1 {
                transform: rotate(-45deg) translate(-5px, 6px);
            }
            .mobile-menu-toggle.active .line2 {
                opacity: 0;
            }
            .mobile-menu-toggle.active .line3 {
                transform: rotate(45deg) translate(-5px, -6px);
            }
            
            section {
                padding: 90px 0;
            }

            .pillars-grid, .esg-pillars {
                grid-template-columns: 1fr;
            }
            
            .portfolio-filters {
                gap: 20px;
            }
            .filter-group {
                flex-direction: column;
                align-items: stretch;
                width: 100%;
            }
            .filter-btn {
                padding: 12px 20px;
            }

            .footer-content {
                flex-direction: column;
                justify-content: center;
                gap: 25px;
                text-align: center;
            }
            .footer-copyright { order: 3; }
            .footer-links { order: 1; justify-content: center; }
            .footer-cnpj { order: 2; }
        }

        @media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
            body {
                cursor: none;
            }
            a, button, .logo, [data-filter-group] {
                cursor: none; 
            }
            .custom-cursor {
                width: 20px;
                height: 20px;
                border: 2px solid var(--bright-gold);
                border-radius: 50%;
                position: fixed;
                transform: translate(-50%, -50%);
                pointer-events: none;
                z-index: 10000;
                transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s, transform 0.1s linear;
            }
            .custom-cursor.hover {
                width: 60px;
                height: 60px;
                background-color: rgba(255, 215, 0, 0.1);
                border-color: transparent;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            
            .hero-buttons {
                flex-direction: column;
                width: 100%;
                max-width: 280px;
                margin: 0 auto;
            }
            
            .btn {
                width: 100%;
                text-align: center;
            }
            
            .pillar-card, .phase-item, .esg-pillar {
                padding: 25px 20px;
            }
            
            .final-cta .cta-buttons {
                flex-direction: column;
                align-items: center;
                max-width: 280px;
                margin: 0 auto;
            }
        }

.portfolio-card {
    padding-top: 20px; 
}

.card-logo-container {
    width: 100%;
    max-width: 120px;
    height: 60px;
    margin-bottom: 20px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.card-logo-container img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.4));
}

.portfolio-card .card-content {
    margin-top: 0;
}