:root {
    --background-white: #fffffb;
    --primary: #4c4c4c;
    --paragraph-gray: #777272;
    --light-green: #ffd100;
    --background-gray: #f7f7f7;
    --stroke: #e9eaeb;
    --primary-light: #6f6f6f;
    --white: white;
    --black: black;
    --creamy: #eaeae2;
    --transparent: #0000;
    --red-error: #c92518;
}

/* Footer Copyright centering */
    .footer-bottom {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    }
    /* Global Overrides for Sticky and Horizontal Scroll Fix */
    html, body { overflow-x: hidden !important; overflow-y: visible !important; width: 100%; position: relative; }
    .w-webflow-badge { display: none !important; opacity: 0 !important; visibility: hidden !important; }
    
    /* Strict Sticky Visibility for all Parents - CRITICAL FIX */
    .section, .base-container, .main-wrapper, .services-split-wrapper, .services-stack-grid, .services-stack-container, .w-layout-blockcontainer, .w-container { 
        overflow: visible !important; 
    }
    
    /* Prevent horizontal scroll from non-sticky specific elements */
    .footer-wrapper, .reviews-wrapper, .cta-section, .images-card-wrap-home-2, .light-green-section-with-lines { overflow: visible !important; }

    .light-green-section-with-lines {
        position: relative;
        z-index: 5;
        padding-bottom: 70px !important;
    }


    /* SVG Color Re-color (User Requested Filter) */
    img[src$=".svg"], .star, .icon-button, .icon-button-small, .image-burger, .nav-close-icon, .star-wrapper img {
        filter: invert(25%) sepia(780%) saturate(240%) hue-rotate(15deg) brightness(105%) contrast(105%) !important;
    }

    /* Yellow Text Classes */
    .green-text, .text-span-5, .text-span-6, .green-name, .green-name-2 {
        color: var(--light-green) !important;
    }
    
    /* Scrollbar */
    .steps-wrapper-home-3::-webkit-scrollbar { width: 6px; }
    .steps-wrapper-home-3::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }
    .steps-wrapper-home-3::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.5); border-radius: 10px; }

    /* Nav Links */

    
    
    /* Hero Banner fix (Fallback) */
    
    
    /* WhatsApp Floating Button */
    .whatsapp-float { width: 60px !important; height: 60px !important; padding: 0 !important; margin: 0 !important; display: flex !important; justify-content: center !important; align-items: center !important;
        position: fixed;
        width: 60px;
        height: 60px;
        bottom: 30px;
        right: 30px;
        background-color: #25d366;
        color: #FFF;
        border-radius: 50px;
        
        font-size: 32px;
        z-index: 1000;
        display: flex;
        
        align-items: center; line-height: 0;
        box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
        animation: pulse-wa 2s infinite;
        text-decoration: none;
    }
    .whatsapp-float:hover { color: #fff; }
    @keyframes pulse-wa {
        0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
        70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
        100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
    }

    /* Footer Centering */
    .footer-bottom-wrapper {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        text-align: center !important;
    }
    .footer-copyright { text-align: center !important; width: 100% !important; 
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Steps wrapper fix as requested */
    .steps-wrapper-home-3 {
        grid-column-gap: 40px;
        grid-row-gap: 39px;
        flex-flow: column;
        justify-content: space-between;
        align-items: flex-start;
        width: 45%;
        display: flex;
        padding: 6px;
    }
    
    @media screen and (min-width: 1280px) {
        .heading-banner-wrapper-home-2 {
            width: 85% !important;
        }
    }
    
    
    
    .whatsapp-float i {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 32px !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 14px !important;
        display: block !important;
        line-height: 1 !important;
    }
    
    .nav-link:hover, .nav-link.w--current {
        text-decoration: underline;
        text-decoration-color: #b6b6b6;
        text-underline-offset: 6px;
    }
    
    .banner-home-2 .base-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-height: 65vh !important;
    }
    .base-container {
        flex-direction: column;
        align-items: center;
        max-width: 1290px;
        margin-left: auto;
        margin-right: auto;
        padding-right: 15px;
    }
    
    @media screen and (min-width: 1920px) {
        .section.banner-home-2 {
            min-height: 680px !important;
        }
    }
    
    .icon-wrapper {
        width: 60px !important;
        height: 60px !important;
        background-color: #444 !important;
        border-radius: 12px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto 20px auto !important; /* Center the wrapper in the card */
    }
    .benefit-grid-item-wrapper .image-icon {
        font-size: 24px !important;
    }
.footer-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 20px !important;
}
.footer-logo-col, .footer-links-wrapper {
    flex: 1 !important;
    min-width: 0 !important; /* Allow shrinking to stay on one line */
}


/* Footer Perfection - No wrapping and Left Alignment */
.footer-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    gap: 40px !important;
    flex-wrap: nowrap !important;
}

.footer-links-wrapper {
    flex: 0 0 auto !important;
    text-align: left !important;
}

.footer-links-wrapper:last-child {
    flex: 0 0 auto !important;
    text-align: left !important; /* Force left align as requested */
    padding-right: 0 !important;
}

.footer-link {
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
    white-space: nowrap !important; /* Force single line */
    margin-bottom: 12px !important;
}

.footer-link i {
    width: 20px !important;
    margin-right: 10px !important;
    text-align: center !important;
}











.footer-bottom-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 40px !important;
}
.footer-copyright {
    text-align: center !important;
    width: 100% !important;
    font-size: 13px !important;
    opacity: 0.7 !important;
}
/* =========================================
   SERVICES SECTION
   ========================================= */

.services-stack-container {
    padding-top: 40px !important;
    position: relative;
}

.services-split-wrapper {
    display: grid !important;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    width: 100%;
}

.services-sticky-sidebar {
    position: relative !important; /* Durante o PIN do GSAP, o sidebar já fica travado pelo container */
    align-self: start !important;
    z-index: 10;
}

.services-sticky-sidebar h2 {
    font-size: 42px;
    margin: 20px 0;
    line-height: 1.2;
}

.services-stack-grid {
    display: block !important;
    width: 100%;
    position: relative !important;
}

.service-row {
    display: flex !important;
    gap: 30px;
    width: 100%;
    padding: 12px 0;
    margin-bottom: 0 !important;
    position: relative;
    will-change: transform;
    /* Adicionando uma borda sutil para separar os cards no stack */
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Z-index crescente */
.service-row:nth-child(1) { z-index: 1; }
.service-row:nth-child(2) { z-index: 2; }
.service-row:nth-child(3) { z-index: 3; }
.service-row:nth-child(4) { z-index: 4; }

/* Reduzindo a altura da seção para não parecer travada */
#servicos {
    padding-bottom: 0 !important;
    height: 100vh !important;
    position: relative;
    overflow: visible !important;
}


.service-card-new {
    flex: 1;
    background: #1e1e1e !important; /* Fundo sólido para cobrir o card de baixo */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5), 0 20px 60px rgba(0, 0, 0, 0.8) !important;
}

.service-card-new:hover {
    border-color: var(--light-green);
    transform: translateY(-5px) scale(1.02);
}

.service-icon-new {
    font-size: 32px;
    color: var(--light-green);
    margin-bottom: 20px;
}

.service-title-new {
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
}

.service-desc-new {
    color: #aaa;
    font-size: 15px;
    line-height: 1.6;
    min-height: 99px;
}

@media screen and (max-width: 1200px) {
    .services-sticky-sidebar { flex: 0 0 320px; }
    .services-split-wrapper { gap: 40px; }
    .services-sticky-sidebar h2 { font-size: 36px; }
}

@media screen and (max-width: 991px) {
    /* Layout Basics */
    .section { padding: 80px 0; margin-bottom: 20px; } /* Increased vertical spacing */
    
    /* Navbar Responsive */
    .image-navbar-logo { max-height: 55px !important; } /* Larger mobile logo */
    .nav-menu { background-color: #fffffb !important; padding: 20px !important; }
    
    /* Steps Wrapper Fix (100% width on mobile) */
    .steps-wrapper-home-3 {
        width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Services Responsive */
    .services-split-wrapper {
        flex-direction: column;
        gap: 60px; /* More gap between sidebar and cards */
    }
    .services-sticky-sidebar {
        position: relative;
        top: 0;
        flex: none;
        width: 100%;
        text-align: center;
        padding-bottom: 30px;
    }
    .services-sticky-sidebar h2 { font-size: 32px; }
    
    .services-split-wrapper {
        display: block !important;
    }
    .services-sticky-sidebar {
        position: relative !important;
        top: auto !important;
        width: 100%;
        text-align: center;
    }
    .services-stack-grid {
        width: 100%;
    }
    .service-row {
        flex-direction: column;
        position: relative !important;
        top: auto !important;
        gap: 20px;
        margin-bottom: 40px !important;
        padding: 0 !important;
    }
    .service-card-new {
        width: 100% !important;
        padding: 36px 20px;
    }
    
    /* Fix Services Section Height and Overlap */
    #servicos {
        height: auto !important;
        padding-bottom: 60px !important;
        overflow: visible !important;
    }


    /* ====================================
       TEAM SECTION MOBILE - SEM LEQUE
       Cards um abaixo do outro
    ==================================== */

    /* Seção pai */
    .light-green-section-with-lines {
        overflow: visible !important;
        padding-bottom: 60px !important;
        height: auto !important;
    }

    /* Container: vira coluna */
    .images-card-wrap-home-2 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        position: static !important;
        height: auto !important;
        min-height: 0 !important;
        width: 100% !important;
        gap: 0 !important;
        margin-top: 24px !important;
        overflow: visible !important;
    }

    /* Cards laterais (Viviane e Nicolas): resetar posição */
    .left-image-card-home-2,
    .right-image-card-home-2 {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 380px !important;
        height: auto !important;
        transform: none !important;
        z-index: auto !important;
        margin: 0 !important;
        padding-top: 20px !important;
    }

    /* Bloco central (Rafael + Pierry): vira coluna */
    .center-image-card-home-2.scale {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 380px !important;
        height: auto !important;
        margin: 0 !important;
        gap: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Rafael (primeiro no center.scale): sem padding-top */
    .center-image-card-home-2.scale .team-card-rafael,
    .center-image-card-home-2.scale > .center-image-card-home-2:first-child {
        padding-top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
        z-index: auto !important;
    }

    /* Pierry (segundo no center.scale): com padding-top */
    .center-image-card-home-2.scale .team-card-pierry,
    .center-image-card-home-2.scale > .center-image-card-home-2:last-child {
        padding-top: 20px !important;
        width: 100% !important;
        margin: 0 !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
        z-index: auto !important;
    }

    /* Todos os inner center-image-card-home-2: resetar */
    .images-card-wrap-home-2 .center-image-card-home-2 {
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: relative !important;
        box-shadow: none !important;
        z-index: auto !important;
    }

    /* Imagens: 100% largura */
    .image-card-home-2,
    .image-card-small-home-2 {
        width: 100% !important;
        height: auto !important;
        border-radius: 15px !important;
        display: block !important;
        object-fit: cover !important;
    }

    /* Ordem: Rafael primeiro no mobile (está dentro do center.scale que vem depois de Viviane) */
    /* Reordenamos visualmente: center.scale (Rafael+Pierry) sobe antes de left (Viviane) */
    .left-image-card-home-2  { order: 3 !important; }
    .center-image-card-home-2.scale { order: 1 !important; padding-top: 0 !important; }
    .right-image-card-home-2 { order: 4 !important; }

    /* Footer Responsive */
    .footer-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    .footer-links-wrapper {
        width: 100%;
        text-align: center;
    }
    .footer-link { justify-content: center; }
}

@media screen and (max-width: 767px) {
    .section { padding: 60px 0; } /* Balanced spacing */
    .services-sticky-sidebar h2 { font-size: 28px; }
    .paragraph-large { font-size: 16px; }
    
    .banner-home-2 .base-container {
        padding-top: 40px;
        text-align: center;
    }
    
    /* Button adjustments */
    .primary-button, .secondary-button {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (min-width: 992px) {
    .service-row {
        display: flex !important;
        flex-direction: row !important;
        gap: 24px;
        align-items: stretch;
    }
    .service-card-new {
        flex: 1 !important;
        width: 50% !important;
        margin-bottom: 0 !important;
    }
}

/* =========================================
   CTA SECTION - PREMIUM ENHANCEMENTS
   ========================================= */
.section-cta-home-2 {
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    position: relative;
    padding: 120px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.section-cta-home-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(22, 64, 45, 0.4) 100%);
    z-index: 1;
}

.section-cta-home-2 .base-container {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
}

.cta-title {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title h2 {
    font-size: 42px !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
}

.cta-title p {
    font-size: 18px !important;
    opacity: 0.9 !important;
    margin-bottom: 40px !important;
}

@media screen and (max-width: 767px) {
    .section-cta-home-2 {
        padding: 80px 0 !important;
        background-attachment: scroll !important;
    }
    .cta-title h2 {
        font-size: 32px !important;
    }
}
