:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --secondary: #00c2ff;
    --dark: #0f172a;
    --slate: #475569;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --container-max: 1200px;
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Prevent any section from exceeding viewport */
section, main, header, footer {
    max-width: 100vw;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px; /* Ajustado para 50% conforme solicitado para maior elegância */
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply; /* Remove o fundo branco integrando perfeitamente ao cabeçalho */
}

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

.nav-links a {
    text-decoration: none;
    color: var(--slate);
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.btn-secondary:hover {
    background: var(--light-bg);
    transform: translateY(-3px);
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero */
.hero {
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at top right, rgba(0, 102, 255, 0.05), transparent 40%),
                radial-gradient(circle at bottom left, rgba(0, 194, 255, 0.05), transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--slate);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
    top: -10%;
    animation: pulse 10s infinite;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Lead Form */
.lead-form-section {
    margin-top: -3rem;
}

.form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.inline-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

/* Services */
.services {
    padding: 8rem 0;
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 102, 255, 0.1);
}

.service-card svg {
    color: var(--primary);
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--slate);
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: var(--white);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    color: var(--secondary);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.author {
    display: flex;
    flex-direction: column;
}

.author strong {
    font-size: 1.2rem;
    color: var(--white);
}

.author span {
    color: var(--slate);
}

/* Contact */
.contact-section {
    padding: 8rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 span {
    color: var(--primary);
}

.contact-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact-item svg {
    color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
    padding: 0.8rem;
    border-radius: 12px;
    width: 45px;
    height: 45px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.cta-box {
    background: var(--light-bg);
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 2.5rem;
    color: var(--slate);
}

/* Alternating Section / Value Prop */
.alternating-section {
    padding: 8rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.value-list li svg {
    color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
    padding: 0.8rem;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.value-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.value-list p {
    color: var(--slate);
    font-size: 0.95rem;
}

.stats-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.kpi-card {
    display: flex;
    align-items: center;
    background: rgba(0, 102, 255, 0.03);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.kpi-card:hover {
    transform: translateX(10px);
    background: rgba(0, 102, 255, 0.05);
}

.kpi-number-box {
    background: var(--white);
    min-width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-right: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.kpi-number-box .number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.kpi-content {
    display: flex;
    flex-direction: column;
}

.kpi-content strong {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.kpi-content p {
    font-size: 0.85rem;
    color: var(--slate);
    line-height: 1.4;
    margin: 0;
}

/* Process */
.process {
    padding: 8rem 0;
    background: var(--light-bg);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.step {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Clients */
.clients {
    padding: 6rem 0;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(0, 102, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    height: 180px; /* Aumentado para acomodar o texto */
    gap: 1rem;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.08);
    border-color: var(--primary);
}

.client-logo {
    max-width: 90%;
    max-height: 80px; /* Aumentado conforme solicitado */
    width: auto;
    object-fit: contain;
    filter: grayscale(1); /* Cor cinza padrão */
    opacity: 0.5; /* Suave para não carregar o visual */
    transition: all 0.3s ease;
}

.client-card:hover .client-logo {
    filter: grayscale(0); /* Acende em cor original */
    opacity: 1;
    transform: scale(1.05); /* Leve destaque ao passar o mouse */
}

.client-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate);
    text-align: center;
    transition: color 0.3s ease;
}

.client-card:hover .client-name {
    color: var(--primary);
}


/* Partners */
.partners {
    padding: 3rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.partners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.7;
}

/* MVV */
.mvv {
    padding: 8rem 0;
    background: var(--light-bg);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mvv-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.mvv-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-list li {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 102, 255, 0.05);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 6rem 0;
    background-color: #0f172a;
    color: var(--white);
    border-top: none;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
}

.logo-img-footer {
    height: 180px; /* Aumentado em ~70% em relação aos 105px anteriores conforme solicitado */
    width: auto;
    filter: brightness(1.2);
}

.footer-info {
    color: var(--slate);
    font-size: 0.7rem; /* Reduzido para ser bem pequeno conforme solicitado */
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image-wrapper {
        order: 1;
        margin-bottom: 3rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .inline-form {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 1.5rem;
        border-bottom: 1px solid var(--light-bg);
    }

    .nav-links.mobile-active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .logo-img {
        height: 32px;
    }

    /* Stack grid-2 (value prop + KPIs) into single column */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Reduce section padding */
    .services, .alternating-section, .process, .mvv, .contact-section {
        padding: 5rem 0;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    /* Reduce CTA box padding */
    .cta-box {
        padding: 2.5rem;
    }

    /* Reduce testimonial font */
    .testimonial-text {
        font-size: 1.4rem;
    }

    /* Reduce section header font */
    .section-header h2 {
        font-size: 2rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 0 3rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-xl {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
    
    .logo-img-footer {
        height: 100px;
    }

    /* Reduce section padding further */
    .services, .alternating-section, .process, .mvv, .contact-section {
        padding: 3.5rem 0;
    }

    .clients {
        padding: 3rem 0;
    }

    .testimonials {
        padding: 3.5rem 0;
    }

    .testimonial-text {
        font-size: 1.15rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Cards padding smaller */
    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }

    .step {
        padding: 1.5rem;
    }

    .mvv-card {
        padding: 2rem 1.5rem;
    }

    /* Form card */
    .form-card {
        padding: 1.5rem;
    }

    .form-header h3 {
        font-size: 1.2rem;
    }

    /* CTA box */
    .cta-box {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .cta-box h3 {
        font-size: 1.4rem;
    }

    /* KPI cards */
    .kpi-card {
        padding: 1rem;
    }

    .kpi-number-box {
        min-width: 55px;
        height: 55px;
        margin-right: 1rem;
    }

    .kpi-number-box .number {
        font-size: 1.1rem;
    }

    .kpi-content strong {
        font-size: 0.95rem;
    }

    .kpi-content p {
        font-size: 0.8rem;
    }

    /* Client grid smaller min */
    .client-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .client-card {
        height: 150px;
        padding: 1.2rem 0.8rem;
    }

    /* Partners */
    .partners-row {
        gap: 1.5rem;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0;
    }

    .footer-content {
        gap: 1.5rem;
    }

    /* Contact */
    .contact-info h2 {
        font-size: 1.6rem;
    }

    .contact-list {
        margin-top: 2rem;
    }

    /* Value list */
    .value-list {
        gap: 1.5rem;
    }

    .value-list li svg {
        width: 40px;
        height: 40px;
        padding: 0.6rem;
    }

    .badge {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }
}
