/* =========================================
   ESTRUTURA GERAL & TIPOGRAFIA
   ========================================= */
:root {
    --cor-primaria: #8B1E1E; 
    --cor-titulo: #b71c1c;
    --bg-topo: #000;
}

.top-header, .navbar, .hero-banner, .section-catalogo, .section-bottom, .site-footer {
    width: 100%;
    display: block; 
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    margin: 0; padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, .section-title {
    letter-spacing: -0.5px;
}

/* =========================================
   HEADER & NAVBAR (CORRIGIDO)
   ========================================= */
.top-header {
    background-color: #000; /* Preto absoluto */
    color: #a0a0a0; /* Cinza suave e elegante */
    font-size: 13px;
    padding: 10px 0;
    font-weight: 400;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-header .container {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
}

.top-header i {
    color: var(--cor-primaria);
    margin-right: 5px;
}

.navbar {
    padding: 10px 0; /* Padding reduzido para a logo encaixar melhor */
    position: relative;
    z-index: 1000;
}

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

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #e0e0e0;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
    letter-spacing: 0.5px;
    position: relative;
}

/* =========================================
   BOTÃO DE AÇÃO DO MENU (Área Interna/Login)
   ========================================= */
.nav-links a:last-child {
    border: 1px solid var(--cor-primaria);
    padding: 10px 28px;
    border-radius: 8px;
    color: var(--cor-primaria);
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-links a:last-child:hover {
    background: var(--gold-gradient);
    color: #000 !important; /* Força o texto a ficar preto */
    box-shadow: 0 4px 15px rgba(213, 169, 56, 0.4); /* Sombra dourada premium */
    transform: translateY(-2px); /* Dá uma leve "levantada" no botão */
}

/* Remove aquela linha colorida embaixo específica deste botão */
.nav-links a:last-child::after {
    display: none; 
}

.nav-links a:hover { color: var(--cor-primaria); }
.nav-links a:hover::after { width: 100%; }

/* Ajuste específico para o Botão de Login no Menu */
.nav-links a[href*="login"], .nav-links a.btn-login {
    border: 1px solid var(--cor-primaria);
    padding: 8px 25px;
    border-radius: 6px;
    color: var(--cor-primaria);
}
.nav-links a[href*="login"]:hover, .nav-links a.btn-login:hover {
    background: var(--gold-gradient);
    color: #000;
}
.nav-links a[href*="login"]::after, .nav-links a.btn-login::after {
    display: none; /* Remove a linha de hover do botão */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* =========================================
   HERO BANNER (APROVADO)
   ========================================= */
.hero-banner {
    height: 600px; 
    background: url('../../img/banner-home.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed; 
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.7) 50%, rgba(213, 169, 56, 0.15) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 56px; 
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

/* =========================================
   CATÁLOGO & BUSCA (APROVADO)
   ========================================= */
.section-catalogo {
    background-color: var(--bg-section);
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-main);
    position: relative;
    display: inline-block;
}
.section-title span { 
    color: var(--cor-titulo); 
    position: relative;
}
.section-title span::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
    margin-top: 5px;
    opacity: 0.7;
    box-shadow: 0 0 10px rgba(213, 169, 56, 0.5);
}

.search-wrapper {
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 60px;
    
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    border-radius: 16px; 
    padding: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-wrapper:hover {
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.search-select {
    border: none;
    background: rgba(0,0,0,0.2); 
    padding: 12px 25px;
    border-right: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    min-width: 160px;
    flex: 1;
    border-radius: 12px 0 0 12px;
    transition: background 0.3s;
}
.search-select:hover { background: rgba(0,0,0,0.4); }

.search-input {
    border: none;
    background: transparent;
    color: var(--text-main);
    padding: 12px 25px;
    flex: 2;
    outline: none;
    font-size: 15px;
    min-width: 150px;
}
.search-input::placeholder { color: rgba(255,255,255,0.5); }

.search-btn {
    background: var(--gold-gradient); 
    color: #000; 
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(213, 169, 56, 0.3);
}
.search-btn:hover { 
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(213, 169, 56, 0.5);
}

/* =========================================
   GRID DE PRODUTOS (APROVADO)
   ========================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px; 
    margin-top: 50px;
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: var(--glass-border);
    
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    
    display: flex;
    flex-direction: column;
    border-radius: 16px; 
    overflow: hidden;
    text-align: left;
    position: relative;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--glow-shadow), 0 20px 40px rgba(0,0,0,0.6);
    border-color: rgba(213, 169, 56, 0.5);
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
    height: 250px;
    background: #fff; 
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .card-img {
    transform: scale(1.1);
}

.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background: linear-gradient(to bottom, rgba(255,255,255,0.01), rgba(0,0,0,0.2));
}

.card-text-content {
    flex-grow: 1;
    margin-bottom: 20px;
}

.card-brand {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--cor-primaria); 
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.card-brand::before {
    content: '•';
    font-size: 16px;
    line-height: 0;
}

.card-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.btn-card {
    background: var(--gold-gradient); 
    color: #111; 
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(213, 169, 56, 0.3);
    border: none;
}

.btn-card::after {
    content: '→';
    font-family: monospace;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(213, 169, 56, 0.5);
    filter: brightness(1.1);
}
.btn-card:hover::after {
    transform: translateX(5px);
}

/* =========================================
   PAGINAÇÃO (APROVADO)
   ========================================= */
.pagination-wrapper {
    margin-top: 70px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(213, 169, 56, 0.4);
}

.page-btn.active {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(213, 169, 56, 0.3);
    font-weight: 800;
}

.page-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    background-color: transparent;
    border-color: #333;
}

.page-btn i { font-size: 16px; }

/* =========================================
   SEÇÃO INFERIOR & FORM (APROVADO)
   ========================================= */
.section-bottom {
    background-color: #0a0a0a;
    padding: 100px 0;
    position: relative;
    background-image: radial-gradient(circle at top right, rgba(213, 169, 56, 0.08), transparent 40%);
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: center;
}

.why-choose { flex: 1; }
.why-choose h2 { 
    font-size: 42px; 
    margin-bottom: 30px; 
    color: #fff;
    font-weight: 800;
}
.why-choose h2 span { 
    color: var(--cor-titulo);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.why-choose p { color: var(--text-secondary); font-size: 16px; line-height: 1.8; margin-bottom: 40px; }

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 16px;
    align-items: center;
    background: rgba(255,255,255,0.02);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}
.feature-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--cor-primaria);
    transform: translateX(10px);
}
.feature-item i { 
    color: var(--cor-primaria); 
    font-size: 20px;
    background: rgba(213, 169, 56, 0.1);
    padding: 10px;
    border-radius: 50%;
}

.form-box {
    width: 450px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    padding: 50px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.form-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--gold-gradient);
}

.form-box h3 { margin-bottom: 15px; color: #fff; font-size: 24px; font-weight: 700; }
.form-box p { font-size: 14px; color: var(--text-secondary); margin-bottom: 30px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; margin-bottom: 8px; color: var(--text-main); font-weight: 500; letter-spacing: 0.5px; }
.form-group input { width: 100%; padding: 15px; }

.btn-submit {
    width: 100%;
    background: var(--gold-gradient);
    color: #000;
    padding: 18px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(213, 169, 56, 0.3);
}
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(213, 169, 56, 0.5);
    filter: brightness(1.1);
}

/* =========================================
   FOOTER (CORRIGIDO)
   ========================================= */
.site-footer {
    background-color: #000; /* Preto absoluto para ancorar o site */
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 0 0px;
    color: var(--text-secondary);
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-col { flex: 1; min-width: 200px; }
.footer-title { 
    color: #fff; 
    margin-bottom: 25px; 
    font-size: 16px; /* Mais delicado */
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
}

.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 15px; }
.footer-list a, .footer-contact a { 
    color: var(--text-secondary); text-decoration: none; transition: 0.3s; 
    font-size: 15px;
    display: inline-block;
}
.footer-list a:hover, .footer-contact a:hover { 
    color: var(--cor-primaria); 
    transform: translateX(5px); 
}

.footer-contact p { 
    margin-bottom: 15px; 
    display: flex; 
    align-items: flex-start; 
    gap: 15px; 
    font-size: 15px; 
}

/* Ícones limpos e elegantes (sem bloco de fundo) */
.footer-icon { 
    color: var(--cor-primaria); /* Apenas o ícone dourado */
    background: transparent; /* Removemos o "caixote" */
    width: auto; 
    height: auto;
    display: flex; 
    align-items: center; 
    justify-content: flex-start;
    font-size: 20px; /* Um pouco maior para compensar a falta do fundo */
    margin-top: 2px;
    box-shadow: none; /* Removemos a sombra do bloco */
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    background-color: #000;
}

.volpilab-credit { margin-top: 10px; font-size: 13px; color: #666; display: inline-block; }
.volpilab-credit a { 
    color: var(--cor-primaria); 
    font-weight: 800; 
    text-decoration: none; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: 0.3s;
    position: relative;
}
.volpilab-credit a::after {
    content: ''; position: absolute; width: 0%; height: 2px; bottom: -2px; left: 0; background: var(--gold-gradient); transition: 0.3s;
}
.volpilab-credit a:hover::after { width: 100%; }

/* =========================================
   BOTÕES FLUTUANTES
   ========================================= */
.floating-buttons {
    position: fixed; bottom: 30px; right: 30px;
    display: flex; flex-direction: column; gap: 20px;
    z-index: 9999; align-items: flex-end;
}

.float-whatsapp {
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: #fff; width: 65px; height: 65px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 34px; 
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-premium 2.5s infinite; text-decoration: none;
    border: 2px solid rgba(255,255,255,0.1);
}
.float-whatsapp:hover { transform: scale(1.15) rotate(15deg); }

.float-top {
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    border: var(--glass-border);
    color: #fff; width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); cursor: pointer;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
    transform: translateY(30px);
}
.float-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top:hover { 
    background: var(--gold-gradient); 
    color: #000; 
    border-color: transparent;
    transform: translateY(-5px);
}

@keyframes pulse-premium {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 25px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================
   RESPONSIVIDADE
   ========================================= */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .hero-banner { height: 500px; }
    .hero-content h1 { font-size: 42px; }
    .why-choose h2 { font-size: 36px; }
    .bottom-content { gap: 40px; }
}

@media (max-width: 768px) {
    .top-header { display: none !important; }
    .logo img { height: 70px; }
    .mobile-menu-btn { display: block; }
    
    .navbar { padding: 10px 0; }
    .nav-links { 
        position: absolute; top: 100%; left: 0; width: 100%; 
        background-color: #000; 
        flex-direction: column; padding: 30px; gap: 25px; 
        display: none; border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .nav-links.active { display: flex; }

    .hero-banner { height: 400px; align-items: flex-end; padding-bottom: 60px; }
    .hero-content h1 { font-size: 32px; }

    .products-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    
    .search-wrapper { 
        flex-direction: column; padding: 15px; border-radius: 20px;
        background: rgba(30,30,30,0.9); 
    }
    .search-select { 
        border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); 
        width: 100%; max-width: none; margin-bottom: 15px; border-radius: 12px; padding: 15px;
    }
    .search-input { border: none; width: 100%; margin-bottom: 15px; padding: 15px; }
    .search-btn { width: 100%; border-radius: 12px; height: 55px; font-size: 20px; }

    .section-catalogo { padding: 60px 0; }
    .section-title { font-size: 28px; margin-bottom: 40px; }

    .bottom-content { flex-direction: column; }
    .why-choose h2 { font-size: 32px; text-align: center; }
    .why-choose p { text-align: center; }
    .form-box { width: 100%; padding: 30px; }
    
    /* Footer Mobile */
    .site-footer { padding: 60px 0 0; text-align: center; }
    .footer-content { flex-direction: column; gap: 40px; }
    .footer-col { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
    .footer-contact p { 
        justify-content: center; 
        width: 100%;
        display: flex;
        align-items: center;
    }
    .footer-icon { 
        margin: 0 10px 0 0; 
    }
    .footer-address {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-address p {
        text-align: center;
        margin-top: 10px;
    }
    
    .floating-buttons { bottom: 20px; right: 20px; gap: 15px; }
    .float-whatsapp { width: 55px; height: 55px; font-size: 28px; }
    .float-top { width: 45px; height: 45px; font-size: 18px; }
}