/* Seção Interativa */
.interactive-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('../images/section-bg.png') center center/cover no-repeat;
    padding: 4rem 0 0 0;
    margin-top: 0;
    z-index: 1;
}

header.fixed {
    z-index: 9999 !important;
}

.interactive-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/section-bg.png') center center/cover no-repeat;
    opacity: 0.9;
}

.interactive-container {
    position: relative;
    z-index: 10;
    margin: 0 auto;
    padding: 0 2rem;
}

.image-area {
    position: relative;
    width: 100%;
    height: 80vh;
    background: transparent;
    z-index: 1;
    overflow: hidden;
}

.image-container {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
    background: transparent;
}

.main-image {
    width: 100%;
    height: 90%;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
    border-radius: 15px 15px 0 0;
    box-shadow: none;
    background: transparent;
}

.image-fade-in {
    opacity: 1;
    transform: scale(1);
}

.image-fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.glass-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    width: 100%;
    max-width: 500px;
    margin: 2rem auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
    transform: translateX(-10rem);
}

.glass-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: black;
    text-align: center;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.features-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    width: 100%;
}

/* Primeira linha - 3 cards */
.features-row-1 {
    width: 100%;
}

.features-row-1 .feature-card {
    width: 100%;
}

/* Segunda linha - 2 cards centralizados */
.features-row-2 {
    width: 100%;
}

.features-row-2 .feature-card {
    width: 100%;
}

.feature-card {
    background: #F7F7F7;
    box-shadow: 0 3px 8px 1.5px rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    padding: 1.2rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-height: 120px;
    justify-content: center;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-image {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex: none;
}

.feature-png {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-png {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%) scale(1.1);
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex: none;
}

.feature-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #7A34F3;
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}



@media (max-width: 1200px) {
    .interactive-section {
        min-height: 60vh;
    }
    
    .image-area {
        height: 60vh;
        width: 100%;
        position: relative;
    }
    
    .glass-container {
        position: relative;
        min-width: 350px;
        max-width: 350px;
        width: 350px;
        margin: 2rem auto 0 auto;
        padding: 1rem 1.2rem 1.8rem 1.2rem;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        border-radius: 1.2rem;
        z-index: 10;
    }
    
    .main-image {
        width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: bottom center;
        border-radius: 1rem;
    }
    
    .glass-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .features-grid {
        gap: 0.6rem;
        margin-top: 0.8rem;
    }
    
    .feature-card {
        width: 90px;
        height: 90px;
        min-width: 90px;
        max-width: 90px;
        min-height: 90px;
        max-height: 90px;
        padding: 0.6rem;
    }
    
    .feature-image {
        width: 28px;
        height: 28px;
        margin-bottom: 0.4rem;
    }
    
    .feature-content {
        font-size: 0.7rem;
        line-height: 1.1;
    }
}

@media (max-width: 992px) {
    .glass-container {
        transform: none;
    }
}

@media (max-width: 768px) {
    .interactive-section {
        padding: 3rem 0;
        min-height: 70vh;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 0;
        padding-top: 60px;
    }
    
    .interactive-container {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    
    .image-area {
        position: relative;
        left: auto;
        width: 100%;
        height: 60vh;
        margin-bottom: 0;
        order: 1;
        display: block;
        overflow: hidden;
    }
    
    .main-image {
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 0;
        display: block;
    }
    
    .glass-container {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: 80%;
        max-width: 350px;
        min-width: 280px;
        margin: 1rem auto 0 auto;
        order: 2;
        padding: 0.8rem 1rem;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(5px);
        border-radius: 0.8rem;
        box-sizing: border-box;
        transform: translateY(-2rem);
    }
    
    .features-row-1,
    .features-row-2 {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
    }
    
    /* Forçar o layout em 2 linhas sobrescrevendo o Bootstrap */
    .features-row-1 .col-4,
    .features-row-2 .col-4 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
    }
    
    .features-row-1 .feature-card {
        width: 80px;
        height: 80px;
        min-width: 80px;
        max-width: 80px;
        min-height: 80px;
        max-height: 80px;
    }
    
    .features-row-2 .feature-card {
        width: 80px;
        height: 80px;
        min-width: 80px;
        max-width: 80px;
        min-height: 80px;
        max-height: 80px;
    }
    
    .glass-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .features-grid {
        gap: 0.4rem;
        margin-top: 0.5rem;
    }
    
    .feature-card {
        padding: 0.3rem 0.2rem;
        gap: 0.2rem;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(5px);
        min-height: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .feature-image {
        width: 30px;
        height: 30px;
        flex: none;
    }
    
    .feature-content {
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.1rem;
    }
    
    .feature-title {
        font-size: 0.7rem;
        line-height: 1.1;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .interactive-section {
        padding: 2rem 0.5rem;
        min-height: 60vh;
        margin-top: 0;
        padding-top: 60px;
    }
    
    .image-area {
        height: 45vh;
    }
    
    .glass-container {
        width: 85%;
        max-width: 320px;
        min-width: 260px;
        padding: 0.6rem 0.5rem;
        margin: 0.8rem auto 0 auto;
        transform: translateY(-1.5rem);
    }
    
    .glass-title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .features-grid {
        gap: 0.3rem;
        margin-top: 0.4rem;
    }
    
    .features-row-1,
    .features-row-2 {
        gap: 0.2rem;
    }
    
    /* Forçar o layout em 2 linhas sobrescrevendo o Bootstrap */
    .features-row-1 .col-4,
    .features-row-2 .col-4 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
    }
    
    .features-row-1 .feature-card {
        width: 65px;
        height: 70px;
        min-width: 65px;
        max-width: 65px;
        min-height: 70px;
        max-height: 70px;
        padding: 0.2rem 0.1rem;
    }
    
    .features-row-2 .feature-card {
        width: 65px;
        height: 70px;
        min-width: 65px;
        max-width: 65px;
        min-height: 70px;
        max-height: 70px;
        padding: 0.2rem 0.1rem;
    }
    
    .feature-image {
        width: 25px;
        height: 25px;
    }
    
    .feature-title {
        font-size: 0.6rem;
    }
}

/* Media query para 360px removido - desnecessário */
