/* =========================================
   DESIGN SYSTEM - ΛBITΛ (Quiet Luxury)
   ========================================= */
   :root {
    /* Colors */
    --bg-light: #F5F5F7;          
    --bg-dark: #1A1A1A;           
    --accent: #4A5340;            
    --accent-hover: #3a4232;
    
    --text-dark: #1D1D1F;
    --text-muted: #86868B;
    --text-light: #FFFFFF;
    --text-light-muted: rgba(255,255,255,0.7);
    
    --border-light: rgba(0,0,0,0.06);
    --border-dark: rgba(255,255,255,0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 90px; 
}

/* =========================================
   RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding) 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
.border-top { border-top: 1px solid var(--border-light); }

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.5px;
    color: inherit;
    line-height: 1.1;
}

.eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: -1.5px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    border-radius: 100px; /* Apple pill */
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(74, 83, 64, 0.4), 0 0 20px rgba(74, 83, 64, 0.2);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 24px;
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--bg-dark);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

/* Glassmorphism Icon Button (Vidrificado) */
.glass-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
}

.glass-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.glass-icon-btn.sm {
    width: 36px;
    height: 36px;
}

/* =========================================
   NAVBAR (Glassmorphism Effect)
   ========================================= */
.navbar {
    position: absolute; /* absolute faz com que ela fique apenas no topo do site e suba ao rolar a página */
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    /* Efeito de Vidro Fosco Flutuante (Quiet Luxury) */
    background: rgba(11, 11, 11, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden; /* Para conter o vídeo de fundo */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Fica atrás do overlay */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.4) 100%);
    z-index: 1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px; /* Offset for navbar */
}

.hero-text-box {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-trust {
    font-size: 0.7rem;
    color: var(--text-light-muted);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.3px;
}

/* =========================================
   CLIENTS MARQUEE
   ========================================= */
.clients-marquee {
    padding: 2.5rem 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center; /* Alinhamento vertical perfeito */
    width: max-content;
    animation: scroll 30s linear infinite;
}

.client-logo-img {
    max-height: 45px; /* Limita a altura de logos quadradas */
    max-width: 160px; /* Limita a largura de logos muito extensas */
    height: auto;
    width: auto;
    object-fit: contain;
    margin: 0 3.5rem; /* Espaçamento mais equilibrado */
    filter: grayscale(100%) opacity(50%); /* Tom de cinza levemente mais visível */
    transition: filter 0.4s ease, transform 0.4s ease;
    cursor: pointer;
}

.client-logo-img:hover {
    filter: grayscale(0%) opacity(100%); /* Revela a cor original ao passar o mouse */
    transform: scale(1.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Animates half the track for smooth looping */
}

/* =========================================
   PAIN POINTS SECTION (DORES)
   ========================================= */
.pain-section {
    background-color: #ffffff; /* Fundo totalmente branco */
    padding: 40px 0; /* Padding super reduzido */
}

.pain-section .section-subtitle {
    font-size: 1rem; /* Texto ainda menor */
    color: var(--text-muted);
}

.pain-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: stretch; /* Faz as duas colunas terem exatamente a mesma altura */
}

@media(min-width: 992px) {
    .pain-layout {
        grid-template-columns: 4fr 6fr; /* 40% esquerda, 60% direita */
        gap: 4rem;
    }
    
    .pain-content-left {
        /* position: sticky removido pois as colunas agora tem a mesma altura e dividem o espaço de topo a fim */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.pain-grid-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media(min-width: 600px) {
    .pain-grid-right {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pain-card {
    background: var(--bg-light);
    border: 1px solid rgba(0,0,0,0.02);
    padding: 2rem 1.8rem; /* Um pouco mais de respiro lateral e vertical para balancear */
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza todo o conteúdo verticalmente no card */
    height: 100%; 
}

.pain-card:hover {
    background: #ffffff;
    border-color: rgba(0,0,0,0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06); 
    transform: translateY(-5px);
}

.pain-icon {
    color: var(--accent);
    margin-bottom: 1.2rem;
    width: 44px; 
    height: 44px;
    background: rgba(74,83,64,0.06);
    padding: 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pain-title {
    font-size: 1.05rem; 
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.pain-text {
    font-size: 0.9rem; 
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.pain-conclusion {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.impact-phrase {
    font-size: clamp(1.5rem, 2vw, 1.8rem); /* Frase bem menor */
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.impact-phrase span {
    color: var(--accent);
}

.transition-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* =========================================
   O QUE A ABITA FAZ (GRIDS)
   ========================================= */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media(min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

.service-card {
    text-align: left;
    cursor: pointer;
    display: block;
    color: inherit;
    text-decoration: none;
    background: #ffffff; /* Fundo sólido para a sombra não vazar pelos textos */
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04); /* Sombra base presente */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08); /* Sombra intensifica no hover */
}

.service-image-wrapper {
    position: relative;
    margin-bottom: 2.5rem; /* Mais respiro antes do título */
    overflow: hidden; /* For zoom effect */
    border-radius: 12px;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 16/10; /* Imagem mais horizontal, caixas bem menores na altura */
    background-color: #E5E1D8;
    background-size: cover;
    background-position: center;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover Increment: Zoom sutil na imagem (Ken Burns) */
.service-card:hover .image-placeholder {
    transform: scale(1.08);
}

.service-icon {
    position: absolute;
    bottom: 1rem; /* Ícone flutuando levemente sobre a imagem */
    left: 1rem;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    color: var(--accent);
    transition: all 0.3s ease;
    z-index: 2;
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================
   COMO FUNCIONA (TIMELINE)
   ========================================= */
.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
}

@media(min-width: 992px) {
    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        text-align: center;
    }
}

.process-line {
    display: none;
}
@media(min-width: 992px) {
    .process-line {
        display: block;
        position: absolute;
        top: 25px; 
        left: 10%;
        right: 10%;
        height: 1px;
        background-color: var(--border-light);
        z-index: 1;
    }
}

.process-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: var(--accent);
    color: var(--text-light);
    transform: scale(1.1);
}

.step-icon {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.manifesto-quote {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-dark);
}

.manifesto-quote strong {
    font-weight: 600;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-hero {
    min-height: auto;
    padding: 6rem 0; /* Padding controlado ao invés de ocupar 60% da tela */
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    background: rgba(26,26,26, 0.85); 
}

.cta-text-box {
    margin: 0 auto;
    max-width: 800px;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-subtitle {
    margin-bottom: 0;
}

/* =========================================
   FOOTER
   ========================================= */
.border-bottom-dark {
    border-bottom: 1px solid var(--border-dark);
}

.trust-factors {
    padding: 3rem 0;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 768px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 992px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trust-icon {
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.trust-item h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.trust-item p {
    font-size: 0.8rem;
    color: var(--text-light-muted);
    line-height: 1.4;
}

/* =========================================
   FOOTER PREMIUM
   ========================================= */
.footer-level-1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-col-contact, .footer-col-address, .footer-col-social {
    display: flex;
    flex-direction: column;
}

.footer-col-social {
    align-items: flex-end; /* Ancora a terceira coluna perfeitamente na borda direita */
    text-align: right;
}

/* Coluna 1: Contato */
.footer-contact-item {
    display: flex;
    align-items: flex-start; /* Alinhamento topo p/ o ícone e o texto ficarem perfeitos */
    gap: 0.8rem;
    color: var(--text-light-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.footer-contact-item i {
    width: 18px;
    height: 18px;
    color: var(--text-light-muted);
    margin-top: 2px; /* Correção óptica de alinhamento */
}
.footer-contact-item span {
    color: var(--text-light);
}

/* Coluna 2: Endereço */
.footer-address-block {
    margin-bottom: 16px;
}
.address-city {
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 6px;
}
.address-city i {
    width: 18px;
    height: 18px;
    color: var(--text-light-muted);
    margin-top: 2px;
}
.address-detail {
    color: var(--text-light-muted);
    font-size: 0.9rem;
    padding-left: 1.8rem;
}

/* Coluna 3: Redes Sociais */
.social-title {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: var(--text-light-muted);
    margin-bottom: 16px;
    margin-right: 4px; /* Pequeno ajuste óptico para compensar o padding do ícone */
}
.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
}
.social-icons a {
    color: var(--text-light-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-icons a:hover {
    color: var(--text-light);
    transform: translateY(-2px);
}
.social-icons i, .social-icons svg {
    width: 22px;
    height: 22px;
}

/* Linha Divisória */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 50px 0 40px 0; /* Maior respiro */
    width: 100%;
}

/* Nível 2: Normas Técnicas */
.footer-level-2 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    text-align: center;
    margin-bottom: 40px; /* Mais espaço antes da logo */
    max-width: 900px; /* Largura expandida para manter em uma linha */
    margin-left: auto;
    margin-right: auto;
}
.footer-level-2 i {
    width: 18px;
    height: 18px;
    color: var(--accent-light); /* Destaque no escudo */
    margin-top: 2px;
}
.footer-level-2 p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-light-muted);
    margin: 0;
}
.footer-level-2 strong {
    color: var(--text-light);
    font-weight: 500;
}

/* Nível 3: Logo Final */
.footer-level-3 {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
.footer-logo-final {
    height: 65px; /* Aumentado em 30% */
    opacity: 0.95;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .footer-level-1 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-col-contact, .footer-col-address, .footer-col-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .address-detail {
        padding-left: 0;
    }
    
    .footer-level-2 {
        flex-direction: column;
    }
}

.footer-norms strong {
    color: var(--text-light);
    font-weight: 500;
}

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; 
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Correção: Desativar parallax no mobile para evitar bugs de renderização no iOS Safari */
@media (max-width: 768px) {
    .hero, .cta-hero {
        background-attachment: scroll !important;
    }
}

/* MARQUEE ANIMATION PARA PRODUTOS */
.marquee-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 0.5rem;
    animation: marquee 15s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

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

/* =========================================
   PREMIUM CAROUSEL (NOSSAS LINHAS DE PRODUTOS)
   ========================================= */
.premium-showcase {
    background-color: #ffffff; /* Fundo totalmente branco e clean */
    padding: 6rem 0 8rem 0;
    overflow: hidden;
    position: relative;
}

.premium-showcase-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem; /* Próximas umas das outras */
    margin-top: 2rem;
    max-width: 900px;
}

.category-pill {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #888;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-pill:hover {
    color: #111;
    background: rgba(0,0,0,0.03);
}

.category-pill.active {
    color: #111;
    background: #f5f5f7; /* Apple style light gray */
    border: 1px solid rgba(0,0,0,0.05);
}

.premium-marquee {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    display: flex;
    /* Soft gradient masks on edges */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.premium-marquee-track {
    display: flex;
    gap: 4rem; /* Espaçamento sofisticado entre produtos */
    padding: 3rem 0;
    width: max-content;
    animation: premiumScroll 45s linear infinite;
}

.premium-marquee:hover .premium-marquee-track {
    animation-play-state: paused;
}

.premium-item {
    position: relative;
    width: 280px; /* Tamanho médio/pequeno */
    height: 220px;
    background: transparent; /* Fundo transparente para parecer flutuando */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.premium-item img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    /* Sombra suave premium para profundidade 3D */
    filter: drop-shadow(0 25px 30px rgba(0,0,0,0.08)); 
}

.premium-item:hover {
    transform: translateY(-15px);
}

.premium-item:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 35px 45px rgba(0,0,0,0.12)); /* Sombra mais profunda no hover */
}

@keyframes premiumScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 2rem)); } /* gap/2 */
}

@media (max-width: 768px) {
    .premium-item {
        width: 220px;
        height: 180px;
    }
    .premium-marquee-track {
        gap: 2rem;
    }
    .product-categories {
        gap: 0.25rem;
    }
    .category-pill {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    @keyframes premiumScroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 1rem)); }
    }
}

/* =========================================
   BENTO GRID (DIFERENCIAIS APPLE STYLE)
   ========================================= */
@media (max-width: 992px) {
    .bento-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    .bento-card {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        padding: 3rem 2rem !important;
        gap: 2rem !important;
    }
    .bento-card img {
        max-height: 200px !important;
    }
}
