:root {
    --primary: #00f2ff;
    --primary-glow: rgba(0, 242, 255, 0.4);
    --accent: #0066ff;
    --bg-dark: #05070a;
    --bg-secondary: #0a0d12;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.03);
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-dark);
}

/* Background Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

body {
    font-weight: 300;
    /* Thin by default */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
    font-weight: 300;
}

.highlight {
    color: var(--primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(5, 7, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    width: 100%;
    padding: 0 4%;
}

.logo img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 35px;
}

.nav-links {
    display: flex;
    gap: 45px;
    /* Increased from 35px */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.header-socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-social {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: #fff;
    font-size: 0.9rem;
    background: var(--glass);
    transition: var(--transition);
    text-decoration: none;
}

.nav-social:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.1);
}

.header-btn {
    padding: 12px 22px;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: var(--transition);
    margin-left: 20px;
    text-decoration: none;
    white-space: nowrap;
}

.header-btn:hover {
    background: var(--primary);
    color: #000;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.5 !important;
    filter: brightness(0.6) !important;
    pointer-events: none !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(0, 0, 0, 0.8));
}

.hero-content {
    max-width: 950px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    /* Slightly smaller to prevent too many breaks */
    line-height: 1.1;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
    font-weight: 300;
    /* Thin headline part */
}

.gradient-text {
    background: linear-gradient(90deg, #00f2ff, #00d2ff, #00f2ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-content h1 strong {
    font-weight: 800;
    /* Bold headline part */
    display: block;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-main);
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.7s;
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    .hero-content {
        max-width: 1200px;
    }
    .hero-content p {
        max-width: 900px;
    }
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    /* Centering fix */
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.9s;
}

.hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    /* Normalized padding */
    min-width: 240px;
    /* Consistent width */
    background: var(--primary);
    color: #000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: var(--transition);
    border: 1px solid var(--primary);
    /* Same base border for alignment */
}

.hero-btn.btn-outline {
    background: transparent;
    color: var(--primary);
}

.hero-btn.btn-outline:hover {
    background: var(--primary);
    color: #000;
}

.hero-btn:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--primary-glow);
}

/* Page Split Logic - SOPHISTICATED VERSION */
.section-split {
    display: flex;
    min-height: 100vh;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.sidebar {
    width: 28%;
    padding: 100px 60px;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
    overflow: hidden;
    z-index: 10;
}

.scroll-progress {
    position: absolute;
    left: 60px;
    bottom: 80px;
    width: 200px;
    height: 2px;
    background: var(--border);
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 4px;
    height: 60%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    box-shadow: 0 0 20px var(--primary-glow);
}

.sidebar-title {
    font-size: clamp(1.4rem, 6vw, 2.8rem);
    line-height: 1.1;
    color: var(--text-main);
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: -1px;
    white-space: normal;
    display: block;
    word-break: break-word;
    overflow-wrap: break-word;
}

.sidebar-title strong {
    color: var(--primary);
    font-weight: 800;
    margin-left: 0;
    margin-top: 4px;
    display: block;
}

.sidebar-desc {
    margin-top: 30px;
    font-size: 1.1rem;
    max-width: 250px;
}

.content-main {
    width: 72%;
    padding: 120px 8% 120px 5%;
    background: var(--bg-secondary);
}

.info-text {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 40px;
    color: #fff;
}

.info-text b {
    color: var(--primary);
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-card {
    background: var(--glass);
    padding: 40px 30px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    /* Changed from top to bottom */
    left: 0;
    width: 2px;
    height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.service-card:hover::before {
    height: 100%;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0;
    /* Reset margin */
}

.service-card h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Blueprint Style for Process & Technical Sections */
.process-section,
.diferencial-box {
    position: relative;
    padding: 80px 60px;
    background: radial-gradient(circle at 2px 2px, rgba(0, 242, 255, 0.05) 1px, transparent 0);
    background-size: 30px 30px;
    border: 1px solid var(--border);
    border-radius: 2px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 50px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.step-item::after {
    content: '';
    position: absolute;
    left: 70px;
    bottom: -10px;
    width: 2px;
    height: 20px;
    background: var(--primary);
    opacity: 0.2;
}

.step-item:last-child::after {
    display: none;
}

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

.step-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.8;
    /* Maximum clarity */
    font-family: var(--font-heading);
    min-width: 100px;
    text-shadow: 0 0 20px var(--primary-glow);
    letter-spacing: -2px;
}

.step-item:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 242, 255, 0.2);
    font-family: var(--font-heading);
}

.step-item h5 {
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Section */
/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 890px;
}

.blog-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    max-width: 430px;
    width: 100%;
}

.blog-card:hover {
    border-color: var(--primary);
}

.blog-card img {
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.blog-info {
    padding: 30px;
}

/* Pillars / Pilares */
.pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pilar-card {
    background: var(--bg-secondary);
    padding: 30px 25px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.pilar-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.pilar-title {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.pilar-title span {
    font-weight: 300;
}

.pilar-title strong {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.4rem;
}

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

.valores-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.valores-list li i {
    color: var(--primary);
    font-size: 0.9rem;
    text-shadow: 0 0 10px var(--primary-glow);
}

.blog-date {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.blog-card h4 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 600;
}

.read-more {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary);
    gap: 15px;
}

/* Portfolio Vertical Switcher */
.portfolio-vertical {
    background: var(--bg-dark);
}

.portfolio-stack-container {
    height: 100vh;
    position: relative;
    padding: 0 !important;
    background: #000;
}

.portfolio-stack {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    visibility: hidden;
}

.portfolio-card.active {
    opacity: 1;
    visibility: visible;
}

/* Portfolio Horizontal Carousel Styles */
.portfolio-carousel-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.portfolio-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.portfolio-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 80px;
    box-sizing: border-box;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition);
}

.portfolio-card .portfolio-info {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-left: 4px solid var(--primary);
    transform: none;
    opacity: 1;
    max-width: 600px;
}

.portfolio-card h5 {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 900;
}

.portfolio-card p {
    font-size: 1.2rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

/* Navigation Buttons */
.portfolio-carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
    pointer-events: none; /* Let hover/scrolling/clicks pass through to background slide */
}

.portfolio-carousel-nav .carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(10, 13, 18, 0.6);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto; /* Enable clicks specifically on the buttons */
}

.portfolio-carousel-nav .carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-glow);
}

.portfolio-carousel-nav.hidden {
    display: none;
}

/* Portfolio Video Card */
.card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-video video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) translateZ(0) !important;
    -webkit-transform: translate(-50%, -50%) translateZ(0) !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 0.9 !important;
}

.video-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 3;
    background: var(--primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 8px 18px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.member-card {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 242, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.member-card:hover .member-overlay {
    opacity: 1;
}

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

.member-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #000;
}

.member-role {
    font-size: 0.9rem;
    color: #000;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-control {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 15px 20px;
    color: #fff;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 18px 40px;
    background: var(--primary);
    color: #000;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.submit-btn:hover {
    background: #fff;
    transform: translateX(10px);
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.client-logo {
    background: #0f141a;
    /* Darker, more solid background for visibility */
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.client-logo:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
}

.client-logo img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    transition: var(--transition);
    display: block;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

/* Logos maiores com filtro branco */
.client-logo.logo-big {
    padding: 15px;
    height: 120px;
}

.client-logo.logo-big img {
    max-width: 95%;
    max-height: 90%;
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

/* Logos menores dentro do card (Embrapa, AMA, Coutinho) */
.client-logo.logo-big.logo-sm img {
    max-width: 70%;
    max-height: 65%;
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

/* Custom extra-large size specifically for the 3 new brand logos */
.client-logo.brand-custom {
    padding: 10px;
}

.client-logo.brand-custom img {
    max-width: 95%;
    max-height: 90%;
    filter: brightness(0) invert(1);
}

/* Custom boosted size for specific logos that were too small */
.client-logo.logo-boost {
    padding: 10px !important;
}

.client-logo.logo-boost img {
    max-width: 96% !important;
    max-height: 90% !important;
    opacity: 1 !important;
}



/* Custom class to shrink naturally large logos */
.client-logo.logo-reduce {
    padding: 22px !important;
}

.client-logo.logo-reduce img {
    max-width: 76% !important;
    max-height: 68% !important;
    opacity: 1 !important;
}

/* Custom class to shrink extremely wide/large logos even more */
.client-logo.logo-extra-sm {
    padding: 26px !important;
}

.client-logo.logo-extra-sm img {
    max-width: 58% !important;
    max-height: 50% !important;
    opacity: 1 !important;
}




/* Footer */
/* Ultra Linear Footer */
.footer {
    background: #000;
    padding: 50px 0;
    border-top: 1px solid var(--border);
}

.footer-inline-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo-inline {
    height: 35px;
    width: auto;
    opacity: 0.9;
    margin-right: 10px;
}

.footer-info-block p, 
.footer-inline-content p {
    margin: 0;
    white-space: nowrap;
}

.footer-inline-content a {
    color: var(--text-muted) !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}

@media (max-width: 1024px) {
    .footer-inline-content {
        gap: 15px;
        flex-direction: column;
        text-align: center;
    }
    .footer-divider {
        display: none;
    }
    .footer-inline-content p {
        white-space: normal;
    }
}

/* Signature Card Styles - Removed to simplify footer */
.footer-contact-item a:hover {
    color: var(--primary);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

/* Footer Bottom */
.footer-bottom {
    background: #000;
    padding: 30px 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-bottom-right {
    font-style: italic;
}

@media (max-width: 1024px) {
    .footer-sig-inner {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    .footer-brand {
        grid-column: span 2;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .footer-sig-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* WhatsApp Floating Button Fix */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.whatsapp-float i {
    margin-top: 0;
}

/* Mobile Navigation Toggle Styles */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
    transition: var(--transition);
}

/* ==========================================================================
   MUVI Premium Enhancements: Equipments, Typographic Brands & Testimonials
   ========================================================================== */

/* Equipments Section Styles */
.equipments-premium-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.equipment-card {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
    position: relative;
    border-radius: 4px;
}

.equipment-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 242, 255, 0.15);
    transform: translateY(-5px);
}

.equip-items-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.equip-items-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.equip-items-list li i {
    color: var(--primary);
    font-size: 0.75rem;
    text-shadow: 0 0 8px var(--primary-glow);
    transition: var(--transition);
}

.equip-items-list li:hover {
    color: var(--text-main);
    transform: translateX(5px);
}

.equip-items-list li:hover i {
    transform: scale(1.2);
    color: #fff;
    text-shadow: 0 0 12px var(--primary);
}



/* Testimonials (Depoimentos) Section Styles */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--glass);
    padding: 35px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 15px 45px rgba(0, 242, 255, 0.08);
    transform: translateY(-5px);
}

.testimonial-card:hover::before {
    height: 100%;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
}

.testimonial-stars i {
    color: #ffb800;
    font-size: 0.85rem;
    text-shadow: 0 0 8px rgba(255, 184, 0, 0.4);
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.3;
    transition: var(--transition);
}

.testimonial-card:hover .quote-icon {
    opacity: 0.8;
    transform: scale(1.1) rotate(-10deg);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.testimonial-author strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* RESPONSIVE ADJUSTMENTS FOR LARGE SCREENS */
@media (max-width: 1700px) {
    .nav-links {
        gap: 25px !important;
    }
    
    .nav-links a {
        font-size: 0.75rem !important;
    }
    
    .hero-content h1 {
        font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
    }
    
    .navbar .container {
        padding: 0 2% !important;
    }
}

/* FINAL BULLETPROOF RESPONSIVE OVERRIDES */
@media (max-width: 1024px) {
    .mobile-nav-toggle {
        display: block !important;
    }

    .navbar {
        padding: 12px 0 !important;
        background: rgba(5, 7, 10, 0.98) !important;
        backdrop-filter: blur(15px) !important;
    }

    .navbar .container {
        padding: 0 20px !important;
    }

    .logo img {
        height: 32px !important;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: #0a0d12 !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        padding: 60px 40px !important;
        gap: 25px !important;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 1001 !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5) !important;
    }

    .nav-links.active {
        right: 0 !important;
    }

    .nav-links a {
        font-size: 1.1rem !important;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
    }

    .header-socials {
        display: none !important; /* Hide on mobile to simplify */
    }

    .section-split {
        display: block !important;
    }

    .sidebar {
        width: 100% !important;
        height: auto !important;
        padding: 80px 20px 40px !important;
        position: relative !important;
        top: 0 !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border) !important;
    }

    .sidebar-title {
        line-height: 1.1 !important;
        white-space: normal !important;
        display: block !important;
    }

    .content-main {
        width: 100% !important;
        padding: 60px 20px !important;
    }

    .info-text {
        font-size: 1.4rem !important;
        line-height: 1.4 !important;
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    .hero-content p {
        font-size: 1rem !important;
        padding: 0 10px;
    }

    .services-grid, .pilares-grid, .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .step-item {
        padding: 30px 10px !important;
        gap: 20px !important;
    }

    .step-num {
        font-size: 2rem !important;
        min-width: 50px !important;
    }

    .footer-sig-inner {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
        text-align: left !important;
    }

    .footer-brand, .footer-col {
        width: 100% !important;
    }

    .footer-bottom-inner {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
    }

    /* Portfolio Mobile Fix */
    .portfolio-vertical {
        height: auto !important;
    }

    .portfolio-stack-container {
        height: auto !important;
        position: relative !important;
        display: block !important;
    }

    .portfolio-stack {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px !important;
        overflow: visible !important;
    }

    .portfolio-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: 520px !important; /* Fixed height for the card container on mobile */
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0 !important;
        display: block !important;
        border: 1px solid var(--border);
        border-radius: 4px;
        overflow: hidden;
    }

    .portfolio-carousel-wrapper {
        position: relative !important;
        height: 100% !important;
        width: 100% !important;
    }

    .portfolio-carousel-slide {
        padding: 30px 20px !important;
    }

    .portfolio-carousel-slide .card-image {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
    }

    .portfolio-carousel-slide .card-image img {
        opacity: 0.6 !important;
    }

    .portfolio-carousel-slide .portfolio-info {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        border-left: 4px solid var(--primary) !important;
        border-top: none !important;
        background: rgba(10, 13, 18, 0.85) !important;
        backdrop-filter: blur(10px) !important;
        margin-bottom: 0 !important;
    }

    .portfolio-card h5 {
        font-size: 1.6rem !important;
    }

    .portfolio-carousel-nav {
        top: 50% !important;
        bottom: auto !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateY(-50%) !important;
        padding: 0 15px !important;
    }

    .portfolio-carousel-nav .carousel-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 1rem !important;
    }

    /* General Fix for all section splits */
    .section-split, .container, section, main {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
}


@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column !important;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-btn {
        width: 100% !important;
        justify-content: center;
        margin-left: 0 !important;
    }

    .client-logo {
        height: 100px !important;
        padding: 20px !important;
    }

    .client-logo.brand-custom {
        padding: 8px !important;
    }

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

/* Carrossel de Depoimentos customizado */
.dep-carousel-wrapper {
    margin-top: 40px;
    width: 100%;
}

.dep-carousel {
    max-width: 940px; /* 3 slides * 300px + 2 gaps * 20px */
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .dep-carousel {
        max-width: 620px; /* 2 slides * 300px + 1 gap * 20px */
    }
}

@media (max-width: 768px) {
    .dep-carousel {
        max-width: 300px; /* 1 slide * 300px */
    }
}

.dep-track {
    display: flex;
    gap: 20px;
}

.dep-slide {
    width: 300px !important;
    height: 533px !important;
    flex-shrink: 0 !important;
    background: #000 !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    transition: border-color 0.3s ease !important;
    position: relative !important; /* Position context for the absolute video */
}

.dep-slide:hover {
    border-color: rgba(0, 242, 255, 0.3);
}

.testimonial-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important; /* Cover the card dimensions exactly */
    object-fit: cover !important;
    display: block !important;
    background: #000 !important;
    outline: none !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
}

/* Navegação do carrossel */
.dep-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.dep-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--glass);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dep-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    transform: scale(1.1);
}

.dep-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dep-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.dep-dot.active {
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
    transform: scale(1.3);
}

/* Custom video overlay for testimonials */
.dep-video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 3 !important;
    background: rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.dep-video-overlay:hover {
    background: rgba(0, 0, 0, 0.4) !important;
}

.play-btn-circle {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: rgba(10, 13, 18, 0.85) !important;
    border: 2px solid var(--primary) !important;
    box-shadow: 0 0 15px var(--primary-glow) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--primary) !important;
    font-size: 1.2rem !important;
    transition: all 0.3s ease !important;
}

.dep-video-overlay:hover .play-btn-circle {
    transform: scale(1.1) !important;
    background: var(--primary) !important;
    color: #000 !important;
    box-shadow: 0 0 25px var(--primary) !important;
}

/* Hide play button when playing, but show on hover */
.dep-video-overlay.playing {
    background: transparent !important;
}
.dep-video-overlay.playing .play-btn-circle {
    opacity: 0 !important;
    transform: scale(0.8) !important;
    pointer-events: none !important;
}
.dep-video-overlay.playing:hover {
    background: rgba(0, 0, 0, 0.4) !important;
}
.dep-video-overlay.playing:hover .play-btn-circle {
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
}

/* Custom progress bar at bottom of slide */
.dep-video-progress-container {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    overflow: hidden !important;
}

.dep-video-progress-bar {
    height: 100% !important;
    width: 0% !important;
    background: linear-gradient(90deg, var(--primary), var(--accent)) !important;
    box-shadow: 0 0 10px var(--primary-glow) !important;
    transition: width 0.1s linear !important;
}