.no-scroll {
    overflow: hidden;
}

.header-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.main-header {
    transition: transform 0.3s ease-in-out;
}

/* Estilos para a seção Hero (parts/1.php) */
.hero-section {
    display: flex;
    justify-content: space-between; /* Alinha o conteúdo nas extremidades */
    align-items: center;
    padding: 80px 20px;
    background-color: #ffffff; /* Fundo branco */
    color: #333333; /* Cor do texto mais escura para contraste */
    min-height: 100vh; /* Ocupa a altura total da viewport */
    flex-wrap: wrap; /* Permite que os itens quebrem a linha em telas menores */
    gap: 40px; /* Espaçamento entre os itens */
}

.hero-content {
    flex: 1; /* Permite que o conteúdo cresça e diminua */
    max-width: 50%; /* Mantém uma largura máxima, mas permite flexibilidade */
    text-align: left; /* Alinhar texto à esquerda */
    margin-right: 0; /* Remove fixed margin-right, usa gap */
}

.hero-title { /* Aplicado ao h1 */
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #333; /* Cor do texto padrão */
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.highlight-text {
    color: #11ee46;
}

.text-primary {
    color: #00f339 !important;
}

.btn-neon {
    background-color: #11ee46; /* Cor de botão primária */
    color: #000; /* Alterado para contraste com o verde */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-neon:hover {
    background-color: #0dbe38; /* Um tom mais escuro para o hover */
}

.hero-image {
    flex: 1; /* Permite que a imagem cresça e diminua */
    max-width: 40%; /* Mantém uma largura máxima, mas permite flexibilidade */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: none; /* Remover sombra da imagem */
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center; /* Manter centralizado em telas menores */
    }

    .hero-content, .hero-image {
        max-width: 100%; /* Ocupa a largura total em telas menores */
        margin-right: 0;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .main-header .navbar-brand img {
        height: 30px; /* Reduz o tamanho do logo em mobile */
    }

    .main-header .brand-text {
        font-size: 1em; /* Reduz o tamanho do texto 'Prisma Cell' em mobile */
    }

    .main-header .navbar {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

/* Estilos para o brand-text no header */
.brand-text {
    font-size: 1.2em; /* Ajustado para 1.5em para corresponder à intenção original */
    font-weight: 800;
    color: #333; /* Cor padrão para o texto */
    font-family: 'Arial', sans-serif; /* Exemplo de fonte diferente, pode ser ajustado */
}

.green-text {
    color: #11ee46; /* Cor verde para 'CELL' */
}

/* Estilos para a seção de produtos (parts/2.php) */
.products-gallery {
    padding: 60px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.products-gallery h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
}

.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px; /* Espaço para a barra de rolagem */
}

/* Esconder a barra de rolagem para navegadores baseados em WebKit */
.gallery-container::-webkit-scrollbar {
    display: none;
}

/* Esconder a barra de rolagem para Firefox */
.gallery-container {
    scrollbar-width: none;
}

.product-card {
    flex: 0 0 auto; /* Não permite que os cards diminuam ou cresçam */
    width: 280px; /* Largura fixa para cada card */
    margin: 0 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent; /* Borda transparente inicial */
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: #11ee46; /* Borda verde no hover */
}

.product-card img {
    max-width: 100%;
    height: 200px; /* Altura fixa para as imagens */
    object-fit: contain; /* Garante que a imagem se ajuste sem cortar */
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
    min-height: 40px; /* Garante altura mínima para parágrafos */
}

.btn-neon-small {
    background-color: #11ee46;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-neon-small:hover {
    background-color: #0dbe38;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5em;
    border-radius: 5px;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Responsividade para a galeria de produtos */
@media (max-width: 768px) {
    .products-gallery h2 {
        font-size: 2em;
    }

    .product-card {
        width: 250px; /* Ajusta largura do card para telas menores */
        margin: 0 10px;
    }

    .carousel-btn {
        padding: 8px 12px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .products-gallery {
        padding: 40px 10px;
    }

    .product-card {
        width: 90%; /* Ocupa quase toda a largura em telas muito pequenas */
        margin: 0 auto 20px auto; /* Centraliza e adiciona margem inferior */
        float: none; /* Remove float para centralizar */
    }

    .gallery-container {
        flex-direction: column; /* Empilha os cards verticalmente */
        align-items: center;
    }

    .carousel-btn {
        display: none; /* Esconde botões de navegação em telas muito pequenas */
    }
}

/* Estilos para o carrossel de produtos mobile */
#productCarouselMobile .carousel-item {
    padding: 20px;
}

#productCarouselMobile .product-card {
    width: 100%; /* Ocupa a largura total do item do carrossel */
    margin: 0; /* Remove margens extras */
}

/* Ocultar botões de navegação padrão do carrossel mobile em telas maiores */
@media (min-width: 768px) {
    #productCarouselMobile .carousel-control-prev,
    #productCarouselMobile .carousel-control-next {
        display: none;
    }
}

/* Estilos para a seção de diferenciais (parts/3.php) */
#diferenciais {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.diferencial-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%; /* Garante que todos os cards tenham a mesma altura */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.diferencial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #11ee46, #0dbe38) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.5s ease;
    opacity: 0; /* Começa invisível */
}

.diferencial-card:hover::before {
    opacity: 1; /* Fica visível no hover */
    animation: neon-border-flicker 1.5s infinite alternate; /* Animação neon */
}

@keyframes neon-border-flicker {
    0%, 100% {
        border-color: #11ee46;
        box-shadow: 0 0 5px #11ee46, 0 0 10px #11ee46, 0 0 15px #11ee46;
    }
    50% {
        border-color: #0dbe38;
        box-shadow: 0 0 3px #0dbe38, 0 0 8px #0dbe38, 0 0 12px #0dbe38;
    }
}


.diferencial-card i {
    font-size: 3em;
    color: #11ee46;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

#section4 .card h3.counter {
    color: #00f339; /* Nova cor para os números com animação */
}

.diferencial-card:hover i {
    transform: scale(1.1);
}

/* Estilos para o preloader de vídeo */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Fundo preto para o vídeo */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

#preloader video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo cubra toda a área */
}

#main-wrapper {
    display: none; /* Esconde o conteúdo principal inicialmente */
}

/* Responsividade para o vídeo de introdução */
@media (max-width: 768px) {
    #preloader video {
        object-fit: contain; /* Ajusta o vídeo para caber na tela em dispositivos móveis */
    }
}

/* Estilos para a seção de experiência do cliente (parts/3.php) */
#customer-experience {
    background-image: url('../img/secao3.png'); /* Imagem de fundo restaurada */
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */ /* Efeito parallax removido */
    background-color: #333; /* Mantém a cor de fundo caso a imagem não carregue */
    color: #fff; /* Cor do texto padrão para contraste com o fundo */
    padding: 80px 0;
}

#customer-experience .neon-text {
    color: var(--neon-green); /* Cor neon verde para o título */
    text-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green), 0 0 15px var(--neon-green);
}

.video-player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    background-color: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.video-player-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1;
}

.video-player-container.playing .play-button-overlay {
    opacity: 0;
    visibility: hidden;
}

.play-button-overlay i {
    font-size: 4em;
    color: var(--neon-green); /* Cor neon verde para o botão de play */
    transition: transform 0.3s ease;
    text-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green), 0 0 15px var(--neon-green);
}

.play-button-overlay:hover i {
    transform: scale(1.1);
}

#customer-experience p {
    color: #eee; /* Cor do texto do parágrafo para contraste */
}

/* Responsividade para o player de vídeo */
@media (max-width: 768px) {
    .video-player-container {
        padding-bottom: 75%; /* Proporção 4:3 para mobile, pode ser ajustado */
    }

    .play-button-overlay i {
        font-size: 3em;
    }
}

.diferencial-card h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

.diferencial-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
}

/* Responsividade para a seção de diferenciais */
@media (max-width: 768px) {
    #diferenciais {
        padding: 60px 0;
    }

    .diferencial-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .diferencial-card h3 {
        font-size: 1.5em;
    }

    .diferencial-card p {
        font-size: 0.9em;
    }
}

/* Estilos para o preloader de vídeo */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Fundo preto para o vídeo */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#preloader video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo cubra toda a área */
}

#main-wrapper {
    display: none; /* Esconde o conteúdo principal inicialmente */
}

/* Estilos para a seção de diferenciais (parts/3.php) */
#diferenciais {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.diferencial-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%; /* Garante que todos os cards tenham a mesma altura */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.diferencial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #11ee46, #0dbe38) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.5s ease;
    opacity: 0; /* Começa invisível */
}

.diferencial-card:hover::before {
    opacity: 1; /* Fica visível no hover */
    animation: neon-border-flicker 1.5s infinite alternate; /* Animação neon */
}

@keyframes neon-border-flicker {
    0%, 100% {
        border-color: #11ee46;
        box-shadow: 0 0 5px #11ee46, 0 0 10px #11ee46, 0 0 15px #11ee46;
    }
    50% {
        border-color: #0dbe38;
        box-shadow: 0 0 3px #0dbe38, 0 0 8px #0dbe38, 0 0 12px #0dbe38;
    }
}


.diferencial-card i {
    font-size: 3em;
    color: #11ee46;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.diferencial-card:hover i {
    transform: scale(1.1);
}

.diferencial-card h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

.diferencial-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
}

/* Responsividade para a seção de diferenciais */
@media (max-width: 768px) {
    #diferenciais {
        padding: 60px 0;
    }

    .diferencial-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .diferencial-card h3 {
        font-size: 1.5em;
    }

    .diferencial-card p {
        font-size: 0.9em;
    }
}
/* Estilos para a seção de experiência da Prisma Cell (parts/4.php) */
#section4 {
    background-color: #f0f2f5;
    padding: 80px 0;
}

/* Estilos para a seção de depoimentos (parts/5.php) */
#testimonials-section {
    background-color: #f8f8f8;
    padding: 80px 0;
}

#section4 h2 {
    font-size: 2.8em;
    color: #333;
    margin-bottom: 50px;
    font-weight: bold;
}

#section4 .card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#section4 .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#section4 .card h3 {
    color: #11ee46;
    font-weight: bold;
}

#section4 .card p {
    color: #666;
    font-size: 1.1em;
}

/* Estilos para o carrossel de depoimentos */
#testimonialsCarousel .carousel-item {
    padding: 20px;
}

#testimonialsCarousel .card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-align: left;
    min-height: 200px; /* Garante altura mínima para os cards */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#testimonialsCarousel .card img {
    border: 2px solid #11ee46;
}

#testimonialsCarousel .carousel-control-prev-icon,
#testimonialsCarousel .carousel-control-next-icon {
    background-color: #11ee46;
    border-radius: 50%;
    padding: 10px;
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    width: 5%; /* Ajusta a largura dos botões de controle */
}

@media (max-width: 768px) {
    #section4 h2 {
        font-size: 2em;
    }

    #section4 .card h3 {
        font-size: 2.5em;
    }

    #section4 .card p {
        font-size: 1em;
    }

    #testimonialsCarousel .carousel-control-prev,
    #testimonialsCarousel .carousel-control-next {
        width: 10%;
    }
}

/* Estilos para os cards de depoimento (parts/5.php) */
.testimonial-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Garante que os cards tenham altura igual */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    margin-bottom: 15px;
}

.testimonial-photo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid #11ee46;
}

.testimonial-header h5 {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

.testimonial-header p {
    font-size: 0.9em;
    color: #666;
}

.testimonial-card .video-player-container {
    padding-bottom: 177.77%; /* Proporção 9:16 para vídeos de depoimento */
    margin-bottom: 15px;
    border-radius: 8px;
}

.testimonial-video {
    object-fit: contain; /* Garante que o vídeo se ajuste sem cortar */
}

.testimonial-text {
    text-align: left;
}

.testimonial-text img {
    border: 2px solid #11ee46;
}

.toggle-testimonial-content {
    background-color: #11ee46;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.toggle-testimonial-content:hover {
    background-color: #0dbe38;
}

@media (min-width: 992px) { /* Desktop */
    #testimonials-section .col-lg-3 {
        width: 25%; /* 4 colunas */
    }
}

/* Estilos para o carrossel de depoimentos desktop (customizado) */
.gallery-container-testimonials {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
}

.gallery-container-testimonials::-webkit-scrollbar {
    display: none; /* WebKit */
}

.testimonial-card-item {
    flex: 0 0 auto;
    width: 300px; /* Largura fixa para cada card de depoimento */
    margin: 0 15px;
}

.prev-btn-testimonials,
.next-btn-testimonials {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5em;
    border-radius: 5px;
}

.prev-btn-testimonials {
    left: 10px;
}

.next-btn-testimonials {
    right: 10px;
}

/* Responsividade para o carrossel de depoimentos desktop */
@media (max-width: 768px) {
    .testimonial-card-item {
        width: 250px;
        margin: 0 10px;
    }

    .prev-btn-testimonials,
    .next-btn-testimonials {
        padding: 8px 12px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .testimonial-card-item {
        width: 90%;
        margin: 0 auto 20px auto;
    }

    .gallery-container-testimonials {
        flex-direction: column;
        align-items: center;
    }

    .prev-btn-testimonials,
    .next-btn-testimonials {
        display: none;
    }
}
/* Estilos para a seção "Aceitamos seu celular na troca" */
.trade-in-feature {
    transition: all 0.5s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
}

.trade-in-feature.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trade-in-feature:nth-child(1).is-visible {
    animation: fadeIn 0.8s ease-out forwards;
}

.trade-in-feature:nth-child(2).is-visible {
    animation: fadeIn 0.8s ease-out forwards 0.2s; /* Atraso para o segundo card */
}

.trade-in-feature:nth-child(3).is-visible {
    animation: fadeIn 0.8s ease-out forwards 0.4s; /* Atraso para o terceiro card */
}

#productOffcanvas .btn-primary {
    background-color: #11ee46 !important;
    border-color: #11ee46 !important;
    color: #000 !important;
}

#productOffcanvas .btn-primary:hover {
    background-color: #0dbe38 !important;
    border-color: #0dbe38 !important;
}

/* Estilos para os ícones de navegação do carrossel de produtos mobile */
#productCarouselMobile .carousel-control-prev-icon,
#productCarouselMobile .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2311ee46'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
    background-color: transparent; /* Remove o fundo padrão, se houver */
}

/* Ajuste para o ícone "next" */
#productCarouselMobile .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2311ee46'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}