:root {
    /* Advanced Color Palette */
    --bg-dark: #050508;
    --bg-card: rgba(15, 15, 25, 0.4);
    --gold-primary: #D4AF37;
    --gold-bright: #FFD700;
    --gold-soft: rgba(212, 175, 55, 0.15);
    --accent-blue: #0A192F;
    --accent-glow: rgba(10, 25, 47, 0.8);
    --text-main: #FFFFFF;
    --text-dim: rgba(255, 255, 255, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);

    /* Sophisticated Typography */
    --font-display: 'Syncopate', sans-serif;
    --font-title: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Base Mesh Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(10, 25, 47, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Premium Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
}

section {
    position: relative;
    padding: 100px 0;
}

.section-spacing {
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
}

.full-height {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Typography Overhaul */
h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3.2rem); /* Increased back for big lines */
    font-weight: 700;
    line-height: 1.2; /* Tighter for multi-line flow */
    letter-spacing: -0.04em;
    text-transform: uppercase;
    padding: 0.1em 0; 
    margin: 0;
    overflow: visible; 
}

h2 {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #D4AF37 0%, #F9E29B 50%, #B8860B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    display: inline-block; /* Helps with clipping in some browsers */
}

.center {
    text-align: center;
}

/* Glassmorphism Header */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.5s var(--ease-out-expo);
}

#main-header.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Hero Section Redesign */
#hero {
    overflow: hidden;
    background: var(--bg-dark);
    padding-bottom: 0; /* Align image to bottom */
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%; 
    height: 100%;
    opacity: 1; 
    pointer-events: none;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    display: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    gap: 0;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: calc(12vw + 60px) !important; /* Precise adjustment requested */
}

.hero-content {
    max-width: 600px;
    z-index: 5;
    padding-top: 5vh;
}

.hero-eyebrow {
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    font-family: var(--font-title);
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 10vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title .gold-text {
    color: var(--gold-primary);
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-description {
    font-size: clamp(0.9rem, 1.2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    margin-bottom: 3.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}



/* Institutional Redesign: A Resposta */
.resposta-section {
    position: relative;
    padding: 10rem 0; 
    margin-top: 0;
    background: radial-gradient(circle at 70% 50%, #0d1b2a 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

.resposta-container {
    display: flex;
    align-items: center;
    gap: 10vw;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

.resposta-text {
    flex: 1.2;
    z-index: 5;
    position: relative;
}

.resposta-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.monolith-img {
    width: 140%; /* Increased from 100% */
    max-width: 750px; /* Increased from 500px */
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(212, 175, 55, 0.1));
    animation: floating 8s ease-in-out infinite;
    /* mask-image removed as requested */
}

@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(1deg); }
}

.resposta-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4.5rem;
    border-radius: 40px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    margin-top: 3.5rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.res-header {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.res-subheader {
    font-size: 1.2rem;
    color: #fff; /* Changed to white as requested */
    font-style: italic;
    font-weight: 500;
    margin-bottom: 3rem;
    opacity: 0.9;
    letter-spacing: 0.02em;
}

.res-content-text {
    font-size: 1.35rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
}

.res-content-footer {
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

/* Ecosystem Chips & Layout */
.chip-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 4rem auto 0;
    max-width: 1100px;
}

.chip {
    padding: 1.2rem 2.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chip i {
    width: 20px;
    height: 20px;
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

.chip:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--gold-primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
    color: #fff;
}

.chip:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Escala Nacional Section */
.escala-section {
    padding: 15rem 0;
    background: radial-gradient(circle at 30% 50%, #0d1b2a 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.escala-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1300px;
    margin: 6rem auto 0;
    padding: 0 5%;
}

.escala-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4.5rem;
    border-radius: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.escala-card-map {
    text-align: center;
    background: rgba(10, 20, 40, 0.3);
}

.escala-card h3 {
    color: var(--gold-primary); /* Using a more vibrant gold */
    font-size: 1.5rem;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 800; /* Increased weight */
}

.escala-list {
    list-style: none;
    padding: 0;
}

.escala-list li {
    color: var(--text-light);
    margin-bottom: 2rem; /* Increased separation */
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    line-height: 1.4;
    transition: transform 0.3s ease;
}

.escala-list li:hover {
    transform: translateX(10px);
}

.escala-list li i,
.escala-list li svg {
    color: var(--gold-primary) !important;
    stroke: var(--gold-primary) !important; /* Lucide icons use stroke */
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.escala-map-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 480px; /* Reduced height as requested */
    margin: 0 auto 2rem;
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.2));
}

.escala-map-caption {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.escala-footer-text {
    margin-top: 8rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--text-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    font-weight: 300;
    text-align: center; /* Explicitly centered */
}

/* Investment Section Background */
.invest-bg {
    position: relative;
    background: url('imagens/joseconect.webp') center/cover no-repeat;
    padding: 15rem 0;
    overflow: hidden;
}

.invest-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88); /* Sufficiently dark overlay for readability */
    z-index: 1;
}

#investimento h2 {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Section Spacing Refinement */
#ecossistema {
    padding-top: 15rem; /* Increased top padding as requested */
}

#ecossistema .glass-card p {
    color: var(--text-dim); /* Gray instead of white */
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Impacto Real Masonry Gallery */
#impacto {
    padding: 10rem 0;
}

.impacto-gallery {
    column-count: 3;
    column-gap: 1.5rem;
}

@media (max-width: 768px) {
    .impacto-gallery {
        column-count: 2 !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    #impacto {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s var(--ease-out-expo);
    background: var(--bg-card);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s var(--ease-out-expo);
}

.gallery-item:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

/* Final CTA Section Refinement */
#contato {
    padding: 8rem 0; /* Reduced vertical padding */
    position: relative;
    overflow: hidden;
}

#contato .glass-card {
    padding: 10rem 4rem;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.05); /* Subtle border */
    text-align: center;
}

#contato h1 {
    font-size: clamp(3.2rem, 9vw, 5.5rem) !important; /* Scaled up h1 */
    line-height: 1.1;
    margin: 0 auto 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    max-width: 1000px;
}

#contato p {
    font-size: 1.4rem;
    max-width: 650px;
    margin: 0 auto 4rem !important;
    color: var(--text-dim);
    line-height: 1.6;
}

#contato .btn-premium {
    padding: 1.5rem 4rem;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin: 0 auto;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 1.5rem;
    margin-top: 4rem;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Staggered Animations & Reveals */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Interactive Flux */
.flux-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 10vw;
    opacity: 0.05;
    z-index: 0;
    color: var(--gold-primary);
}

/* Statistics with Neon Glow */
.stat-number {
    font-size: 5rem;
    font-weight: 900;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.stat-suffix {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold-primary);
    display: inline-block;
    vertical-align: top;
    margin-top: 0.8rem;
    margin-left: 2px;
}

.stat-number::after {
    content: attr(data-target);
    position: absolute;
    left: 0;
    top: 0;
    filter: blur(20px);
    opacity: 0.4;
    color: var(--gold-primary);
    z-index: -1;
}

/* Buttons High-Impact */
.btn-premium {
    background: var(--gold-primary);
    color: var(--bg-dark);
    padding: 1.2rem 2.8rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-premium:hover {
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    background: var(--gold-bright);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 1.2rem 2.8rem;
    border-radius: 8px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 10px;
}

/* Footer Styling */
footer {
    text-align: center;
}

footer .logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Icon Styling */
.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gold-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.card-icon lucide, .card-icon i {
    width: 30px;
    height: 30px;
}

.card-icon-small {
    width: 40px;
    height: 40px;
    background: var(--gold-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.card-icon-small lucide, .card-icon-small i {
    width: 20px;
    height: 20px;
}

/* Carrossel Infinito */
.carrossel {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1.5rem 0;
}

.carrossel::before,
.carrossel::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 2;
    top: 0;
    pointer-events: none;
}

.carrossel::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
}

.carrossel::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
}

.carrossel-slide {
    display: inline-flex;
    gap: 1.5rem;
    animation: rolagem 40s linear infinite;
}

.carrossel:hover .carrossel-slide {
    animation-play-state: paused;
}

.carrossel-slide img {
    height: 350px;
    width: auto;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s var(--ease-out-expo);
}

.carrossel-slide img:hover {
    transform: scale(1.05);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
}

@keyframes rolagem {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 6vw;
    }
    
    section {
        padding: 100px 0;
    }

    .nav-links {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    section {
        padding: var(--section-padding) 0;
    }

    #hero {
        background: var(--bg-dark);
        min-height: 100vh !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important; 
        padding: 100px 5% 40px !important;
        overflow: hidden;
        text-align: center;
    }

    .hero-bg {
        opacity: 1 !important;
    }

    .hero-bg img {
        content: url('imagens/fap1mob.webp');
        object-position: center top; 
        object-fit: cover;
    }

    /* Overlay simplified */
    .hero-overlay {
        display: none !important;
    }

    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important; /* Reseta o padding do .container */
        z-index: 10;
        position: relative;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-eyebrow {
        justify-content: center;
        font-size: 0.8rem !important;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.4rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 1.5rem;
    }

    .hero-title .gold-text {
        white-space: nowrap;
    }

    .hero-description {
        font-size: 1rem !important;
        max-width: 100% !important;
        margin: 0 auto 2.5rem !important;
    }

    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1.2rem;
    }

    .hero-buttons .btn-premium, 
    .hero-buttons .btn-outline {
        width: 100%;
        max-width: 320px;
        text-align: center;
        text-decoration: none !important;
    }

    .hero-foreground, .hero-image-container {
        display: none !important;
    }

    /* A Resposta Section: Map above card, centered */
    .resposta-section {
        padding: 4rem 1.5rem 0; /* Reduced bottom padding */
    }

    .section-spacing {
        padding-top: 2rem !important; /* Padding ajustado para trazer o conteúdo mais para cima */
        padding-bottom: 4rem !important;
    }

    .resposta-container {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem; /* Gap mínimo entre o mapa e o texto para mobile */
    }

    .resposta-visual {
        order: 1; /* Map on top */
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .monolith-img {
        max-width: 150px;
        height: auto;
    }

    .resposta-text {
        order: 2;
        width: 100%;
    }

    .resposta-box {
        padding: 2.5rem 1.2rem;
        margin-top: 1.5rem; /* Margem reduzida para o card no mobile */
    }

    .res-header {
        font-size: 2.2rem;
        text-align: center;
    }

    /* Escala Nacional & Expansion: Better spacing, larger text */
    .escala-section {
        padding: 4rem 0;
    }

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

    .escala-card {
        padding: 2.5rem 1.2rem;
    }

    .escala-list li {
        font-size: 1.2rem;
        gap: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .escala-footer-text {
        margin-top: 3rem !important;
        font-size: 1.5rem;
        padding: 0 5%;
    }

    /* Investment Section: joseconectmob.webp background */
    .invest-bg {
        background-image: url('imagens/joseconectmob.webp') !important;
        padding: 6rem 0;
    }

    #investimento h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .stat-number {
        font-size: 4.5rem;
    }

    /* Gap Reduction for Ecosystem */
    #ecossistema {
        padding-top: 4rem !important;
    }

    /* Gallery Mobile: 2 columns, lateral padding */
    .impacto-gallery {
        column-count: 2 !important;
        padding: 0 5vw !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    #impacto {
        padding: 4rem 0;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Carrossel em Grid no Mobile */
    .carrossel {
        padding: 2rem 5vw;
        overflow: visible;
        white-space: normal;
    }

    .carrossel::before,
    .carrossel::after {
        display: none;
    }

    .carrossel-slide {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        animation: none;
    }

    .carrossel:hover .carrossel-slide {
        animation-play-state: running;
    }

    .carrossel-slide img {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        object-fit: cover;
    }

    .carrossel-slide img:nth-child(n+13) {
        display: none;
    }

    /* Final CTA: Assuma o Controle - Better distribution */
    #contato {
        padding: 4rem 0;
    }

    #contato h1 {
        font-size: clamp(2.2rem, 11vw, 2.8rem) !important;
        text-align: center;
        margin-bottom: 2rem;
    }

    #contato .glass-card {
        padding: 4rem 1.2rem;
    }

    #contato p {
        font-size: 1.2rem;
        margin-bottom: 3rem !important;
    }

    /* Bento Grid (Market) Stacking */
    .bento-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .bento-grid > * {
        grid-column: span 1 !important;
        width: 100%;
    }

    /* Navigation */
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-container {
        justify-content: center;
    }

    footer {
        padding: 4rem 0;
        text-align: center;
    }

    footer .logo {
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    /* h1 font-size removed to inherit from 768px break or below */

    h2 {
        font-size: 1.8rem;
    }

    .btn-premium {
        width: 100%;
        text-align: center;
        padding: 1.2rem 2rem;
    }
}

/* Logos & Impact Section */
.logos-impacto-section {
    background: #000;
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.logos-header {
    text-align: center;
    margin-bottom: 60px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 120px;
}

.logo-item {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    opacity: 0.3;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    cursor: default;
}

.logo-item:hover {
    opacity: 0.8;
    color: var(--gold-primary);
}

.impacto-card {
    background: url('imagens/fundodestaque.webp') no-repeat center center;
    background-size: cover;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 0; /* Neo-Brutalist style usually has sharp corners */
    display: flex;
    min-height: 520px;
    position: relative;
    overflow: visible;
    margin-top: 50px;
    box-shadow: 10px 10px 0px rgba(255, 215, 0, 0.05);
}

.impacto-left {
    flex: 1;
    padding: 60px 40px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    z-index: 5;
    position: relative;
}

.impacto-left h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin: 0;
    font-family: var(--font-title);
    font-weight: 800;
}

.impacto-left p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    max-width: 320px;
    line-height: 1.6;
}

.impacto-center {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 120%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.impacto-center img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.9));
}

.impacto-right {
    flex: 1;
    padding: 60px 60px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.quote-icon {
    font-size: 4rem;
    color: var(--gold-primary);
    opacity: 0.8;
    font-family: serif;
    position: absolute;
    top: 60px;
    right: 60px;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 2rem;
    max-width: 280px;
    margin-left: auto;
    text-align: right;
    position: relative;
}

.signature {
    font-family: 'Sacramento', cursive;
    font-size: 2.8rem;
    color: var(--gold-primary);
    margin-left: auto;
    text-align: right;
}

.logo-item {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

.btn-outline-gold {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border-radius: 4px;
    width: fit-content;
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

@media (max-width: 1100px) {
    .impacto-card {
        flex-direction: column;
        min-height: auto;
        padding-bottom: 0;
    }
    .impacto-center {
        position: relative;
        left: 0;
        transform: none;
        height: 400px;
        order: -1;
    }
    .impacto-left, .impacto-right {
        padding: 2.5rem 1.5rem;
        align-items: center;
        text-align: center;
    }
    .impacto-left p {
        max-width: 100%;
        text-align: center;
    }
    .quote-text {
        max-width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
    .quote-icon {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 0;
    }
    .signature {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .glass-card img {
        height: auto !important;
    }
    .glass-card img[src*="parcerias"] {
        height: 220px !important;
        object-fit: cover !important;
    }
    .logos-impacto-section {
        padding: 60px 0;
    }
    .logos-grid {
        gap: 2rem;
        margin-bottom: 60px;
    }
    .logo-item {
        font-size: 1rem;
    }
    .impacto-card {
        background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('imagens/fundodestaque.webp') no-repeat center center !important;
        background-size: cover !important;
    }
    .impacto-left h2 {
        font-size: 2rem;
    }
    .impacto-center {
        height: 380px;
        overflow: visible;
    }
    .impacto-center img {
        height: 110%;
        width: auto;
        object-fit: contain;
    }
    .quote-text {
        font-size: 1.1rem;
        max-width: 100%;
        text-align: center;
        margin-left: 0;
        line-height: 1.5;
        margin-top: 0.5rem;
    }
    .signature {
        font-size: 2.5rem;
        margin-top: 1rem;
    }
}
