/* TODOS OS ESTILOS DAS PAGINAS*/

        :root {
            --primary-color: #d32f2f;
            --secondary-color: #0d1b2a;
            --accent-gold: #C28E58;
            --bg-portfolio: #FBF9F5;
        }
        body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: #f8f9fa; }
        .navbar-brand { font-weight: 800; color: var(--primary-color) !important; letter-spacing: 0.5px; }
        .hero-section {
            background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1400&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 100px 0;
        }
        .badge-factory { background-color: #ff9800; color: #000; font-weight: 700; }
        
        /* Estilos do Portfólio Dinâmico */
        .portfolio-section { background-color: var(--bg-portfolio); padding: 80px 0; }
        .portfolio-tag {
            font-size: 0.75rem; letter-spacing: 2.5px; text-transform: uppercase;
            color: var(--accent-gold); font-weight: 600; margin-bottom: 12px;
            display: inline-block; border-bottom: 1.5px solid var(--accent-gold); padding-bottom: 4px;
        }
        .portfolio-title {
            font-family: 'Playfair Display', serif; font-size: 2.75rem; font-weight: 700;
            color: var(--secondary-color); margin-bottom: 12px;
        }
        .portfolio-subtitle { font-size: 1rem; color: #6B6762; max-width: 600px; margin: 0 auto; }

        /* Filtros em Pílula */
        .filter-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 40px 0; }
        .filter-btn {
            background-color: #FFFFFF; border: 1px solid #E5E0D8; color: var(--secondary-color);
            padding: 8px 22px; border-radius: 50px; font-size: 0.9rem; font-weight: 500;
            cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.02);
        }
        .filter-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
        .filter-btn.active {
            background-color: var(--secondary-color); color: #FFFFFF;
            border-color: var(--secondary-color); box-shadow: 0 4px 12px rgba(13, 27, 42, 0.15);
        }

        /* Grade de Cards */
        .portfolio-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 24px; max-width: 1200px; margin: 0 auto;
        }
        .portfolio-card {
            background-color: #F4F1EA; border-radius: 16px; overflow: hidden;
            position: relative; aspect-ratio: 4 / 5; display: flex; flex-direction: column;
            justify-content: flex-end; transition: transform 0.4s ease, opacity 0.4s ease;
            box-shadow: 0 6px 18px rgba(0,0,0,0.04);
        }
        .portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 12px 25px rgba(0,0,0,0.08); }
        .portfolio-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
        .card-overlay {
            position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
            background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%); z-index: 1;
        }
        .card-caption {
            position: relative; z-index: 2; padding: 20px;
            background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(8px);
            margin: 12px; border-radius: 10px;
        }
        .card-title { font-size: 0.95rem; font-weight: 600; color: var(--secondary-color); margin: 0 0 2px 0; }
        .card-sub { font-size: 0.75rem; color: #6B6762; margin: 0; }
        .portfolio-card.hidden { display: none; }

        /* Estilo do Carrossel de Clientes */
        .clients-section { background-color: #fff; padding: 50px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
        .client-logo { max-height: 60px; filter: grayscale(100%); opacity: 0.7; transition: 0.3s; }
        .client-logo:hover { filter: grayscale(0%); opacity: 1; }

        .floating-wa {
            position: fixed; 
            bottom: 25px; 
            right: 25px; 
            z-index: 1000;
            background-color: #25d366; 
            color: white; 
            width: 60px; 
            height: 60px;
            border-radius: 50%; 
            display: flex; 
            align-items: center; 
            justify-content: center;
            font-size: 30px; 
            box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
            transition: transform 0.2s;
            
            /* ADICIONE ESTA LINHA PARA TIRAR O TRAÇO */
            text-decoration: none; 
        }

        .floating-wa:hover { 
            transform: scale(1.1); 
            color: white; 
            text-decoration: none; /* Garante que não apareça nem ao passar o mouse */
        }



        /* Estilos Atualizados para prender o carrossel no centro */
        .infinite-carousel-container {
            overflow: hidden;
            width: 100%;
            position: relative;
        }

        /* Efeito de fade suave nas bordinhas esquerda e direita da caixinha */
        .infinite-carousel-container::before,
        .infinite-carousel-container::after {
            content: "";
            position: absolute;
            top: 0;
            width: 50px;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }
        .infinite-carousel-container::before {
            left: 0;
            background: linear-gradient(to right, #f8f9fa, rgba(248,249,250,0));
        }
        .infinite-carousel-container::after {
            right: 0;
            background: linear-gradient(to left, #f8f9fa, rgba(248,249,250,0));
        }

        .infinite-carousel-track {
            display: flex;
            width: max-content;
            animation: scrollMarquee 45s linear infinite; /* Velocidade suave */
        }

        .infinite-carousel-track:hover {
            animation-play-state: paused;
        }

        .carousel-item-card {
            width: 180px; /* Tamanho de cada card dentro da caixa central */
            padding: 0 6px;
            flex-shrink: 0;
        }

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