/* ==========================================================================
       Variáveis Globais e Reset (Escopadas para não quebrar o Elementor)
       ========================================================================== */
    .section-sunfarming {
        --sf-blue: #0b3259;
        --sf-orange: #f26b21;
        --sf-text-color: #4a5568;
        --sf-bg-light: #f8fafc;
        --sf-radius: 20px;
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        padding: 60px 20px;
        background-color: #ffffff;
        overflow: hidden;
    }

    .section-sunfarming * {
        box-sizing: border-box;
    }

    /* ==========================================================================
       Estrutura da Seção (Mobile-First)
       ========================================================================== */
    .section-sunfarming .container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        gap: 40px;
        align-items: center;
    }

    @media (min-width: 992px) {
        .section-sunfarming .container {
            grid-template-columns: 1fr 1fr;
            gap: 60px;
        }
    }

    /* ==========================================================================
       Tipografia e Texto (Coluna Esquerda)
       ========================================================================== */
    .section-sunfarming .sf-text-content h2 {
        color: var(--sf-blue);
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        font-weight: 700;
        margin-top: 0;
        margin-bottom: 1.25rem;
        line-height: 1.2;
    }

    .section-sunfarming .sf-text-content p {
        color: var(--sf-text-color);
        line-height: 1.7;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .section-sunfarming .sf-text-content ul {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem 0;
    }

    .section-sunfarming .sf-text-content li {
        position: relative;
        padding-left: 32px;
        margin-bottom: 12px;
        color: var(--sf-text-color);
        line-height: 1.5;
        font-weight: 500;
    }

    .section-sunfarming .sf-text-content li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 4px;
        width: 20px;
        height: 20px;
        background-color: #fff;
        border: 2px solid var(--sf-orange);
        border-radius: 50%;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f26b21' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
        background-size: 10px;
        background-repeat: no-repeat;
        background-position: center;
        box-shadow: 0 2px 4px rgba(242, 107, 33, 0.15);
    }

    /* ==========================================================================
       Slider Widget Premium (Coluna Direita)
       ========================================================================== */
    .section-sunfarming .sf-slider-widget {
        width: 100%;
        background: #fff;
        padding: 20px;
        border-radius: var(--sf-radius);
        box-shadow: 0 20px 40px rgba(11, 50, 89, 0.08);
    }

    .section-sunfarming .sf-viewport {
        width: 100%;
        aspect-ratio: 16/10;
        border-radius: 18px;
        overflow: hidden;
        background: var(--sf-bg-light);
        position: relative;
        cursor: zoom-in;
        border: 6px solid #fff;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    }

    .section-sunfarming .sf-viewport img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.4s ease-in-out;
        display: block;
    }

    .section-sunfarming .sf-nav {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        justify-content: space-between;
    }

    .section-sunfarming .sf-arrow {
        background: #fff;
        border: 1px solid #e2e8f0;
        color: var(--sf-blue);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        transition: 0.3s;
        flex-shrink: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        padding: 0;
        outline: none;
    }

    .section-sunfarming .sf-arrow:hover {
        background: var(--sf-orange);
        border-color: var(--sf-orange);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 15px rgba(242, 107, 33, 0.3);
    }

    .section-sunfarming .sf-track {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        flex-grow: 1;
        scrollbar-width: none;
        justify-content: flex-start;
        padding: 5px;
        scroll-behavior: smooth;
    }

    @media (min-width: 480px) {
        .section-sunfarming .sf-track {
            justify-content: center;
        }
    }

    .section-sunfarming .sf-track::-webkit-scrollbar {
        display: none;
    }

    .section-sunfarming .sf-thumb {
        width: 90px;
        height: 60px;
        flex-shrink: 0;
        border-radius: 10px;
        overflow: hidden;
        cursor: pointer;
        border: 3px solid transparent;
        transition: 0.3s;
        opacity: 0.6;
    }

    @media (min-width: 768px) {
        .section-sunfarming .sf-thumb {
            width: 110px;
            height: 75px;
            border-radius: 12px;
        }
    }

    .section-sunfarming .sf-thumb.active {
        border-color: var(--sf-orange);
        opacity: 1;
        transform: translateY(-4px);
        box-shadow: 0 8px 12px rgba(242, 107, 33, 0.2);
    }

    .section-sunfarming .sf-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .section-sunfarming .sf-play-pause {
        background: transparent;
        border: none;
        color: var(--sf-blue);
        cursor: pointer;
        font-size: 20px;
        padding: 10px;
        transition: 0.3s;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        outline: none;
    }

    .section-sunfarming .sf-play-pause:hover {
        color: var(--sf-orange);
        transform: scale(1.1);
    }

    /* ==========================================================================
       Lightbox Premium
       ========================================================================== */
    .section-sunfarming .sf-lb {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        z-index: 999999;
        justify-content: center;
        align-items: center;
        padding: 20px;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .section-sunfarming .sf-lb::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at center, transparent, rgba(11, 50, 89, 0.3));
        pointer-events: none;
    }

    .section-sunfarming .sf-lb.open {
        display: flex;
        opacity: 1;
    }

    .section-sunfarming .sf-lb-container {
        display: flex;
        align-items: center;
        gap: 30px;
        max-width: 95%;
        max-height: 85%;
        transform: scale(0.9);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2;
    }

    .section-sunfarming .sf-lb.open .sf-lb-container {
        transform: scale(1);
    }

    .section-sunfarming .sf-lb-content {
        position: relative;
        flex-grow: 1;
        display: flex;
        justify-content: center;
    }

    .section-sunfarming .sf-lb-img {
        max-width: 100%;
        max-height: 80vh;
        border-radius: 20px;
        box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.4);
        border: 6px solid #fff;
        object-fit: contain;
    }

    .section-sunfarming .sf-lb-close {
        position: absolute;
        top: -25px;
        right: -25px;
        width: 40px;
        height: 40px;
        background: #fff;
        color: var(--sf-blue);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        cursor: pointer;
        transition: 0.3s;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        z-index: 10;
    }

    @media (min-width: 768px) {
        .section-sunfarming .sf-lb-close {
            top: -30px;
            right: -30px;
            width: 48px;
            height: 48px;
            font-size: 28px;
        }
        .section-sunfarming .sf-lb-img { border-width: 8px; border-radius: 28px; }
    }

    .section-sunfarming .sf-lb-close:hover {
        background: var(--sf-orange);
        color: #fff;
        transform: rotate(90deg) scale(1.1);
    }

    .section-sunfarming .sf-lb-thumbs {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 20px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.5);
    }

    .section-sunfarming .sf-lb-thumb {
        width: 100px;
        height: 70px;
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        border: 3px solid transparent;
        transition: 0.3s;
        opacity: 0.7;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .section-sunfarming .sf-lb-thumb:hover {
        opacity: 1;
        transform: translateX(-5px);
    }

    .section-sunfarming .sf-lb-thumb.active {
        border-color: var(--sf-orange);
        opacity: 1;
        transform: translateX(-10px) scale(1.08);
        box-shadow: 0 10px 20px rgba(242, 107, 33, 0.3);
    }

    .section-sunfarming .sf-lb-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    @media (max-width: 992px) {
        .section-sunfarming .sf-lb-container {
            flex-direction: column;
            gap: 20px;
            width: 100%;
        }
        .section-sunfarming .sf-lb-thumbs {
            flex-direction: row;
            width: auto;
            max-width: 100%;
            justify-content: center;
            overflow-x: auto;
            padding: 15px;
        }
        .section-sunfarming .sf-lb-thumb {
            width: 80px;
            height: 55px;
            flex-shrink: 0;
        }
        .section-sunfarming .sf-lb-thumb:hover { transform: translateY(-5px); }
        .section-sunfarming .sf-lb-thumb.active { transform: translateY(-10px) scale(1.08); }
        .section-sunfarming .sf-lb-close { right: 0; top: -50px; }
    }
