/* Logos das marcas - CSS robusto para produção */

.brand-logos-horizontal {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 15px auto 12px auto !important;
    padding: 8px 16px !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
    max-width: 680px !important;
    width: fit-content !important;
    background: rgba(248, 249, 250, 0.3) !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    contain: layout;
    will-change: auto;
}

/* Desktop grande: forçar linha horizontal */
@media screen and (min-width: 1200px) {
    .brand-logos-horizontal {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 12px !important;
        padding: 8px 20px !important;
        max-width: 720px !important;
        width: fit-content !important;
    }
    .brand-logos-horizontal img {
        width: 85px !important;
        height: 34px !important;
        padding: 3px 5px !important;
        flex-shrink: 0 !important;
    }
}

/* Desktop médio: forçar linha horizontal */
@media screen and (min-width: 769px) and (max-width: 1199px) {
    .brand-logos-horizontal {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 8px 16px !important;
        max-width: 640px !important;
        width: fit-content !important;
    }
    .brand-logos-horizontal img {
        width: 75px !important;
        height: 30px !important;
        padding: 3px 4px !important;
        flex-shrink: 0 !important;
    }
}

/* Mobile: forçar coluna vertical */
@media screen and (max-width: 768px) {
    .brand-logos-horizontal {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 12px !important;
        padding: 15px !important;
        overflow-x: visible !important;
        width: fit-content !important;
        max-width: 300px !important;
    }
    .brand-logos-horizontal img {
        width: 120px !important;
        height: 48px !important;
        padding: 4px 6px !important;
        flex-shrink: 0 !important;
    }
}

/* Regra extra para produção - garantir que logos sejam responsivos */
@media screen and (max-width: 720px) {
    .brand-logos-horizontal {
        max-width: 90% !important;
        gap: 8px !important;
        padding: 6px 12px !important;
    }
    .brand-logos-horizontal img {
        width: 70px !important;
        height: 28px !important;
    }
}

@media screen and (max-width: 600px) {
    .brand-logos-horizontal {
        max-width: 95% !important;
        gap: 6px !important;
        padding: 6px 10px !important;
    }
    .brand-logos-horizontal img {
        width: 65px !important;
        height: 26px !important;
    }
}

/* Base img styles com alta especificidade */
.brand-logos-horizontal img {
    width: 75px !important;
    height: 30px !important;
    object-fit: contain !important;
    background: #fff !important;
    border-radius: 3px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05) !important;
    padding: 3px 4px !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    flex-shrink: 0 !important;
    display: block !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.brand-logos-horizontal img:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08) !important;
}

/* Fallback para garantir que não haja conflitos */
section.brands .brand-logos-horizontal {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    width: fit-content !important;
    max-width: 680px !important;
    margin: 15px auto !important;
    overflow-x: hidden !important;
}

@media screen and (max-width: 768px) {
    section.brands .brand-logos-horizontal {
        flex-direction: column !important;
        width: fit-content !important;
        max-width: 300px !important;
    }
}

/* Reset específico para evitar interferências */
.brand-logos-horizontal * {
    box-sizing: border-box !important;
}
/* Banner JBL Autorizada piscando */
.jbl-banner-blink {
    width: 100%;
    background: linear-gradient(90deg, #ff6600 0%, #ff9900 100%);
    color: #fff;
    font-family: 'Rajdhani', 'Inter', Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    letter-spacing: 2px;
    text-shadow: 1px 1px 8px #b94a00;
    animation: blink-jbl 1s steps(2, start) infinite;
    z-index: 9999;
    position: relative;
}

@keyframes blink-jbl {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
/* Importação da fonte Venus Resize (caso tenha o arquivo local) */
@font-face {
    font-family: 'Venus Resize';
    src: url('./fonts/VenusResize-Regular.woff2') format('woff2'),
         url('./fonts/VenusResize-Regular.woff') format('woff'),
         url('./fonts/VenusResize-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Venus Resize';
    src: url('./fonts/VenusResize-Bold.woff2') format('woff2'),
         url('./fonts/VenusResize-Bold.woff') format('woff'),
         url('./fonts/VenusResize-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Venus Resize';
    src: url('./fonts/VenusResize-ExtraBold.woff2') format('woff2'),
         url('./fonts/VenusResize-ExtraBold.woff') format('woff'),
         url('./fonts/VenusResize-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Força o Chrome a não exceder a largura da viewport */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
    .brand-logos-horizontal {
        max-width: 90vw !important;
        width: auto !important;
        margin: 15px auto !important;
        box-sizing: border-box !important;
    }
    
    .brand-logos-horizontal img {
        max-width: none !important;
        width: 75px !important;
        height: 30px !important;
    }
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

/* Container específico para Chrome */
.brands .container {
    max-width: 100vw;
    overflow-x: hidden;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Garantir exibição das imagens */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Venus Resize', 'Orbitron', 'Rajdhani', 'Inter', sans-serif;
    cursor: pointer;
}

.logo-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-circle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.9;
}

.logo-circle {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-icon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text-main {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Venus Resize', 'Orbitron', 'Rajdhani', 'Inter', sans-serif;
    letter-spacing: -0.5px;
    color: #1a1a1a;
    line-height: 1;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: #fff;
    position: relative;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        linear-gradient(145deg, #ef4444 0%, #dc2626 30%, #b91c1c 70%, #991b1b 100%);
    border-radius: 50%;
    width: 1.2em;
    height: 1.2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 1px;
    font-weight: 800;
    border: 1px solid rgba(220, 38, 38, 0.8);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(220, 38, 38, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 0 4px rgba(255, 255, 255, 0.2);
}

.logo-text-sub {
    font-size: 11px;
    font-weight: 500;
    font-family: 'Venus Resize', 'Rajdhani', 'Inter', sans-serif;
    color: #666;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: -2px;
}

/* Hover effect para o logo */
.logo-container:hover .logo-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
}

.logo-container:hover .logo-text-main {
    color: #2563eb;
    transition: color 0.3s ease;
}

.logo-container:hover .logo-accent {
    background: linear-gradient(145deg, #b91c1c 0%, #991b1b 50%, #7f1d1d 100%);
    transform: scale(1.1);
    box-shadow: 
        0 6px 12px rgba(220, 38, 38, 0.5),
        inset 0 3px 6px rgba(255, 255, 255, 0.4),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3);
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.logo-container:hover .logo-text-sub {
    color: #2563eb;
    transition: color 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #b91c1c;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #b91c1c;
    border-radius: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    padding-top: 80px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #b91c1c 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #b91c1c;
    color: white;
}

.btn-primary:hover {
    background: #831414;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #b91c1c;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    font-size: 4rem;
    opacity: 0.3;
}

.hero-visual i {
    animation: float 3s ease-in-out infinite;
}

.hero-visual i:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-visual i:nth-child(3) {
    animation-delay: 1s;
}

.hero-visual i:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* About Section */
.about {
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.about-text p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-list {
    list-style: none;
    margin-bottom: 2rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #374151;
}

.about-list i {
    color: #10b981;
    font-size: 1.1rem;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.visual-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.visual-item:hover {
    transform: translateY(-5px);
}

.visual-item i {
    font-size: 2rem;
    color: #b91c1c;
}

.visual-item span {
    font-weight: 600;
    color: #374151;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #b91c1c, #951717);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: #374151;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-card li::before {
    content: '•';
    color: #b91c1c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Brands Section */
.brands {
    background: #f8fafc;
    overflow-x: hidden;
}

/* Product Gallery */
.product-gallery {
    margin-bottom: 4rem;
    text-align: center;
}

.product-gallery h3 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 2rem;
    font-weight: 600;
}

.gallery-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

/* Galeria de produtos - garantir carregamento das imagens */
.product-slide img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: transform 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.product-slide img:hover {
    transform: scale(1.02);
}

.product-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
}

.product-slide.active {
    display: block;
    animation: slideIn 0.5s ease-in-out;
}

/* Fallback para logos que não carregarem */
.product-slide img[src*="placeholder"] {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-info {
    padding: 1.5rem;
    background: white;
}

.product-info h4 {
    color: #1f2937;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-info p {
    color: #6b7280;
    font-size: 1rem;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-nav:hover {
    background: white;
    color: #b91c1c;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 1rem;
    background: white;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #b91c1c;
    transform: scale(1.2);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.brand-category {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.brand-category h3 {
    color: #1f2937;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-category i {
    color: #b91c1c;
}

.brand-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brand-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #b91c1c;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    flex-shrink: 0;
    width: 80px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Brand logos - garantir exibição */
.brand-logo img {
    width: 100px;
    height: 40px;
    object-fit: contain;
    object-position: center;
    background-color: transparent;
    border-radius: 4px;
    padding: 5px;
    transition: transform 0.3s ease;
}

.brand-logo img:hover {
    transform: scale(1.1);
}

.brand-info {
    flex: 1;
}

.brand-info strong {
    color: #1f2937;
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 1rem;
}

.brand-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Search Section */
.search {
    background: white;
}

.search-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.search-tab {
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.search-tab:hover {
    border-color: #b91c1c;
    color: #b91c1c;
}

.search-tab.active {
    background: #b91c1c;
    color: white;
    border-color: #b91c1c;
}

.search-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.search-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Internal Search */
.internal-search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.search-input-wrapper input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 1.1rem;
    outline: none;
    background: white;
}

.search-input-wrapper button {
    padding: 16px 20px;
    background: #b91c1c;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1.1rem;
}

.search-input-wrapper button:hover {
    background: #9b1717;
}

.search-suggestions {
    margin-bottom: 2rem;
}

.search-suggestions h4 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-tag {
    padding: 8px 16px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
}

.suggestion-tag:hover {
    background: #b91c1c;
    color: white;
    border-color: #b91c1c;
}

.search-results {
    min-height: 200px;
}

.search-result-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #b91c1c;
}

.search-result-item h5 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.search-result-item p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.search-result-item .result-category {
    display: inline-block;
    background: #b91c1c;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Google Search */
.google-search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-info {
    background: #e0f2fe;
    padding: 1rem;
    border-radius: 8px;
    color: #bb0303;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gcse-search-wrapper {
    margin-bottom: 2rem;
}

/* Google CSE Customization */
.gsc-control-cse {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.gsc-search-box {
    margin-bottom: 1rem !important;
}

.gsc-input-box {
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    height: auto !important;
}

.gsc-input {
    padding: 12px 16px !important;
    font-size: 1rem !important;
}

.gsc-search-button {
    background: #b91c1c !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    margin-left: 8px !important;
}

.quick-search-links h4 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-links a:hover {
    background: #b91c1c;
    color: white;
    border-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 2, 2, 0.3);
}

.quick-links a i {
    color: #b91c1c;
    font-size: 1.1rem;
}

.quick-links a:hover i {
    color: white;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: #b91c1c;
    margin-top: 4px;
}

.contact-item strong {
    color: #1f2937;
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    color: #6b7280;
    margin: 0;
}

.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b91c1c;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: #b91c1c;
    margin-bottom: 1rem;
}

.footer-info p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: #b91c1c;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #b91c1c;
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: #b91c1c;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo-text-main {
    color: #fff;
    font-size: 22px;
}

.footer-logo .logo-text-sub {
    color: #ccc;
}

.footer-logo .logo-container:hover .logo-text-main {
    color: #c04f4f;
}

.footer-logo .logo-container:hover .logo-text-sub {
    color: #fff;
}

/* Footer logo - O circular */
.footer-logo .logo-accent {
    background: linear-gradient(145deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    color: #fff;
    border-radius: 50%;
    width: 1.1em;
    height: 1.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 1px;
    box-shadow: 
        0 3px 6px rgba(220, 38, 38, 0.4),
        inset 0 2px 3px rgba(255, 255, 255, 0.3),
        inset 0 -2px 3px rgba(0, 0, 0, 0.2);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 0 6px rgba(255, 255, 255, 0.2);
}

.footer-logo .logo-container:hover .logo-accent {
    background: linear-gradient(145deg, #b91c1c 0%, #991b1b 50%, #7f1d1d 100%);
    transform: scale(1.1);
    box-shadow: 
        0 4px 8px rgba(220, 38, 38, 0.5),
        inset 0 3px 4px rgba(255, 255, 255, 0.4),
        inset 0 -3px 4px rgba(0, 0, 0, 0.3);
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.4),
        0 0 8px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .search-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .search-tab {
        width: 200px;
        justify-content: center;
    }
    
    .suggestion-tags {
        justify-content: center;
    }
    
    .quick-links {
        grid-template-columns: 1fr;
    }
    
    .gallery-container {
        margin: 0 1rem;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-nav.prev {
        left: 10px;
    }
    
    .gallery-nav.next {
        right: 10px;
    }
    
    .brand-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .brand-logo {
        width: 60px;
        height: 30px;
    }
}

/* Responsividade do logo */
@media (max-width: 768px) {
    .logo-container {
        gap: 8px;
    }
    
    .logo-circle {
        width: 28px;
        height: 28px;
    }
    
    .logo-circle::before {
        width: 14px;
        height: 14px;
    }
    
    .logo-circle::after {
        width: 6px;
        height: 6px;
    }
    
    .logo-text-main {
        font-size: 20px;
    }
    
    .logo-text-sub {
        font-size: 9px;
    }
    
    .logo-accent {
        width: 1.1em;
        height: 1.1em;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .logo-container {
        gap: 6px;
    }
    
    .logo-circle {
        width: 24px;
        height: 24px;
    }
    
    .logo-circle::before {
        width: 12px;
        height: 12px;
    }
    
    .logo-circle::after {
        width: 5px;
        height: 5px;
    }
    
    .logo-text-main {
        font-size: 18px;
    }
    
    .logo-text-sub {
        font-size: 8px;
    }
    
    .logo-accent {
        width: 1em;
        height: 1em;
        font-size: 0.85em;
    }
}

/* Animations */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Placeholder styling para quando imagens não carregam */
.product-slide img[src*="placeholder"],
.brand-logo img[src*="placeholder"] {
    background-color: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
}

/* Específico para Chrome/Webkit - resolver problemas de renderização */
@supports (-webkit-appearance: none) {
    .brand-logos-horizontal {
        -webkit-box-sizing: border-box !important;
        -webkit-flex-wrap: nowrap !important;
        flex-wrap: nowrap !important;
        -webkit-justify-content: center !important;
        -webkit-align-items: center !important;
        max-width: 95vw !important;
        overflow: hidden !important;
    }
    
    .brand-logos-horizontal img {
        -webkit-flex-shrink: 0 !important;
        -webkit-box-sizing: border-box !important;
        max-width: none !important;
    }
    
    /* Force Chrome to respect container width */
    .container .brand-logos-horizontal {
        max-width: min(680px, 95vw) !important;
        width: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Chrome específico usando user-agent */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .brand-logos-horizontal {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-direction: row !important;
        flex-direction: row !important;
        -webkit-justify-content: center !important;
        justify-content: center !important;
        -webkit-flex-wrap: nowrap !important;
        flex-wrap: nowrap !important;
        max-width: calc(100vw - 40px) !important;
        width: fit-content !important;
        overflow-x: hidden !important;
        white-space: nowrap !important;
    }
    
    .brand-logos-horizontal img {
        -webkit-flex-shrink: 0 !important;
        flex-shrink: 0 !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }
}

/* Fallback para garantir no Chrome que não exceda viewport */
@media screen and (max-width: 1200px) {
    .brand-logos-horizontal {
        max-width: calc(100vw - 60px) !important;
    }
}

@media screen and (max-width: 768px) {
    .brand-logos-horizontal {
        max-width: calc(100vw - 40px) !important;
    }
}

/* Regra específica e final para Chrome */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    body:not(:-moz-handler-blocked) .brand-logos-horizontal {
        max-width: min(680px, calc(100vw - 40px)) !important;
        overflow-x: hidden !important;
        contain: layout style !important;
        isolation: isolate !important;
    }
    
    body:not(:-moz-handler-blocked) .brand-logos-horizontal img {
        flex: 0 0 auto !important;
        max-width: 75px !important;
        width: 75px !important;
        height: 30px !important;
        object-fit: contain !important;
    }
    
    /* Force container to not exceed viewport */
    body:not(:-moz-handler-blocked) .brands .container {
        max-width: 100vw !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
}
