/* Container geral */
#resultados {
    background-color: #f4f4f4;
    padding: 30px 0;
    text-align: center;

    .img-background,
    .img-foreground {
        margin-left: -5px;
    }


}

#resultados2 {
    background-color: #fff;
    padding: 30px 0;
    text-align: center;

    .results-header {
        background-image: linear-gradient(220deg, #051e57 0%, #6115AC 100%);
    }

    .img-background {
        margin-left: -14px
    }


}

.container_resultados {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: auto;
    gap: 16px;
    flex-wrap: initial;
    justify-content: initial;
    width: 100%;
}

.div-header-r {
    text-align: center;
}

.header-r {
    /* Define o gradiente exatamente como você enviou */
    background: linear-gradient(250deg, #051e57 -20%, #6115AC 100%);

    /* Faz o fundo "clippar" (cortar) no formato das letras */
    -webkit-background-clip: text;
    background-clip: text;

    /* Torna o preenchimento do texto transparente para o fundo aparecer */
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* Estilos adicionais para destaque */
    font-weight: bold;
    font-size: 2.5rem;
    /* Ajuste conforme necessário */

    @media (max-width: 400px) {
        font-size: 32px;
    }
}

.header-r-text {

    /* Define o gradiente exatamente como você enviou */
    background: linear-gradient(250deg, #051e57 -20%, #6115AC 100%);

    /* Faz o fundo "clippar" (cortar) no formato das letras */
    -webkit-background-clip: text;
    background-clip: text;

    /* Torna o preenchimento do texto transparente para o fundo aparecer */
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* Estilos adicionais para destaque */
    font-weight: bold;

}

.comparison-slider-container {
    max-width: 885px;
    width: 100%;
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #f4f4f4;
    /* Fundo caso a imagem demore a carregar */
    height: 380px;
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 380px;
    /* Altura fixa ou ajuste conforme proporção da imagem */
    overflow: hidden;
}

/* Configuração das Imagens (usando background-image para melhor controle) */
.img-background,
.img-foreground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat;
}

/* O Wrapper que corta a imagem da esquerda */
.img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Etiquetas (Labels) "Com/Sem Mamba" */
.slider-label {
    position: absolute;
    top: 20px;
    padding: 8px 20px;
    background-color: #000080;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    /* Fonte similar */
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    /* Bordas arredondadas */
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
    white-space: nowrap;
    z-index: 50;
    /* Garante que fique acima de tudo */
}

.label-left {
    left: 20px;
    /* Canto esquerdo */
}

.label-right {
    right: 20px;
    /* Canto direito da imagem de fundo */
}

/* O Manipulador (Handle) */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    /* Começa no meio */

    cursor: col-resize;
    z-index: 100;
    transform: translateX(-50%);
    /* Centraliza */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* A Linha Vertical Roxa */
.handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #2e004f;
    /* Cor da linha */
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* O Círculo Central */
.handle-circle {
    width: 48px;
    height: 48px;
    background-image: linear-gradient(220deg, #6115AC 0%, #051e57 52%);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
    position: relative;
    z-index: 2;
    transition: transform 0.2s, background-color 0.2s;
}


.slider-handle:hover .handle-circle {
    transform: scale(1.1);

}

.handle-circle::before {
    background-image: url(/assets/img/logo.png);
    background-size: contain;
    /* ou cover */
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    /* ou block */
    width: 100px;
    /* defina um tamanho */
    height: 100px;
    content: "";
    /* necessário para pseudo-elementos */
}

/* Responsividade */
@media (max-width: 768px) {
    #resultados2 {
        .img-background {
            margin-left: -3px
        }
    }

    .container_resultados {
        flex-direction: column-reverse;
        gap: 0;
    }

    .section-icon {
        padding-top: 20px !important;
    }

    .section-icon,
    .results1,
    .results {
        padding: 0 20px;
        text-align: center !important;
    }

    .results {
        padding-bottom: 20px !important;
    }

    .results-header {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .slider-label {
        font-size: 10px;
        padding: 5px 10px;
    }

    .handle-circle {
        width: 36px;
        height: 36px;
    }
}



.results-header {
    background-color: transparent;
    background-image: linear-gradient(220deg, #6115AC 0%, #051e57 100%);
    height: 340px;
    width: 330px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin: 0 auto;
}

.section-icon {
    justify-content: initial;
    display: flex;

}

.results1 {
    font-size: 24px;
    font-weight: 400;
    line-height: 34px;
    letter-spacing: 1px;
    text-align: left;
    margin-bottom: 16px;
}

.results {
    font-size: 16px;
    font-weight: 400;
    text-align: left
}

@media (max-width: 400px) {

    .comparison-slider-container,
    .comparison-slider {
        height: 170px !important;
        /* Altura menor para evitar que a imagem estique */
        margin: 20px auto;
    }
}

/* --------------------Feedback-------------------- */
/* --------------------Feedback-------------------- */
/* --------------------Feedback-------------------- */

/* --- Estilos do Carrossel --- */
#Feedbacks {

    @media (max-width: 768px) {}
}

.Feedbacks-title {
    margin-top: 55px;
    font-family: "Poppins", Sans-serif;
    font-size: 2.5rem;
    line-height: 2.7rem;
    line-height: 32px;
    letter-spacing: 1px;
    color: #FFFFFF;
    padding: 20px 0px 40px;
    text-align: center;
}

/* Container do carrossel */
.carousel-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE e Edge */
    -webkit-overflow-scrolling: touch;
    /* Safari mobile */
    cursor: grab;
}

/* Esconder scrollbar no Chrome, Safari e Opera */
.carousel-container::-webkit-scrollbar {
    display: none;
}

/* Linha dos itens */
.carousel-slide {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 10px 0px;
}

/* Cada item */
.carousel-item {
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* Container da imagem */
.feedback-image {
    position: relative;
    width: 320px;
    height: 350px;
    overflow: hidden;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Imagem */
.feedback-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Efeito hover na imagem */
.feedback-image:hover img {
    transform: scale(1.05);
}

/* Overlay com nome do cliente */
.client-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    color: white;
}

.client-name-overlay h3 {
    margin: 0;
    font-family: "Poppins", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Efeito de arrastar ativo */
.carousel-container:active {
    cursor: grabbing;
}

/* Responsividade */
@media (max-width: 1280px) {
    .carousel-slide {
        gap: 16px;
        padding: 10px;
    }

    .feedback-image {
        width: 280px !important;
        height: 310px !important;
    }

}

@media (max-width: 480px) {
    .feedback-image {
        width: 250px;
        height: 300px;
    }

    .Feedbacks-title {
        font-size: 24px;
        padding: 15px 0px 30px;
    }
}

/* Desabilitar seleção e arraste de imagens no carrossel */
.carousel-container,
.carousel-container * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Desabilitar arraste de imagens */
.carousel-item img,
.feedback-image img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
    /* Esta linha é importante! */
}

/* Container da imagem - agora o clique/arraste é aqui */
.feedback-image {
    position: relative;
    width: 320px;
    height: 350px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: grab;
}

/* Quando estiver arrastando */
.feedback-image:active,
.carousel-container:active .feedback-image {
    cursor: grabbing;
}

/* Imagem (só visual, não interativa) */
.feedback-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Efeito hover no container, não na imagem */
.feedback-image:hover img {
    transform: scale(1.05);
}

/* Estilo base (Mobile - aparecem todos) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 16px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #6115AC;
    transform: scale(1.2);
}

/* Regra para Desktop (> 768px) */
@media (min-width: 769px) {
    .dot-extra {
        display: none;
        /* Esconde os 3 dots do meio */
    }
}