/* 
   Configuração da Família Tipográfica Byker 
   Diretório de referência: assets/fonts/
*/
@font-face {
    font-family: 'Byker';
    src: url('../fonts/Byker-Regular.woff2') format('woff2'),
         url('../fonts/Byker-Regular.woff') format('woff'),
         url('../fonts/Byker-Regular.ttf') format('truetype');
    font-weight: 400; /* Regular p/ parágrafos e textos */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Byker';
    src: url('../fonts/Byker-ExtraBold.woff2') format('woff2'),
         url('../fonts/Byker-ExtraBold.woff') format('woff'),
         url('../fonts/Byker-ExtraBold.ttf') format('truetype');
    font-weight: 800; /* ExtraBold p/ h1, h2, h3 */
    font-style: normal;
    font-display: swap;
}

/* Smooth Scrolling Nativo */
html {
    scroll-behavior: smooth;
}

/* ============================================
   Google Reviews Card Style
   ============================================ */
.google-review-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.google-review-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* ============================================
   Carrossel Infinito de Logos — Premium
   ============================================ */

/* Wrapper com fade nas bordas (mask) */
.clients-marquee-wrapper {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

/* Container flex do marquee */
.clients-marquee {
    display: flex;
    width: max-content;
    gap: 0;
}

/* Grupo de logos que se repete */
.clients-marquee__group {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
    padding: 0 1rem;
}

/* Direção: esquerda */
.clients-marquee--left .clients-marquee__group {
    animation: marquee-scroll-left 35s linear infinite;
}

/* Direção: direita */
.clients-marquee--right .clients-marquee__group {
    animation: marquee-scroll-right 40s linear infinite;
}

/* Pausa no hover */
.clients-marquee-wrapper:hover .clients-marquee__group {
    animation-play-state: paused;
}

/* Card individual do logo */
.client-logo-card {
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: none;
    transition: all 0.35s ease;
    opacity: 0.75;
    cursor: default;
}

.client-logo-card:hover {
    opacity: 1;
    transform: scale(1.06);
    border-color: rgba(55, 143, 229, 0.25);
    background: #f8fbff;
}

/* Padronização da imagem dentro do card */
.client-logo-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Keyframes */
@keyframes marquee-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes marquee-scroll-right {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Responsivo — Cards menores em mobile */
@media (max-width: 768px) {
    .client-logo-card {
        width: 120px;
        height: 68px;
        padding: 10px 14px;
        border-radius: 12px;
    }

    .clients-marquee__group {
        gap: 1.25rem;
    }

    .clients-marquee--left .clients-marquee__group {
        animation-duration: 25s;
    }
    
    .clients-marquee--right .clients-marquee__group {
        animation-duration: 30s;
    }
}
