:root {
    --bg-color: #050505;
    --accent-color: #CCFF00;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --surface: #0E0E0E;
    --border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'League Spartan', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

header {
    height: 100px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent-color);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem;
    border-radius: 4px;
}

.lang-switcher button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.65rem;
    font-weight: 800;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 2px;
    transition: 0.3s;
}

.lang-switcher button.active {
    background: var(--accent-color);
    color: #000;
}

.btn-cta {
    background: var(--accent-color);
    color: #000;
    padding: 1rem 2rem;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(204, 255, 0, 0.3);
}

/* Base Classes that replaced inline styles */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    padding-left: 15px;
    /* Ajuste para não colar na borda no mobile */
}

.logo-container img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.logo-text {
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    font-family: 'League Spartan', sans-serif;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem) !important;
    max-width: 1100px;
    margin-bottom: 2rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -0.05em !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
    font-weight: 300 !important;
    color: #eee !important;
    margin-top: 1rem !important;
    letter-spacing: -0.02em !important;
    max-width: 800px;
}

.logo-strip-inner {
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    flex: 0 0 auto;
}

.logo-item img {
    max-height: 100%;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.5);
    transition: all 0.3s ease;
}

.logo-item:hover img {
    opacity: 1;
    filter: brightness(0) invert(1);
    transform: scale(1.05);
}

.diase-logo {
    transform: scale(2.8);
}

.logo-item:hover .diase-logo {
    transform: scale(3.0);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 4rem;
    letter-spacing: -0.04em;
    line-height: 1;
}

.cases-section {
    padding-bottom: 150px;
}

.cases-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.cases-header .section-title {
    margin-bottom: 0;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 400px;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 240px 0 180px;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.75) 0%, rgba(5, 5, 5, 1) 100%), url('assets/hero/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 30%, rgba(204, 255, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.accent {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    opacity: 0.2;
    z-index: -1;
}

/* Logo Strip */
.logo-strip {
    padding: 80px 0;
    background: #000;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


/* Expertise Section */
.expertise {
    padding: 160px 0;
    background: linear-gradient(to bottom, #050505, #080808);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.expertise-item {
    padding: 3rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: 0.4s;
}

.expertise-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.expertise-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    display: block;
}

.expertise-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.expertise-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Methodology */
.methodology {
    padding: 160px 0;
    background: #050505;
}

.method-intro {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 80px;
    max-width: 1000px;
    letter-spacing: -0.02em;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.method-card h3 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.method-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 100px;
}

.portfolio-item {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: #111;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover img {
    transform: scale(1.05);
    opacity: 0.95;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    padding: 3rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    width: 100%;
}

.item-tag {
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    display: block;
}

.item-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.case-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.75rem;
}

.case-metrics span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    letter-spacing: 0.03em;
}

/* Configurator */
.configurator {
    padding: 150px 0;
    background: #080808;
}

.config-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--surface);
    padding: 6rem;
    border: 1px solid var(--border);
    position: relative;
}

.config-container::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 100px;
    height: 1px;
    background: var(--accent-color);
}

.config-container label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

select,
input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: #fff;
    padding: 1.5rem 0;
    font-size: 1.4rem;
    margin-bottom: 4rem;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
}

.config-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.config-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 550px;
    line-height: 1.5;
    margin-top: 1.5rem;
}

.config-form {
    margin-top: 5rem;
}

.btn-submit {
    width: 100%;
    height: 90px;
    font-size: 1.1rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Footer Replace Inline */
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.footer-logo img {
    height: 18px;
    filter: brightness(0) invert(1);
}

.footer-info {
    text-align: right;
}

.footer-legal {
    font-size: 0.75rem;
    color: #888;
    font-weight: 600;
}

.footer-tagline {
    font-size: 0.7rem;
    color: var(--accent-color);
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    font-weight: 700;
}

/* Labs Specific Styles */
.labs-hero {
    padding: 240px 0 160px;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 1) 100%), url('assets/hero/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.labs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(204, 255, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.labs-verticals {

    padding: 120px 0;
    background: #050505;
}

.verticals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 8px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

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

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--accent-color);
    opacity: 0;
    transition: 0.4s;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.bento-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.bento-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(204, 255, 0, 0.1);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 4px;
    text-transform: uppercase;
}

.labs-process {
    padding: 120px 0;
    background: #080808;
    border-top: 1px solid var(--border);
}

@media (max-width: 1100px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .logo-strip-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .logo-item {
        flex: 0 0 30%;
        max-width: 80px;
    }

    .bento-card {
        padding: 2rem;
    }

    .bento-card h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .logo-item {
        flex: 0 0 40%;
    }
}

@media (max-width: 900px) {
    header {
        padding: 0;
    }

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

    nav {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: #050505;
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1500;
        border-left: 1px solid var(--border);
    }

    nav.active {
        right: 0;
    }

    .lang-switcher {
        margin: 2rem 0;
        justify-content: flex-start;
    }

    .hero {
        padding: 160px 0 100px;
    }

    .logo-strip {
        padding: 20px 0;
    }

    .logo-strip-inner {
        gap: 2rem;
        justify-content: center;
    }

    .logo-item {
        height: 35px;
    }

    .logo-item img {
        max-width: 100px;
    }

    .expertise,
    .methodology,
    .configurator {
        padding: 80px 0;
    }

    .cases-section {
        padding-bottom: 80px;
    }

    .method-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

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

    .config-container {
        padding: 3rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }
}