/*
Theme Name: Rohmes Dobras - Lançamento (Bootstrap)
Theme URI: https://rohmes.com.br
Author: Seu Nome / Empresa
Author URI: https://seuwebsite.com
Description: Landing page de lançamento construída com Bootstrap 5.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rohmes-dobras
Tags: bootstrap, custom-background, dark-mode
*/

/*
 * [NOVA REGRA PARA CORRIGIR GAPS E FUNDOS ENTRE SEÇÕES]
 * Garante que a cor de fundo seja uniforme e que não haja gaps que revelem
 * o fundo do body, que pode ter uma cor ligeiramente diferente.
 */


/* Exemplo de como forçar a cor nas seções se a diferença for na cor, e não no gap: */
/*
.sua-section-acima, .sua-section-abaixo {
    background-color: #1a1a1a !important; 
}
*/

/* WhatsApp badge styles moved from index.php */
.wp-whatsapp-img {
	max-width: 360px; /* ajuste conforme a necessidade */
	width: 100%;
	height: auto;
	display: inline-block;
}
.whatsapp-badge { margin: 0.5rem 0; }
.whatsapp-fallback {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0.75rem;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(37,211,102,0.10), rgba(37,211,102,0.06));
	text-decoration: none;
	color: #ffffff;
}
.whatsapp-circle {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:48px;
	height:48px;
	border-radius:50%;
	background:transparent;
}
.whatsapp-label { color:#0f1724; text-align:left; line-height:1; }
.whatsapp-label strong { display:block; font-size:0.95rem; color:#0b3a24; }
.whatsapp-label small { display:block; font-size:0.75rem; color:#0b3a24; opacity:0.85; }
@media (max-width:480px) {
	.whatsapp-fallback { gap:0.5rem; padding:0.4rem; }
	.whatsapp-circle { width:40px; height:40px; }
}

.video-slide-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-slide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.video-slide-item:hover .video-overlay {
    opacity: 1 !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet-active {
    background: #3b82f6;
}

/* ==========================================
   ESTILOS DO SWIPER - SEÇÃO DEPOIMENTOS
   ========================================== */

/* Container principal do Swiper */
.nossos-clientes-swiper {
    width: 100%;
    padding-bottom: 60px !important; /* Espaço para paginação */
    margin-top: 40px;
    overflow: hidden; /* Importante para o Swiper funcionar */
}

/* Wrapper dos slides - ESSENCIAL para funcionamento */
.nossos-clientes-swiper .swiper-wrapper {
    display: flex !important; /* Força layout flex */
    align-items: stretch;
    transition-timing-function: linear;
}

/* Cada slide individual */
.nossos-clientes-swiper .swiper-slide {
    flex-shrink: 0; /* Impede que os slides encolham */
    width: 100%; /* Será ajustado pelo Swiper JS */
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container do vídeo */
.video-slide-item {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    aspect-ratio: 16 / 9;
    display: block;
    cursor: pointer;
}

.video-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-slide-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* Overlay do vídeo */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: all 0.3s ease;
}

.video-slide-item:hover .video-overlay {
    background: rgba(0, 0, 0, 0.65);
}

/* Ícone de play */
.video-overlay-play-icon {
    font-size: 4rem;
    color: #fff;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.video-slide-item:hover .video-overlay-play-icon {
    color: #8fa6c9;
    transform: scale(1.15);
}

/* Texto do overlay */
.video-overlay-text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* ===========================================
   PAGINAÇÃO (DOTS) - ESTILIZAÇÃO
   =========================================== */

/* Contêiner da Paginação (para posicionamento e centralização) */
.swiper-pagination-nossos-clientes {
    position: relative; /* Garante que fique no fluxo normal */
    margin-top: 30px; /* Adiciona espaçamento superior */
    text-align: center;
}

/* Estilo Base do Dot */
.swiper-pagination-nossos-clientes .swiper-pagination-bullet {
    width: 22px;
    height: 22px;
    background: #6c757d;
    opacity: 0.6;
    transition: all 0.3s ease;
    margin: 0 6px !important;
}

/* Estilo do Dot Ativo (Slide Atual) */
.swiper-pagination-nossos-clientes .swiper-pagination-bullet-active {
    background: #ffffff;
    opacity: 1;
    transform: scale(1.2);
}

/* Estilo Hover (Efeito Elegante) */
.swiper-pagination-nossos-clientes .swiper-pagination-bullet:not(.swiper-pagination-bullet-active):hover {
    /* Cor de pré-seleção */
    background: #007bff; /* Usa a mesma cor viva */
    opacity: 0.85; /* Mais visível que o inativo */
    
    /* Efeito de zoom no hover */
    transform: scale(1.1); 
    cursor: pointer;
}

/* ==========================================
   SEÇÃO DEPOIMENTOS - CONTAINER
   ========================================== */

.depoimentos {
    padding: 0px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0), rgba(0, 0, 0));
    position: relative;
    overflow: hidden;
}

.depoimentos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 70%);
    pointer-events: none;
}

/* ==========================================
   SEÇÃO CLIENTES (MARQUEE)
   ========================================== */
.clientes {
    padding: 50px 0;
    background: transparent;
    overflow: hidden;
    /* Adiciona posicionamento relativo para o efeito, se necessário */
    position: relative; 
}

/* Aplica o efeito de máscara ao contêiner da rolagem */
.clientes-marquee {
    width: 100%;
    white-space: nowrap;
    
    /* 💡 CÓDIGO DA MÁSCARA (FADE) */
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,      /* Totalmente transparente (esquerda) */
        rgba(0, 0, 0, 1) 10%,     /* Transição para opaco */
        rgba(0, 0, 0, 1) 90%,     /* Opaque no centro */
        rgba(0, 0, 0, 0) 100%     /* Transição para transparente (direita) */
    );
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 1) 10%, 
        rgba(0, 0, 0, 1) 90%, 
        rgba(0, 0, 0, 0) 100%
    );
}

.clientes-track {
    display: flex;
    animation: marquee-roll 40s linear infinite;
}

.cliente-logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    flex-shrink: 0;
    width: 180px;
    height: 80px;
    /* FILTRO MODIFICADO PARA BRANCO */
    filter: grayscale(100%) brightness(10); 
    transition: filter 0.3s ease;
}



.cliente-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes marquee-roll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */

@media (max-width: 768px) {
    .depoimentos h2 {
        font-size: 1.8rem;
    }
    
    .video-overlay-text {
        font-size: 1rem;
    }
    
    .video-overlay-play-icon {
        font-size: 3rem;
    }
    
    .nossos-clientes-swiper {
        padding-bottom: 50px !important;
    }
    
    .cliente-logo {
        width: 120px;
        height: 60px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .depoimentos h2 {
        font-size: 1.5rem;
    }
    
    .video-slide-item {
        border-radius: 8px;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px !important;
    }
    
    .swiper-pagination-bullet-active {
        width: 12px;
        height: 12px;
    }
}