/* Estilos para a seção Exemplo de Lojas */
.novo-teste-section, #exemplo-lojas {
    padding: 60px 0;
    background-color: #12022B;
    position: relative;
    overflow: hidden;
}

/* Esconde a seção em dispositivos móveis */
@media (max-width: 480px) {
    .novo-teste-section, #exemplo-lojas {
        display: none !important;
    }
}

.novo-teste-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.novo-teste-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Estilo base para desktop */
.novo-teste-header h2.section-title,
.novo-teste-header h2[data-translate="exemplo-lojas"] {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #9333EA;
    margin: 0 0 40px 0;
    padding: 0 0 20px 0;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    position: relative;
    text-transform: none;
    width: 100%;
    display: block;
}

/* Linha decorativa abaixo do título */
.novo-teste-header h2.section-title::after,
.novo-teste-header h2[data-translate="exemplo-lojas"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #9333EA;
    border-radius: 3px;
}

.novo-teste-header p {
    color: #fff;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Estilo para o container dos cards - Desktop */
.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
    align-items: flex-start; /* Alinha os itens ao topo */
}

/* Container que envolve cada card + botão */
.card-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

/* Esconde o container de cards no mobile */
@media (max-width: 768px) {
    .cards-container {
        display: none !important;
    }
}

/* Estilo base para os cards */
.card {
    background: #fff;
    border-radius: 12px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(147, 51, 234, 0.2);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 750px; /* Altura mínima aumentada */
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Estilo da imagem do site */
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    /* Garante que a imagem não tenha nenhuma transição ou transformação */
    transition: none !important;
    transform: none !important;
}

/* Container do título e celular */
.title-phone-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

/* Ajuste do título para não quebrar linha */
.title-phone-container h3 {
    margin: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}

/* Container do celular */
.card-phone-container {
    position: absolute;
    right: 0;
    width: 50px !important;    /* Largura reduzida do celular */
    height: 100px !important;  /* Altura reduzida do celular */
    transform: translateX(120%) rotate(15deg) !important;
    transition: transform 0.5s ease !important;
    pointer-events: none !important;
    overflow: visible !important;
}

.phone-image {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Removendo o posicionamento antigo do celular */
#novo-teste .cards-container .card .card-image .card-phone-container,
.novo-teste-section .cards-container .card .card-image .card-phone-container {
    display: none;
}

/* Quando o mouse passa sobre a imagem do site, o celular fica em pé */
.card:hover .card-phone-container {
    transform: translateX(120%) rotate(0deg) !important;
}

/* Estilo da imagem do celular */
.phone-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 3;
    pointer-events: auto; /* Permite interação com o celular */
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
    transform-origin: center bottom; /* Ponto de origem da rotação */
}

/* Garantindo que a imagem do site fique estática */
.card:hover .card-image img {
    transform: none;
}

/* Container do conteúdo inferior do card */
.card-bottom {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #12022B;
    color: #fff;
    position: relative;
    z-index: 2;
    min-height: 350px; /* Altura mínima aumentada */
}

/* Botão de ação para desktop */
.desktop-action-button {
    display: block;
    background-color: #9333EA; /* Cor roxa */
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px auto 0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 80%;
    max-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    order: 2; /* Garante que o botão fique abaixo do card */
}

.desktop-action-button:hover {
    background-color: #10b981; /* Cor verde */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Container para o botão e mensagem */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 15px;
}

/* Estilo para a mensagem de senha */
.password-request {
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    opacity: 0.9;
    width: 100%;
    order: 2; /* Garante que fique abaixo do botão */
}

/* Ajuste para o botão dentro do container */
.button-container .desktop-action-button {
    order: 1;
    margin: 0 auto; /* Centraliza o botão */
}

/* Ajuste para garantir que o conteúdo do card ocupe todo o espaço disponível */
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content p {
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Ajuste para garantir que o card-bottom ocupe todo o espaço vertical */
.card-bottom {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card h3 {
    color: #9333EA; /* Letras lilás */
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #9333EA;
    border-radius: 2px;
}

.card-content {
    padding-top: 10px;
}

.card-content p {
    margin: 15px 0 0 0;
    color: #ffffff; /* Texto branco */
    font-size: 1rem;
    line-height: 1.7;
    flex: 1;
    padding: 0 10px;
}

.card-content {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 10px;
    margin-top: 10px;
}

.card-content::-webkit-scrollbar {
    width: 6px;
}

.card-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.card-content::-webkit-scrollbar-thumb {
    background: #9333EA;
    border-radius: 3px;
}

.card-content::-webkit-scrollbar-thumb:hover {
    background: #7e22ce;
}

/* Estilos para o carrossel em dispositivos móveis movidos para carrossel-mobile.css */

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #9333EA;
}

/* Estilos para desktop */
@media (min-width: 1201px) {
    /* Forçando posicionamento do celular */
    #novo-teste .cards-container .card .card-image .card-phone-container,
    .novo-teste-section .cards-container .card .card-image .card-phone-container {
        position: absolute !important;
        bottom: -20px !important;  /* Ajustado para descer mais */
        right: 20px !important;    /* Ajustado para ir mais para a direita */
        width: 85px !important;
        height: 170px !important;
        z-index: 3 !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: rotate(15deg) !important;
    }
    .cards-container {
        display: none;
    }
    
    .novo-teste-section .carrossel-container {
        display: block !important;
        overflow: hidden;
        height: auto;
        padding: 0 5px;
        position: relative;
    }
    
    .novo-teste-section .card-phone-container {
        width: 85px !important;
        height: 170px !important;
        bottom: -20px !important;  /* Ajustado para descer mais */
        right: 20px !important;    /* Ajustado para ir mais para a direita */
    }
    
    @media (min-width: 481px) and (max-width: 768px) {
        .novo-teste-section .card-phone-container {
            width: 85px !important;
            height: 170px !important;
            bottom: 30px !important;
            right: 90px !important;
        }
        
        .card-image {
            height: 380px;
        }
        
        .card-bottom {
            min-height: 350px;
        }
        
        .novo-teste-section .card {
            min-height: 620px;
        }
    }
    
    /* Estilos do carrossel movidos para carrossel-mobile.css */
    
    .novo-teste-section .card {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        min-height: 580px;
        display: flex;
        flex-direction: column;
        background: #fff;
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        position: relative;
    }
    
    .card-phone-container {
        width: 85px !important;
        height: 170px !important;
        bottom: 30px !important;
        right: 90px !important;
    }
    .card-image {
        margin-top: -20px; /* Menos sobreposição em telas menores */
    }
}

@media (min-width: 1201px) {
    .novo-teste-section .card-phone-container {
        bottom: 30px !important;
        right: 90px !important;
        width: 85px !important;
        height: 170px !important;
    }
    
    .card-image {
        height: auto;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .novo-teste-section .card-phone-container {
        bottom: 30px !important;
        right: 90px !important;
        width: 85px !important;
        height: 170px !important;
    }
    
    .card-image {
        height: auto;
    }
}

@media (min-width: 769px) {
    /* Estilos do carrossel movidos para carrossel-mobile.css */
    
    .cards-container {
        display: flex;
        gap: 30px;
        justify-content: center;
        margin: 40px auto 0;
        max-width: 1200px;
        padding: 0 20px;
    }
    
    .card {
        flex: 1;
        min-width: 0;
        max-width: 380px;
        position: relative;
    }
    
    .card-phone-container {
        bottom: 30px !important;
        right: 90px !important;
        width: 85px !important;
        height: 170px !important;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 768px) {
    .novo-teste-section {
        padding: 40px 15px;
    }
    
    .novo-teste-container {
        max-width: 400px;
        margin: 0 auto;
        padding: 0 10px;
    }
}

/* Estilos para desktop */
@media (min-width: 481px) {
    .exemplo-desktop {
        font-size: 2.5rem !important;
        margin-bottom: 15px !important;
    }
}

/* Estilos para mobile */
@media (max-width: 480px) {
    .novo-teste-section {
        padding: 30px 10px;
    }
    
    /* Título seguindo o padrão mobile */
    #novo-teste .novo-teste-header h2.section-title,
    #novo-teste .novo-teste-header h2[data-translate="exemplo-lojas"] {
        font-size: 1.6rem !important; /* Tamanho padrão para mobile */
        margin: 0 0 20px 0 !important; /* Margem inferior padrão */
        padding: 0 0 15px 0 !important; /* Espaço para a linha decorativa */
        color: #9333EA !important; /* Cor roxa padrão */
        text-align: center !important;
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        position: relative !important;
        display: block !important;
        width: 100% !important;
        text-transform: none !important; /* Garante que não há transformação de texto */
        /* Reset de qualquer estilo que possa estar sobrescrevendo */
        font-style: normal !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
    }
    
    /* Linha decorativa abaixo do título */
    #novo-teste .novo-teste-header h2.section-title::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 80px !important;
        height: 3px !important;
        background: #9333EA !important;
        border-radius: 3px !important;
    }
    
    .novo-teste-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .card-phone-container {
        width: 85px !important;
        height: 170px !important;
        right: 90px !important;
        bottom: 30px !important;
    }
    
    .card {
        margin: 0;
    }
    
    .card-image {
        height: auto;
    }
    
    .card-bottom {
        padding: 15px;
        min-height: 320px; /* Altura mínima para mobile */
    }
    
    /* Ajustes adicionais para telas muito pequenas */
    @media (max-width: 360px) {
        .card-phone-container {
            width: 85px !important;
            height: 170px !important;
            right: 90px !important;
            bottom: 30px !important;
        }
        
        .card-image { height: auto; }
        .card-bottom { min-height: 300px; }
        .novo-teste-section .card { min-height: 520px; }
    }
    
    .card h3 {
        margin: 0 0 10px 0;
        font-size: 1.3rem;
        color: #9333EA; /* Letras lilás */
        font-weight: 600;
    }
    
    .card p {
        font-size: 0.95rem;
        color: #ffffff; /* Texto branco para mobile */
    }
    
    /* Estilos antigos removidos */
    
    .card {
        padding: 20px;
    }
}
