/* RESET BÁSICO (Para garantir altura total) */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
    background-attachment: fixed; 
    color: var(--dark-bg);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* O CONTEÚDO PRINCIPAL CRESCE PARA EMPURRAR O FOOTER */
main, .products-section, .page-header {
    
}


.header {
    flex-shrink: 0;
}

.footer {
    margin-top: auto; 
    flex-shrink: 0;
}

.products-section {
    flex: 1; 
}

/* Faz a imagem e o texto ficarem lado a lado e centralizados */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none; 
    gap: 12px; 
}

/* --- LEGENDA DE IMAGEM ILUSTRATIVA --- */
.legenda-ilustrativa {
    display: block;
    text-align: right; 
    font-size: 0.75rem; 
    color: #94a3b8; 
    margin-top: 8px; 
    font-style: italic;
}

/* Estilo do Texto "VALKAT COMPONENTES" */
.logo-text {
    color: #ffffff;      
    font-size: 1.1rem;   
    font-weight: 700;    
    letter-spacing: 1px; 
    text-transform: uppercase; 
    white-space: nowrap; 
}

/* Ajuste opcional para Mobile (se o nome for muito grande) */
@media (max-width: 768px) {
    .logo-text {
        font-size: 0.9rem; 
        display: none;
    }
}

/* ==========================================================================
   1. RESET E VARIÁVEIS GLOBAIS
   ========================================================================== */
:root {
    --primary-color: #070e3f; 
    --primary-hover: #070e3f;
    --dark-bg: #111827;
    --text-color: #374151;
    --white: #ffffff;
    --border-radius: 8px;
    --font-main: 'Inter', sans-serif;
    --light-bg: #f1f5f9;
    --border-color: #FF4700; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

/* Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
}

/* Botões Gerais */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    /* border: 2px solid #FF4700; */
    /* color: #FF4700; */
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--white);
}


/* ==========================================================================
   2. HEADER E NAVEGAÇÃO (ESTILO 3 - CORPORATIVO CLEAN HORIZONTAL)
   ========================================================================== */
.header {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); 
    border-bottom: 3px solid #FF4700;    border-top: 4px solid #FF4700; 
    top: 0;
    z-index: 100;
    padding: 0;
    position: relative;
}

.nav-container {
    display: flex;
    flex-direction: row; /* Logo na esquerda, Menu na direita */
    justify-content: space-between; 
    align-items: center;
    max-width: 100%;
    padding: 0 30px; 
    height: 85px; 
}

/* Menu em formato de "Pílula" */
.nav-menu {
    display: flex;
    gap: 10px; /* Os botões ficam um pouco mais próximos neste estilo */
    padding-bottom: 0; 
    margin: 0;
}

.nav-menu a {
    color: #334155 !important; /* Cinza escuro elegante */
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 10px 20px; /* Cria o espaço interno para formar o botão */
    border-radius: 50px; /* Bordas bem arredondadas (estilo Pílula) */
    transition: all 0.3s ease;
}

/* Efeito Hover - Fundo cinza claro e texto laranja */
.nav-menu a::after {
    display: none;
}

.nav-menu a:hover, .nav-menu a.active {
    background-color: #f1f5f9; /* Fundo Botoes */
    color: #FF4700 !important; /* Cor botoes */
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 0; 
}

.logo img {
    max-height: 100px; /* Tamanho proporcional para a barra horizontal */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05); 
}

.logo-text {
    display: flex;
    align-items: center;
    color: #060E3F;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    
    /* A mágica da linha divisória: */
    margin-left: 15px; 
    padding-left: 15px; 
    border-left: 2px solid #cbd5e1; /* Uma linha cinza separando a imagem do texto */
    height: 45px; /* Define a altura da linha divisória */
}

/* A segunda palavra */
.logo-text .destaque-laranja {
    color: #FF4700; /* Laranja exato da Valkat */
    font-weight: 400; /* Fonte mais fina para dar um contraste */
    margin-left: 6px; /* Espaço entre as duas palavras */
}

/* --- ESTILOS DO BOTÃO HAMBÚRGUER (Oculto no PC) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101; 
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #0F172A; /* Azul escuro */
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
.nav-container {
        flex-direction: row; /* Logo esquerda, Menu direita */
        justify-content: space-between;
        padding: 15px 20px;
        height: 75px;
    }

    .logo img {
        max-height: 45px; /* Ajusta a logo para o mobile */
    }

    .menu-toggle {
        display: flex; /* Mostra as 3 listras no celular */
    }

    /* Transforma a barra de botões num menu suspenso escondido */
    .nav-menu {
        position: absolute;
        top: 75px; /* Desce o menu para baixo da barra branca */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        padding: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        
        /* A mágica de esconder */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    /* Classe que o JavaScript vai ativar para mostrar o menu */
    .nav-menu.aberto {
        max-height: 250px; 
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #f1f5f9;
        border-radius: 0; /* Tira a "pílula" no celular */
    }

    /* Efeito Premium: Transforma as 3 listras num 'X' laranja ao clicar */
    .menu-toggle.aberto .bar:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
        background-color: #FF4700;
    }
    .menu-toggle.aberto .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.aberto .bar:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
        background-color: #FF4700;
    }
    .logo-text {
        display: none; /* Esconde no celular para não espremer o menu */
    }
    
}


/* ==========================================================================
   3. PÁGINA HOME
   ========================================================================== */

.icon-box svg {
    stroke: #FF4700 !important; 
    transition: all 0.3s ease; /* Prepara para um efeito suave */
}

/* EFEITO BÔNUS: Quando o cliente passar o mouse no card, o ícone muda de cor e cresce! */
.feature-card:hover .icon-box svg {
    stroke: #0F172A !important; /* Muda para o azul escuro premium */
    transform: scale(1.15); /* Dá um "pulinho" crescendo 15% */
}


/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-bottom: 1px solid #bfdbfe; 
}

.hero-container { 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; 
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--dark-bg);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; 
}

.hero-text {
    flex: 1;
    max-width: 600px; 
}

.legenda-ilustrativa {
    text-align: right;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 8px;
    font-style: italic;
    width: 100%;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Features (Vantagens) */
.features {
    padding: 80px 0;
    background-color: #ffffff; 
    position: relative;
    z-index: 1; 
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-bg);
}

/* CTA Secundário */
.cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--white);
    color: var(--dark-bg);
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    opacity: 0.8;
}


/* ==========================================================================
   4. NOVA SEÇÃO DE REPUTAÇÃO (MERCADO LIVRE)
   ========================================================================== */
.reputation-section {
    padding: 80px 0;
    background-color: #f8fafc; 
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.reputation-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.reputation-text {
    flex: 1;
}

.reputation-text h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-bg);
    text-transform: uppercase;
    font-weight: 800;
}

.reputation-text p {
    font-size: 1.1rem;
    color: #666;
}

/* O Card Branco */
.ml-card {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    max-width: 500px;
}

.ml-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ml-title.lider {
    color: #00a650; 
    font-size: 1.3rem;
    font-weight: 700;
}

.ml-subtitle {
    display: block;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Ajuste Medalha */
.medal-wrapper svg {
    stroke: #00a650;
}

/* Barra Colorida */
.reputation-bar {
    display: flex;
    gap: 4px;
    height: 8px;
    margin-bottom: 25px;
}

.bar-segment {
    flex: 1;
    border-radius: 2px;
    background-color: #eee;
}

.bar-segment.red { background-color: #fff1f1; }
.bar-segment.orange { background-color: #fff8e1; }
.bar-segment.yellow { background-color: #fffaaa; }
.bar-segment.lime { background-color: #e5f7d1; }
.bar-segment.green { background-color: #00a650; height: 12px; margin-top: -2px; }

/* Stats */
.ml-stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.85rem;
    color: #333;
    flex: 1;
}

.stat-item strong {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.icon-check {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* --- BARRA DE MARCAS --- */
/* --- CARROSSEL INFINITO DE MARCAS --- */

.brands-title {
    font-size: 1.2rem; 
    color: #64748b;    
    text-transform: uppercase;
    letter-spacing: 2px; 
    margin-bottom: 40px; 
    font-weight: 700;
}

.brands-mask {
    overflow: hidden; 
    position: relative;
    width: 100%;          
    max-width: 900px;     
    margin: 0 auto;       
    padding: 20px 0;     
}

.brands-section {
    padding-top: 100px; 
    padding-bottom: 60px; 
    background-color: #fff;
    border-top: 1px solid #f1f5f9; 
    text-align: center;
}

.track-reverse {
    animation-direction: reverse !important;
}

/* Efeito de Degradê nas laterais (Fade In/Out) */
.brands-mask::before,
.brands-mask::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px; 
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brands-mask::before { left: 0; background: linear-gradient(to right, white, transparent); }
.brands-mask::after { right: 0; background: linear-gradient(to left, white, transparent); }

/* O trilho que se move */
.brands-track {
    display: flex;
    width: max-content;
    animation: slide-marcas 40s linear infinite;
}

/* Pausa a animação ao passar o mouse */
.brands-track:hover { 
    animation-play-state: paused; 
}

/* As linhas de marcas */
.brands-row {
    display: flex;
    gap: 40px; 
    padding-right: 40px; 
}

/* A Animação */
@keyframes slide-marcas {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .brands-mask { max-width: 95%; } 
    .brands-mask::before, .brands-mask::after { width: 50px; }
    .brands-row { gap: 20px; padding-right: 20px; }
}

.brand-box {
    width: 130px;  
    height: 80px; 
    
    background: #ffffff; 
    
    border: 1px solid #6895ee;
    border-radius: 12px; 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
}

.brand-box img {
    max-width: 85%; 
    max-height: 85%;
    object-fit: contain;
}

.brand-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px); 
    box-shadow: 0 10px 15px rgba(0,0,0,0.1); 
}


/* ==========================================================================
   5. PÁGINA DE CONTATO
   ========================================================================== */
.page-header {
    background-color: var(--light-bg);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.page-header p {
    color: #6B7280;
    font-size: 1.1rem;
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.contact-info-wrapper {
    background: var(--white);
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    height: fit-content;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-bg);
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-full {
    width: 100%;
    text-align: center;
}

.info-card {
    margin-bottom: 30px;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card p {
    color: #4b5563;
    margin-bottom: 5px;
}

.horario-box {
    display: flex;
    gap: 8px;
    color: #4b5563;
    margin-bottom: 5px;
}

.horario-detalhes {
    display: flex;
    flex-direction: column;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    height: 300px;
    background-color: #eee;
}

.map-full {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 600px;
    margin: 40px auto 0 auto;
    height: 400px; 
}

.map-full iframe {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Uma sombrinha leve para destacar */
}

/* Quando o campo estiver com erro */
.input-erro {
    border-color: #dc3545 !important; 
    background-color: #fff8f8;
}

/* Texto de erro pequeno abaixo do campo (opcional) ou geral */
.msg-erro-texto {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

/* Caixa de erro geral (caso o servidor falhe) */
#status-envio {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
}

.status-erro {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Pop-up (Modal) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* --- ÍCONES DO CARTÃO DE CONTATO --- */

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px; 
    margin-bottom: 10px;
}

.info-card i {
    color: #3483FA; 
    font-size: 1.3rem;
}

/* Ajuste específico para o QR Label ficar alinhado */
.qr-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 768px) {
/* Contato */
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr !important; /* A MÁGICA AQUI: Força a ficar em 1 coluna só! */
        gap: 40px; /* Reduz o buraco entre os textos e o formulário */
        align-items: center; 
    }   
    
    .contact-form-wrapper {
        order: 2; /* Mantém o formulário embaixo dos textos */
        padding: 25px 20px; /* Deixa o espaço interno mais elegante pro celular */
        width: 100%; /* Garante que o formulário ocupe a tela de ponta a ponta */
    }

    .page-header h1 {
        font-size: 2rem;
    }

    /* Modernizando o Mapa no Celular */
    .map-full {
        margin: 10px auto 0 auto;
        height: 280px; /* Reduz a altura para não ocupar a tela inteira de uma vez */
        border-radius: 16px; /* Deixa as bordas bem arredondadas, estilo Apple Maps/Google Maps moderno */
    }

.contact-info-wrapper {
        padding: 25px 20px; /* Reduz um pouquinho o espaço interno no celular */
        width: 100%;
    }

}


/* ==========================================================================
   6. PÁGINA DE PRODUTOS / CATÁLOGO
   ========================================================================== */
.catalog-header {
    padding-top: 40px;
    text-align: center;
}

.products-section {
    padding-top: 40px;
    padding-bottom: 120px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 25px;
}

/* --- BARRA DE PESQUISA --- */
.search-container {
    margin-top: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.filter-btn {
    display: inline-flex;     
    align-items: center;     
    justify-content: center; 
    gap: 8px;                
    
    padding: 10px 20px;      
    font-size: 0.95rem;     
}

/* Aumenta um pouquinho o ícone para destacar */
.filter-btn i {
    font-size: 1.2rem;
    font-weight: bold;
}

#input-busca {
    width: 100%;
    padding: 15px 20px;
    padding-left: 45px; 
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px; 
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

#input-busca:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* --- BARRA DE PESQUISA --- */
.search-container {
    margin-top: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative; 
}

#input-busca {
    width: 100%;
    padding: 15px 20px;
    padding-left: 55px; 
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

#input-busca:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Posicionamento do Ícone SVG */
.search-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%); 
    pointer-events: none; 
    display: flex;
    align-items: center;
}

.search-icon svg {
    width: 20px;
    height: 20px;
    stroke: #94a3b8; /* Cor cinza suave para o ícone */
}

/* Quando clica no input, o ícone muda de cor também */
#input-busca:focus + .search-icon svg {
    stroke: var(--primary-color);
}

.cat-card {
    background-color: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: var(--text-color);
}

.cat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.cat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cat-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

.cat-card p {
    font-size: 0.95rem;
    color: #6B7280;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-card.destaque {
    background-color: var(--dark-bg);
    border-color: var(--dark-bg);
}

.cat-card.destaque h3,
.cat-card.destaque p,
.cat-card.destaque .btn-link {
    color: var(--white);
}

.cat-card.destaque:hover {
    background-color: #000;
}

#btn-topo {
    display: none; 
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #004aad; 
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

#btn-topo:hover {
    background-color: #555;
}

/* --- NOVOS BOTÕES DE MARKETPLACE --- */

.botoes-compra {
    display: flex;
    flex-direction: column; 
    gap: 8px; 
    margin-top: 15px;
    width: 100%;
}

.btn-loja {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: white; 
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    width: 100%; 
}

.btn-loja:hover {
    transform: translateY(-2px);
    filter: brightness(110%);
}

.btn-loja img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    object-fit: contain;
}

/* Cores das Lojas */
.btn-ml {
    background-color: #3483FA; 
}

.btn-shopee {
    background-color: #EE4D2D; 
}

/* Caso o produto esteja indisponível */
.btn-esgotado {
    background-color: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
}
.btn-esgotado:hover {
    transform: none;
    filter: none;
}

/* ==========================================================================
   7. FOOTER & EXTRAS
   ========================================================================== 
.footer {
    padding: 30px 0;
    background-color: #000;
    color: #fff;
    font-size: 0.9rem;
    border-top: 3px solid #FF4700;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.dev-credit {
    opacity: 0.7;
    font-size: 0.85rem;
}

.dev-credit a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.dev-credit a:hover {
    opacity: 1;
    border-bottom-color: #fff;
    color: var(--primary-color);
}

.socials a {
    color: #fff;
    margin-left: 15px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.socials a:hover {
    opacity: 1;
}


*/

/* Botão Whatsapp */
.btn-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-green 2s infinite;
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* ==========================================================================
   8. MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */
@media (max-width: 768px) {
    /* Menu & Hero */
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .btn-outline {
        margin-left: 0;
    }

    /* Contato */
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start; /* Impede que o formulário estique para baixo! */
    }   
    .contact-form-wrapper {
        order: 2;
    }
    .page-header h1 {
        font-size: 2rem;
    }

    /* Reputação */
    .reputation-container {
        flex-direction: column;
        text-align: center;
    }
    .ml-stats {
        flex-direction: column;
        gap: 20px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* WhatsApp */
    .btn-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* --- CARD ESTILO PERFIL (NOVO) --- */
.ml-card.profile-style {
    padding: 25px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: #fff;
    max-width: 480px; 
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Header: Logo + Nome + Botão */
.ml-profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.ml-profile-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%; 
    object-fit: cover; 
    border: 1px solid #eee;
}

.ml-profile-info {
    flex: 1;
}

.store-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.store-stats {
    font-size: 0.85rem;
    color: #888;
    margin-top: 4px;
}

.btn-seguir {
    background-color: #e3edfb; 
    color: #3483fa;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-seguir:hover {
    background-color: #d0e4fc;
}

/* Status: Ícone + Texto */
.ml-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.status-text h4.lider {
    color: #00a650;
    margin: 0;
    font-size: 1rem;
}

.status-text span {
    font-size: 0.85rem;
    color: #666;
}

/* Ajuste nos Ícones das estatísticas */
.icon-chat svg, .icon-clock svg {
    margin-bottom: 5px;
    color: #00a650; 
    stroke: #00a650;
}

/* ==========================================================================
   9. PÁGINA QUEM SOMOS
   ========================================================================== */

/* Seção de História */
.about-section {
    padding: 80px 0 0 0; /* Tiramos o padding de baixo para a faixa colar no final */
    background-color: var(--white);
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 60px; 
    margin-bottom: 60px; /* Dá um espaço antes da faixa escura */
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--dark-bg);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 25px; /* Aumentei o respiro entre os parágrafos */
    text-align: justify; 
    line-height: 1.8; /* Aumentei a altura da linha para não embolar o texto */
    hyphens: auto; 
}

/* Destaques em negrito no texto */
.about-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Imagem da Seção - Limpa e sem a caixa branca */
.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    max-width: 500px; /* Maior, já que tiramos a borda restritiva */
    display: block;
    margin: 0 auto; 
}

/* --- NOVA FAIXA HORIZONTAL DE ESTATÍSTICAS --- */
.stats-banner {
    background-color: var(--primary-color); /* Azul corporativo da Valkat */
    padding: 50px 0;
    width: 100%;
}

.about-stats-horizontal {
    display: flex;
    justify-content: center;
    gap: 100px; /* Muito espaço entre os números */
    text-align: center;
}

.about-stats-horizontal .stat-box strong {
    display: block;
    font-size: 3.5rem; /* Números gigantes para dar impacto */
    color: #FF4700; /* Laranja chamativo */
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
}

.about-stats-horizontal .stat-box span {
    font-size: 1.1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Responsividade das Estatísticas */
@media (max-width: 768px) {
    .about-stats-horizontal {
        flex-direction: column;
        gap: 40px;
    }
}

/* Seção de Valores */
.values-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-bg);
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: #eff6ff;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.value-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Responsividade Quem Somos */
@media (max-width: 768px) {
    .about-grid {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }
}

/* ==========================================================================
   10. PÁGINA FAQ (PERGUNTAS FREQUENTES)
   ========================================================================== */
.faq-section {
    padding: 60px 0 100px 0;
    background-color: var(--white);
    max-width: 800px; 
    margin: 0 auto;  
}

.faq-group {
    margin-bottom: 50px;
}

.faq-group h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    border-left: 5px solid var(--primary-color); 
    padding-left: 15px;
}

/* O Retângulo da Pergunta */
details {
    background: #f9fafb;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

/* Quando estiver aberto (clicado) */
details[open] {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

/* O Texto da Pergunta (O que clica) */
summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none; 
    position: relative;
    color: var(--dark-bg);
    font-size: 1.05rem;
}

/* Remove setinha padrão no Chrome/Safari */
summary::-webkit-details-marker {
    display: none;
}

/* Criando o ícone de + (Mais) na direita */
summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s;
    line-height: 1;
}

/* Vira um - (Menos) quando aberto */
details[open] summary::after {
    transform: rotate(45deg); 
}

/* A Resposta */
.faq-answer {
    padding: 0 20px 25px 20px;
    color: #4b5563;
    line-height: 1.6;
    border-top: 1px solid #f3f4f6; 
    margin-top: 5px;
}

/* Responsividade FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 20px; 
    }
}

/* --- ÁREA "AINDA COM DÚVIDAS" --- */
.faq-fallback {
    margin-top: 60px;
    text-align: center;
    padding: 40px;
    background-color: #f8fafc; 
    border: 2px solid #000;
    border-radius: var(--border-radius);
}

.faq-fallback h3 {
    color: var(--dark-bg);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.faq-fallback p {
    color: #64748b;
    margin-bottom: 25px;
}

.faq-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; 
}

/* Pequeno ajuste para o botão outline ficar bonito no fundo claro */
.faq-fallback .btn-outline {
    background-color: rgb(37, 211, 102);
}

/* --- PÁGINA DE PRODUTOS --- */

/* Filtros */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Grid de Produtos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Card do Produto */
.product-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background-color: #f3f4f6;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.product-title {
    font-size: 1.1rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #059669; 
    margin-bottom: 15px;
}

.btn-comprar {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: var(--dark-bg);
    color: white;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-comprar:hover {
    background-color: var(--primary-color);
}

/* --- FOOTER MODERNO --- */

.footer {
    background-color: #070e3f; 
    color: #94a3b8; 
    padding: 15px 0 10px; 
    text-align: center;
    border-top: 3px solid #FF4700;
    margin-top: 0; 
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* Redes Sociais (Bolinhas) */
.footer-socials {
    display: flex;
    gap: 15px; 
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1); 
    border-radius: 50%; 
    color: white;
    transition: all 0.3s ease; 
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-btn svg {
    width: 22px;
    height: 22px;
}

/* EFEITOS DE HOVER (Cores das Marcas) */
.social-btn:hover {
    transform: translateY(-5px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-btn.instagram:hover {
    background: #E1306C; 
    border-color: #E1306C;
}

.social-btn.ml:hover {
    background: #FFE600; 
    color: #2D3277; 
    border-color: #FFE600;
}

.social-btn.shopee:hover {
    background: #EE4D2D; 
    border-color: #EE4D2D;
}

.social-btn.amazon:hover {
    background: #FF9900; 
    border-color: #FF9900;
}

/* Textos do Footer */
.footer-info p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.dev-credit {
    font-size: 0.8rem;
    opacity: 0.7;
}

.dev-credit a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted #94a3b8;
    transition: color 0.2s;
}

.dev-credit a:hover {
    color: #EE4D2D;
}


/* --- GRID DE PRODUTOS (CARDS) --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column; 
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-tag {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.buy-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.buy-btn:hover {
    background-color: #1d4ed8;
}

.buy-btn:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
}

.product-image {
    width: 100%;
    height: 200px; 
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px; 
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
}

/* --- BOTÃO VER MAIS (Centralizado) --- */
#btn-ver-mais {
    display: block; 
    margin: 40px auto; 
    width: fit-content; 
    
    /* Estilo igual ao botão de comprar */
    padding: 12px 40px;
    background-color: #2563eb; 
    color: white;
    border: none;
    border-radius: 50px; 
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

#btn-ver-mais:hover {
    background-color: #1d4ed8; 
    transform: scale(1.05); 
}

.qr-code-container {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #e2e8f0;
            text-align: center;
        }
        .qr-code-img {
            max-width: 250px;
            width: 100%;
            height: auto;
            border-radius: 8px;
            border: 1px solid #cbd5e1;
            padding: 5px;
            background: white;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }
        .qr-label {
            display: block;
            margin-bottom: 10px;
            font-size: 0.9rem;
            color: #64748b;
            font-weight: 500;
        }
        

        @media (max-width: 768px) {
            .qr-code-container { display: none; }
        } 

